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.

955 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
9 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.3 - 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.cards {
  389. -webkit-box-pack: center;
  390. -webkit-justify-content: center;
  391. -ms-flex-pack: center;
  392. justify-content: center;
  393. }
  394. .ui.centered.card {
  395. margin-left: auto;
  396. margin-right: auto;
  397. }
  398. /*-------------------
  399. Fluid
  400. --------------------*/
  401. .ui.fluid.card {
  402. width: 100%;
  403. max-width: 9999px;
  404. }
  405. /*-------------------
  406. Link
  407. --------------------*/
  408. .ui.cards a.card,
  409. .ui.link.cards .card,
  410. a.ui.card,
  411. .ui.link.card {
  412. -webkit-transform: none;
  413. -ms-transform: none;
  414. transform: none;
  415. }
  416. .ui.cards a.card:hover,
  417. .ui.link.cards .card:hover,
  418. a.ui.card:hover,
  419. .ui.link.card:hover {
  420. cursor: pointer;
  421. z-index: 5;
  422. background: #ffffff;
  423. border: none;
  424. box-shadow: 0px 1px 3px 0px #bcbdbd, 0px 0px 0px 1px #d4d4d5;
  425. -webkit-transform: translateY(-3px);
  426. -ms-transform: translateY(-3px);
  427. transform: translateY(-3px);
  428. }
  429. /*-------------------
  430. Colors
  431. --------------------*/
  432. /* Red */
  433. .ui.red.cards > .card,
  434. .ui.cards > .red.card,
  435. .ui.red.card {
  436. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #db2828, 0px 1px 3px 0px #d4d4d5;
  437. }
  438. .ui.red.cards > .card:hover,
  439. .ui.cards > .red.card:hover,
  440. .ui.red.card:hover {
  441. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #bcbdbd;
  442. }
  443. /* Orange */
  444. .ui.orange.cards > .card,
  445. .ui.cards > .orange.card,
  446. .ui.orange.card {
  447. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #f2711c, 0px 1px 3px 0px #d4d4d5;
  448. }
  449. .ui.orange.cards > .card:hover,
  450. .ui.cards > .orange.card:hover,
  451. .ui.orange.card:hover {
  452. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #bcbdbd;
  453. }
  454. /* Yellow */
  455. .ui.yellow.cards > .card,
  456. .ui.cards > .yellow.card,
  457. .ui.yellow.card {
  458. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #fbbd08, 0px 1px 3px 0px #d4d4d5;
  459. }
  460. .ui.yellow.cards > .card:hover,
  461. .ui.cards > .yellow.card:hover,
  462. .ui.yellow.card:hover {
  463. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #bcbdbd;
  464. }
  465. /* Olive */
  466. .ui.olive.cards > .card,
  467. .ui.cards > .olive.card,
  468. .ui.olive.card {
  469. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #b5cc18, 0px 1px 3px 0px #d4d4d5;
  470. }
  471. .ui.olive.cards > .card:hover,
  472. .ui.cards > .olive.card:hover,
  473. .ui.olive.card:hover {
  474. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #bcbdbd;
  475. }
  476. /* Green */
  477. .ui.green.cards > .card,
  478. .ui.cards > .green.card,
  479. .ui.green.card {
  480. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #21ba45, 0px 1px 3px 0px #d4d4d5;
  481. }
  482. .ui.green.cards > .card:hover,
  483. .ui.cards > .green.card:hover,
  484. .ui.green.card:hover {
  485. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #bcbdbd;
  486. }
  487. /* Teal */
  488. .ui.teal.cards > .card,
  489. .ui.cards > .teal.card,
  490. .ui.teal.card {
  491. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #00b5ad, 0px 1px 3px 0px #d4d4d5;
  492. }
  493. .ui.teal.cards > .card:hover,
  494. .ui.cards > .teal.card:hover,
  495. .ui.teal.card:hover {
  496. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #bcbdbd;
  497. }
  498. /* Blue */
  499. .ui.blue.cards > .card,
  500. .ui.cards > .blue.card,
  501. .ui.blue.card {
  502. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #2185d0, 0px 1px 3px 0px #d4d4d5;
  503. }
  504. .ui.blue.cards > .card:hover,
  505. .ui.cards > .blue.card:hover,
  506. .ui.blue.card:hover {
  507. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #bcbdbd;
  508. }
  509. /* Violet */
  510. .ui.violet.cards > .card,
  511. .ui.cards > .violet.card,
  512. .ui.violet.card {
  513. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #6435c9, 0px 1px 3px 0px #d4d4d5;
  514. }
  515. .ui.violet.cards > .card:hover,
  516. .ui.cards > .violet.card:hover,
  517. .ui.violet.card:hover {
  518. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #bcbdbd;
  519. }
  520. /* Purple */
  521. .ui.purple.cards > .card,
  522. .ui.cards > .purple.card,
  523. .ui.purple.card {
  524. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #a333c8, 0px 1px 3px 0px #d4d4d5;
  525. }
  526. .ui.purple.cards > .card:hover,
  527. .ui.cards > .purple.card:hover,
  528. .ui.purple.card:hover {
  529. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #bcbdbd;
  530. }
  531. /* Pink */
  532. .ui.pink.cards > .card,
  533. .ui.cards > .pink.card,
  534. .ui.pink.card {
  535. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #e03997, 0px 1px 3px 0px #d4d4d5;
  536. }
  537. .ui.pink.cards > .card:hover,
  538. .ui.cards > .pink.card:hover,
  539. .ui.pink.card:hover {
  540. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #bcbdbd;
  541. }
  542. /* Brown */
  543. .ui.brown.cards > .card,
  544. .ui.cards > .brown.card,
  545. .ui.brown.card {
  546. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #a5673f, 0px 1px 3px 0px #d4d4d5;
  547. }
  548. .ui.brown.cards > .card:hover,
  549. .ui.cards > .brown.card:hover,
  550. .ui.brown.card:hover {
  551. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #bcbdbd;
  552. }
  553. /* Grey */
  554. .ui.grey.cards > .card,
  555. .ui.cards > .grey.card,
  556. .ui.grey.card {
  557. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #d4d4d5;
  558. }
  559. .ui.grey.cards > .card:hover,
  560. .ui.cards > .grey.card:hover,
  561. .ui.grey.card:hover {
  562. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #bcbdbd;
  563. }
  564. /* Black */
  565. .ui.black.cards > .card,
  566. .ui.cards > .black.card,
  567. .ui.black.card {
  568. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #1b1c1d, 0px 1px 3px 0px #d4d4d5;
  569. }
  570. .ui.black.cards > .card:hover,
  571. .ui.cards > .black.card:hover,
  572. .ui.black.card:hover {
  573. box-shadow: 0px 0px 0px 1px #d4d4d5, 0px 2px 0px 0px #27292a, 0px 1px 3px 0px #bcbdbd;
  574. }
  575. /*--------------
  576. Card Count
  577. ---------------*/
  578. .ui.one.cards {
  579. margin-left: 0em;
  580. margin-right: 0em;
  581. }
  582. .ui.one.cards > .card {
  583. width: 100%;
  584. }
  585. .ui.two.cards {
  586. margin-left: -1em;
  587. margin-right: -1em;
  588. }
  589. .ui.two.cards > .card {
  590. width: calc( 50% - 2em );
  591. margin-left: 1em;
  592. margin-right: 1em;
  593. }
  594. .ui.three.cards {
  595. margin-left: -1em;
  596. margin-right: -1em;
  597. }
  598. .ui.three.cards > .card {
  599. width: calc( 33.33333333% - 2em );
  600. margin-left: 1em;
  601. margin-right: 1em;
  602. }
  603. .ui.four.cards {
  604. margin-left: -0.75em;
  605. margin-right: -0.75em;
  606. }
  607. .ui.four.cards > .card {
  608. width: calc( 25% - 1.5em );
  609. margin-left: 0.75em;
  610. margin-right: 0.75em;
  611. }
  612. .ui.five.cards {
  613. margin-left: -0.75em;
  614. margin-right: -0.75em;
  615. }
  616. .ui.five.cards > .card {
  617. width: calc( 20% - 1.5em );
  618. margin-left: 0.75em;
  619. margin-right: 0.75em;
  620. }
  621. .ui.six.cards {
  622. margin-left: -0.75em;
  623. margin-right: -0.75em;
  624. }
  625. .ui.six.cards > .card {
  626. width: calc( 16.66666667% - 1.5em );
  627. margin-left: 0.75em;
  628. margin-right: 0.75em;
  629. }
  630. .ui.seven.cards {
  631. margin-left: -0.5em;
  632. margin-right: -0.5em;
  633. }
  634. .ui.seven.cards > .card {
  635. width: calc( 14.28571429% - 1em );
  636. margin-left: 0.5em;
  637. margin-right: 0.5em;
  638. }
  639. .ui.eight.cards {
  640. margin-left: -0.5em;
  641. margin-right: -0.5em;
  642. }
  643. .ui.eight.cards > .card {
  644. width: calc( 12.5% - 1em );
  645. margin-left: 0.5em;
  646. margin-right: 0.5em;
  647. font-size: 11px;
  648. }
  649. .ui.nine.cards {
  650. margin-left: -0.5em;
  651. margin-right: -0.5em;
  652. }
  653. .ui.nine.cards > .card {
  654. width: calc( 11.11111111% - 1em );
  655. margin-left: 0.5em;
  656. margin-right: 0.5em;
  657. font-size: 10px;
  658. }
  659. .ui.ten.cards {
  660. margin-left: -0.5em;
  661. margin-right: -0.5em;
  662. }
  663. .ui.ten.cards > .card {
  664. width: calc( 10% - 1em );
  665. margin-left: 0.5em;
  666. margin-right: 0.5em;
  667. }
  668. /*-------------------
  669. Doubling
  670. --------------------*/
  671. /* Mobily Only */
  672. @media only screen and (max-width: 767px) {
  673. .ui.two.doubling.cards {
  674. margin-left: 0em;
  675. margin-right: 0em;
  676. }
  677. .ui.two.doubling.cards .card {
  678. width: 100%;
  679. margin-left: 0em;
  680. margin-right: 0em;
  681. }
  682. .ui.three.doubling.cards {
  683. margin-left: -1em;
  684. margin-right: -1em;
  685. }
  686. .ui.three.doubling.cards .card {
  687. width: calc( 50% - 2em );
  688. margin-left: 1em;
  689. margin-right: 1em;
  690. }
  691. .ui.four.doubling.cards {
  692. margin-left: -1em;
  693. margin-right: -1em;
  694. }
  695. .ui.four.doubling.cards .card {
  696. width: calc( 50% - 2em );
  697. margin-left: 1em;
  698. margin-right: 1em;
  699. }
  700. .ui.five.doubling.cards {
  701. margin-left: -1em;
  702. margin-right: -1em;
  703. }
  704. .ui.five.doubling.cards .card {
  705. width: calc( 50% - 2em );
  706. margin-left: 1em;
  707. margin-right: 1em;
  708. }
  709. .ui.six.doubling.cards {
  710. margin-left: -1em;
  711. margin-right: -1em;
  712. }
  713. .ui.six.doubling.cards .card {
  714. width: calc( 50% - 2em );
  715. margin-left: 1em;
  716. margin-right: 1em;
  717. }
  718. .ui.seven.doubling.cards {
  719. margin-left: -1em;
  720. margin-right: -1em;
  721. }
  722. .ui.seven.doubling.cards .card {
  723. width: calc( 33.33333333% - 2em );
  724. margin-left: 1em;
  725. margin-right: 1em;
  726. }
  727. .ui.eight.doubling.cards {
  728. margin-left: -1em;
  729. margin-right: -1em;
  730. }
  731. .ui.eight.doubling.cards .card {
  732. width: calc( 33.33333333% - 2em );
  733. margin-left: 1em;
  734. margin-right: 1em;
  735. }
  736. .ui.nine.doubling.cards {
  737. margin-left: -1em;
  738. margin-right: -1em;
  739. }
  740. .ui.nine.doubling.cards .card {
  741. width: calc( 33.33333333% - 2em );
  742. margin-left: 1em;
  743. margin-right: 1em;
  744. }
  745. .ui.ten.doubling.cards {
  746. margin-left: -1em;
  747. margin-right: -1em;
  748. }
  749. .ui.ten.doubling.cards .card {
  750. width: calc( 33.33333333% - 2em );
  751. margin-left: 1em;
  752. margin-right: 1em;
  753. }
  754. }
  755. /* Tablet Only */
  756. @media only screen and (min-width: 768px) and (max-width: 991px) {
  757. .ui.two.doubling.cards {
  758. margin-left: 0em;
  759. margin-right: 0em;
  760. }
  761. .ui.two.doubling.cards .card {
  762. width: 100%;
  763. margin-left: 0em;
  764. margin-right: 0em;
  765. }
  766. .ui.three.doubling.cards {
  767. margin-left: -1em;
  768. margin-right: -1em;
  769. }
  770. .ui.three.doubling.cards .card {
  771. width: calc( 50% - 2em );
  772. margin-left: 1em;
  773. margin-right: 1em;
  774. }
  775. .ui.four.doubling.cards {
  776. margin-left: -1em;
  777. margin-right: -1em;
  778. }
  779. .ui.four.doubling.cards .card {
  780. width: calc( 50% - 2em );
  781. margin-left: 1em;
  782. margin-right: 1em;
  783. }
  784. .ui.five.doubling.cards {
  785. margin-left: -1em;
  786. margin-right: -1em;
  787. }
  788. .ui.five.doubling.cards .card {
  789. width: calc( 33.33333333% - 2em );
  790. margin-left: 1em;
  791. margin-right: 1em;
  792. }
  793. .ui.six.doubling.cards {
  794. margin-left: -1em;
  795. margin-right: -1em;
  796. }
  797. .ui.six.doubling.cards .card {
  798. width: calc( 33.33333333% - 2em );
  799. margin-left: 1em;
  800. margin-right: 1em;
  801. }
  802. .ui.eight.doubling.cards {
  803. margin-left: -1em;
  804. margin-right: -1em;
  805. }
  806. .ui.eight.doubling.cards .card {
  807. width: calc( 33.33333333% - 2em );
  808. margin-left: 1em;
  809. margin-right: 1em;
  810. }
  811. .ui.eight.doubling.cards {
  812. margin-left: -0.75em;
  813. margin-right: -0.75em;
  814. }
  815. .ui.eight.doubling.cards .card {
  816. width: calc( 25% - 1.5em );
  817. margin-left: 0.75em;
  818. margin-right: 0.75em;
  819. }
  820. .ui.nine.doubling.cards {
  821. margin-left: -0.75em;
  822. margin-right: -0.75em;
  823. }
  824. .ui.nine.doubling.cards .card {
  825. width: calc( 25% - 1.5em );
  826. margin-left: 0.75em;
  827. margin-right: 0.75em;
  828. }
  829. .ui.ten.doubling.cards {
  830. margin-left: -0.75em;
  831. margin-right: -0.75em;
  832. }
  833. .ui.ten.doubling.cards .card {
  834. width: calc( 20% - 1.5em );
  835. margin-left: 0.75em;
  836. margin-right: 0.75em;
  837. }
  838. }
  839. /*-------------------
  840. Stackable
  841. --------------------*/
  842. @media only screen and (max-width: 767px) {
  843. .ui.stackable.cards {
  844. display: block !important;
  845. }
  846. .ui.stackable.cards .card:first-child {
  847. margin-top: 0em !important;
  848. }
  849. .ui.stackable.cards > .card {
  850. display: block !important;
  851. height: auto !important;
  852. margin: 1em 1em;
  853. padding: 0 !important;
  854. width: calc( 100% - 2em ) !important;
  855. }
  856. }
  857. /*--------------
  858. Size
  859. ---------------*/
  860. .ui.cards > .card {
  861. font-size: 1em;
  862. }
  863. /*******************************
  864. Theme Overrides
  865. *******************************/
  866. /*******************************
  867. User Variable Overrides
  868. *******************************/