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.

957 lines
20 KiB

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