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.

984 lines
23 KiB

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