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.

949 lines
20 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.0.0 - Item
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Standard
  13. *******************************/
  14. /*--------------
  15. Card
  16. ---------------*/
  17. .ui.cards > .card,
  18. .ui.card {
  19. max-width: 100%;
  20. position: relative;
  21. display: -webkit-box;
  22. display: -webkit-flex;
  23. display: -ms-flexbox;
  24. display: flex;
  25. -webkit-box-orient: vertical;
  26. -webkit-box-direction: normal;
  27. -webkit-flex-direction: column;
  28. -ms-flex-direction: column;
  29. flex-direction: column;
  30. width: 290px;
  31. min-height: 0px;
  32. background: #ffffff;
  33. padding: 0em;
  34. border: none;
  35. border-radius: 0.28571429rem;
  36. box-shadow: 0px 1px 3px 0px #d4d4d5, 0px 0px 0px 1px #d4d4d5;
  37. -webkit-transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease;
  38. transition: box-shadow 0.1s ease, transform 0.1s ease;
  39. z-index: '';
  40. }
  41. .ui.card {
  42. margin: 1em 0em;
  43. }
  44. .ui.cards > .card a,
  45. .ui.card a {
  46. cursor: pointer;
  47. }
  48. .ui.card:first-child {
  49. margin-top: 0em;
  50. }
  51. .ui.card:last-child {
  52. margin-bottom: 0em;
  53. }
  54. /*--------------
  55. Cards
  56. ---------------*/
  57. .ui.cards {
  58. display: -webkit-box;
  59. display: -webkit-flex;
  60. display: -ms-flexbox;
  61. display: flex;
  62. margin: -0.875em -0.5em;
  63. -webkit-flex-wrap: wrap;
  64. -ms-flex-wrap: wrap;
  65. flex-wrap: wrap;
  66. }
  67. .ui.cards > .card {
  68. display: -webkit-box;
  69. display: -webkit-flex;
  70. display: -ms-flexbox;
  71. display: flex;
  72. margin: 0.875em 0.5em;
  73. float: none;
  74. }
  75. /* Clearing */
  76. .ui.cards:after,
  77. .ui.card:after {
  78. display: block;
  79. content: ' ';
  80. height: 0px;
  81. clear: both;
  82. overflow: hidden;
  83. visibility: hidden;
  84. }
  85. /* Consecutive Card Groups Preserve Row Spacing */
  86. .ui.cards ~ .ui.cards {
  87. margin-top: 0.875em;
  88. }
  89. /*--------------
  90. Rounded Edges
  91. ---------------*/
  92. .ui.cards > .card > :first-child,
  93. .ui.card > :first-child {
  94. border-radius: 0.28571429rem 0.28571429rem 0em 0em !important;
  95. border-top: none !important;
  96. }
  97. .ui.cards > .card > :last-child,
  98. .ui.card > :last-child {
  99. border-radius: 0em 0em 0.28571429rem 0.28571429rem !important;
  100. }
  101. .ui.cards > .card > :only-child,
  102. .ui.card > :only-child {
  103. border-radius: 0.28571429rem !important;
  104. }
  105. /*--------------
  106. Images
  107. ---------------*/
  108. .ui.cards > .card > .image,
  109. .ui.card > .image {
  110. position: relative;
  111. display: block;
  112. -webkit-box-flex: 0;
  113. -webkit-flex: 0 0 auto;
  114. -ms-flex: 0 0 auto;
  115. flex: 0 0 auto;
  116. padding: 0em;
  117. background: rgba(0, 0, 0, 0.05);
  118. }
  119. .ui.cards > .card > .image > img,
  120. .ui.card > .image > img {
  121. display: block;
  122. width: 100%;
  123. height: auto;
  124. border-radius: inherit;
  125. }
  126. .ui.cards > .card > .image:not(.ui) > img,
  127. .ui.card > .image:not(.ui) > img {
  128. border: none;
  129. }
  130. /*--------------
  131. Content
  132. ---------------*/
  133. .ui.cards > .card > .content,
  134. .ui.card > .content {
  135. -webkit-box-flex: 1;
  136. -webkit-flex-grow: 1;
  137. -ms-flex-positive: 1;
  138. flex-grow: 1;
  139. border: none;
  140. border-top: 1px solid rgba(34, 36, 38, 0.1);
  141. background: none;
  142. margin: 0em;
  143. padding: 1em 1em;
  144. box-shadow: none;
  145. font-size: 1em;
  146. border-radius: 0em;
  147. }
  148. .ui.cards > .card > .content:after,
  149. .ui.card > .content:after {
  150. display: block;
  151. content: ' ';
  152. height: 0px;
  153. clear: both;
  154. overflow: hidden;
  155. visibility: hidden;
  156. }
  157. .ui.cards > .card > .content > .header,
  158. .ui.card > .content > .header {
  159. display: block;
  160. margin: '';
  161. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  162. color: rgba(0, 0, 0, 0.85);
  163. }
  164. /* Default Header Size */
  165. .ui.cards > .card > .content > .header:not(.ui),
  166. .ui.card > .content > .header:not(.ui) {
  167. font-weight: bold;
  168. font-size: 1.28571429em;
  169. margin-top: -0.21425em;
  170. line-height: 1.2857em;
  171. }
  172. .ui.cards > .card > .content > .meta + .description,
  173. .ui.cards > .card > .content > .header + .description,
  174. .ui.card > .content > .meta + .description,
  175. .ui.card > .content > .header + .description {
  176. margin-top: 0.5em;
  177. }
  178. /*----------------
  179. Floated Content
  180. -----------------*/
  181. .ui.cards > .card [class*="left floated"],
  182. .ui.card [class*="left floated"] {
  183. float: left;
  184. }
  185. .ui.cards > .card [class*="right floated"],
  186. .ui.card [class*="right floated"] {
  187. float: right;
  188. }
  189. /*--------------
  190. Aligned
  191. ---------------*/
  192. .ui.cards > .card [class*="left aligned"],
  193. .ui.card [class*="left aligned"] {
  194. text-align: left;
  195. }
  196. .ui.cards > .card [class*="center aligned"],
  197. .ui.card [class*="center aligned"] {
  198. text-align: center;
  199. }
  200. .ui.cards > .card [class*="right aligned"],
  201. .ui.card [class*="right aligned"] {
  202. text-align: right;
  203. }
  204. /*--------------
  205. Content Image
  206. ---------------*/
  207. .ui.cards > .card .content img,
  208. .ui.card .content img {
  209. display: inline-block;
  210. vertical-align: middle;
  211. width: '';
  212. }
  213. .ui.cards > .card img.avatar,
  214. .ui.cards > .card .avatar img,
  215. .ui.card img.avatar,
  216. .ui.card .avatar img {
  217. width: 2em;
  218. height: 2em;
  219. border-radius: 500rem;
  220. }
  221. /*--------------
  222. Description
  223. ---------------*/
  224. .ui.cards > .card > .content > .description,
  225. .ui.card > .content > .description {
  226. clear: both;
  227. color: rgba(0, 0, 0, 0.68);
  228. }
  229. /*--------------
  230. Paragraph
  231. ---------------*/
  232. .ui.cards > .card > .content p,
  233. .ui.card > .content p {
  234. margin: 0em 0em 0.5em;
  235. }
  236. .ui.cards > .card > .content p:last-child,
  237. .ui.card > .content p:last-child {
  238. margin-bottom: 0em;
  239. }
  240. /*--------------
  241. Meta
  242. ---------------*/
  243. .ui.cards > .card .meta,
  244. .ui.card .meta {
  245. font-size: 1em;
  246. color: rgba(0, 0, 0, 0.4);
  247. }
  248. .ui.cards > .card .meta *,
  249. .ui.card .meta * {
  250. margin-right: 0.3em;
  251. }
  252. .ui.cards > .card .meta :last-child,
  253. .ui.card .meta :last-child {
  254. margin-right: 0em;
  255. }
  256. .ui.cards > .card .meta [class*="right floated"],
  257. .ui.card .meta [class*="right floated"] {
  258. margin-right: 0em;
  259. margin-left: 0.3em;
  260. }
  261. /*--------------
  262. Links
  263. ---------------*/
  264. /* Generic */
  265. .ui.cards > .card > .content a:not(.ui),
  266. .ui.card > .content a:not(.ui) {
  267. color: '';
  268. -webkit-transition: color 0.1s ease;
  269. transition: color 0.1s ease;
  270. }
  271. .ui.cards > .card > .content a:not(.ui):hover,
  272. .ui.card > .content a:not(.ui):hover {
  273. color: '';
  274. }
  275. /* Header */
  276. .ui.cards > .card > .content > a.header,
  277. .ui.card > .content > a.header {
  278. color: rgba(0, 0, 0, 0.85);
  279. }
  280. .ui.cards > .card > .content > a.header:hover,
  281. .ui.card > .content > a.header:hover {
  282. color: #1e70bf;
  283. }
  284. /* Meta */
  285. .ui.cards > .card .meta > a:not(.ui),
  286. .ui.card .meta > a:not(.ui) {
  287. color: rgba(0, 0, 0, 0.4);
  288. }
  289. .ui.cards > .card .meta > a:not(.ui):hover,
  290. .ui.card .meta > a:not(.ui):hover {
  291. color: rgba(0, 0, 0, 0.87);
  292. }
  293. /*--------------
  294. Buttons
  295. ---------------*/
  296. .ui.cards > .card > .buttons,
  297. .ui.card > .buttons,
  298. .ui.cards > .card > .button,
  299. .ui.card > .button {
  300. margin: 0px -1px;
  301. width: calc(100% + 2px );
  302. }
  303. /*--------------
  304. Dimmer
  305. ---------------*/
  306. .ui.cards > .card .dimmer,
  307. .ui.card .dimmer {
  308. background-color: '';
  309. z-index: 10;
  310. }
  311. /*--------------
  312. Labels
  313. ---------------*/
  314. /*-----Star----- */
  315. /* Icon */
  316. .ui.cards > .card > .content .star.icon,
  317. .ui.card > .content .star.icon {
  318. cursor: pointer;
  319. opacity: 0.75;
  320. -webkit-transition: color 0.1s ease;
  321. transition: color 0.1s ease;
  322. }
  323. .ui.cards > .card > .content .star.icon:hover,
  324. .ui.card > .content .star.icon:hover {
  325. opacity: 1;
  326. color: #ffb70a;
  327. }
  328. .ui.cards > .card > .content .active.star.icon,
  329. .ui.card > .content .active.star.icon {
  330. color: #ffe623;
  331. }
  332. /*-----Like----- */
  333. /* Icon */
  334. .ui.cards > .card > .content .like.icon,
  335. .ui.card > .content .like.icon {
  336. cursor: pointer;
  337. opacity: 0.75;
  338. -webkit-transition: color 0.1s ease;
  339. transition: color 0.1s ease;
  340. }
  341. .ui.cards > .card > .content .like.icon:hover,
  342. .ui.card > .content .like.icon:hover {
  343. opacity: 1;
  344. color: #ff2733;
  345. }
  346. .ui.cards > .card > .content .active.like.icon,
  347. .ui.card > .content .active.like.icon {
  348. color: #ff2733;
  349. }
  350. /*----------------
  351. Extra Content
  352. -----------------*/
  353. .ui.cards > .card > .extra,
  354. .ui.card > .extra {
  355. max-width: 100%;
  356. min-height: 0em !important;
  357. -webkit-box-flex: 0;
  358. -webkit-flex-grow: 0;
  359. -ms-flex-positive: 0;
  360. flex-grow: 0;
  361. border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  362. position: static;
  363. background: none;
  364. width: auto;
  365. margin: 0em 0em;
  366. padding: 0.75em 1em;
  367. top: 0em;
  368. left: 0em;
  369. color: rgba(0, 0, 0, 0.4);
  370. box-shadow: none;
  371. -webkit-transition: color 0.1s ease;
  372. transition: color 0.1s ease;
  373. }
  374. .ui.cards > .card > .extra a:not(.ui),
  375. .ui.card > .extra a:not(.ui) {
  376. color: rgba(0, 0, 0, 0.4);
  377. }
  378. .ui.cards > .card > .extra a:not(.ui):hover,
  379. .ui.card > .extra a:not(.ui):hover {
  380. color: #1e70bf;
  381. }
  382. /*******************************
  383. Variations
  384. *******************************/
  385. /*-------------------
  386. Centered
  387. --------------------*/
  388. .ui.centered.card {
  389. margin-left: auto;
  390. margin-right: auto;
  391. }
  392. /*-------------------
  393. Fluid
  394. --------------------*/
  395. .ui.fluid.card {
  396. width: 100%;
  397. max-width: 9999px;
  398. }
  399. /*-------------------
  400. Link
  401. --------------------*/
  402. .ui.cards a.card,
  403. .ui.link.cards .card,
  404. a.ui.card,
  405. .ui.link.card {
  406. -webkit-transform: none;
  407. -ms-transform: none;
  408. transform: none;
  409. }
  410. .ui.cards a.card:hover,
  411. .ui.link.cards .card:hover,
  412. a.ui.card:hover,
  413. .ui.link.card:hover {
  414. cursor: pointer;
  415. z-index: 5;
  416. background: #ffffff;
  417. border: none;
  418. box-shadow: 0px 1px 3px 0px #bcbdbd, 0px 0px 0px 1px #d4d4d5;
  419. -webkit-transform: translateY(-3px);
  420. -ms-transform: translateY(-3px);
  421. transform: translateY(-3px);
  422. }
  423. /*-------------------
  424. Colors
  425. --------------------*/
  426. /* Red */
  427. .ui.red.cards > .card,
  428. .ui.cards > .red.card,
  429. .ui.red.card {
  430. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #db2828, 0px 1px 3px 0px #d4d4d5;
  431. }
  432. .ui.red.cards > .card:hover,
  433. .ui.cards > .red.card:hover,
  434. .ui.red.card:hover {
  435. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #bcbdbd;
  436. }
  437. /* Orange */
  438. .ui.orange.cards > .card,
  439. .ui.cards > .orange.card,
  440. .ui.orange.card {
  441. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #f2711c, 0px 1px 3px 0px #d4d4d5;
  442. }
  443. .ui.orange.cards > .card:hover,
  444. .ui.cards > .orange.card:hover,
  445. .ui.orange.card:hover {
  446. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #bcbdbd;
  447. }
  448. /* Yellow */
  449. .ui.yellow.cards > .card,
  450. .ui.cards > .yellow.card,
  451. .ui.yellow.card {
  452. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #fbbd08, 0px 1px 3px 0px #d4d4d5;
  453. }
  454. .ui.yellow.cards > .card:hover,
  455. .ui.cards > .yellow.card:hover,
  456. .ui.yellow.card:hover {
  457. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #bcbdbd;
  458. }
  459. /* Olive */
  460. .ui.olive.cards > .card,
  461. .ui.cards > .olive.card,
  462. .ui.olive.card {
  463. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #b5cc18, 0px 1px 3px 0px #d4d4d5;
  464. }
  465. .ui.olive.cards > .card:hover,
  466. .ui.cards > .olive.card:hover,
  467. .ui.olive.card:hover {
  468. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #bcbdbd;
  469. }
  470. /* Green */
  471. .ui.green.cards > .card,
  472. .ui.cards > .green.card,
  473. .ui.green.card {
  474. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #21ba45, 0px 1px 3px 0px #d4d4d5;
  475. }
  476. .ui.green.cards > .card:hover,
  477. .ui.cards > .green.card:hover,
  478. .ui.green.card:hover {
  479. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #bcbdbd;
  480. }
  481. /* Teal */
  482. .ui.teal.cards > .card,
  483. .ui.cards > .teal.card,
  484. .ui.teal.card {
  485. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #00b5ad, 0px 1px 3px 0px #d4d4d5;
  486. }
  487. .ui.teal.cards > .card:hover,
  488. .ui.cards > .teal.card:hover,
  489. .ui.teal.card:hover {
  490. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #bcbdbd;
  491. }
  492. /* Blue */
  493. .ui.blue.cards > .card,
  494. .ui.cards > .blue.card,
  495. .ui.blue.card {
  496. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #2185d0, 0px 1px 3px 0px #d4d4d5;
  497. }
  498. .ui.blue.cards > .card:hover,
  499. .ui.cards > .blue.card:hover,
  500. .ui.blue.card:hover {
  501. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #bcbdbd;
  502. }
  503. /* Violet */
  504. .ui.violet.cards > .card,
  505. .ui.cards > .violet.card,
  506. .ui.violet.card {
  507. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #6435c9, 0px 1px 3px 0px #d4d4d5;
  508. }
  509. .ui.violet.cards > .card:hover,
  510. .ui.cards > .violet.card:hover,
  511. .ui.violet.card:hover {
  512. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #bcbdbd;
  513. }
  514. /* Purple */
  515. .ui.purple.cards > .card,
  516. .ui.cards > .purple.card,
  517. .ui.purple.card {
  518. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #a333c8, 0px 1px 3px 0px #d4d4d5;
  519. }
  520. .ui.purple.cards > .card:hover,
  521. .ui.cards > .purple.card:hover,
  522. .ui.purple.card:hover {
  523. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #bcbdbd;
  524. }
  525. /* Pink */
  526. .ui.pink.cards > .card,
  527. .ui.cards > .pink.card,
  528. .ui.pink.card {
  529. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #e03997, 0px 1px 3px 0px #d4d4d5;
  530. }
  531. .ui.pink.cards > .card:hover,
  532. .ui.cards > .pink.card:hover,
  533. .ui.pink.card:hover {
  534. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #bcbdbd;
  535. }
  536. /* Brown */
  537. .ui.brown.cards > .card,
  538. .ui.cards > .brown.card,
  539. .ui.brown.card {
  540. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #a5673f, 0px 1px 3px 0px #d4d4d5;
  541. }
  542. .ui.brown.cards > .card:hover,
  543. .ui.cards > .brown.card:hover,
  544. .ui.brown.card:hover {
  545. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #bcbdbd;
  546. }
  547. /* Grey */
  548. .ui.grey.cards > .card,
  549. .ui.cards > .grey.card,
  550. .ui.grey.card {
  551. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #d4d4d5;
  552. }
  553. .ui.grey.cards > .card:hover,
  554. .ui.cards > .grey.card:hover,
  555. .ui.grey.card:hover {
  556. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #bcbdbd;
  557. }
  558. /* Black */
  559. .ui.black.cards > .card,
  560. .ui.cards > .black.card,
  561. .ui.black.card {
  562. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #1b1c1d, 0px 1px 3px 0px #d4d4d5;
  563. }
  564. .ui.black.cards > .card:hover,
  565. .ui.cards > .black.card:hover,
  566. .ui.black.card:hover {
  567. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #27292a, 0px 1px 3px 0px #bcbdbd;
  568. }
  569. /*--------------
  570. Card Count
  571. ---------------*/
  572. .ui.one.cards {
  573. margin-left: 0em;
  574. margin-right: 0em;
  575. }
  576. .ui.one.cards > .card {
  577. width: 100%;
  578. }
  579. .ui.two.cards {
  580. margin-left: -1em;
  581. margin-right: -1em;
  582. }
  583. .ui.two.cards > .card {
  584. width: calc( 50% - 2em );
  585. margin-left: 1em;
  586. margin-right: 1em;
  587. }
  588. .ui.three.cards {
  589. margin-left: -1em;
  590. margin-right: -1em;
  591. }
  592. .ui.three.cards > .card {
  593. width: calc( 33.33333333% - 2em );
  594. margin-left: 1em;
  595. margin-right: 1em;
  596. }
  597. .ui.four.cards {
  598. margin-left: -0.75em;
  599. margin-right: -0.75em;
  600. }
  601. .ui.four.cards > .card {
  602. width: calc( 25% - 1.5em );
  603. margin-left: 0.75em;
  604. margin-right: 0.75em;
  605. }
  606. .ui.five.cards {
  607. margin-left: -0.75em;
  608. margin-right: -0.75em;
  609. }
  610. .ui.five.cards > .card {
  611. width: calc( 20% - 1.5em );
  612. margin-left: 0.75em;
  613. margin-right: 0.75em;
  614. }
  615. .ui.six.cards {
  616. margin-left: -0.75em;
  617. margin-right: -0.75em;
  618. }
  619. .ui.six.cards > .card {
  620. width: calc( 16.66666667% - 1.5em );
  621. margin-left: 0.75em;
  622. margin-right: 0.75em;
  623. }
  624. .ui.seven.cards {
  625. margin-left: -0.5em;
  626. margin-right: -0.5em;
  627. }
  628. .ui.seven.cards > .card {
  629. width: calc( 14.28571429% - 1em );
  630. margin-left: 0.5em;
  631. margin-right: 0.5em;
  632. }
  633. .ui.eight.cards {
  634. margin-left: -0.5em;
  635. margin-right: -0.5em;
  636. }
  637. .ui.eight.cards > .card {
  638. width: calc( 12.5% - 1em );
  639. margin-left: 0.5em;
  640. margin-right: 0.5em;
  641. font-size: 11px;
  642. }
  643. .ui.nine.cards {
  644. margin-left: -0.5em;
  645. margin-right: -0.5em;
  646. }
  647. .ui.nine.cards > .card {
  648. width: calc( 11.11111111% - 1em );
  649. margin-left: 0.5em;
  650. margin-right: 0.5em;
  651. font-size: 10px;
  652. }
  653. .ui.ten.cards {
  654. margin-left: -0.5em;
  655. margin-right: -0.5em;
  656. }
  657. .ui.ten.cards > .card {
  658. width: calc( 10% - 1em );
  659. margin-left: 0.5em;
  660. margin-right: 0.5em;
  661. }
  662. /*-------------------
  663. Doubling
  664. --------------------*/
  665. /* Mobily Only */
  666. @media only screen and (max-width: 767px) {
  667. .ui.two.doubling.cards {
  668. margin-left: 0em;
  669. margin-right: 0em;
  670. }
  671. .ui.two.doubling.cards .card {
  672. width: 100%;
  673. margin-left: 0em;
  674. margin-right: 0em;
  675. }
  676. .ui.three.doubling.cards {
  677. margin-left: -1em;
  678. margin-right: -1em;
  679. }
  680. .ui.three.doubling.cards .card {
  681. width: calc( 50% - 2em );
  682. margin-left: 1em;
  683. margin-right: 1em;
  684. }
  685. .ui.four.doubling.cards {
  686. margin-left: -1em;
  687. margin-right: -1em;
  688. }
  689. .ui.four.doubling.cards .card {
  690. width: calc( 50% - 2em );
  691. margin-left: 1em;
  692. margin-right: 1em;
  693. }
  694. .ui.five.doubling.cards {
  695. margin-left: -1em;
  696. margin-right: -1em;
  697. }
  698. .ui.five.doubling.cards .card {
  699. width: calc( 50% - 2em );
  700. margin-left: 1em;
  701. margin-right: 1em;
  702. }
  703. .ui.six.doubling.cards {
  704. margin-left: -1em;
  705. margin-right: -1em;
  706. }
  707. .ui.six.doubling.cards .card {
  708. width: calc( 50% - 2em );
  709. margin-left: 1em;
  710. margin-right: 1em;
  711. }
  712. .ui.seven.doubling.cards {
  713. margin-left: -1em;
  714. margin-right: -1em;
  715. }
  716. .ui.seven.doubling.cards .card {
  717. width: calc( 33.33333333% - 2em );
  718. margin-left: 1em;
  719. margin-right: 1em;
  720. }
  721. .ui.eight.doubling.cards {
  722. margin-left: -1em;
  723. margin-right: -1em;
  724. }
  725. .ui.eight.doubling.cards .card {
  726. width: calc( 33.33333333% - 2em );
  727. margin-left: 1em;
  728. margin-right: 1em;
  729. }
  730. .ui.nine.doubling.cards {
  731. margin-left: -1em;
  732. margin-right: -1em;
  733. }
  734. .ui.nine.doubling.cards .card {
  735. width: calc( 33.33333333% - 2em );
  736. margin-left: 1em;
  737. margin-right: 1em;
  738. }
  739. .ui.ten.doubling.cards {
  740. margin-left: -1em;
  741. margin-right: -1em;
  742. }
  743. .ui.ten.doubling.cards .card {
  744. width: calc( 33.33333333% - 2em );
  745. margin-left: 1em;
  746. margin-right: 1em;
  747. }
  748. }
  749. /* Tablet Only */
  750. @media only screen and (min-width: 768px) and (max-width: 991px) {
  751. .ui.two.doubling.cards {
  752. margin-left: 0em;
  753. margin-right: 0em;
  754. }
  755. .ui.two.doubling.cards .card {
  756. width: 100%;
  757. margin-left: 0em;
  758. margin-right: 0em;
  759. }
  760. .ui.three.doubling.cards {
  761. margin-left: -1em;
  762. margin-right: -1em;
  763. }
  764. .ui.three.doubling.cards .card {
  765. width: calc( 50% - 2em );
  766. margin-left: 1em;
  767. margin-right: 1em;
  768. }
  769. .ui.four.doubling.cards {
  770. margin-left: -1em;
  771. margin-right: -1em;
  772. }
  773. .ui.four.doubling.cards .card {
  774. width: calc( 50% - 2em );
  775. margin-left: 1em;
  776. margin-right: 1em;
  777. }
  778. .ui.five.doubling.cards {
  779. margin-left: -1em;
  780. margin-right: -1em;
  781. }
  782. .ui.five.doubling.cards .card {
  783. width: calc( 33.33333333% - 2em );
  784. margin-left: 1em;
  785. margin-right: 1em;
  786. }
  787. .ui.six.doubling.cards {
  788. margin-left: -1em;
  789. margin-right: -1em;
  790. }
  791. .ui.six.doubling.cards .card {
  792. width: calc( 33.33333333% - 2em );
  793. margin-left: 1em;
  794. margin-right: 1em;
  795. }
  796. .ui.eight.doubling.cards {
  797. margin-left: -1em;
  798. margin-right: -1em;
  799. }
  800. .ui.eight.doubling.cards .card {
  801. width: calc( 33.33333333% - 2em );
  802. margin-left: 1em;
  803. margin-right: 1em;
  804. }
  805. .ui.eight.doubling.cards {
  806. margin-left: -0.75em;
  807. margin-right: -0.75em;
  808. }
  809. .ui.eight.doubling.cards .card {
  810. width: calc( 25% - 1.5em );
  811. margin-left: 0.75em;
  812. margin-right: 0.75em;
  813. }
  814. .ui.nine.doubling.cards {
  815. margin-left: -0.75em;
  816. margin-right: -0.75em;
  817. }
  818. .ui.nine.doubling.cards .card {
  819. width: calc( 25% - 1.5em );
  820. margin-left: 0.75em;
  821. margin-right: 0.75em;
  822. }
  823. .ui.ten.doubling.cards {
  824. margin-left: -0.75em;
  825. margin-right: -0.75em;
  826. }
  827. .ui.ten.doubling.cards .card {
  828. width: calc( 20% - 1.5em );
  829. margin-left: 0.75em;
  830. margin-right: 0.75em;
  831. }
  832. }
  833. /*-------------------
  834. Stackable
  835. --------------------*/
  836. @media only screen and (max-width: 767px) {
  837. .ui.stackable.cards {
  838. display: block !important;
  839. }
  840. .ui.stackable.cards .card:first-child {
  841. margin-top: 0em !important;
  842. }
  843. .ui.stackable.cards > .card {
  844. display: block !important;
  845. height: auto !important;
  846. margin: 1em 1em;
  847. padding: 0 !important;
  848. width: calc( 100% - 2em ) !important;
  849. }
  850. }
  851. /*--------------
  852. Size
  853. ---------------*/
  854. .ui.cards > .card {
  855. font-size: 1em;
  856. }
  857. /*******************************
  858. Theme Overrides
  859. *******************************/
  860. /*******************************
  861. User Variable Overrides
  862. *******************************/