You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1189 lines
32 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic UI
  3. * git://github.com/Semantic-Org/Semantic-UI.git#1.0
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Standard
  13. *******************************/
  14. .ui.grid {
  15. display: block;
  16. text-align: left;
  17. font-size: 0em;
  18. padding: 0em;
  19. }
  20. .ui.grid:after,
  21. .ui.grid > .row:after {
  22. content: '';
  23. display: block;
  24. height: 0px;
  25. clear: both;
  26. visibility: hidden;
  27. }
  28. /*----------------------
  29. Remove Gutters
  30. -----------------------*/
  31. .ui.grid {
  32. margin-top: -1rem;
  33. margin-bottom: -1rem;
  34. margin-left: -1rem;
  35. margin-right: -1rem;
  36. }
  37. .ui.relaxed.grid {
  38. margin-left: -1.5rem;
  39. margin-right: -1.5rem;
  40. }
  41. .ui[class*="very relaxed"].grid {
  42. margin-left: -2.5rem;
  43. margin-right: -2.5rem;
  44. }
  45. /* Collapse Margins on Consecutive Grids */
  46. .ui.grid + .grid {
  47. margin-top: 1rem;
  48. }
  49. /*-------------------
  50. Columns
  51. --------------------*/
  52. /* Standard 16 column */
  53. .ui.grid > .column:not(.row),
  54. .ui.grid > .row > .column {
  55. display: inline-block;
  56. text-align: left;
  57. font-size: 1rem;
  58. width: 6.25%;
  59. padding-left: 1rem;
  60. padding-right: 1rem;
  61. vertical-align: top;
  62. }
  63. .ui.grid > * {
  64. padding-left: 1rem;
  65. padding-right: 1rem;
  66. }
  67. /*-------------------
  68. Rows
  69. --------------------*/
  70. .ui.grid > .row {
  71. display: block;
  72. width: auto !important;
  73. padding: 0rem;
  74. font-size: 0rem;
  75. padding-top: 1rem;
  76. padding-bottom: 1rem;
  77. }
  78. /*-------------------
  79. Columns
  80. --------------------*/
  81. /* Vertical padding when no rows */
  82. .ui.grid > .column:not(.row) {
  83. padding-top: 1rem;
  84. padding-bottom: 1rem;
  85. }
  86. .ui.grid > .row > .column {
  87. margin-top: 0em;
  88. margin-bottom: 0em;
  89. }
  90. /*-------------------
  91. Content
  92. --------------------*/
  93. .ui.grid > .row > img,
  94. .ui.grid > .row > .column > img {
  95. max-width: 100%;
  96. }
  97. /*-------------------
  98. Loose Coupling
  99. --------------------*/
  100. .ui.grid .row + .ui.divider {
  101. margin: 1rem 1rem;
  102. }
  103. /* remove Border on last horizontal segment */
  104. .ui.grid > .row > .column:last-child > .horizontal.segment,
  105. .ui.grid > .column:last-child > .horizontal.segment {
  106. box-shadow: none;
  107. }
  108. /*******************************
  109. Variations
  110. *******************************/
  111. /*-----------------------
  112. Page Grid
  113. -------------------------*/
  114. .ui.page.grid {
  115. padding-left: 13%;
  116. padding-right: 13%;
  117. width: auto;
  118. }
  119. /* Collapse Margin */
  120. .ui.grid > .ui.grid:first-child {
  121. margin-top: 0em;
  122. }
  123. .ui.grid > .ui.grid:last-child {
  124. margin-bottom: 0em;
  125. }
  126. @media only screen and (max-width: 767px) {
  127. .ui.page.grid {
  128. width: auto;
  129. padding-left: 0em;
  130. padding-right: 0em;
  131. margin: 0em;
  132. }
  133. }
  134. @media only screen and (min-width: 768px) {
  135. .ui.page.grid {
  136. width: auto;
  137. margin-left: 0em;
  138. margin-right: 0em;
  139. padding-left: 8%;
  140. padding-right: 8%;
  141. }
  142. }
  143. @media only screen and (min-width: 992px) {
  144. .ui.page.grid {
  145. width: auto;
  146. margin-left: 0em;
  147. margin-right: 0em;
  148. padding-left: 13%;
  149. padding-right: 13%;
  150. }
  151. }
  152. @media only screen and (min-width: 1400px) {
  153. .ui.page.grid {
  154. width: auto;
  155. margin-left: 0em;
  156. margin-right: 0em;
  157. padding-left: 18%;
  158. padding-right: 18%;
  159. }
  160. }
  161. @media only screen and (min-width: 1920px) {
  162. .ui.page.grid {
  163. width: auto;
  164. margin-left: 0em;
  165. margin-right: 0em;
  166. padding-left: 23%;
  167. padding-right: 23%;
  168. }
  169. }
  170. /*-------------------
  171. Column Count
  172. --------------------*/
  173. /* Assume full width with one column */
  174. .ui.grid > .column:only-child,
  175. .ui.grid > .row > .column:only-child {
  176. width: 100%;
  177. }
  178. /* Grid Based */
  179. .ui[class*="one column"].grid > .row > .column,
  180. .ui[class*="one column"].grid > .column {
  181. width: 100%;
  182. }
  183. .ui[class*="two column"].grid > .row > .column,
  184. .ui[class*="two column"].grid > .column {
  185. width: 50%;
  186. }
  187. .ui[class*="three column"].grid > .row > .column,
  188. .ui[class*="three column"].grid > .column {
  189. width: 33.33333333%;
  190. }
  191. .ui[class*="four column"].grid > .row > .column,
  192. .ui[class*="four column"].grid > .column {
  193. width: 25%;
  194. }
  195. .ui[class*="five column"].grid > .row > .column,
  196. .ui[class*="five column"].grid > .column {
  197. width: 20%;
  198. }
  199. .ui[class*="six column"].grid > .row > .column,
  200. .ui[class*="six column"].grid > .column {
  201. width: 16.66666667%;
  202. }
  203. .ui[class*="seven column"].grid > .row > .column,
  204. .ui[class*="seven column"].grid > .column {
  205. width: 14.28571429%;
  206. }
  207. .ui[class*="eight column"].grid > .row > .column,
  208. .ui[class*="eight column"].grid > .column {
  209. width: 12.5%;
  210. }
  211. .ui[class*="nine column"].grid > .row > .column,
  212. .ui[class*="nine column"].grid > .column {
  213. width: 11.11111111%;
  214. }
  215. .ui[class*="ten column"].grid > .row > .column,
  216. .ui[class*="ten column"].grid > .column {
  217. width: 10%;
  218. }
  219. .ui[class*="eleven column"].grid > .row > .column,
  220. .ui[class*="eleven column"].grid > .column {
  221. width: 9.09090909%;
  222. }
  223. .ui[class*="twelve column"].grid > .row > .column,
  224. .ui[class*="twelve column"].grid > .column {
  225. width: 8.33333333%;
  226. }
  227. .ui[class*="thirteen column"].grid > .row > .column,
  228. .ui[class*="thirteen column"].grid > .column {
  229. width: 7.69230769%;
  230. }
  231. .ui[class*="fourteen column"].grid > .row > .column,
  232. .ui[class*="fourteen column"].grid > .column {
  233. width: 7.14285714%;
  234. }
  235. .ui[class*="fifteen column"].grid > .row > .column,
  236. .ui[class*="fifteen column"].grid > .column {
  237. width: 6.66666667%;
  238. }
  239. .ui[class*="sixteen column"].grid > .row > .column,
  240. .ui[class*="sixteen column"].grid > .column {
  241. width: 6.25%;
  242. }
  243. /* Row Based Overrides */
  244. .ui.grid > [class*="one column"].row > .column {
  245. width: 100% !important;
  246. }
  247. .ui.grid > [class*="two column"].row > .column {
  248. width: 50% !important;
  249. }
  250. .ui.grid > [class*="three column"].row > .column {
  251. width: 33.33333333% !important;
  252. }
  253. .ui.grid > [class*="four column"].row > .column {
  254. width: 25% !important;
  255. }
  256. .ui.grid > [class*="five column"].row > .column {
  257. width: 20% !important;
  258. }
  259. .ui.grid > [class*="six column"].row > .column {
  260. width: 16.66666667% !important;
  261. }
  262. .ui.grid > [class*="seven column"].row > .column {
  263. width: 14.28571429% !important;
  264. }
  265. .ui.grid > [class*="eight column"].row > .column {
  266. width: 12.5% !important;
  267. }
  268. .ui.grid > [class*="nine column"].row > .column {
  269. width: 11.11111111% !important;
  270. }
  271. .ui.grid > [class*="ten column"].row > .column {
  272. width: 10% !important;
  273. }
  274. .ui.grid > [class*="eleven column"].row > .column {
  275. width: 9.09090909% !important;
  276. }
  277. .ui.grid > [class*="twelve column"].row > .column {
  278. width: 8.33333333% !important;
  279. }
  280. .ui.grid > [class*="thirteen column"].row > .column {
  281. width: 7.69230769% !important;
  282. }
  283. .ui.grid > [class*="fourteen column"].row > .column {
  284. width: 7.14285714% !important;
  285. }
  286. .ui.grid > [class*="fifteen column"].row > .column {
  287. width: 6.66666667% !important;
  288. }
  289. .ui.grid > [class*="sixteen column"].row > .column {
  290. width: 6.25% !important;
  291. }
  292. /*-------------------
  293. Column Width
  294. --------------------*/
  295. /* Sizing Combinations */
  296. .ui.grid > .row > [class*="one wide"].column,
  297. .ui.grid > .column.row > [class*="one wide"].column,
  298. .ui.grid > [class*="one wide"].column,
  299. .ui.column.grid > [class*="one wide"].column {
  300. width: 6.25% !important;
  301. }
  302. .ui.grid > .row > [class*="two wide"].column,
  303. .ui.grid > .column.row > [class*="two wide"].column,
  304. .ui.grid > [class*="two wide"].column,
  305. .ui.column.grid > [class*="two wide"].column {
  306. width: 12.5% !important;
  307. }
  308. .ui.grid > .row > [class*="three wide"].column,
  309. .ui.grid > .column.row > [class*="three wide"].column,
  310. .ui.grid > [class*="three wide"].column,
  311. .ui.column.grid > [class*="three wide"].column {
  312. width: 18.75% !important;
  313. }
  314. .ui.grid > .row > [class*="four wide"].column,
  315. .ui.grid > .column.row > [class*="four wide"].column,
  316. .ui.grid > [class*="four wide"].column,
  317. .ui.column.grid > [class*="four wide"].column {
  318. width: 25% !important;
  319. }
  320. .ui.grid > .row > [class*="five wide"].column,
  321. .ui.grid > .column.row > [class*="five wide"].column,
  322. .ui.grid > [class*="five wide"].column,
  323. .ui.column.grid > [class*="five wide"].column {
  324. width: 31.25% !important;
  325. }
  326. .ui.grid > .row > [class*="six wide"].column,
  327. .ui.grid > .column.row > [class*="six wide"].column,
  328. .ui.grid > [class*="six wide"].column,
  329. .ui.column.grid > [class*="six wide"].column {
  330. width: 37.5% !important;
  331. }
  332. .ui.grid > .row > [class*="seven wide"].column,
  333. .ui.grid > .column.row > [class*="seven wide"].column,
  334. .ui.grid > [class*="seven wide"].column,
  335. .ui.column.grid > [class*="seven wide"].column {
  336. width: 43.75% !important;
  337. }
  338. .ui.grid > .row > [class*="eight wide"].column,
  339. .ui.grid > .column.row > [class*="eight wide"].column,
  340. .ui.grid > [class*="eight wide"].column,
  341. .ui.column.grid > [class*="eight wide"].column {
  342. width: 50% !important;
  343. }
  344. .ui.grid > .row > [class*="nine wide"].column,
  345. .ui.grid > .column.row > [class*="nine wide"].column,
  346. .ui.grid > [class*="nine wide"].column,
  347. .ui.column.grid > [class*="nine wide"].column {
  348. width: 56.25% !important;
  349. }
  350. .ui.grid > .row > [class*="ten wide"].column,
  351. .ui.grid > .column.row > [class*="ten wide"].column,
  352. .ui.grid > [class*="ten wide"].column,
  353. .ui.column.grid > [class*="ten wide"].column {
  354. width: 62.5% !important;
  355. }
  356. .ui.grid > .row > [class*="eleven wide"].column,
  357. .ui.grid > .column.row > [class*="eleven wide"].column,
  358. .ui.grid > [class*="eleven wide"].column,
  359. .ui.column.grid > [class*="eleven wide"].column {
  360. width: 68.75% !important;
  361. }
  362. .ui.grid > .row > [class*="twelve wide"].column,
  363. .ui.grid > .column.row > [class*="twelve wide"].column,
  364. .ui.grid > [class*="twelve wide"].column,
  365. .ui.column.grid > [class*="twelve wide"].column {
  366. width: 75% !important;
  367. }
  368. .ui.grid > .row > [class*="thirteen wide"].column,
  369. .ui.grid > .column.row > [class*="thirteen wide"].column,
  370. .ui.grid > [class*="thirteen wide"].column,
  371. .ui.column.grid > [class*="thirteen wide"].column {
  372. width: 81.25% !important;
  373. }
  374. .ui.grid > .row > [class*="fourteen wide"].column,
  375. .ui.grid > .column.row > [class*="fourteen wide"].column,
  376. .ui.grid > [class*="fourteen wide"].column,
  377. .ui.column.grid > [class*="fourteen wide"].column {
  378. width: 87.5% !important;
  379. }
  380. .ui.grid > .row > [class*="fifteen wide"].column,
  381. .ui.grid > .column.row > [class*="fifteen wide"].column,
  382. .ui.grid > [class*="fifteen wide"].column,
  383. .ui.column.grid > [class*="fifteen wide"].column {
  384. width: 93.75% !important;
  385. }
  386. .ui.grid > .row > [class*="sixteen wide"].column,
  387. .ui.grid > .column.row > [class*="sixteen wide"].column,
  388. .ui.grid > [class*="sixteen wide"].column,
  389. .ui.column.grid > [class*="sixteen wide"].column {
  390. width: 100% !important;
  391. }
  392. /*----------------------
  393. Centered
  394. -----------------------*/
  395. .ui.centered.grid,
  396. .ui.centered.grid > .row,
  397. .ui.grid .centered.row {
  398. text-align: center;
  399. }
  400. .ui.centered.grid > .column:not(.aligned),
  401. .ui.centered.grid > .row > .column:not(.aligned),
  402. .ui.grid .centered.row > .column:not(.aligned) {
  403. text-align: left;
  404. }
  405. .ui.grid > .centered.column,
  406. .ui.grid > .row > .centered.column {
  407. display: block;
  408. margin-left: auto;
  409. margin-right: auto;
  410. }
  411. /*----------------------
  412. Relaxed
  413. -----------------------*/
  414. .ui.relaxed.grid > .column:not(.row),
  415. .ui.relaxed.grid > .row > .column,
  416. .ui.grid > .relaxed.row > .column {
  417. padding-left: 1.5rem;
  418. padding-right: 1.5rem;
  419. }
  420. .ui[class*="very relaxed"].grid > .column:not(.row),
  421. .ui[class*="very relaxed"].grid > .row > .column,
  422. .ui.grid > [class*="very relaxed"].row > .column {
  423. padding-left: 2.5rem;
  424. padding-right: 2.5rem;
  425. }
  426. /* Coupling with UI Divider */
  427. .ui.relaxed.grid .row + .ui.divider,
  428. .ui.grid .relaxed.row + .ui.divider {
  429. margin-left: 1.5rem;
  430. margin-right: 1.5rem;
  431. }
  432. .ui[class*="very relaxed"].grid .row + .ui.divider,
  433. .ui.grid [class*="very relaxed"].row + .ui.divider {
  434. margin-left: 2.5rem;
  435. margin-right: 2.5rem;
  436. }
  437. /*----------------------
  438. Padded
  439. -----------------------*/
  440. .ui.padded.grid:not(.vertically):not(.horizontally) {
  441. margin: 0em !important;
  442. }
  443. [class*="horizontally padded"].ui.grid {
  444. margin-left: 0em !important;
  445. margin-right: 0em !important;
  446. }
  447. [class*="vertically padded"].ui.grid {
  448. margin-top: 0em !important;
  449. margin-bottom: 0em !important;
  450. }
  451. /*----------------------
  452. "Floated"
  453. -----------------------*/
  454. .ui.grid [class*="left floated"].column {
  455. float: left;
  456. }
  457. .ui.grid [class*="right floated"].column {
  458. float: right;
  459. }
  460. /*----------------------
  461. Divided
  462. -----------------------*/
  463. .ui.divided.grid:not([class*="vertically divided"]) > .column:not(.row),
  464. .ui.divided.grid:not([class*="vertically divided"]) > .row > .column {
  465. box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
  466. }
  467. /* Swap from padding to margin on columns to have dividers align */
  468. .ui[class*="vertically divided"].grid > .column:not(.row),
  469. .ui[class*="vertically divided"].grid > .row > .column {
  470. margin-top: 1rem;
  471. margin-bottom: 1rem;
  472. padding-top: 0rem;
  473. padding-bottom: 0rem;
  474. }
  475. .ui[class*="vertically divided"].grid > .row {
  476. margin-top: 0em;
  477. margin-bottom: 0em;
  478. padding-top: 0em;
  479. padding-bottom: 0em;
  480. }
  481. /* No divider on first column on row */
  482. .ui.divided.grid:not([class*="vertically divided"]) > .column:first-child,
  483. .ui.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
  484. box-shadow: none;
  485. }
  486. /* Divided Row */
  487. .ui.grid > .divided.row > .column {
  488. box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
  489. }
  490. .ui.grid > .divided.row > .column:first-child {
  491. box-shadow: none;
  492. }
  493. /* Vertically Divided */
  494. .ui[class*="vertically divided"].grid > .row {
  495. position: relative;
  496. }
  497. .ui[class*="vertically divided"].grid > .row:before {
  498. position: absolute;
  499. content: "";
  500. top: 0em;
  501. left: 0px;
  502. width: -webkit-calc(100% - 2rem );
  503. width: calc(100% - 2rem );
  504. height: 1px;
  505. margin: 0% 1rem;
  506. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
  507. }
  508. /* Padded Horizontally Divided */
  509. [class*="horizontally padded"].ui.divided.grid,
  510. .ui.padded.divided.grid:not(.vertically):not(.horizontally) {
  511. width: 100%;
  512. }
  513. /* First Row Vertically Divided */
  514. .ui[class*="vertically divided"].grid > .row:first-child:before {
  515. box-shadow: none;
  516. }
  517. /* Inverted Divided */
  518. .ui.inverted.divided.grid:not([class*="vertically divided"]) > .column,
  519. .ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column {
  520. box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.15);
  521. }
  522. .ui.inverted.divided.grid:not([class*="vertically divided"]) > .column:first-child,
  523. .ui.inverted.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
  524. box-shadow: none;
  525. }
  526. .ui.inverted[class*="vertically divided"].grid > .row {
  527. box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.15);
  528. }
  529. /* Relaxed */
  530. .ui.relaxed[class*="vertically divided"].grid > .row:before {
  531. margin-left: 1.5rem;
  532. margin-right: 1.5rem;
  533. width: -webkit-calc(100% - 3rem );
  534. width: calc(100% - 3rem );
  535. }
  536. .ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before {
  537. margin-left: 5rem;
  538. margin-right: 5rem;
  539. width: -webkit-calc(100% - 5rem );
  540. width: calc(100% - 5rem );
  541. }
  542. /*----------------------
  543. Celled
  544. -----------------------*/
  545. .ui.celled.grid {
  546. display: table;
  547. table-layout: fixed;
  548. width: 100%;
  549. margin: 1em 0em;
  550. box-shadow: 0px 0px 0px 1px #d4d4d5;
  551. }
  552. .ui.celled.grid > .row,
  553. .ui.celled.grid > .column.row,
  554. .ui.celled.grid > .column.row:first-child {
  555. display: table;
  556. table-layout: fixed;
  557. width: 100% !important;
  558. margin: 0em;
  559. padding: 0em;
  560. box-shadow: 0px -1px 0px 0px #d4d4d5;
  561. }
  562. .ui.celled.grid > .column:not(.row),
  563. .ui.celled.grid > .row > .column {
  564. display: table-cell;
  565. box-shadow: -1px 0px 0px 0px #d4d4d5;
  566. }
  567. .ui.celled.grid > .column:first-child,
  568. .ui.celled.grid > .row > .column:first-child {
  569. box-shadow: none;
  570. }
  571. .ui.celled.page.grid {
  572. box-shadow: none;
  573. }
  574. .ui.celled.grid > .column:not(.row),
  575. .ui.celled.grid > .row > .column {
  576. padding: 0.75em;
  577. }
  578. .ui.relaxed.celled.grid > .column:not(.row),
  579. .ui.relaxed.celled.grid > .row > .column {
  580. padding: 1em;
  581. }
  582. .ui[class*="very relaxed"].celled.grid > .column:not(.row),
  583. .ui[class*="very relaxed"].celled.grid > .row > .column {
  584. padding: 2em;
  585. }
  586. /* Internally Celled */
  587. .ui[class*="internally celled"].grid {
  588. box-shadow: none;
  589. }
  590. .ui[class*="internally celled"].grid > .row:first-child {
  591. box-shadow: none;
  592. }
  593. .ui[class*="internally celled"].grid > .row > .column:first-child {
  594. box-shadow: none;
  595. }
  596. /*----------------------
  597. Horizontally Centered
  598. -----------------------*/
  599. /* Left Aligned */
  600. .ui[class*="left aligned"].grid,
  601. .ui[class*="left aligned"].grid > .row > .column,
  602. .ui[class*="left aligned"].grid > .column,
  603. .ui.grid [class*="left aligned"].column,
  604. .ui.grid > [class*="left aligned"].aligned.row > .column {
  605. text-align: left;
  606. }
  607. .ui.grid [class*="left aligned"].column {
  608. text-align: left !important;
  609. }
  610. /* Center Aligned */
  611. .ui[class*="center aligned"].grid,
  612. .ui[class*="center aligned"].grid > .row > .column,
  613. .ui[class*="center aligned"].grid > .column,
  614. .ui.grid > [class*="center aligned"].aligned.row > .column {
  615. text-align: center;
  616. }
  617. .ui.grid [class*="center aligned"].column {
  618. text-align: center !important;
  619. }
  620. /* Right Aligned */
  621. .ui[class*="right aligned"].grid,
  622. .ui[class*="right aligned"].grid > .row > .column,
  623. .ui[class*="right aligned"].grid > .column,
  624. .ui.grid > [class*="right aligned"].aligned.row > .column {
  625. text-align: right;
  626. }
  627. .ui.grid [class*="right aligned"].column {
  628. text-align: right !important;
  629. }
  630. /* Justified */
  631. .ui.justified.grid,
  632. .ui.justified.grid > .row > .column,
  633. .ui.justified.grid > .column,
  634. .ui.grid .justified.column,
  635. .ui.grid > .justified.row > .column {
  636. text-align: justify;
  637. -webkit-hyphens: auto;
  638. -moz-hyphens: auto;
  639. -ms-hyphens: auto;
  640. hyphens: auto;
  641. }
  642. .ui.grid .justified.column {
  643. text-align: justify !important;
  644. -webkit-hyphens: auto !important;
  645. -moz-hyphens: auto !important;
  646. -ms-hyphens: auto !important;
  647. hyphens: auto !important;
  648. }
  649. /*----------------------
  650. Vertically Aligned
  651. -----------------------*/
  652. /* Top Aligned */
  653. .ui[class*="top aligned"].grid,
  654. .ui[class*="top aligned"].grid > .row > .column,
  655. .ui[class*="top aligned"].grid > .column,
  656. .ui.grid [class*="top aligned"].column,
  657. .ui.grid > [class*="top aligned"].aligned.row > .column {
  658. vertical-align: top;
  659. }
  660. .ui.grid [class*="top aligned"].column {
  661. vertical-align: top !important;
  662. }
  663. /* Middle Aligned */
  664. .ui[class*="center aligned"].grid,
  665. .ui[class*="middle aligned"].grid > .row > .column,
  666. .ui[class*="middle aligned"].grid > .column,
  667. .ui.grid > [class*="middle aligned"].aligned.row > .column {
  668. vertical-align: middle;
  669. }
  670. .ui.grid [class*="middle aligned"].column {
  671. vertical-align: middle !important;
  672. }
  673. /* Bottom Aligned */
  674. .ui[class*="bottom aligned"].grid,
  675. .ui[class*="bottom aligned"].grid > .row > .column,
  676. .ui[class*="bottom aligned"].grid > .column,
  677. .ui.grid > [class*="bottom aligned"].aligned.row > .column {
  678. vertical-align: bottom;
  679. }
  680. .ui.grid [class*="bottom aligned"].column {
  681. vertical-align: bottom !important;
  682. }
  683. /*----------------------
  684. Colored
  685. -----------------------*/
  686. .ui.grid > .white.row,
  687. .ui.grid .white.column {
  688. background-color: #ffffff !important;
  689. color: rgba(0, 0, 0, 0.8);
  690. }
  691. .ui.grid > .row > .white.column {
  692. margin-top: -1rem;
  693. margin-bottom: -1rem;
  694. padding-top: 1rem;
  695. padding-bottom: 1rem;
  696. }
  697. .ui.grid > .black.row,
  698. .ui.grid .black.column {
  699. background-color: #1b1c1d !important;
  700. color: #ffffff;
  701. }
  702. .ui.grid > .row > .black.column {
  703. margin-top: -1rem;
  704. margin-bottom: -1rem;
  705. padding-top: 1rem;
  706. padding-bottom: 1rem;
  707. }
  708. .ui.grid > .blue.row,
  709. .ui.grid .blue.column {
  710. background-color: #3b83c0 !important;
  711. color: #ffffff;
  712. }
  713. .ui.grid > .row > .blue.column {
  714. margin-top: -1rem;
  715. margin-bottom: -1rem;
  716. padding-top: 1rem;
  717. padding-bottom: 1rem;
  718. }
  719. .ui.grid > .green.row,
  720. .ui.grid .green.column {
  721. background-color: #5bbd72 !important;
  722. color: #ffffff;
  723. }
  724. .ui.grid > .row > .green.column {
  725. margin-top: -1rem;
  726. margin-bottom: -1rem;
  727. padding-top: 1rem;
  728. padding-bottom: 1rem;
  729. }
  730. .ui.grid > .orange.row,
  731. .ui.grid .orange.column {
  732. background-color: #e07b53 !important;
  733. color: #ffffff;
  734. }
  735. .ui.grid > .row > .orange.column {
  736. margin-top: -1rem;
  737. margin-bottom: -1rem;
  738. padding-top: 1rem;
  739. padding-bottom: 1rem;
  740. }
  741. .ui.grid > .pink.row,
  742. .ui.grid .pink.column {
  743. background-color: #d9499a !important;
  744. color: #ffffff;
  745. }
  746. .ui.grid > .row > .pink.column {
  747. margin-top: -1rem;
  748. margin-bottom: -1rem;
  749. padding-top: 1rem;
  750. padding-bottom: 1rem;
  751. }
  752. .ui.grid > .purple.row,
  753. .ui.grid .purple.column {
  754. background-color: #564f8a !important;
  755. color: #ffffff;
  756. }
  757. .ui.grid > .row > .purple.column {
  758. margin-top: -1rem;
  759. margin-bottom: -1rem;
  760. padding-top: 1rem;
  761. padding-bottom: 1rem;
  762. }
  763. .ui.grid > .red.row,
  764. .ui.grid .red.column {
  765. background-color: #d95c5c !important;
  766. color: #ffffff;
  767. }
  768. .ui.grid > .row > .red.column {
  769. margin-top: -1rem;
  770. margin-bottom: -1rem;
  771. padding-top: 1rem;
  772. padding-bottom: 1rem;
  773. }
  774. .ui.grid > .teal.row,
  775. .ui.grid .teal.column {
  776. background-color: #00b5ad !important;
  777. color: #ffffff;
  778. }
  779. .ui.grid > .row > .teal.column {
  780. margin-top: -1rem;
  781. margin-bottom: -1rem;
  782. padding-top: 1rem;
  783. padding-bottom: 1rem;
  784. }
  785. .ui.grid > .yellow.row,
  786. .ui.grid .yellow.column {
  787. background-color: #f2c61f !important;
  788. color: #ffffff;
  789. }
  790. .ui.grid > .row > .yellow.column {
  791. margin-top: -1rem;
  792. margin-bottom: -1rem;
  793. padding-top: 1rem;
  794. padding-bottom: 1rem;
  795. }
  796. /*----------------------
  797. Equal Height Columns
  798. -----------------------*/
  799. .ui[class*="equal height"].grid {
  800. display: table;
  801. table-layout: fixed;
  802. width: -webkit-calc(100% + 2rem );
  803. width: calc(100% + 2rem );
  804. }
  805. .ui[class*="equal height"].relaxed.grid {
  806. width: -webkit-calc(100% + 3rem );
  807. width: calc(100% + 3rem );
  808. }
  809. .ui[class*="equal height"][class*="very relaxed"].grid {
  810. width: -webkit-calc(100% + 5rem );
  811. width: calc(100% + 5rem );
  812. }
  813. .ui[class*="equal height"].grid > .row,
  814. .ui[class*="equal height"].row {
  815. display: table;
  816. table-layout: fixed;
  817. width: 100% !important;
  818. }
  819. .ui[class*="equal height"].grid > .column,
  820. .ui[class*="equal height"].grid > .row > .column,
  821. .ui.grid > [class*="equal height"].row > .column {
  822. display: table-cell;
  823. }
  824. /*-------------------
  825. Doubling
  826. --------------------*/
  827. /* Tablet Only */
  828. @media only screen and (min-width: 768px) and (max-width: 991px) {
  829. .ui.doubling.grid {
  830. width: 100% !important;
  831. }
  832. .ui.grid > .doubling.row,
  833. .ui.doubling.grid > .row {
  834. margin: 0em !important;
  835. padding: 0em !important;
  836. }
  837. .ui.grid > .doubling.row > .column,
  838. .ui.doubling.grid > .row > .column {
  839. display: inline-block !important;
  840. padding-top: 1rem !important;
  841. padding-bottom: 1rem !important;
  842. margin: 0em;
  843. }
  844. .ui[class*="two column"].doubling.grid > .row > .column,
  845. .ui[class*="two column"].doubling.grid > .column,
  846. .ui.grid > [class*="two column"].doubling.row > .column {
  847. width: 100% !important;
  848. }
  849. .ui[class*="three column"].doubling.grid > .row > .column,
  850. .ui[class*="three column"].doubling.grid > .column,
  851. .ui.grid > [class*="three column"].doubling.row > .column {
  852. width: 50% !important;
  853. }
  854. .ui[class*="four column"].doubling.grid > .row > .column,
  855. .ui[class*="four column"].doubling.grid > .column,
  856. .ui.grid > [class*="four column"].doubling.row > .column {
  857. width: 50% !important;
  858. }
  859. .ui[class*="five column"].doubling.grid > .row > .column,
  860. .ui[class*="five column"].doubling.grid > .column,
  861. .ui.grid > [class*="five column"].doubling.row > .column {
  862. width: 33.33333333% !important;
  863. }
  864. .ui[class*="six column"].doubling.grid > .row > .column,
  865. .ui[class*="six column"].doubling.grid > .column,
  866. .ui.grid > [class*="six column"].doubling.row > .column {
  867. width: 33.33333333% !important;
  868. }
  869. .ui[class*="eight column"].doubling.grid > .row > .column,
  870. .ui[class*="eight column"].doubling.grid > .column,
  871. .ui.grid > [class*="eight column"].doubling.row > .column {
  872. width: 33.33333333% !important;
  873. }
  874. .ui[class*="eight column"].doubling.grid > .row > .column,
  875. .ui[class*="eight column"].doubling.grid > .column,
  876. .ui.grid > [class*="eight column"].doubling.row > .column {
  877. width: 25% !important;
  878. }
  879. .ui[class*="nine column"].doubling.grid > .row > .column,
  880. .ui[class*="nine column"].doubling.grid > .column,
  881. .ui.grid > [class*="nine column"].doubling.row > .column {
  882. width: 25% !important;
  883. }
  884. .ui[class*="ten column"].doubling.grid > .row > .column,
  885. .ui[class*="ten column"].doubling.grid > .column,
  886. .ui.grid > [class*="ten column"].doubling.row > .column {
  887. width: 20% !important;
  888. }
  889. .ui[class*="twelve column"].doubling.grid > .row > .column,
  890. .ui[class*="twelve column"].doubling.grid > .column,
  891. .ui.grid > [class*="twelve column"].doubling.row > .column {
  892. width: 16.66666667% !important;
  893. }
  894. .ui[class*="fourteen column"].doubling.grid > .row > .column,
  895. .ui[class*="fourteen column"].doubling.grid > .column,
  896. .ui.grid > [class*="fourteen column"].doubling.row > .column {
  897. width: 14.28571429% !important;
  898. }
  899. .ui[class*="sixteen column"].doubling.grid > .row > .column,
  900. .ui[class*="sixteen column"].doubling.grid > .column,
  901. .ui.grid > [class*="sixteen column"].doubling.row > .column {
  902. width: 12.5% !important;
  903. }
  904. }
  905. /* Mobily Only */
  906. @media only screen and (max-width: 767px) {
  907. .ui.doubling.grid {
  908. width: 100% !important;
  909. }
  910. .ui.grid > .doubling.row,
  911. .ui.doubling.grid > .row {
  912. display: block !important;
  913. margin: 0em !important;
  914. padding: 0em !important;
  915. }
  916. .ui.grid > .doubling.row > .column,
  917. .ui.doubling.grid > .row > .column {
  918. display: inline-block !important;
  919. padding-top: 1rem !important;
  920. padding-bottom: 1rem !important;
  921. margin: 0em !important;
  922. }
  923. .ui[class*="two column"].doubling:not(.stackable).grid > .row > .column,
  924. .ui[class*="two column"].doubling:not(.stackable).grid > .column,
  925. .ui.grid > [class*="two column"].doubling:not(.stackable).row > .column {
  926. width: 100% !important;
  927. }
  928. .ui[class*="three column"].doubling:not(.stackable).grid > .row > .column,
  929. .ui[class*="three column"].doubling:not(.stackable).grid > .column,
  930. .ui.grid > [class*="three column"].doubling:not(.stackable).row > .column {
  931. width: 50% !important;
  932. }
  933. .ui[class*="four column"].doubling:not(.stackable).grid > .row > .column,
  934. .ui[class*="four column"].doubling:not(.stackable).grid > .column,
  935. .ui.grid > [class*="four column"].doubling:not(.stackable).row > .column {
  936. width: 50% !important;
  937. }
  938. .ui[class*="five column"].doubling:not(.stackable).grid > .row > .column,
  939. .ui[class*="five column"].doubling:not(.stackable).grid > .column,
  940. .ui.grid > [class*="five column"].doubling:not(.stackable).row > .column {
  941. width: 50% !important;
  942. }
  943. .ui[class*="six column"].doubling:not(.stackable).grid > .row > .column,
  944. .ui[class*="six column"].doubling:not(.stackable).grid > .column,
  945. .ui.grid > [class*="six column"].doubling:not(.stackable).row > .column {
  946. width: 50% !important;
  947. }
  948. .ui[class*="seven column"].doubling:not(.stackable).grid > .row > .column,
  949. .ui[class*="seven column"].doubling:not(.stackable).grid > .column,
  950. .ui.grid > [class*="seven column"].doubling:not(.stackable).row > .column {
  951. width: 50% !important;
  952. }
  953. .ui[class*="eight column"].doubling:not(.stackable).grid > .row > .column,
  954. .ui[class*="eight column"].doubling:not(.stackable).grid > .column,
  955. .ui.grid > [class*="eight column"].doubling:not(.stackable).row > .column {
  956. width: 50% !important;
  957. }
  958. .ui[class*="nine column"].doubling:not(.stackable).grid > .row > .column,
  959. .ui[class*="nine column"].doubling:not(.stackable).grid > .column,
  960. .ui.grid > [class*="nine column"].doubling:not(.stackable).row > .column {
  961. width: 33.33333333% !important;
  962. }
  963. .ui[class*="ten column"].doubling:not(.stackable).grid > .row > .column,
  964. .ui[class*="ten column"].doubling:not(.stackable).grid > .column,
  965. .ui.grid > [class*="ten column"].doubling:not(.stackable).row > .column {
  966. width: 33.33333333% !important;
  967. }
  968. .ui[class*="twelve column"].doubling:not(.stackable).grid > .row > .column,
  969. .ui[class*="twelve column"].doubling:not(.stackable).grid > .column,
  970. .ui.grid > [class*="twelve column"].doubling:not(.stackable).row > .column {
  971. width: 33.33333333% !important;
  972. }
  973. .ui[class*="fourteen column"].doubling:not(.stackable).grid > .row > .column,
  974. .ui[class*="fourteen column"].doubling:not(.stackable).grid > .column,
  975. .ui.grid > [class*="fourteen column"].doubling:not(.stackable).row > .column {
  976. width: 25% !important;
  977. }
  978. .ui[class*="sixteen column"].doubling:not(.stackable).grid > .row > .column,
  979. .ui[class*="sixteen column"].doubling:not(.stackable).grid > .column,
  980. .ui.grid > [class*="sixteen column"].doubling:not(.stackable).row > .column {
  981. width: 25% !important;
  982. }
  983. }
  984. /*-------------------
  985. Stackable
  986. --------------------*/
  987. @media only screen and (max-width: 767px) {
  988. .ui.stackable.grid {
  989. display: block !important;
  990. width: auto;
  991. padding: 0em;
  992. margin-top: 0em;
  993. margin-bottom: 0em;
  994. }
  995. :not(.column) > .ui.stackable.grid {
  996. margin: 0em;
  997. }
  998. .ui.stackable.grid > .row > .wide.column,
  999. .ui.stackable.grid > .wide.column,
  1000. .ui.stackable.grid > .column.grid > .column,
  1001. .ui.stackable.grid > .column.row > .column,
  1002. .ui.stackable.grid > .row > .column,
  1003. .ui.stackable.grid > .column {
  1004. display: block !important;
  1005. width: auto !important;
  1006. margin: 0.5rem 0em !important;
  1007. padding: 0.5rem 1rem 0em !important;
  1008. box-shadow: none !important;
  1009. }
  1010. .ui.stackable.celled.grid > .column,
  1011. .ui.stackable.celled.grid > .row > .column,
  1012. .ui.stackable.divided.grid > .column,
  1013. .ui.stackable.divided.grid > .row > .column {
  1014. border-top: 1px solid rgba(39, 41, 43, 0.15);
  1015. box-shadow: none !important;
  1016. margin: 2rem 0em !important;
  1017. padding: 2rem 1rem 0em !important;
  1018. }
  1019. .ui.inverted.stackable.celled.grid > .column,
  1020. .ui.inverted.stackable.celled.grid > .row > .column,
  1021. .ui.inverted.stackable.divided.grid > .column,
  1022. .ui.inverted.stackable.divided.grid > .row > .column {
  1023. border-top: 1px solid rgba(255, 255, 255, 0.2);
  1024. }
  1025. .ui.stackable.grid > .row:first-child > .column:first-child,
  1026. .ui.stackable.grid > .column:first-child {
  1027. margin-top: 0em !important;
  1028. padding-top: 0em !important;
  1029. }
  1030. .ui.stackable.divided.grid > .row:first-child > .column:first-child,
  1031. .ui.stackable.celled.grid > .row:first-child > .column:first-child,
  1032. .ui.stackable.divided.grid > .column:first-child,
  1033. .ui.stackable.celled.grid > .column:first-child {
  1034. border-top: none !important;
  1035. }
  1036. .ui[class*="equal height"].stackable.page.grid {
  1037. display: block !important;
  1038. width: 100% !important;
  1039. }
  1040. /* Remove pointers from vertical menus */
  1041. .ui.stackable.grid .vertical.pointing.menu .item:after {
  1042. display: none;
  1043. }
  1044. }
  1045. /*----------------------
  1046. Only (Device)
  1047. -----------------------*/
  1048. /* These include arbitrary class repetitions for forced specificity */
  1049. /* Mobile Only Hide */
  1050. @media only screen and (max-width: 767px) {
  1051. .ui.tablet:not(.mobile).only.grid.grid.grid,
  1052. .ui.grid.grid.grid > [class*="tablet only"].row:not(.mobile),
  1053. .ui.grid.grid.grid > [class*="tablet only"].column:not(.mobile),
  1054. .ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.mobile) {
  1055. display: none !important;
  1056. }
  1057. .ui[class*="computer only"].grid.grid.grid:not(.mobile),
  1058. .ui.grid.grid.grid > [class*="computer only"].row:not(.mobile),
  1059. .ui.grid.grid.grid > [class*="computer only"].column:not(.mobile),
  1060. .ui.grid.grid.grid > .row > [class*="computer only"].column:not(.mobile) {
  1061. display: none !important;
  1062. }
  1063. }
  1064. /* Tablet Only Hide */
  1065. @media only screen and (min-width: 768px) and (max-width: 991px) {
  1066. .ui[class*="mobile only"].grid.grid.grid:not(.tablet),
  1067. .ui.grid.grid.grid > [class*="mobile only"].row:not(.tablet),
  1068. .ui.grid.grid.grid > [class*="mobile only"].column:not(.tablet),
  1069. .ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.tablet) {
  1070. display: none !important;
  1071. }
  1072. .ui[class*="computer only"].grid.grid.grid:not(.tablet),
  1073. .ui.grid.grid.grid > [class*="computer only"].row:not(.tablet),
  1074. .ui.grid.grid.grid > [class*="computer only"].column:not(.tablet),
  1075. .ui.grid.grid.grid > .row > [class*="computer only"].column:not(.tablet) {
  1076. display: none !important;
  1077. }
  1078. }
  1079. /* Computer Only Hide */
  1080. @media only screen and (min-width: 992px) {
  1081. .ui[class*="mobile only"].grid.grid.grid:not(.computer),
  1082. .ui.grid.grid.grid > [class*="mobile only"].row:not(.computer),
  1083. .ui.grid.grid.grid > [class*="mobile only"].column:not(.computer),
  1084. .ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.computer) {
  1085. display: none !important;
  1086. }
  1087. .ui[class*="tablet only"].grid.grid.grid:not(.computer),
  1088. .ui.grid.grid.grid > [class*="tablet only"].row:not(.computer),
  1089. .ui.grid.grid.grid > [class*="tablet only"].column:not(.computer),
  1090. .ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.computer) {
  1091. display: none !important;
  1092. }
  1093. }
  1094. /*******************************
  1095. Theme Overrides
  1096. *******************************/
  1097. /*******************************
  1098. Site Overrides
  1099. *******************************/