fomantic-ui 2.9.1-beta.8 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +29 -0
  3. package/.eslint/no-extra-parens-rule.js +17 -0
  4. package/.eslint/package.json +11 -0
  5. package/.eslintrc.js +123 -0
  6. package/.github/auto_assign.yml +0 -1
  7. package/.github/workflows/ci.yml +37 -4
  8. package/.github/workflows/nightly.yml +1 -1
  9. package/.github/workflows/release.yml +1 -1
  10. package/.prettierrc.js +12 -0
  11. package/.stylelintrc.js +48 -0
  12. package/CHANGELOG.md +112 -0
  13. package/README.md +1 -1
  14. package/dist/components/accordion.css +35 -53
  15. package/dist/components/accordion.js +568 -595
  16. package/dist/components/accordion.min.css +2 -2
  17. package/dist/components/accordion.min.js +3 -3
  18. package/dist/components/ad.css +34 -45
  19. package/dist/components/ad.min.css +2 -2
  20. package/dist/components/api.js +1157 -1179
  21. package/dist/components/api.min.js +3 -3
  22. package/dist/components/breadcrumb.css +5 -5
  23. package/dist/components/breadcrumb.min.css +2 -2
  24. package/dist/components/button.css +709 -1111
  25. package/dist/components/button.min.css +2 -2
  26. package/dist/components/calendar.css +24 -27
  27. package/dist/components/calendar.js +1934 -1809
  28. package/dist/components/calendar.min.css +2 -2
  29. package/dist/components/calendar.min.js +3 -3
  30. package/dist/components/card.css +219 -365
  31. package/dist/components/card.min.css +2 -2
  32. package/dist/components/checkbox.css +120 -191
  33. package/dist/components/checkbox.js +842 -841
  34. package/dist/components/checkbox.min.css +2 -2
  35. package/dist/components/checkbox.min.js +3 -3
  36. package/dist/components/comment.css +41 -59
  37. package/dist/components/comment.min.css +2 -2
  38. package/dist/components/container.css +7 -6
  39. package/dist/components/container.min.css +2 -2
  40. package/dist/components/dimmer.css +53 -172
  41. package/dist/components/dimmer.js +706 -737
  42. package/dist/components/dimmer.min.css +2 -2
  43. package/dist/components/dimmer.min.js +3 -3
  44. package/dist/components/divider.css +43 -61
  45. package/dist/components/divider.min.css +2 -2
  46. package/dist/components/dropdown.css +252 -386
  47. package/dist/components/dropdown.js +4195 -4236
  48. package/dist/components/dropdown.min.css +2 -2
  49. package/dist/components/dropdown.min.js +3 -3
  50. package/dist/components/embed.css +18 -29
  51. package/dist/components/embed.js +645 -675
  52. package/dist/components/embed.min.css +2 -2
  53. package/dist/components/embed.min.js +3 -3
  54. package/dist/components/emoji.css +3556 -3556
  55. package/dist/components/emoji.min.css +1 -1
  56. package/dist/components/feed.css +35 -57
  57. package/dist/components/feed.min.css +2 -2
  58. package/dist/components/flag.css +270 -268
  59. package/dist/components/flag.min.css +2 -2
  60. package/dist/components/flyout.css +95 -141
  61. package/dist/components/flyout.js +1514 -1465
  62. package/dist/components/flyout.min.css +2 -2
  63. package/dist/components/flyout.min.js +3 -3
  64. package/dist/components/form.css +244 -339
  65. package/dist/components/form.js +2022 -2004
  66. package/dist/components/form.min.css +2 -2
  67. package/dist/components/form.min.js +3 -3
  68. package/dist/components/grid.css +183 -329
  69. package/dist/components/grid.min.css +2 -2
  70. package/dist/components/header.css +118 -142
  71. package/dist/components/header.min.css +2 -2
  72. package/dist/components/icon.css +662 -745
  73. package/dist/components/icon.min.css +2 -2
  74. package/dist/components/image.css +39 -63
  75. package/dist/components/image.min.css +2 -2
  76. package/dist/components/input.css +356 -274
  77. package/dist/components/input.min.css +2 -2
  78. package/dist/components/item.css +84 -131
  79. package/dist/components/item.min.css +2 -2
  80. package/dist/components/label.css +359 -410
  81. package/dist/components/label.min.css +2 -2
  82. package/dist/components/list.css +49 -70
  83. package/dist/components/list.min.css +2 -2
  84. package/dist/components/loader.css +67 -155
  85. package/dist/components/loader.min.css +2 -2
  86. package/dist/components/menu.css +270 -431
  87. package/dist/components/menu.min.css +1 -1
  88. package/dist/components/message.css +125 -197
  89. package/dist/components/message.min.css +2 -2
  90. package/dist/components/modal.css +120 -154
  91. package/dist/components/modal.js +1544 -1486
  92. package/dist/components/modal.min.css +2 -2
  93. package/dist/components/modal.min.js +3 -3
  94. package/dist/components/nag.css +53 -63
  95. package/dist/components/nag.js +520 -526
  96. package/dist/components/nag.min.css +2 -2
  97. package/dist/components/nag.min.js +3 -3
  98. package/dist/components/placeholder.css +22 -42
  99. package/dist/components/placeholder.min.css +2 -2
  100. package/dist/components/popup.css +424 -202
  101. package/dist/components/popup.js +1456 -1456
  102. package/dist/components/popup.min.css +2 -2
  103. package/dist/components/popup.min.js +3 -3
  104. package/dist/components/progress.css +106 -211
  105. package/dist/components/progress.js +969 -997
  106. package/dist/components/progress.min.css +2 -2
  107. package/dist/components/progress.min.js +3 -3
  108. package/dist/components/rail.css +15 -20
  109. package/dist/components/rail.min.css +1 -1
  110. package/dist/components/rating.css +80 -121
  111. package/dist/components/rating.js +507 -523
  112. package/dist/components/rating.min.css +2 -2
  113. package/dist/components/rating.min.js +3 -3
  114. package/dist/components/reset.css +8 -13
  115. package/dist/components/reset.min.css +2 -2
  116. package/dist/components/reveal.css +44 -83
  117. package/dist/components/reveal.min.css +2 -2
  118. package/dist/components/search.css +69 -98
  119. package/dist/components/search.js +1520 -1534
  120. package/dist/components/search.min.css +2 -2
  121. package/dist/components/search.min.js +3 -3
  122. package/dist/components/segment.css +148 -224
  123. package/dist/components/segment.min.css +2 -2
  124. package/dist/components/shape.css +14 -30
  125. package/dist/components/shape.js +783 -810
  126. package/dist/components/shape.min.css +2 -2
  127. package/dist/components/shape.min.js +3 -3
  128. package/dist/components/sidebar.css +103 -206
  129. package/dist/components/sidebar.js +1061 -1099
  130. package/dist/components/sidebar.min.css +2 -2
  131. package/dist/components/sidebar.min.js +3 -3
  132. package/dist/components/site.css +28 -41
  133. package/dist/components/site.js +436 -476
  134. package/dist/components/site.min.css +2 -2
  135. package/dist/components/site.min.js +3 -3
  136. package/dist/components/slider.css +93 -121
  137. package/dist/components/slider.js +1310 -1311
  138. package/dist/components/slider.min.css +1 -1
  139. package/dist/components/slider.min.js +3 -3
  140. package/dist/components/state.js +638 -657
  141. package/dist/components/state.min.js +3 -3
  142. package/dist/components/statistic.css +75 -116
  143. package/dist/components/statistic.min.css +2 -2
  144. package/dist/components/step.css +77 -150
  145. package/dist/components/step.min.css +2 -2
  146. package/dist/components/sticky.css +1 -5
  147. package/dist/components/sticky.js +847 -901
  148. package/dist/components/sticky.min.css +2 -2
  149. package/dist/components/sticky.min.js +3 -3
  150. package/dist/components/tab.css +10 -14
  151. package/dist/components/tab.js +902 -966
  152. package/dist/components/tab.min.css +2 -2
  153. package/dist/components/tab.min.js +3 -3
  154. package/dist/components/table.css +547 -774
  155. package/dist/components/table.min.css +2 -2
  156. package/dist/components/text.css +32 -32
  157. package/dist/components/text.min.css +1 -1
  158. package/dist/components/toast.css +69 -147
  159. package/dist/components/toast.js +910 -884
  160. package/dist/components/toast.min.css +2 -2
  161. package/dist/components/toast.min.js +3 -3
  162. package/dist/components/transition.css +299 -1356
  163. package/dist/components/transition.js +1048 -1077
  164. package/dist/components/transition.min.css +2 -2
  165. package/dist/components/transition.min.js +3 -3
  166. package/dist/components/visibility.js +1213 -1245
  167. package/dist/components/visibility.min.js +3 -3
  168. package/dist/semantic.css +9344 -12298
  169. package/dist/semantic.js +29181 -29423
  170. package/dist/semantic.min.css +3 -3
  171. package/dist/semantic.min.js +3 -3
  172. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  173. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  174. package/examples/.eslintrc.js +6 -0
  175. package/examples/assets/library/jquery.min.js +2 -4
  176. package/examples/assets/show-examples.js +13 -13
  177. package/examples/attached.html +1 -1
  178. package/examples/bootstrap.html +1 -1
  179. package/examples/components/button.html +1 -1
  180. package/examples/components/card.html +6 -6
  181. package/examples/components/input.html +1 -1
  182. package/examples/components/menu.html +1 -1
  183. package/examples/components/site.html +1 -1
  184. package/examples/components/sticky-context.html +2 -2
  185. package/examples/components/table.html +1 -1
  186. package/examples/fixed.html +3 -3
  187. package/examples/grid.html +5 -5
  188. package/examples/homepage.html +1 -1
  189. package/examples/login.html +2 -2
  190. package/examples/responsive.html +2 -2
  191. package/examples/sticky.html +4 -4
  192. package/examples/theming.html +1 -1
  193. package/gulpfile.js +13 -11
  194. package/package.json +17 -8
  195. package/scripts/nightly-version.js +83 -75
  196. package/src/_site/collections/menu.overrides +1 -1
  197. package/src/_site/elements/flag.variables +2 -2
  198. package/src/_site/globals/site.variables +1 -1
  199. package/src/_site/modules/embed.variables +3 -0
  200. package/src/definitions/behaviors/api.js +1158 -1180
  201. package/src/definitions/behaviors/form.js +2021 -2003
  202. package/src/definitions/behaviors/state.js +644 -663
  203. package/src/definitions/behaviors/visibility.js +1212 -1244
  204. package/src/definitions/collections/breadcrumb.less +43 -47
  205. package/src/definitions/collections/form.less +866 -884
  206. package/src/definitions/collections/grid.less +1681 -1699
  207. package/src/definitions/collections/menu.less +1522 -1544
  208. package/src/definitions/collections/message.less +294 -298
  209. package/src/definitions/collections/table.less +1657 -1661
  210. package/src/definitions/elements/button.less +1716 -1750
  211. package/src/definitions/elements/container.less +211 -211
  212. package/src/definitions/elements/divider.less +198 -211
  213. package/src/definitions/elements/emoji.less +41 -48
  214. package/src/definitions/elements/flag.less +46 -48
  215. package/src/definitions/elements/header.less +351 -359
  216. package/src/definitions/elements/icon.less +541 -484
  217. package/src/definitions/elements/image.less +216 -227
  218. package/src/definitions/elements/input.less +692 -699
  219. package/src/definitions/elements/label.less +784 -806
  220. package/src/definitions/elements/list.less +810 -814
  221. package/src/definitions/elements/loader.less +273 -268
  222. package/src/definitions/elements/placeholder.less +173 -170
  223. package/src/definitions/elements/rail.less +93 -93
  224. package/src/definitions/elements/reveal.less +192 -198
  225. package/src/definitions/elements/segment.less +742 -749
  226. package/src/definitions/elements/step.less +423 -437
  227. package/src/definitions/elements/text.less +34 -36
  228. package/src/definitions/globals/reset.less +11 -8
  229. package/src/definitions/globals/site.js +435 -475
  230. package/src/definitions/globals/site.less +108 -110
  231. package/src/definitions/modules/accordion.js +567 -594
  232. package/src/definitions/modules/accordion.less +244 -248
  233. package/src/definitions/modules/calendar.js +1933 -1808
  234. package/src/definitions/modules/calendar.less +100 -97
  235. package/src/definitions/modules/checkbox.js +841 -840
  236. package/src/definitions/modules/checkbox.less +531 -552
  237. package/src/definitions/modules/dimmer.js +705 -736
  238. package/src/definitions/modules/dimmer.less +294 -305
  239. package/src/definitions/modules/dropdown.js +4194 -4235
  240. package/src/definitions/modules/dropdown.less +1568 -1598
  241. package/src/definitions/modules/embed.js +644 -674
  242. package/src/definitions/modules/embed.less +82 -84
  243. package/src/definitions/modules/flyout.js +1513 -1464
  244. package/src/definitions/modules/flyout.less +453 -455
  245. package/src/definitions/modules/modal.js +1543 -1485
  246. package/src/definitions/modules/modal.less +459 -467
  247. package/src/definitions/modules/nag.js +519 -525
  248. package/src/definitions/modules/nag.less +136 -149
  249. package/src/definitions/modules/popup.js +1455 -1455
  250. package/src/definitions/modules/popup.less +738 -693
  251. package/src/definitions/modules/progress.js +968 -996
  252. package/src/definitions/modules/progress.less +523 -499
  253. package/src/definitions/modules/rating.js +506 -522
  254. package/src/definitions/modules/rating.less +98 -103
  255. package/src/definitions/modules/search.js +1519 -1533
  256. package/src/definitions/modules/search.less +374 -394
  257. package/src/definitions/modules/shape.js +782 -809
  258. package/src/definitions/modules/shape.less +70 -79
  259. package/src/definitions/modules/sidebar.js +1060 -1098
  260. package/src/definitions/modules/sidebar.less +463 -476
  261. package/src/definitions/modules/slider.js +1309 -1310
  262. package/src/definitions/modules/slider.less +309 -310
  263. package/src/definitions/modules/sticky.js +863 -917
  264. package/src/definitions/modules/sticky.less +17 -25
  265. package/src/definitions/modules/tab.js +901 -965
  266. package/src/definitions/modules/tab.less +48 -54
  267. package/src/definitions/modules/toast.js +909 -883
  268. package/src/definitions/modules/toast.less +589 -589
  269. package/src/definitions/modules/transition.js +1047 -1076
  270. package/src/definitions/modules/transition.less +58 -59
  271. package/src/definitions/views/ad.less +207 -208
  272. package/src/definitions/views/card.less +955 -973
  273. package/src/definitions/views/comment.less +192 -200
  274. package/src/definitions/views/feed.less +222 -226
  275. package/src/definitions/views/item.less +437 -448
  276. package/src/definitions/views/statistic.less +273 -279
  277. package/src/semantic.less +8 -6
  278. package/src/theme.config.example +53 -53
  279. package/src/theme.less +44 -35
  280. package/src/themes/amazon/elements/button.overrides +23 -24
  281. package/src/themes/amazon/elements/button.variables +18 -23
  282. package/src/themes/amazon/globals/site.variables +16 -17
  283. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  284. package/src/themes/basic/collections/table.overrides +0 -1
  285. package/src/themes/basic/collections/table.variables +3 -3
  286. package/src/themes/basic/elements/button.overrides +0 -1
  287. package/src/themes/basic/elements/button.variables +9 -9
  288. package/src/themes/basic/elements/icon.overrides +9 -169
  289. package/src/themes/basic/elements/icon.variables +161 -18
  290. package/src/themes/basic/elements/step.overrides +2 -2
  291. package/src/themes/basic/elements/step.variables +2 -2
  292. package/src/themes/basic/globals/reset.overrides +1 -1
  293. package/src/themes/basic/globals/reset.variables +1 -1
  294. package/src/themes/basic/modules/progress.variables +2 -2
  295. package/src/themes/basic/views/card.overrides +0 -1
  296. package/src/themes/basic/views/card.variables +6 -6
  297. package/src/themes/bookish/elements/header.overrides +4 -4
  298. package/src/themes/bookish/elements/header.variables +5 -5
  299. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  300. package/src/themes/bootstrap3/elements/button.variables +20 -25
  301. package/src/themes/chubby/collections/form.overrides +9 -9
  302. package/src/themes/chubby/collections/form.variables +3 -3
  303. package/src/themes/chubby/collections/menu.overrides +3 -0
  304. package/src/themes/chubby/collections/menu.variables +3 -3
  305. package/src/themes/chubby/elements/button.overrides +8 -10
  306. package/src/themes/chubby/elements/button.variables +10 -10
  307. package/src/themes/chubby/elements/header.overrides +1 -1
  308. package/src/themes/chubby/elements/header.variables +4 -4
  309. package/src/themes/chubby/modules/accordion.overrides +2 -2
  310. package/src/themes/chubby/modules/accordion.variables +4 -4
  311. package/src/themes/chubby/views/comment.overrides +5 -5
  312. package/src/themes/chubby/views/comment.variables +11 -11
  313. package/src/themes/classic/collections/table.variables +3 -3
  314. package/src/themes/classic/elements/button.variables +36 -43
  315. package/src/themes/classic/elements/header.variables +4 -4
  316. package/src/themes/classic/modules/progress.variables +3 -3
  317. package/src/themes/classic/views/card.overrides +25 -27
  318. package/src/themes/classic/views/card.variables +7 -7
  319. package/src/themes/colored/modules/checkbox.overrides +3 -0
  320. package/src/themes/colored/modules/checkbox.variables +1 -3
  321. package/src/themes/default/collections/breadcrumb.variables +4 -4
  322. package/src/themes/default/collections/form.variables +15 -16
  323. package/src/themes/default/collections/grid.overrides +0 -1
  324. package/src/themes/default/collections/grid.variables +15 -16
  325. package/src/themes/default/collections/menu.variables +31 -45
  326. package/src/themes/default/collections/message.variables +84 -123
  327. package/src/themes/default/collections/table.overrides +3 -0
  328. package/src/themes/default/collections/table.variables +30 -34
  329. package/src/themes/default/elements/button.variables +44 -53
  330. package/src/themes/default/elements/container.variables +8 -16
  331. package/src/themes/default/elements/divider.overrides +8 -9
  332. package/src/themes/default/elements/divider.variables +5 -6
  333. package/src/themes/default/elements/emoji.overrides +0 -1
  334. package/src/themes/default/elements/emoji.variables +3556 -3556
  335. package/src/themes/default/elements/flag.variables +1595 -1595
  336. package/src/themes/default/elements/header.overrides +0 -1
  337. package/src/themes/default/elements/header.variables +21 -21
  338. package/src/themes/default/elements/icon.variables +2016 -2012
  339. package/src/themes/default/elements/image.variables +6 -7
  340. package/src/themes/default/elements/input.variables +11 -12
  341. package/src/themes/default/elements/label.variables +25 -26
  342. package/src/themes/default/elements/list.variables +17 -21
  343. package/src/themes/default/elements/loader.variables +16 -17
  344. package/src/themes/default/elements/placeholder.variables +12 -9
  345. package/src/themes/default/elements/rail.variables +4 -5
  346. package/src/themes/default/elements/reveal.variables +1 -1
  347. package/src/themes/default/elements/segment.variables +24 -36
  348. package/src/themes/default/elements/step.overrides +4 -4
  349. package/src/themes/default/elements/step.variables +19 -22
  350. package/src/themes/default/elements/text.variables +2 -3
  351. package/src/themes/default/globals/colors.less +588 -588
  352. package/src/themes/default/globals/reset.overrides +63 -59
  353. package/src/themes/default/globals/reset.variables +1 -1
  354. package/src/themes/default/globals/site.variables +1074 -1123
  355. package/src/themes/default/globals/variation.variables +6 -4
  356. package/src/themes/default/modules/accordion.overrides +11 -11
  357. package/src/themes/default/modules/accordion.variables +15 -20
  358. package/src/themes/default/modules/calendar.variables +2 -0
  359. package/src/themes/default/modules/chatroom.variables +1 -1
  360. package/src/themes/default/modules/checkbox.overrides +9 -13
  361. package/src/themes/default/modules/checkbox.variables +24 -33
  362. package/src/themes/default/modules/dimmer.variables +14 -17
  363. package/src/themes/default/modules/dropdown.overrides +17 -17
  364. package/src/themes/default/modules/dropdown.variables +29 -31
  365. package/src/themes/default/modules/embed.variables +9 -13
  366. package/src/themes/default/modules/flyout.variables +10 -8
  367. package/src/themes/default/modules/modal.variables +64 -67
  368. package/src/themes/default/modules/nag.variables +11 -14
  369. package/src/themes/default/modules/popup.variables +14 -13
  370. package/src/themes/default/modules/progress.variables +17 -19
  371. package/src/themes/default/modules/rating.variables +10 -12
  372. package/src/themes/default/modules/search.variables +12 -17
  373. package/src/themes/default/modules/shape.variables +7 -8
  374. package/src/themes/default/modules/sidebar.variables +4 -4
  375. package/src/themes/default/modules/slider.variables +55 -54
  376. package/src/themes/default/modules/sticky.variables +1 -1
  377. package/src/themes/default/modules/toast.variables +8 -8
  378. package/src/themes/default/modules/transition.overrides +936 -915
  379. package/src/themes/default/modules/transition.variables +1 -1
  380. package/src/themes/default/views/ad.variables +1 -1
  381. package/src/themes/default/views/card.variables +33 -45
  382. package/src/themes/default/views/comment.variables +7 -9
  383. package/src/themes/default/views/feed.variables +10 -10
  384. package/src/themes/default/views/item.variables +20 -23
  385. package/src/themes/default/views/statistic.variables +8 -8
  386. package/src/themes/duo/elements/loader.variables +1 -1
  387. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  388. package/src/themes/famfamfam/elements/flag.variables +4 -4
  389. package/src/themes/fixed-width/collections/grid.variables +4 -4
  390. package/src/themes/fixed-width/modules/modal.variables +11 -13
  391. package/src/themes/flat/collections/form.overrides +9 -9
  392. package/src/themes/flat/collections/form.variables +16 -17
  393. package/src/themes/flat/globals/site.variables +69 -74
  394. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  395. package/src/themes/github/collections/breadcrumb.variables +0 -1
  396. package/src/themes/github/collections/form.overrides +7 -8
  397. package/src/themes/github/collections/form.variables +16 -18
  398. package/src/themes/github/collections/grid.variables +1 -2
  399. package/src/themes/github/collections/menu.overrides +2 -2
  400. package/src/themes/github/collections/menu.variables +24 -26
  401. package/src/themes/github/collections/message.overrides +3 -3
  402. package/src/themes/github/collections/message.variables +12 -14
  403. package/src/themes/github/collections/table.variables +2 -2
  404. package/src/themes/github/elements/button.overrides +0 -1
  405. package/src/themes/github/elements/button.variables +26 -30
  406. package/src/themes/github/elements/header.variables +2 -2
  407. package/src/themes/github/elements/icon.overrides +3 -208
  408. package/src/themes/github/elements/icon.variables +234 -19
  409. package/src/themes/github/elements/image.variables +1 -1
  410. package/src/themes/github/elements/input.overrides +16 -16
  411. package/src/themes/github/elements/input.variables +4 -5
  412. package/src/themes/github/elements/label.overrides +3 -3
  413. package/src/themes/github/elements/label.variables +0 -1
  414. package/src/themes/github/elements/segment.variables +9 -10
  415. package/src/themes/github/elements/step.overrides +13 -13
  416. package/src/themes/github/elements/step.variables +6 -6
  417. package/src/themes/github/globals/site.variables +16 -16
  418. package/src/themes/github/modules/dropdown.overrides +18 -19
  419. package/src/themes/github/modules/dropdown.variables +8 -10
  420. package/src/themes/github/modules/popup.variables +0 -2
  421. package/src/themes/gmail/collections/message.overrides +3 -0
  422. package/src/themes/gmail/collections/message.variables +4 -4
  423. package/src/themes/instagram/views/card.overrides +4 -5
  424. package/src/themes/instagram/views/card.variables +7 -8
  425. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  426. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  427. package/src/themes/material/collections/menu.overrides +1 -1
  428. package/src/themes/material/collections/menu.variables +4 -4
  429. package/src/themes/material/elements/button.overrides +7 -9
  430. package/src/themes/material/elements/button.variables +44 -46
  431. package/src/themes/material/elements/header.overrides +3 -3
  432. package/src/themes/material/elements/header.variables +8 -10
  433. package/src/themes/material/elements/icon.overrides +3 -934
  434. package/src/themes/material/elements/icon.variables +958 -18
  435. package/src/themes/material/globals/site.overrides +3 -0
  436. package/src/themes/material/globals/site.variables +83 -84
  437. package/src/themes/material/modules/dropdown.overrides +2 -2
  438. package/src/themes/material/modules/dropdown.variables +5 -5
  439. package/src/themes/material/modules/modal.overrides +3 -3
  440. package/src/themes/material/modules/modal.variables +4 -5
  441. package/src/themes/pulsar/elements/loader.overrides +23 -61
  442. package/src/themes/raised/elements/button.variables +8 -9
  443. package/src/themes/resetcss/globals/reset.overrides +115 -33
  444. package/src/themes/resetcss/globals/reset.variables +1 -1
  445. package/src/themes/round/elements/button.overrides +3 -0
  446. package/src/themes/round/elements/button.variables +33 -38
  447. package/src/themes/rtl/globals/site.overrides +1 -1
  448. package/src/themes/rtl/globals/site.variables +5 -6
  449. package/src/themes/striped/modules/progress.overrides +20 -16
  450. package/src/themes/systemfont/globals/reset.overrides +1 -1
  451. package/src/themes/systemfont/globals/site.variables +6 -6
  452. package/src/themes/timeline/views/feed.overrides +12 -12
  453. package/src/themes/timeline/views/feed.variables +8 -8
  454. package/src/themes/twitter/elements/button.overrides +4 -5
  455. package/src/themes/twitter/elements/button.variables +17 -18
  456. package/src/themes/twitter/elements/emoji.variables +3556 -3556
  457. package/tasks/.eslintrc.js +9 -0
  458. package/tasks/README.md +2 -4
  459. package/tasks/admin/components/create.js +268 -277
  460. package/tasks/admin/components/init.js +123 -129
  461. package/tasks/admin/components/update.js +151 -158
  462. package/tasks/admin/distributions/create.js +183 -189
  463. package/tasks/admin/distributions/init.js +125 -131
  464. package/tasks/admin/distributions/update.js +147 -153
  465. package/tasks/admin/publish.js +5 -9
  466. package/tasks/admin/register.js +37 -39
  467. package/tasks/admin/release.js +8 -12
  468. package/tasks/build/assets.js +43 -40
  469. package/tasks/build/css.js +230 -217
  470. package/tasks/build/javascript.js +120 -114
  471. package/tasks/build.js +11 -11
  472. package/tasks/check-install.js +15 -17
  473. package/tasks/clean.js +6 -6
  474. package/tasks/collections/README.md +3 -5
  475. package/tasks/collections/admin.js +34 -36
  476. package/tasks/collections/build.js +19 -21
  477. package/tasks/collections/docs.js +11 -13
  478. package/tasks/collections/install.js +11 -13
  479. package/tasks/collections/rtl.js +9 -12
  480. package/tasks/collections/various.js +10 -12
  481. package/tasks/config/admin/github.js +17 -19
  482. package/tasks/config/admin/oauth.example.js +4 -4
  483. package/tasks/config/admin/release.js +98 -98
  484. package/tasks/config/admin/templates/README.md +8 -8
  485. package/tasks/config/admin/templates/bower.json +3 -2
  486. package/tasks/config/admin/templates/component-package.js +9 -10
  487. package/tasks/config/admin/templates/css-package.js +19 -21
  488. package/tasks/config/admin/templates/less-package.js +12 -14
  489. package/tasks/config/admin/templates/package.json +6 -6
  490. package/tasks/config/defaults.js +116 -116
  491. package/tasks/config/docs.js +23 -23
  492. package/tasks/config/npm/gulpfile.js +15 -14
  493. package/tasks/config/project/config.js +124 -136
  494. package/tasks/config/project/install.js +722 -719
  495. package/tasks/config/project/release.js +34 -41
  496. package/tasks/config/tasks.js +168 -167
  497. package/tasks/config/user.js +28 -32
  498. package/tasks/docs/build.js +100 -96
  499. package/tasks/docs/metadata.js +91 -98
  500. package/tasks/docs/serve.js +84 -82
  501. package/tasks/install.js +373 -382
  502. package/tasks/rtl/build.js +4 -3
  503. package/tasks/rtl/watch.js +4 -3
  504. package/tasks/version.js +4 -6
  505. package/tasks/watch.js +29 -31
  506. package/test/.eslintrc.js +23 -0
  507. package/test/meteor/assets.js +11 -14
  508. package/test/meteor/fonts.js +12 -13
  509. package/test/modules/accordion.spec.js +6 -8
  510. package/test/modules/checkbox.spec.js +5 -7
  511. package/test/modules/dropdown.spec.js +5 -7
  512. package/test/modules/modal.spec.js +6 -8
  513. package/test/modules/module.spec.js +158 -178
  514. package/test/modules/popup.spec.js +5 -7
  515. package/test/modules/search.spec.js +5 -7
  516. package/test/modules/shape.spec.js +5 -7
  517. package/test/modules/sidebar.spec.js +5 -7
  518. package/test/modules/tab.spec.js +6 -8
  519. package/test/modules/transition.spec.js +5 -7
  520. package/test/modules/video.spec.js +5 -7
  521. package/.github/workflows/codeql.yml +0 -68
@@ -8,15 +8,14 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'collection';
17
- @element : 'table';
15
+ @type: "collection";
16
+ @element: "table";
18
17
 
19
- @import (multiple) '../../theme.config';
18
+ @import (multiple) "../../theme.config";
20
19
 
21
20
  /*******************************
22
21
  Table
@@ -24,29 +23,29 @@
24
23
 
25
24
  /* Prototype */
26
25
  .ui.table {
27
- width: 100%;
28
- background: @background;
29
- margin: @margin;
30
- border: @border;
31
- box-shadow: @boxShadow;
32
- border-radius: @borderRadius;
33
- text-align: @textAlign;
34
- vertical-align: @verticalAlign;
35
- color: @color;
36
- border-collapse: @borderCollapse;
37
- border-spacing: @borderSpacing;
26
+ width: 100%;
27
+ background: @background;
28
+ margin: @margin;
29
+ border: @border;
30
+ box-shadow: @boxShadow;
31
+ border-radius: @borderRadius;
32
+ text-align: @textAlign;
33
+ vertical-align: @verticalAlign;
34
+ color: @color;
35
+ border-collapse: @borderCollapse;
36
+ border-spacing: @borderSpacing;
38
37
  }
39
38
 
40
39
  .ui.table:first-child {
41
- margin-top: 0;
40
+ margin-top: 0;
42
41
  }
43
42
  .ui.table:last-child {
44
- margin-bottom: 0;
43
+ margin-bottom: 0;
45
44
  }
46
45
  .ui.table > thead,
47
46
  .ui.table > tbody {
48
- text-align: inherit;
49
- vertical-align: inherit;
47
+ text-align: inherit;
48
+ vertical-align: inherit;
50
49
  }
51
50
 
52
51
  /*******************************
@@ -56,527 +55,527 @@
56
55
  /* Table Content */
57
56
  .ui.table th,
58
57
  .ui.table td {
59
- transition: @transition;
58
+ transition: @transition;
60
59
  }
61
60
 
62
61
  /* Rowspan helper class */
63
62
  .ui.table th.rowspanned,
64
63
  .ui.table td.rowspanned {
65
- display:none;
64
+ display: none;
66
65
  }
67
66
 
68
67
  /* Headers */
69
68
  .ui.table > thead {
70
- box-shadow: @headerBoxShadow;
69
+ box-shadow: @headerBoxShadow;
71
70
  }
72
71
  .ui.table > thead > tr > th {
73
- cursor: auto;
74
- background: @headerBackground;
75
- text-align: @headerAlign;
76
- color: @headerColor;
77
- padding: @headerVerticalPadding @headerHorizontalPadding;
78
- vertical-align: @headerVerticalAlign;
79
- font-style: @headerFontStyle;
80
- font-weight: @headerFontWeight;
81
- text-transform: @headerTextTransform;
82
- border-bottom: @headerBorder;
83
- border-left: @headerDivider;
72
+ cursor: auto;
73
+ background: @headerBackground;
74
+ text-align: @headerAlign;
75
+ color: @headerColor;
76
+ padding: @headerVerticalPadding @headerHorizontalPadding;
77
+ vertical-align: @headerVerticalAlign;
78
+ font-style: @headerFontStyle;
79
+ font-weight: @headerFontWeight;
80
+ text-transform: @headerTextTransform;
81
+ border-bottom: @headerBorder;
82
+ border-left: @headerDivider;
84
83
  }
85
84
 
86
85
  .ui.table > thead > tr > th:first-child {
87
- border-left: none;
86
+ border-left: none;
88
87
  }
89
88
 
90
89
  .ui.table > thead > tr:first-child > th:first-child {
91
- border-radius: @borderRadius 0 0 0;
90
+ border-radius: @borderRadius 0 0 0;
92
91
  }
93
92
  .ui.table > thead > tr:first-child > th:last-child {
94
- border-radius: 0 @borderRadius 0 0;
93
+ border-radius: 0 @borderRadius 0 0;
95
94
  }
96
95
  .ui.table > thead > tr:first-child > th:only-child {
97
- border-radius: @borderRadius @borderRadius 0 0;
96
+ border-radius: @borderRadius @borderRadius 0 0;
98
97
  }
99
98
 
100
99
  /* Footer */
101
100
  .ui.table > tfoot {
102
- box-shadow: @footerBoxShadow;
101
+ box-shadow: @footerBoxShadow;
103
102
  }
104
103
  .ui.table > tfoot > tr > th,
105
104
  .ui.table > tfoot > tr > td {
106
- cursor: auto;
107
- border-top: @footerBorder;
108
- background: @footerBackground;
109
- text-align: @footerAlign;
110
- color: @footerColor;
111
- padding: @footerVerticalPadding @footerHorizontalPadding;
112
- vertical-align: @footerVerticalAlign;
113
- font-style: @footerFontStyle;
114
- font-weight: @footerFontWeight;
115
- text-transform: @footerTextTransform;
105
+ cursor: auto;
106
+ border-top: @footerBorder;
107
+ background: @footerBackground;
108
+ text-align: @footerAlign;
109
+ color: @footerColor;
110
+ padding: @footerVerticalPadding @footerHorizontalPadding;
111
+ vertical-align: @footerVerticalAlign;
112
+ font-style: @footerFontStyle;
113
+ font-weight: @footerFontWeight;
114
+ text-transform: @footerTextTransform;
116
115
  }
117
116
  .ui.table > tfoot > tr > th:first-child,
118
117
  .ui.table > tfoot > tr > td:first-child {
119
- border-left: none;
118
+ border-left: none;
120
119
  }
121
120
  .ui.table > tfoot > tr:first-child > th:first-child,
122
121
  .ui.table > tfoot > tr:first-child > td:first-child {
123
- border-radius: 0 0 0 @borderRadius;
122
+ border-radius: 0 0 0 @borderRadius;
124
123
  }
125
124
  .ui.table > tfoot > tr:first-child > th:last-child,
126
125
  .ui.table > tfoot > tr:first-child > td:last-child {
127
- border-radius: 0 0 @borderRadius 0;
126
+ border-radius: 0 0 @borderRadius 0;
128
127
  }
129
128
  .ui.table > tfoot > tr:first-child > th:only-child,
130
129
  .ui.table > tfoot > tr:first-child > td:only-child {
131
- border-radius: 0 0 @borderRadius @borderRadius;
130
+ border-radius: 0 0 @borderRadius @borderRadius;
132
131
  }
133
132
 
134
133
  /* Table Row */
135
134
  .ui.table > tr > td,
136
135
  .ui.table > tbody > tr > td {
137
- border-top: @rowBorder;
136
+ border-top: @rowBorder;
138
137
  }
139
138
  .ui.table > tr:first-child > td,
140
139
  .ui.table > tbody > tr:first-child > td {
141
- border-top: none;
140
+ border-top: none;
142
141
  }
143
142
 
144
143
  /* Repeated tbody */
145
144
  .ui.table > tbody + tbody tr:first-child > td {
146
- border-top: @rowBorder;
145
+ border-top: @rowBorder;
147
146
  }
148
147
 
149
148
  /* Table Cells */
150
149
  .ui.table > tbody > tr > td,
151
150
  .ui.table > tr > td {
152
- padding: @cellVerticalPadding @cellHorizontalPadding;
153
- text-align: @cellTextAlign;
151
+ padding: @cellVerticalPadding @cellHorizontalPadding;
152
+ text-align: @cellTextAlign;
154
153
  }
155
154
 
156
155
  /* Icons */
157
156
  .ui.table > i.icon {
158
- vertical-align: @iconVerticalAlign;
157
+ vertical-align: @iconVerticalAlign;
159
158
  }
160
159
  .ui.table > i.icon:only-child {
161
- margin: 0;
160
+ margin: 0;
162
161
  }
163
162
 
164
163
  /* Table Segment */
165
164
  .ui.table.segment {
166
- padding: 0;
165
+ padding: 0;
167
166
  }
168
167
  .ui.table.segment::after {
169
- display: none;
168
+ display: none;
170
169
  }
171
170
  .ui.table.segment.stacked::after {
172
- display: block;
171
+ display: block;
173
172
  }
174
173
 
175
-
176
174
  /* Responsive */
177
- @media only screen and (max-width : @largestMobileScreen) {
178
- .ui.table:not(.unstackable) {
179
- width: 100%;
180
- padding: 0;
181
- }
182
- .ui.table:not(.unstackable) > thead,
183
- .ui.table:not(.unstackable) > thead > tr,
184
- .ui.table:not(.unstackable) > tfoot,
185
- .ui.table:not(.unstackable) > tfoot > tr,
186
- .ui.table:not(.unstackable) > tbody,
187
- .ui.table:not(.unstackable) > tr,
188
- .ui.table:not(.unstackable) > tbody > tr,
189
- .ui.table:not(.unstackable) > tr > th:not(.rowspanned),
190
- .ui.table:not(.unstackable) > thead > tr > th:not(.rowspanned),
191
- .ui.table:not(.unstackable) > tbody > tr > th:not(.rowspanned),
192
- .ui.table:not(.unstackable) > tfoot > tr > th:not(.rowspanned),
193
- .ui.table:not(.unstackable) > tr > td:not(.rowspanned),
194
- .ui.table:not(.unstackable) > tbody > tr > td:not(.rowspanned),
195
- .ui.table:not(.unstackable) > tfoot > tr > td:not(.rowspanned) {
196
- display: block !important;
197
- width: auto !important;
198
- }
199
-
200
- .ui.table:not(.unstackable) > thead {
201
- display: @responsiveHeaderDisplay;
202
- }
203
- .ui.table:not(.unstackable) > tfoot {
204
- display: @responsiveFooterDisplay;
205
- }
206
- .ui.ui.ui.ui.table:not(.unstackable) > tr,
207
- .ui.ui.ui.ui.table:not(.unstackable) > thead > tr,
208
- .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr,
209
- .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr {
210
- padding-top: @responsiveRowVerticalPadding;
211
- padding-bottom: @responsiveRowVerticalPadding;
212
- box-shadow: @responsiveRowBoxShadow;
213
- }
214
-
215
- .ui.ui.ui.ui.table:not(.unstackable) > tr > th,
216
- .ui.ui.ui.ui.table:not(.unstackable) > thead > tr > th,
217
- .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > th,
218
- .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > th,
219
- .ui.ui.ui.ui.table:not(.unstackable) > tr > td,
220
- .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > td,
221
- .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > td {
222
- background: none;
223
- border: none;
224
- padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
225
- box-shadow: @responsiveCellBoxShadow;
226
- }
227
- .ui.table:not(.unstackable) > tr > th:first-child,
228
- .ui.table:not(.unstackable) > thead > tr > th:first-child,
229
- .ui.table:not(.unstackable) > tbody > tr > th:first-child,
230
- .ui.table:not(.unstackable) > tfoot > tr > th:first-child,
231
- .ui.table:not(.unstackable) > tr > td:first-child,
232
- .ui.table:not(.unstackable) > tbody > tr > td:first-child,
233
- .ui.table:not(.unstackable) > tfoot > tr > td:first-child {
234
- font-weight: @responsiveCellHeaderFontWeight;
235
- }
236
-
237
- /* Definition Table */
238
- .ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
239
- box-shadow: none !important;
240
- }
241
- & when (@variationTableMarked) and not (@variationTableColors = false) {
242
- each(@variationTableColors, {
243
- @color: @value;
244
- @c: @colors[@@color][color];
245
- @l: @colors[@@color][light];
246
- .ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
247
- &.left {
248
- box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
249
- }
250
- &.right {
251
- box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
252
- }
253
- }
254
- & when (@variationTableInverted) {
255
- .ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
256
- &.left {
257
- box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
258
- }
259
- &.right {
260
- box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
261
- }
262
- }
263
- }
264
- })
265
- }
266
- & when (@variationTableScrolling) {
267
- & when (@variationTableScrollingShort) {
268
- .ui.scrolling.table.short > tbody {
269
- max-height: @scrollingMobileMaxBodyHeight * 0.75;
270
- }
271
- }
272
- & when (@variationTableScrollingVeryShort) {
273
- .ui.scrolling.table[class*="very short"] > tbody {
274
- max-height: @scrollingMobileMaxBodyHeight * 0.5;
275
- }
276
- }
277
- .ui.scrolling.table > tbody {
278
- max-height: @scrollingMobileMaxBodyHeight;
279
- }
280
- & when (@variationTableScrollingLong) {
281
- .ui.scrolling.table.long > tbody {
282
- max-height: @scrollingMobileMaxBodyHeight * 2;
283
- }
284
- }
285
- & when (@variationTableScrollingVeryLong) {
286
- .ui.scrolling.table[class*="very long"] > tbody {
287
- max-height: @scrollingMobileMaxBodyHeight * 3;
288
- }
289
- }
290
- }
291
- & when (@variationTableOverflowing) {
292
- & when (@variationTableOverflowingShort) {
293
- .ui.overflowing.table.short {
294
- max-height: @overflowingMobileMaxHeight * 0.75;
295
- }
296
- }
297
- & when (@variationTableOverflowingVeryShort) {
298
- .ui.overflowing.table[class*="very short"] {
299
- max-height: @overflowingMobileMaxHeight * 0.5;
300
- }
175
+ @media only screen and (max-width: @largestMobileScreen) {
176
+ .ui.table:not(.unstackable) {
177
+ width: 100%;
178
+ padding: 0;
179
+ }
180
+ .ui.table:not(.unstackable) > thead,
181
+ .ui.table:not(.unstackable) > thead > tr,
182
+ .ui.table:not(.unstackable) > tfoot,
183
+ .ui.table:not(.unstackable) > tfoot > tr,
184
+ .ui.table:not(.unstackable) > tbody,
185
+ .ui.table:not(.unstackable) > tr,
186
+ .ui.table:not(.unstackable) > tbody > tr,
187
+ .ui.table:not(.unstackable) > tr > th:not(.rowspanned),
188
+ .ui.table:not(.unstackable) > thead > tr > th:not(.rowspanned),
189
+ .ui.table:not(.unstackable) > tbody > tr > th:not(.rowspanned),
190
+ .ui.table:not(.unstackable) > tfoot > tr > th:not(.rowspanned),
191
+ .ui.table:not(.unstackable) > tr > td:not(.rowspanned),
192
+ .ui.table:not(.unstackable) > tbody > tr > td:not(.rowspanned),
193
+ .ui.table:not(.unstackable) > tfoot > tr > td:not(.rowspanned) {
194
+ display: block !important;
195
+ width: auto !important;
196
+ }
197
+
198
+ .ui.table:not(.unstackable) > thead {
199
+ display: @responsiveHeaderDisplay;
200
+ }
201
+ .ui.table:not(.unstackable) > tfoot {
202
+ display: @responsiveFooterDisplay;
203
+ }
204
+ .ui.ui.ui.ui.table:not(.unstackable) > tr,
205
+ .ui.ui.ui.ui.table:not(.unstackable) > thead > tr,
206
+ .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr,
207
+ .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr {
208
+ padding-top: @responsiveRowVerticalPadding;
209
+ padding-bottom: @responsiveRowVerticalPadding;
210
+ box-shadow: @responsiveRowBoxShadow;
211
+ }
212
+
213
+ .ui.ui.ui.ui.table:not(.unstackable) > tr > th,
214
+ .ui.ui.ui.ui.table:not(.unstackable) > thead > tr > th,
215
+ .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > th,
216
+ .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > th,
217
+ .ui.ui.ui.ui.table:not(.unstackable) > tr > td,
218
+ .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > td,
219
+ .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > td {
220
+ background: none;
221
+ border: none;
222
+ padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
223
+ box-shadow: @responsiveCellBoxShadow;
224
+ }
225
+ .ui.table:not(.unstackable) > tr > th:first-child,
226
+ .ui.table:not(.unstackable) > thead > tr > th:first-child,
227
+ .ui.table:not(.unstackable) > tbody > tr > th:first-child,
228
+ .ui.table:not(.unstackable) > tfoot > tr > th:first-child,
229
+ .ui.table:not(.unstackable) > tr > td:first-child,
230
+ .ui.table:not(.unstackable) > tbody > tr > td:first-child,
231
+ .ui.table:not(.unstackable) > tfoot > tr > td:first-child {
232
+ font-weight: @responsiveCellHeaderFontWeight;
233
+ }
234
+
235
+ /* Definition Table */
236
+ .ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
237
+ box-shadow: none !important;
301
238
  }
302
- .ui.overflowing.table {
303
- max-height: @overflowingMobileMaxHeight;
239
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
240
+ each(@variationTableColors, {
241
+ @color: @value;
242
+ @c: @colors[@@color][color];
243
+ @l: @colors[@@color][light];
244
+ .ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
245
+ &.left {
246
+ box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
247
+ }
248
+ &.right {
249
+ box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
250
+ }
251
+ }
252
+ & when (@variationTableInverted) {
253
+ .ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
254
+ &.left {
255
+ box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
256
+ }
257
+ &.right {
258
+ box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
259
+ }
260
+ }
261
+ }
262
+ });
304
263
  }
305
- & when (@variationTableOverflowingLong) {
306
- .ui.overflowing.table.long {
307
- max-height: @overflowingMobileMaxHeight * 2;
308
- }
264
+ & when (@variationTableScrolling) {
265
+ & when (@variationTableScrollingShort) {
266
+ .ui.scrolling.table.short > tbody {
267
+ max-height: @scrollingMobileMaxBodyHeight * 0.75;
268
+ }
269
+ }
270
+ & when (@variationTableScrollingVeryShort) {
271
+ .ui.scrolling.table[class*="very short"] > tbody {
272
+ max-height: @scrollingMobileMaxBodyHeight * 0.5;
273
+ }
274
+ }
275
+ .ui.scrolling.table > tbody {
276
+ max-height: @scrollingMobileMaxBodyHeight;
277
+ }
278
+ & when (@variationTableScrollingLong) {
279
+ .ui.scrolling.table.long > tbody {
280
+ max-height: @scrollingMobileMaxBodyHeight * 2;
281
+ }
282
+ }
283
+ & when (@variationTableScrollingVeryLong) {
284
+ .ui.scrolling.table[class*="very long"] > tbody {
285
+ max-height: @scrollingMobileMaxBodyHeight * 3;
286
+ }
287
+ }
309
288
  }
310
- & when (@variationTableOverflowingVeryLong) {
311
- .ui.overflowing.table[class*="very long"] {
312
- max-height: @overflowingMobileMaxHeight * 3;
313
- }
289
+ & when (@variationTableOverflowing) {
290
+ & when (@variationTableOverflowingShort) {
291
+ .ui.overflowing.table.short {
292
+ max-height: @overflowingMobileMaxHeight * 0.75;
293
+ }
294
+ }
295
+ & when (@variationTableOverflowingVeryShort) {
296
+ .ui.overflowing.table[class*="very short"] {
297
+ max-height: @overflowingMobileMaxHeight * 0.5;
298
+ }
299
+ }
300
+ .ui.overflowing.table {
301
+ max-height: @overflowingMobileMaxHeight;
302
+ }
303
+ & when (@variationTableOverflowingLong) {
304
+ .ui.overflowing.table.long {
305
+ max-height: @overflowingMobileMaxHeight * 2;
306
+ }
307
+ }
308
+ & when (@variationTableOverflowingVeryLong) {
309
+ .ui.overflowing.table[class*="very long"] {
310
+ max-height: @overflowingMobileMaxHeight * 3;
311
+ }
312
+ }
314
313
  }
315
- }
316
314
  }
317
315
  & when (@variationTableScrolling) {
318
- /*--------------
319
- Scrolling
320
- ---------------*/
321
- @media only screen and (min-width: @tabletBreakpoint) {
322
- & when (@variationTableScrollingShort) {
323
- .ui.scrolling.table.short > tbody {
324
- max-height: @scrollingTabletMaxBodyHeight * 0.75;
325
- }
326
- }
327
- & when (@variationTableScrollingVeryShort) {
328
- .ui.scrolling.table[class*="very short"] > tbody {
329
- max-height: @scrollingTabletMaxBodyHeight * 0.5;
330
- }
316
+ /* --------------
317
+ Scrolling
318
+ --------------- */
319
+ @media only screen and (min-width: @tabletBreakpoint) {
320
+ & when (@variationTableScrollingShort) {
321
+ .ui.scrolling.table.short > tbody {
322
+ max-height: @scrollingTabletMaxBodyHeight * 0.75;
323
+ }
324
+ }
325
+ & when (@variationTableScrollingVeryShort) {
326
+ .ui.scrolling.table[class*="very short"] > tbody {
327
+ max-height: @scrollingTabletMaxBodyHeight * 0.5;
328
+ }
329
+ }
330
+ .ui.scrolling.table > tbody {
331
+ max-height: @scrollingTabletMaxBodyHeight;
332
+ }
333
+ & when (@variationTableScrollingLong) {
334
+ .ui.scrolling.table.long > tbody {
335
+ max-height: @scrollingTabletMaxBodyHeight * 2;
336
+ }
337
+ }
338
+ & when (@variationTableScrollingVeryLong) {
339
+ .ui.scrolling.table[class*="very long"] > tbody {
340
+ max-height: @scrollingTabletMaxBodyHeight * 3;
341
+ }
342
+ }
331
343
  }
332
- .ui.scrolling.table > tbody {
333
- max-height: @scrollingTabletMaxBodyHeight;
334
- }
335
- & when (@variationTableScrollingLong) {
336
- .ui.scrolling.table.long > tbody {
337
- max-height: @scrollingTabletMaxBodyHeight * 2;
338
- }
339
- }
340
- & when (@variationTableScrollingVeryLong) {
341
- .ui.scrolling.table[class*="very long"] > tbody {
342
- max-height: @scrollingTabletMaxBodyHeight * 3;
343
- }
344
- }
345
- }
346
- @media only screen and (min-width: @computerBreakpoint) {
347
- & when (@variationTableScrollingShort) {
348
- .ui.scrolling.table.short > tbody {
349
- max-height: @scrollingComputerMaxBodyHeight * 0.75;
350
- }
351
- }
352
- & when (@variationTableScrollingVeryShort) {
353
- .ui.scrolling.table[class*="very short"] > tbody {
354
- max-height: @scrollingComputerMaxBodyHeight * 0.5;
355
- }
344
+ @media only screen and (min-width: @computerBreakpoint) {
345
+ & when (@variationTableScrollingShort) {
346
+ .ui.scrolling.table.short > tbody {
347
+ max-height: @scrollingComputerMaxBodyHeight * 0.75;
348
+ }
349
+ }
350
+ & when (@variationTableScrollingVeryShort) {
351
+ .ui.scrolling.table[class*="very short"] > tbody {
352
+ max-height: @scrollingComputerMaxBodyHeight * 0.5;
353
+ }
354
+ }
355
+ .ui.scrolling.table > tbody {
356
+ max-height: @scrollingComputerMaxBodyHeight;
357
+ }
358
+ & when (@variationTableScrollingLong) {
359
+ .ui.scrolling.table.long > tbody {
360
+ max-height: @scrollingComputerMaxBodyHeight * 2;
361
+ }
362
+ }
363
+ & when (@variationTableScrollingVeryLong) {
364
+ .ui.scrolling.table[class*="very long"] > tbody {
365
+ max-height: @scrollingComputerMaxBodyHeight * 3;
366
+ }
367
+ }
356
368
  }
357
- .ui.scrolling.table > tbody {
358
- max-height: @scrollingComputerMaxBodyHeight;
359
- }
360
- & when (@variationTableScrollingLong) {
361
- .ui.scrolling.table.long > tbody {
362
- max-height: @scrollingComputerMaxBodyHeight * 2;
363
- }
364
- }
365
- & when (@variationTableScrollingVeryLong) {
366
- .ui.scrolling.table[class*="very long"] > tbody {
367
- max-height: @scrollingComputerMaxBodyHeight * 3;
368
- }
369
- }
370
- }
371
- @media only screen and (min-width: @widescreenMonitorBreakpoint) {
372
- & when (@variationTableScrollingShort) {
373
- .ui.scrolling.table.short > tbody {
374
- max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
375
- }
376
- }
377
- & when (@variationTableScrollingVeryShort) {
378
- .ui.scrolling.table[class*="very short"] > tbody {
379
- max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
380
- }
369
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
370
+ & when (@variationTableScrollingShort) {
371
+ .ui.scrolling.table.short > tbody {
372
+ max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
373
+ }
374
+ }
375
+ & when (@variationTableScrollingVeryShort) {
376
+ .ui.scrolling.table[class*="very short"] > tbody {
377
+ max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
378
+ }
379
+ }
380
+ .ui.scrolling.table > tbody {
381
+ max-height: @scrollingWidescreenMaxBodyHeight;
382
+ }
383
+ & when (@variationTableScrollingLong) {
384
+ .ui.scrolling.table.long > tbody {
385
+ max-height: @scrollingWidescreenMaxBodyHeight * 2;
386
+ }
387
+ }
388
+ & when (@variationTableScrollingVeryLong) {
389
+ .ui.scrolling.table[class*="very long"] > tbody {
390
+ max-height: @scrollingWidescreenMaxBodyHeight * 3;
391
+ }
392
+ }
381
393
  }
394
+
395
+ .ui.scrolling.table > thead,
396
+ .ui.scrolling.table > tfoot,
382
397
  .ui.scrolling.table > tbody {
383
- max-height: @scrollingWidescreenMaxBodyHeight;
384
- }
385
- & when (@variationTableScrollingLong) {
386
- .ui.scrolling.table.long > tbody {
387
- max-height: @scrollingWidescreenMaxBodyHeight * 2;
388
- }
389
- }
390
- & when (@variationTableScrollingVeryLong) {
391
- .ui.scrolling.table[class*="very long"] > tbody {
392
- max-height: @scrollingWidescreenMaxBodyHeight * 3;
393
- }
398
+ display: block;
399
+ overflow-y: scroll;
400
+ overscroll-behavior: @overscrollBehavior;
401
+ scrollbar-width: thin; /* Firefox */
402
+ & > tr {
403
+ display: table;
404
+ table-layout: fixed;
405
+ width: 100%;
406
+ }
394
407
  }
395
- }
396
408
 
397
- .ui.scrolling.table > thead,
398
- .ui.scrolling.table > tfoot,
399
- .ui.scrolling.table > tbody {
400
- display: block;
401
- overflow-y: scroll;
402
- scrollbar-width: thin; /* Firefox */
403
- & > tr {
404
- display: table;
405
- table-layout: fixed;
406
- width: 100%;
409
+ /* Camouflage scrollbars, we need them only to gain the same width as tbody */
410
+ .ui.scrolling.table > thead {
411
+ background: @headerBackground;
412
+ color: @headerBackground;
413
+ border-radius: @borderRadius @borderRadius 0 0;
407
414
  }
408
- }
409
-
410
- /* Camouflage scrollbars, we need them only to gain the same width as tbody */
411
- .ui.scrolling.table > thead {
412
- background: @headerBackground;
413
- color: @headerBackground;
414
- border-radius: @borderRadius @borderRadius 0 0;
415
- }
416
- .ui.scrolling.table > tfoot {
417
- background: @footerBackground;
418
- color: @footerBackground;
419
- border-radius: 0 0 @borderRadius @borderRadius;
420
- }
421
- & when (@variationTableInverted) {
422
- .ui.inverted.scrolling.table > thead {
423
- background: @invertedHeaderBackground;
424
- color: @invertedHeaderBackground;
425
- }
426
- .ui.inverted.scrolling.table > tfoot {
427
- background: @invertedFooterBackground;
428
- color: @invertedFooterBackground;
429
- }
430
- }
431
- .ui.scrolling.table > thead::-webkit-scrollbar-track,
432
- .ui.scrolling.table > tfoot::-webkit-scrollbar-track {
433
- background: inherit;
434
- border-radius: @borderRadius;
435
- }
436
-
437
- /* Firefox & IE */
438
- .ui.scrolling.table > thead,
439
- .ui.scrolling.table > tfoot {
440
- scrollbar-color: currentColor currentColor;
441
- & when (@supportIE) {
442
- scrollbar-face-color: currentColor;
443
- scrollbar-shadow-color: currentColor;
444
- scrollbar-track-color: currentColor;
445
- scrollbar-arrow-color: currentColor;
446
- }
447
- }
448
- & when (@supportIE) {
449
- /* IE scrollbar color needs hex values */
450
- @media all and (-ms-high-contrast: none) {
451
- .ui.scrolling.table > thead {
452
- color: @headerBackgroundHex;
453
- }
454
- .ui.scrolling.table > tfoot {
455
- color: @footerBackgroundHex;
456
- }
457
- & when (@variationTableInverted) {
415
+ .ui.scrolling.table > tfoot {
416
+ background: @footerBackground;
417
+ color: @footerBackground;
418
+ border-radius: 0 0 @borderRadius @borderRadius;
419
+ }
420
+ & when (@variationTableInverted) {
458
421
  .ui.inverted.scrolling.table > thead {
459
- color: @invertedHeaderBackgroundHex;
422
+ background: @invertedHeaderBackground;
423
+ color: @invertedHeaderBackground;
460
424
  }
461
425
  .ui.inverted.scrolling.table > tfoot {
462
- color: @invertedFooterBackgroundHex;
426
+ background: @invertedFooterBackground;
427
+ color: @invertedFooterBackground;
463
428
  }
464
- }
465
429
  }
466
- }
467
- & when (@variationTableInverted) {
468
- .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
469
- background: @trackInvertedBackground;
470
- }
471
- .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
472
- background: @thumbInvertedBackground;
473
- }
474
- .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
475
- background: @thumbInvertedInactiveBackground;
430
+ .ui.scrolling.table > thead::-webkit-scrollbar-track,
431
+ .ui.scrolling.table > tfoot::-webkit-scrollbar-track {
432
+ background: inherit;
433
+ border-radius: @borderRadius;
434
+ }
435
+
436
+ /* Firefox & IE */
437
+ .ui.scrolling.table > thead,
438
+ .ui.scrolling.table > tfoot {
439
+ scrollbar-color: currentColor currentColor;
440
+ & when (@supportIE) {
441
+ scrollbar-face-color: currentColor;
442
+ scrollbar-shadow-color: currentColor;
443
+ scrollbar-track-color: currentColor;
444
+ scrollbar-arrow-color: currentColor;
445
+ }
476
446
  }
477
- .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
478
- background: @thumbInvertedHoverBackground;
447
+ & when (@supportIE) {
448
+ /* IE scrollbar color needs hex values */
449
+ @media all and (-ms-high-contrast: none) {
450
+ .ui.scrolling.table > thead {
451
+ color: @headerBackgroundHex;
452
+ }
453
+ .ui.scrolling.table > tfoot {
454
+ color: @footerBackgroundHex;
455
+ }
456
+ & when (@variationTableInverted) {
457
+ .ui.inverted.scrolling.table > thead {
458
+ color: @invertedHeaderBackgroundHex;
459
+ }
460
+ .ui.inverted.scrolling.table > tfoot {
461
+ color: @invertedFooterBackgroundHex;
462
+ }
463
+ }
464
+ }
479
465
  }
480
- .ui.inverted.scrolling.table > tbody {
481
- & when (@supportIE) {
482
- /* IE11 */
483
- scrollbar-face-color: @thumbInvertedBackgroundHex;
484
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
485
- scrollbar-track-color: @trackInvertedBackgroundHex;
486
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
487
- }
488
- /* firefox : first color thumb, second track */
489
- scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
466
+ & when (@variationTableInverted) {
467
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
468
+ background: @trackInvertedBackground;
469
+ }
470
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
471
+ background: @thumbInvertedBackground;
472
+ }
473
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
474
+ background: @thumbInvertedInactiveBackground;
475
+ }
476
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
477
+ background: @thumbInvertedHoverBackground;
478
+ }
479
+ .ui.inverted.scrolling.table > tbody {
480
+ & when (@supportIE) {
481
+ /* IE11 */
482
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
483
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
484
+ scrollbar-track-color: @trackInvertedBackgroundHex;
485
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
486
+ }
487
+
488
+ /* firefox: first color thumb, second track */
489
+ scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
490
+ }
490
491
  }
491
- }
492
-
493
492
  }
494
493
  & when (@variationTableOverflowing) {
495
- /*--------------
496
- Overflowing
497
- ---------------*/
498
- .ui.overflowing.table {
499
- display: block;
500
- overflow: auto;
501
- }
502
- @media only screen and (min-width: @tabletBreakpoint) {
503
- & when (@variationTableOverflowingShort) {
504
- .ui.overflowing.table.short {
505
- max-height: @overflowingTabletMaxHeight * 0.75;
506
- }
507
- }
508
- & when (@variationTableOverflowingVeryShort) {
509
- .ui.overflowing.table[class*="very short"] {
510
- max-height: @overflowingTabletMaxHeight * 0.5;
511
- }
512
- }
513
- .ui.overflowing.table {
514
- max-height: @overflowingTabletMaxHeight;
515
- }
516
- & when (@variationTableOverflowingLong) {
517
- .ui.overflowing.table.long {
518
- max-height: @overflowingTabletMaxHeight * 2;
519
- }
520
- }
521
- & when (@variationTableOverflowingVeryLong) {
522
- .ui.overflowing.table[class*="very long"] {
523
- max-height: @overflowingTabletMaxHeight * 3;
524
- }
525
- }
526
- }
527
- @media only screen and (min-width: @computerBreakpoint) {
528
- & when (@variationTableOverflowingShort) {
529
- .ui.overflowing.table.short {
530
- max-height: @overflowingComputerMaxHeight * 0.75;
531
- }
532
- }
533
- & when (@variationTableOverflowingVeryShort) {
534
- .ui.overflowing.table[class*="very short"] {
535
- max-height: @overflowingComputerMaxHeight * 0.5;
536
- }
537
- }
538
- .ui.overflowing.table {
539
- max-height: @overflowingComputerMaxHeight;
540
- }
541
- & when (@variationTableOverflowingLong) {
542
- .ui.overflowing.table.long {
543
- max-height: @overflowingComputerMaxHeight * 2;
544
- }
545
- }
546
- & when (@variationTableOverflowingVeryLong) {
547
- .ui.overflowing.table[class*="very long"]{
548
- max-height: @overflowingComputerMaxHeight * 3;
549
- }
550
- }
551
- }
552
- @media only screen and (min-width: @widescreenMonitorBreakpoint) {
553
- & when (@variationTableOverflowingShort) {
554
- .ui.overflowing.table.short {
555
- max-height: @overflowingWidescreenMaxHeight * 0.75;
556
- }
557
- }
558
- & when (@variationTableOverflowingVeryShort) {
559
- .ui.overflowing.table[class*="very short"] {
560
- max-height: @overflowingWidescreenMaxHeight * 0.5;
561
- }
562
- }
494
+ /* --------------
495
+ Overflowing
496
+ --------------- */
563
497
  .ui.overflowing.table {
564
- max-height: @overflowingWidescreenMaxHeight;
498
+ display: block;
499
+ overflow: auto;
500
+ overscroll-behavior: @overscrollBehavior;
501
+ }
502
+ @media only screen and (min-width: @tabletBreakpoint) {
503
+ & when (@variationTableOverflowingShort) {
504
+ .ui.overflowing.table.short {
505
+ max-height: @overflowingTabletMaxHeight * 0.75;
506
+ }
507
+ }
508
+ & when (@variationTableOverflowingVeryShort) {
509
+ .ui.overflowing.table[class*="very short"] {
510
+ max-height: @overflowingTabletMaxHeight * 0.5;
511
+ }
512
+ }
513
+ .ui.overflowing.table {
514
+ max-height: @overflowingTabletMaxHeight;
515
+ }
516
+ & when (@variationTableOverflowingLong) {
517
+ .ui.overflowing.table.long {
518
+ max-height: @overflowingTabletMaxHeight * 2;
519
+ }
520
+ }
521
+ & when (@variationTableOverflowingVeryLong) {
522
+ .ui.overflowing.table[class*="very long"] {
523
+ max-height: @overflowingTabletMaxHeight * 3;
524
+ }
525
+ }
565
526
  }
566
- & when (@variationTableOverflowingLong) {
567
- .ui.overflowing.table.long {
568
- max-height: @overflowingWidescreenMaxHeight * 2;
569
- }
527
+ @media only screen and (min-width: @computerBreakpoint) {
528
+ & when (@variationTableOverflowingShort) {
529
+ .ui.overflowing.table.short {
530
+ max-height: @overflowingComputerMaxHeight * 0.75;
531
+ }
532
+ }
533
+ & when (@variationTableOverflowingVeryShort) {
534
+ .ui.overflowing.table[class*="very short"] {
535
+ max-height: @overflowingComputerMaxHeight * 0.5;
536
+ }
537
+ }
538
+ .ui.overflowing.table {
539
+ max-height: @overflowingComputerMaxHeight;
540
+ }
541
+ & when (@variationTableOverflowingLong) {
542
+ .ui.overflowing.table.long {
543
+ max-height: @overflowingComputerMaxHeight * 2;
544
+ }
545
+ }
546
+ & when (@variationTableOverflowingVeryLong) {
547
+ .ui.overflowing.table[class*="very long"] {
548
+ max-height: @overflowingComputerMaxHeight * 3;
549
+ }
550
+ }
570
551
  }
571
- & when (@variationTableOverflowingVeryLong) {
572
- .ui.overflowing.table[class*="very long"] {
573
- max-height: @overflowingWidescreenMaxHeight * 3;
574
- }
552
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
553
+ & when (@variationTableOverflowingShort) {
554
+ .ui.overflowing.table.short {
555
+ max-height: @overflowingWidescreenMaxHeight * 0.75;
556
+ }
557
+ }
558
+ & when (@variationTableOverflowingVeryShort) {
559
+ .ui.overflowing.table[class*="very short"] {
560
+ max-height: @overflowingWidescreenMaxHeight * 0.5;
561
+ }
562
+ }
563
+ .ui.overflowing.table {
564
+ max-height: @overflowingWidescreenMaxHeight;
565
+ }
566
+ & when (@variationTableOverflowingLong) {
567
+ .ui.overflowing.table.long {
568
+ max-height: @overflowingWidescreenMaxHeight * 2;
569
+ }
570
+ }
571
+ & when (@variationTableOverflowingVeryLong) {
572
+ .ui.overflowing.table[class*="very long"] {
573
+ max-height: @overflowingWidescreenMaxHeight * 3;
574
+ }
575
+ }
575
576
  }
576
- }
577
577
  }
578
578
 
579
-
580
579
  /*******************************
581
580
  Coupling
582
581
  *******************************/
@@ -584,108 +583,112 @@
584
583
  /* UI Image */
585
584
  .ui.table .collapsing .image,
586
585
  .ui.table .collapsing .image img {
587
- max-width: none;
586
+ max-width: none;
588
587
  }
589
588
 
590
-
591
589
  /*******************************
592
590
  Types
593
591
  *******************************/
594
592
 
595
- /*--------------
593
+ /* --------------
596
594
  Complex
597
- ---------------*/
595
+ --------------- */
598
596
  & when (@variationTableStructured) {
599
- .ui.structured.table {
600
- border-collapse: collapse;
601
- }
602
- .ui.structured.table > thead > tr > th {
603
- border-left: @headerDivider;
604
- border-right: @headerDivider;
605
- }
606
- & when (@variationTableSortable) {
607
- .ui.structured.sortable.table > thead > tr > th {
608
- border-left: @sortableBorder;
609
- border-right: @sortableBorder;
610
- }
611
- }
612
- & when (@variationTableBasic) {
613
- .ui.structured.basic.table > tr > th,
614
- .ui.structured.basic.table > thead > tr > th,
615
- .ui.structured.basic.table > tbody > tr > th,
616
- .ui.structured.basic.table > tfoot > tr > th {
617
- border-left: @basicTableHeaderDivider;
618
- border-right: @basicTableHeaderDivider;
619
- }
620
- }
621
- & when (@variationTableCelled) {
622
- .ui.structured.celled.table > tr > th,
623
- .ui.structured.celled.table > thead > tr > th,
624
- .ui.structured.celled.table > tbody > tr > th,
625
- .ui.structured.celled.table > tfoot > tr > th,
626
- .ui.structured.celled.table > tr > td,
627
- .ui.structured.celled.table > tbody > tr > td ,
628
- .ui.structured.celled.table > tfoot > tr > td { border-left: @cellBorder;
629
- border-right: @cellBorder;
630
- }
631
- }
597
+ .ui.structured.table {
598
+ border-collapse: collapse;
599
+ }
600
+ .ui.structured.table > thead > tr > th {
601
+ border-left: @headerDivider;
602
+ border-right: @headerDivider;
603
+ }
604
+ & when (@variationTableSortable) {
605
+ .ui.structured.sortable.table > thead > tr > th {
606
+ border-left: @sortableBorder;
607
+ border-right: @sortableBorder;
608
+ }
609
+ }
610
+ & when (@variationTableBasic) {
611
+ .ui.structured.basic.table > tr > th,
612
+ .ui.structured.basic.table > thead > tr > th,
613
+ .ui.structured.basic.table > tbody > tr > th,
614
+ .ui.structured.basic.table > tfoot > tr > th {
615
+ border-left: @basicTableHeaderDivider;
616
+ border-right: @basicTableHeaderDivider;
617
+ }
618
+ }
619
+ & when (@variationTableCelled) {
620
+ .ui.structured.celled.table > tr > th,
621
+ .ui.structured.celled.table > thead > tr > th,
622
+ .ui.structured.celled.table > tbody > tr > th,
623
+ .ui.structured.celled.table > tfoot > tr > th,
624
+ .ui.structured.celled.table > tr > td,
625
+ .ui.structured.celled.table > tbody > tr > td,
626
+ .ui.structured.celled.table > tfoot > tr > td {
627
+ border-left: @cellBorder;
628
+ border-right: @cellBorder;
629
+ }
630
+ }
632
631
  }
633
632
 
634
633
  & when (@variationTableDefinition) {
635
- /*--------------
636
- Definition
637
- ---------------*/
638
-
639
- .ui.definition.table > thead:not(.full-width) > tr > th:first-child {
640
- pointer-events: none;
641
- background: @definitionHeaderBackground;
642
- font-weight: @definitionHeaderFontWeight;
643
- color: @definitionHeaderColor;
644
- box-shadow: -@coloredBorderSizeCover -@coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
645
- -moz-transform: scale(1);
646
- }
647
-
648
- .ui.definition.table > thead:not(.full-width) > tr > th:first-child:not(:empty) {
649
- pointer-events: auto;
650
- }
651
-
652
- .ui.definition.table > tfoot:not(.full-width) > tr > th:first-child {
653
- pointer-events: none;
654
- background: @definitionFooterBackground;
655
- font-weight: @definitionFooterFontWeight;
656
- color: @definitionFooterColor;
657
- box-shadow: -@coloredBorderSizeCover @coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
658
- -moz-transform: scale(1);
659
- }
660
-
661
- /* Highlight Defining Column */
662
- .ui.definition.table > tr > td:first-child:not(.ignored),
663
- .ui.definition.table > tbody > tr > td:first-child:not(.ignored),
664
- .ui.definition.table > tfoot > tr > td:first-child:not(.ignored),
665
- .ui.definition.table tr td.definition {
666
- background: @definitionColumnBackground;
667
- font-weight: @definitionColumnFontWeight;
668
- color: @definitionColumnColor;
669
- text-transform: @definitionColumnTextTransform;
670
- box-shadow: @definitionColumnBoxShadow;
671
- text-align: @definitionColumnTextAlign;
672
- font-size: @definitionColumnFontSize;
673
- padding-left: @definitionColumnHorizontalPadding;
674
- padding-right: @definitionColumnHorizontalPadding;
675
- }
676
-
677
-
678
- /* Fix 2nd Column */
679
- .ui.definition.table > thead:not(.full-width) > tr > th:nth-child(2) {
680
- border-left: @borderWidth solid @borderColor;
681
- }
682
- .ui.definition.table > tfoot:not(.full-width) > tr > th:nth-child(2) ,
683
- .ui.definition.table > tfoot:not(.full-width) > tr > td:nth-child(2) { border-left: @borderWidth solid @borderColor;
684
- }
685
- .ui.definition.table > tr > td:nth-child(2),
686
- .ui.definition.table > tbody > tr > td:nth-child(2) {
687
- border-left: @borderWidth solid @borderColor;
688
- }
634
+ /* --------------
635
+ Definition
636
+ --------------- */
637
+
638
+ .ui.definition.table > thead:not(.full-width) > tr > th:first-child {
639
+ pointer-events: none;
640
+ background: @definitionHeaderBackground;
641
+ font-weight: @definitionHeaderFontWeight;
642
+ color: @definitionHeaderColor;
643
+ box-shadow: -@coloredBorderSizeCover -@coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
644
+ // https://github.com/fomantic/Fomantic-UI/pull/884
645
+ // stylelint-disable-next-line property-no-vendor-prefix
646
+ -moz-transform: scale(1);
647
+ }
648
+
649
+ .ui.definition.table > thead:not(.full-width) > tr > th:first-child:not(:empty) {
650
+ pointer-events: auto;
651
+ }
652
+
653
+ .ui.definition.table > tfoot:not(.full-width) > tr > th:first-child {
654
+ pointer-events: none;
655
+ background: @definitionFooterBackground;
656
+ font-weight: @definitionFooterFontWeight;
657
+ color: @definitionFooterColor;
658
+ box-shadow: -@coloredBorderSizeCover @coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
659
+ // https://github.com/fomantic/Fomantic-UI/pull/884
660
+ // stylelint-disable-next-line property-no-vendor-prefix
661
+ -moz-transform: scale(1);
662
+ }
663
+
664
+ /* Highlight Defining Column */
665
+ .ui.definition.table > tr > td:first-child:not(.ignored),
666
+ .ui.definition.table > tbody > tr > td:first-child:not(.ignored),
667
+ .ui.definition.table > tfoot > tr > td:first-child:not(.ignored),
668
+ .ui.definition.table tr td.definition {
669
+ background: @definitionColumnBackground;
670
+ font-weight: @definitionColumnFontWeight;
671
+ color: @definitionColumnColor;
672
+ text-transform: @definitionColumnTextTransform;
673
+ box-shadow: @definitionColumnBoxShadow;
674
+ text-align: @definitionColumnTextAlign;
675
+ font-size: @definitionColumnFontSize;
676
+ padding-left: @definitionColumnHorizontalPadding;
677
+ padding-right: @definitionColumnHorizontalPadding;
678
+ }
679
+
680
+ /* Fix 2nd Column */
681
+ .ui.definition.table > thead:not(.full-width) > tr > th:nth-child(2) {
682
+ border-left: @borderWidth solid @borderColor;
683
+ }
684
+ .ui.definition.table > tfoot:not(.full-width) > tr > th:nth-child(2),
685
+ .ui.definition.table > tfoot:not(.full-width) > tr > td:nth-child(2) {
686
+ border-left: @borderWidth solid @borderColor;
687
+ }
688
+ .ui.definition.table > tr > td:nth-child(2),
689
+ .ui.definition.table > tbody > tr > td:nth-child(2) {
690
+ border-left: @borderWidth solid @borderColor;
691
+ }
689
692
  }
690
693
 
691
694
  /*******************************
@@ -693,1244 +696,1237 @@
693
696
  *******************************/
694
697
 
695
698
  & when (@variationTablePositive) {
696
- /*--------------
697
- Positive
698
- ---------------*/
699
-
700
- .ui.ui.ui.ui.table tr.positive,
701
- .ui.ui.table td.positive {
702
- box-shadow: @positiveBoxShadow;
703
- background: @positiveBackgroundColor;
704
- color: @positiveColor;
705
- }
706
- & when (@variationTableInverted) {
707
- .ui.ui.ui.ui.inverted.table tr.positive,
708
- .ui.ui.inverted.table td.positive {
709
- background: @invertedPositiveBackgroundColor;
710
- color: @invertedPositiveColor;
711
- }
712
- }
699
+ /* --------------
700
+ Positive
701
+ --------------- */
702
+
703
+ .ui.ui.ui.ui.table tr.positive,
704
+ .ui.ui.table td.positive {
705
+ box-shadow: @positiveBoxShadow;
706
+ background: @positiveBackgroundColor;
707
+ color: @positiveColor;
708
+ }
709
+ & when (@variationTableInverted) {
710
+ .ui.ui.ui.ui.inverted.table tr.positive,
711
+ .ui.ui.inverted.table td.positive {
712
+ background: @invertedPositiveBackgroundColor;
713
+ color: @invertedPositiveColor;
714
+ }
715
+ }
713
716
  }
714
717
 
715
718
  & when (@variationTableNegative) {
716
- /*--------------
717
- Negative
718
- ---------------*/
719
-
720
- .ui.ui.ui.ui.table tr.negative,
721
- .ui.ui.table td.negative {
722
- box-shadow: @negativeBoxShadow;
723
- background: @negativeBackgroundColor;
724
- color: @negativeColor;
725
- }
726
- & when (@variationTableInverted) {
727
- .ui.ui.ui.ui.inverted.table tr.negative,
728
- .ui.ui.inverted.table td.negative {
729
- background: @invertedNegativeBackgroundColor;
730
- color: @invertedNegativeColor;
731
- }
732
- }
719
+ /* --------------
720
+ Negative
721
+ --------------- */
722
+
723
+ .ui.ui.ui.ui.table tr.negative,
724
+ .ui.ui.table td.negative {
725
+ box-shadow: @negativeBoxShadow;
726
+ background: @negativeBackgroundColor;
727
+ color: @negativeColor;
728
+ }
729
+ & when (@variationTableInverted) {
730
+ .ui.ui.ui.ui.inverted.table tr.negative,
731
+ .ui.ui.inverted.table td.negative {
732
+ background: @invertedNegativeBackgroundColor;
733
+ color: @invertedNegativeColor;
734
+ }
735
+ }
733
736
  }
734
737
 
735
738
  & when (@variationTableError) {
736
- /*--------------
737
- Error
738
- ---------------*/
739
-
740
- .ui.ui.ui.ui.table tr.error,
741
- .ui.ui.table td.error {
742
- box-shadow: @errorBoxShadow;
743
- background: @errorBackgroundColor;
744
- color: @errorColor;
745
- }
746
- & when (@variationTableInverted) {
747
- .ui.ui.ui.ui.inverted.table tr.error,
748
- .ui.ui.inverted.table td.error {
749
- background: @invertedErrorBackgroundColor;
750
- color: @invertedErrorColor;
751
- }
752
- }
739
+ /* --------------
740
+ Error
741
+ --------------- */
742
+
743
+ .ui.ui.ui.ui.table tr.error,
744
+ .ui.ui.table td.error {
745
+ box-shadow: @errorBoxShadow;
746
+ background: @errorBackgroundColor;
747
+ color: @errorColor;
748
+ }
749
+ & when (@variationTableInverted) {
750
+ .ui.ui.ui.ui.inverted.table tr.error,
751
+ .ui.ui.inverted.table td.error {
752
+ background: @invertedErrorBackgroundColor;
753
+ color: @invertedErrorColor;
754
+ }
755
+ }
753
756
  }
754
757
 
755
758
  & when (@variationTableWarning) {
756
- /*--------------
757
- Warning
758
- ---------------*/
759
-
760
- .ui.ui.ui.ui.table tr.warning,
761
- .ui.ui.table td.warning {
762
- box-shadow: @warningBoxShadow;
763
- background: @warningBackgroundColor;
764
- color: @warningColor;
765
- }
766
- & when (@variationTableInverted) {
767
- .ui.ui.ui.ui.inverted.table tr.warning,
768
- .ui.ui.inverted.table td.warning {
769
- background: @invertedWarningBackgroundColor;
770
- color: @invertedWarningColor;
771
- }
772
- }
759
+ /* --------------
760
+ Warning
761
+ --------------- */
762
+
763
+ .ui.ui.ui.ui.table tr.warning,
764
+ .ui.ui.table td.warning {
765
+ box-shadow: @warningBoxShadow;
766
+ background: @warningBackgroundColor;
767
+ color: @warningColor;
768
+ }
769
+ & when (@variationTableInverted) {
770
+ .ui.ui.ui.ui.inverted.table tr.warning,
771
+ .ui.ui.inverted.table td.warning {
772
+ background: @invertedWarningBackgroundColor;
773
+ color: @invertedWarningColor;
774
+ }
775
+ }
773
776
  }
774
777
 
775
778
  & when (@variationTableActive) {
776
- /*--------------
777
- Active
778
- ---------------*/
779
-
780
- .ui.ui.ui.ui.table tr.active,
781
- .ui.ui.table td.active {
782
- box-shadow: @activeBoxShadow;
783
- background: @activeBackgroundColor;
784
- color: @activeColor;
785
- }
786
- & when (@variationTableInverted) {
787
- .ui.ui.ui.ui.inverted.table tr.active,
788
- .ui.ui.inverted.table td.active {
789
- background: @invertedActiveBackgroundColor;
790
- color: @invertedActiveColor;
791
- }
792
- }
793
- }
779
+ /* --------------
780
+ Active
781
+ --------------- */
794
782
 
783
+ .ui.ui.ui.ui.table tr.active,
784
+ .ui.ui.table td.active {
785
+ box-shadow: @activeBoxShadow;
786
+ background: @activeBackgroundColor;
787
+ color: @activeColor;
788
+ }
789
+ & when (@variationTableInverted) {
790
+ .ui.ui.ui.ui.inverted.table tr.active,
791
+ .ui.ui.inverted.table td.active {
792
+ background: @invertedActiveBackgroundColor;
793
+ color: @invertedActiveColor;
794
+ }
795
+ }
796
+ }
795
797
 
796
798
  & when (@variationTableDisabled) {
797
- /*--------------
798
- Disabled
799
- ---------------*/
800
-
801
- .ui.ui.ui.table tr.disabled td,
802
- .ui.ui.ui.table tr td.disabled,
803
- .ui.table tr.disabled:hover,
804
- .ui.table tr:hover td.disabled {
805
- pointer-events: none;
806
- color: @disabledTextColor;
807
- }
799
+ /* --------------
800
+ Disabled
801
+ --------------- */
802
+
803
+ .ui.ui.ui.table tr.disabled td,
804
+ .ui.ui.ui.table tr td.disabled,
805
+ .ui.table tr.disabled:hover,
806
+ .ui.table tr:hover td.disabled {
807
+ pointer-events: none;
808
+ color: @disabledTextColor;
809
+ }
808
810
  }
809
811
 
810
812
  /*******************************
811
813
  Variations
812
814
  *******************************/
813
815
  & when (@variationTableStackable) {
814
- /*--------------
815
- Stackable
816
- ---------------*/
817
-
818
- @media only screen and (max-width : @largestTabletScreen) {
819
-
820
- .ui[class*="tablet stackable"].table,
821
- .ui[class*="tablet stackable"].table > thead,
822
- .ui[class*="tablet stackable"].table > thead > tr,
823
- .ui[class*="tablet stackable"].table > tfoot,
824
- .ui[class*="tablet stackable"].table > tfoot > tr,
825
- .ui[class*="tablet stackable"].table > tbody,
826
- .ui[class*="tablet stackable"].table > tbody > tr,
827
- .ui[class*="tablet stackable"].table > tr,
828
- .ui[class*="tablet stackable"].table > thead > tr > th:not(.rowspanned),
829
- .ui[class*="tablet stackable"].table > tbody > tr > th:not(.rowspanned),
830
- .ui[class*="tablet stackable"].table > tfoot > tr > th:not(.rowspanned),
831
- .ui[class*="tablet stackable"].table > tr > th:not(.rowspanned),
832
- .ui[class*="tablet stackable"].table > tbody > tr > td:not(.rowspanned),
833
- .ui[class*="tablet stackable"].table > tfoot > tr > td:not(.rowspanned),
834
- .ui[class*="tablet stackable"].table > tr > td:not(.rowspanned) {
835
- display: block !important;
836
- width: 100% !important;
837
- }
838
-
839
- .ui[class*="tablet stackable"].table {
840
- padding: 0;
841
- }
842
- .ui[class*="tablet stackable"].table > thead {
843
- display: @responsiveHeaderDisplay;
844
- }
845
- .ui[class*="tablet stackable"].table > tfoot {
846
- display: @responsiveFooterDisplay;
847
- }
848
- .ui.ui.ui.ui[class*="tablet stackable"].table > thead > tr,
849
- .ui.ui.ui.ui[class*="tablet stackable"].table > tbody > tr,
850
- .ui.ui.ui.ui[class*="tablet stackable"].table > tfoot > tr,
851
- .ui.ui.ui.ui[class*="tablet stackable"].table > tr {
852
- padding-top: @responsiveRowVerticalPadding;
853
- padding-bottom: @responsiveRowVerticalPadding;
854
- box-shadow: @responsiveRowBoxShadow;
855
- }
856
- .ui[class*="tablet stackable"].table > thead > tr > th,
857
- .ui[class*="tablet stackable"].table > tbody > tr > th,
858
- .ui[class*="tablet stackable"].table > tfoot > tr > th,
859
- .ui[class*="tablet stackable"].table > tr > th,
860
- .ui[class*="tablet stackable"].table > tbody > tr > td,
861
- .ui[class*="tablet stackable"].table > tfoot > tr > td,
862
- .ui[class*="tablet stackable"].table > tr > td {
863
- background: none;
864
- border: none !important;
865
- padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
866
- box-shadow: @responsiveCellBoxShadow;
816
+ /* --------------
817
+ Stackable
818
+ --------------- */
819
+
820
+ @media only screen and (max-width: @largestTabletScreen) {
821
+ .ui[class*="tablet stackable"].table,
822
+ .ui[class*="tablet stackable"].table > thead,
823
+ .ui[class*="tablet stackable"].table > thead > tr,
824
+ .ui[class*="tablet stackable"].table > tfoot,
825
+ .ui[class*="tablet stackable"].table > tfoot > tr,
826
+ .ui[class*="tablet stackable"].table > tbody,
827
+ .ui[class*="tablet stackable"].table > tbody > tr,
828
+ .ui[class*="tablet stackable"].table > tr,
829
+ .ui[class*="tablet stackable"].table > thead > tr > th:not(.rowspanned),
830
+ .ui[class*="tablet stackable"].table > tbody > tr > th:not(.rowspanned),
831
+ .ui[class*="tablet stackable"].table > tfoot > tr > th:not(.rowspanned),
832
+ .ui[class*="tablet stackable"].table > tr > th:not(.rowspanned),
833
+ .ui[class*="tablet stackable"].table > tbody > tr > td:not(.rowspanned),
834
+ .ui[class*="tablet stackable"].table > tfoot > tr > td:not(.rowspanned),
835
+ .ui[class*="tablet stackable"].table > tr > td:not(.rowspanned) {
836
+ display: block !important;
837
+ width: 100% !important;
838
+ }
839
+
840
+ .ui[class*="tablet stackable"].table {
841
+ padding: 0;
842
+ }
843
+ .ui[class*="tablet stackable"].table > thead {
844
+ display: @responsiveHeaderDisplay;
845
+ }
846
+ .ui[class*="tablet stackable"].table > tfoot {
847
+ display: @responsiveFooterDisplay;
848
+ }
849
+ .ui.ui.ui.ui[class*="tablet stackable"].table > thead > tr,
850
+ .ui.ui.ui.ui[class*="tablet stackable"].table > tbody > tr,
851
+ .ui.ui.ui.ui[class*="tablet stackable"].table > tfoot > tr,
852
+ .ui.ui.ui.ui[class*="tablet stackable"].table > tr {
853
+ padding-top: @responsiveRowVerticalPadding;
854
+ padding-bottom: @responsiveRowVerticalPadding;
855
+ box-shadow: @responsiveRowBoxShadow;
856
+ }
857
+ .ui[class*="tablet stackable"].table > thead > tr > th,
858
+ .ui[class*="tablet stackable"].table > tbody > tr > th,
859
+ .ui[class*="tablet stackable"].table > tfoot > tr > th,
860
+ .ui[class*="tablet stackable"].table > tr > th,
861
+ .ui[class*="tablet stackable"].table > tbody > tr > td,
862
+ .ui[class*="tablet stackable"].table > tfoot > tr > td,
863
+ .ui[class*="tablet stackable"].table > tr > td {
864
+ background: none;
865
+ border: none !important;
866
+ padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
867
+ box-shadow: @responsiveCellBoxShadow;
868
+ }
869
+ & when (@variationTableDefinition) {
870
+ /* Definition Table */
871
+ .ui.definition[class*="tablet stackable"].table > thead > tr > th:first-child {
872
+ box-shadow: none !important;
873
+ }
874
+ }
867
875
  }
868
- & when (@variationTableDefinition) {
869
- /* Definition Table */
870
- .ui.definition[class*="tablet stackable"].table > thead > tr > th:first-child {
871
- box-shadow: none !important;
872
- }
876
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
877
+ each(@variationTableColors, {
878
+ @color: @value;
879
+ @c: @colors[@@color][color];
880
+ @l: @colors[@@color][light];
881
+ .ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
882
+ &.left {
883
+ box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
884
+ }
885
+ &.right {
886
+ box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
887
+ }
888
+ }
889
+ & when (@variationTableInverted) {
890
+ .ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
891
+ &.left {
892
+ box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
893
+ }
894
+ &.right {
895
+ box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
896
+ }
897
+ }
898
+ }
899
+ });
873
900
  }
874
- }
875
- & when (@variationTableMarked) and not (@variationTableColors = false) {
876
- each(@variationTableColors, {
877
- @color: @value;
878
- @c: @colors[@@color][color];
879
- @l: @colors[@@color][light];
880
- .ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
881
- &.left {
882
- box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
883
- }
884
- &.right {
885
- box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
886
- }
887
- }
888
- & when (@variationTableInverted) {
889
- .ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
890
- &.left {
891
- box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
892
- }
893
- &.right {
894
- box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
895
- }
896
- }
897
- }
898
- })
899
- }
900
901
  }
901
902
 
902
903
  & when (@variationTableAligned) {
903
- /*--------------
904
- Text Alignment
905
- ---------------*/
906
-
907
- .ui.table[class*="left aligned"],
908
- .ui.table [class*="left aligned"] {
909
- text-align: left;
910
- }
911
- .ui.table[class*="center aligned"],
912
- .ui.table [class*="center aligned"] {
913
- text-align: center;
914
- }
915
- .ui.table[class*="right aligned"],
916
- .ui.table [class*="right aligned"] {
917
- text-align: right;
918
- }
919
-
920
- /*------------------
921
- Vertical Alignment
922
- ------------------*/
923
-
924
- .ui.table[class*="top aligned"],
925
- .ui.table [class*="top aligned"] {
926
- vertical-align: top;
927
- }
928
- .ui.table[class*="middle aligned"],
929
- .ui.table [class*="middle aligned"] {
930
- vertical-align: middle;
931
- }
932
- .ui.table[class*="bottom aligned"],
933
- .ui.table [class*="bottom aligned"] {
934
- vertical-align: bottom;
935
- }
904
+ /* --------------
905
+ Text Alignment
906
+ --------------- */
907
+
908
+ .ui.table[class*="left aligned"],
909
+ .ui.table [class*="left aligned"] {
910
+ text-align: left;
911
+ }
912
+ .ui.table[class*="center aligned"],
913
+ .ui.table [class*="center aligned"] {
914
+ text-align: center;
915
+ }
916
+ .ui.table[class*="right aligned"],
917
+ .ui.table [class*="right aligned"] {
918
+ text-align: right;
919
+ }
920
+
921
+ /* ------------------
922
+ Vertical Alignment
923
+ ------------------ */
924
+
925
+ .ui.table[class*="top aligned"],
926
+ .ui.table [class*="top aligned"] {
927
+ vertical-align: top;
928
+ }
929
+ .ui.table[class*="middle aligned"],
930
+ .ui.table [class*="middle aligned"] {
931
+ vertical-align: middle;
932
+ }
933
+ .ui.table[class*="bottom aligned"],
934
+ .ui.table [class*="bottom aligned"] {
935
+ vertical-align: bottom;
936
+ }
936
937
  }
937
938
 
938
939
  & when (@variationTableCollapsing) {
939
- /*--------------
940
- Collapsing
941
- ---------------*/
940
+ /* --------------
941
+ Collapsing
942
+ --------------- */
942
943
 
943
- .ui.table th.collapsing,
944
- .ui.table td.collapsing {
945
- width: 1px;
946
- white-space: nowrap;
947
- }
944
+ .ui.table th.collapsing,
945
+ .ui.table td.collapsing {
946
+ width: 1px;
947
+ white-space: nowrap;
948
+ }
948
949
  }
949
950
 
950
951
  & when (@variationTableFixed) {
951
- /*--------------
952
- Fixed
953
- ---------------*/
954
-
955
- .ui.fixed.table {
956
- table-layout: fixed;
957
- }
958
-
959
- .ui.fixed.table th,
960
- .ui.fixed.table td {
961
- overflow: hidden;
962
- text-overflow: ellipsis;
963
- }
964
- }
952
+ /* --------------
953
+ Fixed
954
+ --------------- */
965
955
 
956
+ .ui.fixed.table {
957
+ table-layout: fixed;
958
+ }
966
959
 
967
- & when (@variationTableSelectable) {
968
- /*--------------
969
- Selectable
970
- ---------------*/
971
-
972
- .ui.ui.selectable.table > tbody > tr:hover,
973
- .ui.table tbody tr td.selectable:hover {
974
- background: @selectableBackground;
975
- color: @selectableTextColor;
976
- }
977
- & when (@variationTableInverted) {
978
- .ui.ui.selectable.inverted.table > tbody > tr:hover,
979
- .ui.inverted.table tbody tr td.selectable:hover {
980
- background: @selectableInvertedBackground;
981
- color: @selectableInvertedTextColor;
982
- }
983
- }
984
- /* Selectable Cell Link */
985
- .ui.table tbody tr td.selectable {
986
- padding: 0;
987
- }
988
- .ui.table tbody tr td.selectable > a:not(.ui) {
989
- display: block;
990
- color: inherit;
991
- }
992
- .ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
993
- padding: @cellVerticalPadding @cellHorizontalPadding;
994
- }
995
- .ui.table > tr > td.selectable,
996
- .ui.table > tbody > tr > td.selectable,
997
- .ui.selectable.table > tbody > tr,
998
- .ui.selectable.table > tr {
999
- cursor:pointer;
1000
- }
1001
- & when (@variationTableError) {
1002
- /* Other States */
1003
- .ui.ui.selectable.table tr.error:hover,
1004
- .ui.table tr td.selectable.error:hover,
1005
- .ui.selectable.table tr:hover td.error {
1006
- background: @errorBackgroundHover;
1007
- color: @errorColorHover;
1008
- }
1009
- }
1010
- & when (@variationTableWarning) {
1011
- .ui.ui.selectable.table tr.warning:hover,
1012
- .ui.table tr td.selectable.warning:hover,
1013
- .ui.selectable.table tr:hover td.warning {
1014
- background: @warningBackgroundHover;
1015
- color: @warningColorHover;
1016
- }
1017
- }
1018
- & when (@variationTableActive) {
1019
- .ui.ui.selectable.table tr.active:hover,
1020
- .ui.table tr td.selectable.active:hover,
1021
- .ui.selectable.table tr:hover td.active {
1022
- background: @activeBackgroundColor;
1023
- color: @activeColor;
1024
- }
1025
- }
1026
- & when (@variationTablePositive) {
1027
- .ui.ui.selectable.table tr.positive:hover,
1028
- .ui.table tr td.selectable.positive:hover,
1029
- .ui.selectable.table tr:hover td.positive {
1030
- background: @positiveBackgroundHover;
1031
- color: @positiveColorHover;
1032
- }
1033
- }
1034
- & when (@variationTableNegative) {
1035
- .ui.ui.selectable.table tr.negative:hover,
1036
- .ui.table tr td.selectable.negative:hover,
1037
- .ui.selectable.table tr:hover td.negative {
1038
- background: @negativeBackgroundHover;
1039
- color: @negativeColorHover;
1040
- }
1041
- }
960
+ .ui.fixed.table th,
961
+ .ui.fixed.table td {
962
+ overflow: hidden;
963
+ text-overflow: ellipsis;
964
+ }
1042
965
  }
1043
966
 
967
+ & when (@variationTableSelectable) {
968
+ /* --------------
969
+ Selectable
970
+ --------------- */
1044
971
 
1045
- & when (@variationTableAttached) {
1046
- /*-------------------
1047
- Attached
1048
- --------------------*/
1049
-
1050
- /* Middle */
1051
- .ui.attached.table {
1052
- top: 0;
1053
- bottom: 0;
1054
- border-radius: 0;
1055
- margin: 0 @attachedHorizontalOffset;
1056
- width: @attachedWidth;
1057
- max-width: @attachedWidth;
1058
- box-shadow: @attachedBoxShadow;
1059
- border: @attachedBorder;
1060
- }
1061
- .ui.attached + .ui.attached.table:not(.top) {
1062
- border-top: none;
1063
- }
972
+ .ui.ui.selectable.table > tbody > tr:hover,
973
+ .ui.table tbody tr td.selectable:hover {
974
+ background: @selectableBackground;
975
+ color: @selectableTextColor;
976
+ }
977
+ & when (@variationTableInverted) {
978
+ .ui.ui.selectable.inverted.table > tbody > tr:hover,
979
+ .ui.inverted.table tbody tr td.selectable:hover {
980
+ background: @selectableInvertedBackground;
981
+ color: @selectableInvertedTextColor;
982
+ }
983
+ }
1064
984
 
1065
- /* Top */
1066
- .ui[class*="top attached"].table {
1067
- bottom: 0;
1068
- margin-bottom: 0;
1069
- top: @attachedTopOffset;
1070
- margin-top: @verticalMargin;
1071
- border-radius: @borderRadius @borderRadius 0 0;
1072
- }
1073
- .ui.table[class*="top attached"]:first-child {
1074
- margin-top: 0;
1075
- }
985
+ /* Selectable Cell Link */
986
+ .ui.table tbody tr td.selectable {
987
+ padding: 0;
988
+ }
989
+ .ui.table tbody tr td.selectable > a:not(.ui) {
990
+ display: block;
991
+ color: inherit;
992
+ }
993
+ .ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
994
+ padding: @cellVerticalPadding @cellHorizontalPadding;
995
+ }
996
+ .ui.table > tr > td.selectable,
997
+ .ui.table > tbody > tr > td.selectable,
998
+ .ui.selectable.table > tbody > tr,
999
+ .ui.selectable.table > tr {
1000
+ cursor: pointer;
1001
+ }
1002
+ & when (@variationTableError) {
1003
+ /* Other States */
1004
+ .ui.ui.selectable.table tr.error:hover,
1005
+ .ui.table tr td.selectable.error:hover,
1006
+ .ui.selectable.table tr:hover td.error {
1007
+ background: @errorBackgroundHover;
1008
+ color: @errorColorHover;
1009
+ }
1010
+ }
1011
+ & when (@variationTableWarning) {
1012
+ .ui.ui.selectable.table tr.warning:hover,
1013
+ .ui.table tr td.selectable.warning:hover,
1014
+ .ui.selectable.table tr:hover td.warning {
1015
+ background: @warningBackgroundHover;
1016
+ color: @warningColorHover;
1017
+ }
1018
+ }
1019
+ & when (@variationTableActive) {
1020
+ .ui.ui.selectable.table tr.active:hover,
1021
+ .ui.table tr td.selectable.active:hover,
1022
+ .ui.selectable.table tr:hover td.active {
1023
+ background: @activeBackgroundColor;
1024
+ color: @activeColor;
1025
+ }
1026
+ }
1027
+ & when (@variationTablePositive) {
1028
+ .ui.ui.selectable.table tr.positive:hover,
1029
+ .ui.table tr td.selectable.positive:hover,
1030
+ .ui.selectable.table tr:hover td.positive {
1031
+ background: @positiveBackgroundHover;
1032
+ color: @positiveColorHover;
1033
+ }
1034
+ }
1035
+ & when (@variationTableNegative) {
1036
+ .ui.ui.selectable.table tr.negative:hover,
1037
+ .ui.table tr td.selectable.negative:hover,
1038
+ .ui.selectable.table tr:hover td.negative {
1039
+ background: @negativeBackgroundHover;
1040
+ color: @negativeColorHover;
1041
+ }
1042
+ }
1043
+ }
1076
1044
 
1077
- /* Bottom */
1078
- .ui[class*="bottom attached"].table {
1079
- bottom: 0;
1080
- margin-top: 0;
1081
- top: @attachedBottomOffset;
1082
- margin-bottom: @verticalMargin;
1083
- box-shadow: @attachedBottomBoxShadow;
1084
- border-radius: 0 0 @borderRadius @borderRadius;
1085
- }
1086
- .ui[class*="bottom attached"].table:last-child {
1087
- margin-bottom: 0;
1088
- }
1045
+ & when (@variationTableAttached) {
1046
+ /* -------------------
1047
+ Attached
1048
+ -------------------- */
1049
+
1050
+ /* Middle */
1051
+ .ui.attached.table {
1052
+ top: 0;
1053
+ bottom: 0;
1054
+ border-radius: 0;
1055
+ margin: 0 @attachedHorizontalOffset;
1056
+ width: @attachedWidth;
1057
+ max-width: @attachedWidth;
1058
+ box-shadow: @attachedBoxShadow;
1059
+ border: @attachedBorder;
1060
+ }
1061
+ .ui.attached + .ui.attached.table:not(.top) {
1062
+ border-top: none;
1063
+ }
1064
+
1065
+ /* Top */
1066
+ .ui[class*="top attached"].table {
1067
+ bottom: 0;
1068
+ margin-bottom: 0;
1069
+ top: @attachedTopOffset;
1070
+ margin-top: @verticalMargin;
1071
+ border-radius: @borderRadius @borderRadius 0 0;
1072
+ }
1073
+ .ui.table[class*="top attached"]:first-child {
1074
+ margin-top: 0;
1075
+ }
1076
+
1077
+ /* Bottom */
1078
+ .ui[class*="bottom attached"].table {
1079
+ bottom: 0;
1080
+ margin-top: 0;
1081
+ top: @attachedBottomOffset;
1082
+ margin-bottom: @verticalMargin;
1083
+ box-shadow: @attachedBottomBoxShadow;
1084
+ border-radius: 0 0 @borderRadius @borderRadius;
1085
+ }
1086
+ .ui[class*="bottom attached"].table:last-child {
1087
+ margin-bottom: 0;
1088
+ }
1089
1089
  }
1090
1090
 
1091
1091
  & when (@variationTableStriped) {
1092
- /*--------------
1093
- Striped
1094
- ---------------*/
1095
-
1096
- /* Table Striping */
1097
- .ui.striped.table > tr:nth-child(2n),
1098
- .ui.striped.table > tbody > tr:nth-child(2n) {
1099
- background-color: @stripedBackground;
1100
- }
1101
- & when (@variationTableInverted) {
1102
- /* Stripes */
1103
- .ui.inverted.striped.table > tr:nth-child(2n),
1104
- .ui.inverted.striped.table > tbody > tr:nth-child(2n) {
1105
- background-color: @invertedStripedBackground;
1106
- }
1107
- }
1108
- & when (@variationTableSelectable) {
1109
- /* Allow striped active hover */
1110
- .ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
1111
- background: @activeBackgroundHover;
1112
- color: @activeColorHover;
1113
- }
1114
- }
1092
+ /* --------------
1093
+ Striped
1094
+ --------------- */
1095
+
1096
+ /* Table Striping */
1097
+ .ui.striped.table > tr:nth-child(2n),
1098
+ .ui.striped.table > tbody > tr:nth-child(2n) {
1099
+ background-color: @stripedBackground;
1100
+ }
1101
+ & when (@variationTableInverted) {
1102
+ /* Stripes */
1103
+ .ui.inverted.striped.table > tr:nth-child(2n),
1104
+ .ui.inverted.striped.table > tbody > tr:nth-child(2n) {
1105
+ background-color: @invertedStripedBackground;
1106
+ }
1107
+ }
1108
+ & when (@variationTableSelectable) {
1109
+ /* Allow striped active hover */
1110
+ .ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
1111
+ background: @activeBackgroundHover;
1112
+ color: @activeColorHover;
1113
+ }
1114
+ }
1115
1115
  }
1116
1116
 
1117
- /*--------------
1117
+ /* --------------
1118
1118
  Single Line
1119
- ---------------*/
1119
+ --------------- */
1120
1120
 
1121
1121
  .ui.table[class*="single line"],
1122
1122
  .ui.table [class*="single line"] {
1123
- white-space: nowrap;
1123
+ white-space: nowrap;
1124
1124
  }
1125
1125
 
1126
- /*-------------------
1126
+ /* -------------------
1127
1127
  Colors
1128
- --------------------*/
1128
+ -------------------- */
1129
1129
  & when not (@variationTableColors = false) {
1130
- each(@variationTableColors, {
1131
- @color: @value;
1132
- @c: @colors[@@color][color];
1133
- @t: @colors[@@color][text];
1134
- @ht: @colors[@@color][hoverText];
1135
- @l: @colors[@@color][light];
1136
- @lh: @colors[@@color][lightHover];
1137
- @r: @colors[@@color][ribbon];
1138
- @b: @colors[@@color][bright];
1139
- @bh: @colors[@@color][brightHover];
1140
- @isDark: @colors[@@color][isDark];
1141
- @isVeryDark: @colors[@@color][isVeryDark];
1142
-
1143
- .ui.@{color}.table {
1144
- border-top: @coloredBorderSize solid @c;
1145
- }
1146
- & when (@variationTableInverted) {
1147
- .ui.inverted.@{color}.table {
1148
- background: @c;
1149
- color: @white;
1150
- }
1151
- }
1152
- /* Same color for background and color to camouflage the scrollbar */
1153
- & when (@variationTableScrolling) {
1154
- .ui.scrolling.table > thead.@{color},
1155
- .ui.scrolling.table > tfoot.@{color} {
1156
- & when (@isDark) {
1157
- background: @l;
1158
- color: @l;
1159
- }
1160
- & when not (@isDark) {
1161
- background: @b;
1162
- color: @b;
1163
- }
1164
- & > tr > th,
1165
- > tr > td {
1166
- background: inherit;
1167
- & when (@isVeryDark) {
1168
- color: @white;
1169
- }
1170
- & when not (@isVeryDark) {
1171
- color: @t;
1172
- }
1173
- }
1174
- }
1175
- & when (@variationTableInverted) {
1176
- .ui.inverted.scrolling.table > thead.@{color},
1177
- .ui.inverted.scrolling.table > tfoot.@{color} {
1178
- background: @c;
1179
- color: @c;
1180
- & > tr > th,
1181
- > tr > td {
1130
+ each(@variationTableColors, {
1131
+ @color: @value;
1132
+ @c: @colors[@@color][color];
1133
+ @t: @colors[@@color][text];
1134
+ @ht: @colors[@@color][hoverText];
1135
+ @l: @colors[@@color][light];
1136
+ @lh: @colors[@@color][lightHover];
1137
+ @r: @colors[@@color][ribbon];
1138
+ @b: @colors[@@color][bright];
1139
+ @bh: @colors[@@color][brightHover];
1140
+ @isDark: @colors[@@color][isDark];
1141
+ @isVeryDark: @colors[@@color][isVeryDark];
1142
+
1143
+ .ui.@{color}.table {
1144
+ border-top: @coloredBorderSize solid @c;
1145
+ }
1146
+ & when (@variationTableInverted) {
1147
+ .ui.inverted.@{color}.table {
1148
+ background: @c;
1149
+ color: @white;
1150
+ }
1151
+ }
1152
+ /* Same color for background and color to camouflage the scrollbar */
1153
+ & when (@variationTableScrolling) {
1154
+ .ui.scrolling.table > thead.@{color},
1155
+ .ui.scrolling.table > tfoot.@{color} {
1156
+ & when (@isDark) {
1157
+ background: @l;
1158
+ color: @l;
1159
+ }
1160
+ & when not (@isDark) {
1161
+ background: @b;
1162
+ color: @b;
1163
+ }
1164
+ & > tr > th,
1165
+ > tr > td {
1166
+ background: inherit;
1167
+ & when (@isVeryDark) {
1168
+ color: @white;
1169
+ }
1170
+ & when not (@isVeryDark) {
1171
+ color: @t;
1172
+ }
1173
+ }
1174
+ }
1175
+ & when (@variationTableInverted) {
1176
+ .ui.inverted.scrolling.table > thead.@{color},
1177
+ .ui.inverted.scrolling.table > tfoot.@{color} {
1178
+ background: @c;
1179
+ color: @c;
1180
+ & > tr > th,
1181
+ > tr > td {
1182
+ background: inherit;
1183
+ color: @white;
1184
+ }
1185
+ }
1186
+ }
1187
+ }
1188
+ .ui.ui.ui.ui.table tr[class*="@{color} colored"],
1189
+ .ui.ui.table th[class*="@{color} colored"],
1190
+ .ui.ui.table td[class*="@{color} colored"],
1191
+ .ui.ui.ui.ui.table tr.@{color}:not(.marked),
1192
+ .ui.ui.table th.@{color}:not(.marked),
1193
+ .ui.ui.table td.@{color}:not(.marked) {
1194
+ & when (@stateMarkerWidth > 0) {
1195
+ box-shadow: @stateMarkerWidth 0 0 @r inset;
1196
+ }
1197
+ & when (@isDark) {
1198
+ background: @l;
1199
+ }
1200
+ & when not (@isDark) {
1201
+ background: @b;
1202
+ }
1203
+ & when (@isVeryDark) {
1204
+ color: @white;
1205
+ }
1206
+ & when not (@isVeryDark) {
1207
+ color: @t;
1208
+ }
1209
+ }
1210
+ .ui.table > thead > tr[class*="@{color} colored"] > th,
1211
+ .ui.table > tfoot > tr[class*="@{color} colored"] > th,
1212
+ .ui.table > tfoot > tr[class*="@{color} colored"] > td,
1213
+ .ui.table > thead > tr.@{color}:not(.marked) > th,
1214
+ .ui.table > tfoot > tr.@{color}:not(.marked) > th,
1215
+ .ui.table > tfoot > tr.@{color}:not(.marked) > td {
1182
1216
  background: inherit;
1183
- color: @white;
1184
- }
1185
- }
1186
- }
1187
- }
1188
- .ui.ui.ui.ui.table tr[class*="@{color} colored"],
1189
- .ui.ui.table th[class*="@{color} colored"],
1190
- .ui.ui.table td[class*="@{color} colored"],
1191
- .ui.ui.ui.ui.table tr.@{color}:not(.marked),
1192
- .ui.ui.table th.@{color}:not(.marked),
1193
- .ui.ui.table td.@{color}:not(.marked) {
1194
- & when (@stateMarkerWidth > 0) {
1195
- box-shadow: @stateMarkerWidth 0 0 @r inset;
1196
- }
1197
- & when (@isDark) {
1198
- background: @l;
1199
- }
1200
- & when not (@isDark) {
1201
- background: @b;
1202
- }
1203
- & when (@isVeryDark) {
1204
- color: @white;
1205
- }
1206
- & when not (@isVeryDark) {
1207
- color: @t;
1208
- }
1209
- }
1210
- .ui.table > thead > tr[class*="@{color} colored"] > th,
1211
- .ui.table > tfoot > tr[class*="@{color} colored"] > th,
1212
- .ui.table > tfoot > tr[class*="@{color} colored"] > td,
1213
- .ui.table > thead > tr.@{color}:not(.marked) > th,
1214
- .ui.table > tfoot > tr.@{color}:not(.marked) > th,
1215
- .ui.table > tfoot > tr.@{color}:not(.marked) > td {
1216
- background: inherit;
1217
- & when (@isVeryDark) {
1218
- color: @white;
1219
- }
1220
- & when not (@isVeryDark) {
1221
- color: @t;
1222
- }
1223
- }
1217
+ & when (@isVeryDark) {
1218
+ color: @white;
1219
+ }
1220
+ & when not (@isVeryDark) {
1221
+ color: @t;
1222
+ }
1223
+ }
1224
1224
 
1225
- & when (@variationTableInverted) {
1226
- .ui.ui.ui.ui.inverted.table tr[class*="@{color} colored"],
1227
- .ui.ui.inverted.table th[class*="@{color} colored"],
1228
- .ui.ui.inverted.table td[class*="@{color} colored"],
1229
- .ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
1230
- .ui.ui.inverted.table th.@{color}:not(.marked),
1231
- .ui.ui.inverted.table td.@{color}:not(.marked) {
1232
- background: @c;
1233
- color: @white;
1234
- }
1235
- .ui.inverted.table > thead > tr[class*="@{color} colored"] > th,
1236
- .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > th,
1237
- .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > td,
1238
- .ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
1239
- .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
1240
- .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
1241
- background: inherit;
1242
- color: @white;
1243
- }
1244
- }
1245
- & when (@variationTableSelectable) {
1246
- .ui.ui.selectable.table tr[class*="@{color} colored"]:hover,
1247
- .ui.table tr td.selectable[class*="@{color} colored"]:hover,
1248
- .ui.selectable.table tr:hover td[class*="@{color} colored"],
1249
- .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
1250
- .ui.table tr td.selectable.@{color}:not(.marked):hover,
1251
- .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1252
- & when (@isDark) {
1253
- background: @lh;
1254
- }
1255
- & when not (@isDark) {
1256
- background: @bh;
1257
- }
1258
- & when (@isVeryDark) {
1259
- color: @white;
1260
- }
1261
- & when not (@isVeryDark) {
1262
- color: @ht;
1263
- }
1264
- }
1265
- & when (@variationTableInverted) {
1266
- .ui.ui.inverted.selectable.table tr[class*="@{color} colored"]:hover,
1267
- .ui.inverted.table tr td.selectable[class*="@{color} colored"]:hover,
1268
- .ui.inverted.selectable.table tr:hover td[class*="@{color} colored"],
1269
- .ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
1270
- .ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
1271
- .ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
1272
- & when (@isDark) {
1273
- background: @bh;
1274
- }
1275
- & when not (@isDark) {
1276
- background: @lh;
1277
- }
1278
- & when (@isVeryDark) {
1279
- color: @ht;
1280
- }
1281
- & when not (@isVeryDark) {
1282
- color: @white;
1283
- }
1284
- }
1285
- }
1286
- }
1287
- & when (@variationTableMarked) {
1288
- .ui.table td[class*="@{color} marked"],
1289
- .ui.table tr[class*="@{color} marked"] {
1290
- &.left {
1291
- box-shadow: @coloredBorderSize 0 0 0 @c inset;
1292
- }
1293
- &.right {
1294
- box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1295
- }
1296
- }
1297
- & when (@variationTableInverted) {
1298
- .ui.inverted.table td[class*="@{color} marked"],
1299
- .ui.inverted.table tr[class*="@{color} marked"] {
1300
- &.left {
1301
- box-shadow: @coloredBorderSize 0 0 0 @l inset;
1302
- }
1303
- &.right {
1304
- box-shadow: -@coloredBorderSize 0 0 0 @l inset;
1305
- }
1306
- }
1307
- }
1308
- }
1309
-
1310
- })
1225
+ & when (@variationTableInverted) {
1226
+ .ui.ui.ui.ui.inverted.table tr[class*="@{color} colored"],
1227
+ .ui.ui.inverted.table th[class*="@{color} colored"],
1228
+ .ui.ui.inverted.table td[class*="@{color} colored"],
1229
+ .ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
1230
+ .ui.ui.inverted.table th.@{color}:not(.marked),
1231
+ .ui.ui.inverted.table td.@{color}:not(.marked) {
1232
+ background: @c;
1233
+ color: @white;
1234
+ }
1235
+ .ui.inverted.table > thead > tr[class*="@{color} colored"] > th,
1236
+ .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > th,
1237
+ .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > td,
1238
+ .ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
1239
+ .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
1240
+ .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
1241
+ background: inherit;
1242
+ color: @white;
1243
+ }
1244
+ }
1245
+ & when (@variationTableSelectable) {
1246
+ .ui.ui.selectable.table tr[class*="@{color} colored"]:hover,
1247
+ .ui.table tr td.selectable[class*="@{color} colored"]:hover,
1248
+ .ui.selectable.table tr:hover td[class*="@{color} colored"],
1249
+ .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
1250
+ .ui.table tr td.selectable.@{color}:not(.marked):hover,
1251
+ .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1252
+ & when (@isDark) {
1253
+ background: @lh;
1254
+ }
1255
+ & when not (@isDark) {
1256
+ background: @bh;
1257
+ }
1258
+ & when (@isVeryDark) {
1259
+ color: @white;
1260
+ }
1261
+ & when not (@isVeryDark) {
1262
+ color: @ht;
1263
+ }
1264
+ }
1265
+ & when (@variationTableInverted) {
1266
+ .ui.ui.inverted.selectable.table tr[class*="@{color} colored"]:hover,
1267
+ .ui.inverted.table tr td.selectable[class*="@{color} colored"]:hover,
1268
+ .ui.inverted.selectable.table tr:hover td[class*="@{color} colored"],
1269
+ .ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
1270
+ .ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
1271
+ .ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
1272
+ & when (@isDark) {
1273
+ background: @bh;
1274
+ }
1275
+ & when not (@isDark) {
1276
+ background: @lh;
1277
+ }
1278
+ & when (@isVeryDark) {
1279
+ color: @ht;
1280
+ }
1281
+ & when not (@isVeryDark) {
1282
+ color: @white;
1283
+ }
1284
+ }
1285
+ }
1286
+ }
1287
+ & when (@variationTableMarked) {
1288
+ .ui.table td[class*="@{color} marked"],
1289
+ .ui.table tr[class*="@{color} marked"] {
1290
+ &.left {
1291
+ box-shadow: @coloredBorderSize 0 0 0 @c inset;
1292
+ }
1293
+ &.right {
1294
+ box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1295
+ }
1296
+ }
1297
+ & when (@variationTableInverted) {
1298
+ .ui.inverted.table td[class*="@{color} marked"],
1299
+ .ui.inverted.table tr[class*="@{color} marked"] {
1300
+ &.left {
1301
+ box-shadow: @coloredBorderSize 0 0 0 @l inset;
1302
+ }
1303
+ &.right {
1304
+ box-shadow: -@coloredBorderSize 0 0 0 @l inset;
1305
+ }
1306
+ }
1307
+ }
1308
+ }
1309
+
1310
+ });
1311
1311
  }
1312
1312
 
1313
1313
  & when (@variationTableEqualWidth) {
1314
- /*--------------
1315
- Column Count
1316
- ---------------*/
1317
-
1318
- /* Grid Based */
1319
- .ui.one.column.table td {
1320
- width: @oneColumn;
1321
- }
1322
- .ui.two.column.table td {
1323
- width: @twoColumn;
1324
- }
1325
- .ui.three.column.table td {
1326
- width: @threeColumn;
1327
- }
1328
- .ui.four.column.table td {
1329
- width: @fourColumn;
1330
- }
1331
- .ui.five.column.table td {
1332
- width: @fiveColumn;
1333
- }
1334
- .ui.six.column.table td {
1335
- width: @sixColumn;
1336
- }
1337
- .ui.seven.column.table td {
1338
- width: @sevenColumn;
1339
- }
1340
- .ui.eight.column.table td {
1341
- width: @eightColumn;
1342
- }
1343
- .ui.nine.column.table td {
1344
- width: @nineColumn;
1345
- }
1346
- .ui.ten.column.table td {
1347
- width: @tenColumn;
1348
- }
1349
- .ui.eleven.column.table td {
1350
- width: @elevenColumn;
1351
- }
1352
- .ui.twelve.column.table td {
1353
- width: @twelveColumn;
1354
- }
1355
- .ui.thirteen.column.table td {
1356
- width: @thirteenColumn;
1357
- }
1358
- .ui.fourteen.column.table td {
1359
- width: @fourteenColumn;
1360
- }
1361
- .ui.fifteen.column.table td {
1362
- width: @fifteenColumn;
1363
- }
1364
- .ui.sixteen.column.table td {
1365
- width: @sixteenColumn;
1366
- }
1314
+ /* --------------
1315
+ Column Count
1316
+ --------------- */
1317
+
1318
+ /* Grid Based */
1319
+ .ui.one.column.table td {
1320
+ width: @oneColumn;
1321
+ }
1322
+ .ui.two.column.table td {
1323
+ width: @twoColumn;
1324
+ }
1325
+ .ui.three.column.table td {
1326
+ width: @threeColumn;
1327
+ }
1328
+ .ui.four.column.table td {
1329
+ width: @fourColumn;
1330
+ }
1331
+ .ui.five.column.table td {
1332
+ width: @fiveColumn;
1333
+ }
1334
+ .ui.six.column.table td {
1335
+ width: @sixColumn;
1336
+ }
1337
+ .ui.seven.column.table td {
1338
+ width: @sevenColumn;
1339
+ }
1340
+ .ui.eight.column.table td {
1341
+ width: @eightColumn;
1342
+ }
1343
+ .ui.nine.column.table td {
1344
+ width: @nineColumn;
1345
+ }
1346
+ .ui.ten.column.table td {
1347
+ width: @tenColumn;
1348
+ }
1349
+ .ui.eleven.column.table td {
1350
+ width: @elevenColumn;
1351
+ }
1352
+ .ui.twelve.column.table td {
1353
+ width: @twelveColumn;
1354
+ }
1355
+ .ui.thirteen.column.table td {
1356
+ width: @thirteenColumn;
1357
+ }
1358
+ .ui.fourteen.column.table td {
1359
+ width: @fourteenColumn;
1360
+ }
1361
+ .ui.fifteen.column.table td {
1362
+ width: @fifteenColumn;
1363
+ }
1364
+ .ui.sixteen.column.table td {
1365
+ width: @sixteenColumn;
1366
+ }
1367
1367
  }
1368
1368
 
1369
1369
  & when (@variationTableWide) {
1370
- /* Column Width */
1371
- .ui.table th.one.wide,
1372
- .ui.table td.one.wide {
1373
- width: @oneWide;
1374
- }
1375
- .ui.table th.two.wide,
1376
- .ui.table td.two.wide {
1377
- width: @twoWide;
1378
- }
1379
- .ui.table th.three.wide,
1380
- .ui.table td.three.wide {
1381
- width: @threeWide;
1382
- }
1383
- .ui.table th.four.wide,
1384
- .ui.table td.four.wide {
1385
- width: @fourWide;
1386
- }
1387
- .ui.table th.five.wide,
1388
- .ui.table td.five.wide {
1389
- width: @fiveWide;
1390
- }
1391
- .ui.table th.six.wide,
1392
- .ui.table td.six.wide {
1393
- width: @sixWide;
1394
- }
1395
- .ui.table th.seven.wide,
1396
- .ui.table td.seven.wide {
1397
- width: @sevenWide;
1398
- }
1399
- .ui.table th.eight.wide,
1400
- .ui.table td.eight.wide {
1401
- width: @eightWide;
1402
- }
1403
- .ui.table th.nine.wide,
1404
- .ui.table td.nine.wide {
1405
- width: @nineWide;
1406
- }
1407
- .ui.table th.ten.wide,
1408
- .ui.table td.ten.wide {
1409
- width: @tenWide;
1410
- }
1411
- .ui.table th.eleven.wide,
1412
- .ui.table td.eleven.wide {
1413
- width: @elevenWide;
1414
- }
1415
- .ui.table th.twelve.wide,
1416
- .ui.table td.twelve.wide {
1417
- width: @twelveWide;
1418
- }
1419
- .ui.table th.thirteen.wide,
1420
- .ui.table td.thirteen.wide {
1421
- width: @thirteenWide;
1422
- }
1423
- .ui.table th.fourteen.wide,
1424
- .ui.table td.fourteen.wide {
1425
- width: @fourteenWide;
1426
- }
1427
- .ui.table th.fifteen.wide,
1428
- .ui.table td.fifteen.wide {
1429
- width: @fifteenWide;
1430
- }
1431
- .ui.table th.sixteen.wide,
1432
- .ui.table td.sixteen.wide {
1433
- width: @sixteenWide;
1434
- }
1370
+ /* Column Width */
1371
+ .ui.table th.one.wide,
1372
+ .ui.table td.one.wide {
1373
+ width: @oneWide;
1374
+ }
1375
+ .ui.table th.two.wide,
1376
+ .ui.table td.two.wide {
1377
+ width: @twoWide;
1378
+ }
1379
+ .ui.table th.three.wide,
1380
+ .ui.table td.three.wide {
1381
+ width: @threeWide;
1382
+ }
1383
+ .ui.table th.four.wide,
1384
+ .ui.table td.four.wide {
1385
+ width: @fourWide;
1386
+ }
1387
+ .ui.table th.five.wide,
1388
+ .ui.table td.five.wide {
1389
+ width: @fiveWide;
1390
+ }
1391
+ .ui.table th.six.wide,
1392
+ .ui.table td.six.wide {
1393
+ width: @sixWide;
1394
+ }
1395
+ .ui.table th.seven.wide,
1396
+ .ui.table td.seven.wide {
1397
+ width: @sevenWide;
1398
+ }
1399
+ .ui.table th.eight.wide,
1400
+ .ui.table td.eight.wide {
1401
+ width: @eightWide;
1402
+ }
1403
+ .ui.table th.nine.wide,
1404
+ .ui.table td.nine.wide {
1405
+ width: @nineWide;
1406
+ }
1407
+ .ui.table th.ten.wide,
1408
+ .ui.table td.ten.wide {
1409
+ width: @tenWide;
1410
+ }
1411
+ .ui.table th.eleven.wide,
1412
+ .ui.table td.eleven.wide {
1413
+ width: @elevenWide;
1414
+ }
1415
+ .ui.table th.twelve.wide,
1416
+ .ui.table td.twelve.wide {
1417
+ width: @twelveWide;
1418
+ }
1419
+ .ui.table th.thirteen.wide,
1420
+ .ui.table td.thirteen.wide {
1421
+ width: @thirteenWide;
1422
+ }
1423
+ .ui.table th.fourteen.wide,
1424
+ .ui.table td.fourteen.wide {
1425
+ width: @fourteenWide;
1426
+ }
1427
+ .ui.table th.fifteen.wide,
1428
+ .ui.table td.fifteen.wide {
1429
+ width: @fifteenWide;
1430
+ }
1431
+ .ui.table th.sixteen.wide,
1432
+ .ui.table td.sixteen.wide {
1433
+ width: @sixteenWide;
1434
+ }
1435
1435
  }
1436
1436
 
1437
1437
  & when (@variationTableSortable) {
1438
- /*--------------
1439
- Sortable
1440
- ---------------*/
1438
+ /* --------------
1439
+ Sortable
1440
+ --------------- */
1441
+
1442
+ .ui.sortable.table > thead > tr > th {
1443
+ cursor: pointer;
1444
+ white-space: nowrap;
1445
+ color: @sortableColor;
1446
+ }
1447
+ & when (@variationTableCelled) {
1448
+ .ui.celled.sortable.table > thead > tr > th:not(:first-child) {
1449
+ border-left: @sortableBorder;
1450
+ }
1451
+ }
1452
+ .ui.sortable.table thead th.sorted,
1453
+ .ui.sortable.table thead th.sorted:hover {
1454
+ user-select: none;
1455
+ }
1441
1456
 
1442
- .ui.sortable.table > thead > tr > th {
1443
- cursor: pointer;
1444
- white-space: nowrap;
1445
- color: @sortableColor;
1446
- }
1447
- & when (@variationTableCelled) {
1448
- .ui.celled.sortable.table > thead > tr > th:not(:first-child) {
1449
- border-left: @sortableBorder;
1450
- }
1451
- }
1452
- .ui.sortable.table thead th.sorted,
1453
- .ui.sortable.table thead th.sorted:hover {
1454
- user-select: none;
1455
- }
1456
-
1457
- .ui.sortable.table > thead > tr > th::after {
1458
- display: none;
1459
- font-style: normal;
1460
- font-weight: @normal;
1461
- text-decoration: inherit;
1462
- content: '';
1463
- height: 1em;
1464
- width: @sortableIconWidth;
1465
- opacity: @sortableIconOpacity;
1466
- margin: 0 0 0 @sortableIconDistance;
1467
- font-family: @sortableIconFont;
1468
- }
1469
- .ui.sortable.table thead th.ascending::after {
1470
- content: @sortableIconAscending;
1471
- }
1472
- .ui.sortable.table thead th.descending::after {
1473
- content: @sortableIconDescending;
1474
- }
1475
-
1476
- & when (@variationTableDisabled) {
1477
- /* Hover */
1478
- .ui.sortable.table th.disabled:hover {
1479
- cursor: auto;
1480
- color: @sortableDisabledColor;
1481
- }
1482
- }
1483
- .ui.sortable.table > thead > tr > th:hover {
1484
- color: @sortableHoverColor;
1485
- }
1486
- .ui.sortable.table:not(.basic) > thead > tr > th:hover {
1487
- background: @sortableHoverBackground;
1488
- }
1489
-
1490
- /* Sorted */
1491
- .ui.sortable.table thead th.sorted {
1492
- color: @sortableActiveColor;
1493
- }
1494
- .ui.sortable.table:not(.basic) thead th.sorted {
1495
- background: @sortableActiveBackground;
1496
- }
1497
- .ui.sortable.table thead th.sorted::after {
1498
- display: inline-block;
1499
- }
1500
-
1501
- /* Sorted Hover */
1502
- .ui.sortable.table thead th.sorted:hover {
1503
- color: @sortableActiveHoverColor;
1504
- }
1505
- .ui.sortable.table:not(.basic) thead th.sorted:hover {
1506
- background: @sortableActiveHoverBackground;
1507
- }
1508
- & when (@variationTableInverted) {
1509
- /* Inverted */
1510
- .ui.inverted.sortable.table thead th.sorted {
1511
- color: @sortableInvertedActiveColor;
1512
- }
1513
- .ui.inverted.sortable.table:not(.basic) thead th.sorted {
1514
- background: @sortableInvertedActiveBackground;
1515
- }
1516
- .ui.inverted.sortable.table > thead > tr > th:hover {
1517
- color: @sortableInvertedHoverColor;
1518
- }
1519
- .ui.inverted.sortable.table:not(.basic) > thead > tr > th:hover {
1520
- background: @sortableInvertedHoverBackground;
1521
- }
1522
- .ui.inverted.sortable.table:not(.basic) > thead > tr > th {
1523
- border-left-color: @sortableInvertedBorderColor;
1524
- border-right-color: @sortableInvertedBorderColor;
1525
- }
1526
- }
1457
+ .ui.sortable.table > thead > tr > th::after {
1458
+ display: none;
1459
+ font-style: normal;
1460
+ font-weight: @normal;
1461
+ text-decoration: inherit;
1462
+ content: "";
1463
+ height: 1em;
1464
+ width: @sortableIconWidth;
1465
+ opacity: @sortableIconOpacity;
1466
+ margin: 0 0 0 @sortableIconDistance;
1467
+ font-family: @sortableIconFont;
1468
+ }
1469
+ .ui.sortable.table thead th.ascending::after {
1470
+ content: @sortableIconAscending;
1471
+ }
1472
+ .ui.sortable.table thead th.descending::after {
1473
+ content: @sortableIconDescending;
1474
+ }
1475
+
1476
+ & when (@variationTableDisabled) {
1477
+ /* Hover */
1478
+ .ui.sortable.table th.disabled:hover {
1479
+ cursor: auto;
1480
+ color: @sortableDisabledColor;
1481
+ }
1482
+ }
1483
+ .ui.sortable.table > thead > tr > th:hover {
1484
+ color: @sortableHoverColor;
1485
+ }
1486
+ .ui.sortable.table:not(.basic) > thead > tr > th:hover {
1487
+ background: @sortableHoverBackground;
1488
+ }
1489
+
1490
+ /* Sorted */
1491
+ .ui.sortable.table thead th.sorted {
1492
+ color: @sortableActiveColor;
1493
+ }
1494
+ .ui.sortable.table:not(.basic) thead th.sorted {
1495
+ background: @sortableActiveBackground;
1496
+ }
1497
+ .ui.sortable.table thead th.sorted::after {
1498
+ display: inline-block;
1499
+ }
1500
+
1501
+ /* Sorted Hover */
1502
+ .ui.sortable.table thead th.sorted:hover {
1503
+ color: @sortableActiveHoverColor;
1504
+ }
1505
+ .ui.sortable.table:not(.basic) thead th.sorted:hover {
1506
+ background: @sortableActiveHoverBackground;
1507
+ }
1508
+ & when (@variationTableInverted) {
1509
+ /* Inverted */
1510
+ .ui.inverted.sortable.table thead th.sorted {
1511
+ color: @sortableInvertedActiveColor;
1512
+ }
1513
+ .ui.inverted.sortable.table:not(.basic) thead th.sorted {
1514
+ background: @sortableInvertedActiveBackground;
1515
+ }
1516
+ .ui.inverted.sortable.table > thead > tr > th:hover {
1517
+ color: @sortableInvertedHoverColor;
1518
+ }
1519
+ .ui.inverted.sortable.table:not(.basic) > thead > tr > th:hover {
1520
+ background: @sortableInvertedHoverBackground;
1521
+ }
1522
+ .ui.inverted.sortable.table:not(.basic) > thead > tr > th {
1523
+ border-left-color: @sortableInvertedBorderColor;
1524
+ border-right-color: @sortableInvertedBorderColor;
1525
+ }
1526
+ }
1527
1527
  }
1528
1528
 
1529
1529
  & when (@variationTableInverted) {
1530
- /*--------------
1531
- Inverted
1532
- ---------------*/
1533
-
1534
- /* Text Color */
1535
- .ui.inverted.table {
1536
- background: @invertedBackground;
1537
- color: @invertedCellColor;
1538
- border: @invertedBorder;
1539
- }
1540
- .ui.ui.inverted.table > thead > tr > th,
1541
- .ui.ui.inverted.table > tbody > tr > th,
1542
- .ui.ui.inverted.table > tr > th {
1543
- background-color: @invertedHeaderBackground;
1544
- border-color: @invertedHeaderBorderColor;
1545
- color: @invertedHeaderColor;
1546
- }
1547
- .ui.ui.inverted.table > tfoot > tr > th,
1548
- .ui.ui.inverted.table > tfoot > tr > td {
1549
- background-color: @invertedFooterBackground;
1550
- border-color: @invertedFooterBorderColor;
1551
- color: @invertedFooterColor;
1552
- }
1553
- .ui.inverted.table > tbody > tr > td,
1554
- .ui.inverted.table > tfoot > tr > td,
1555
- .ui.inverted.table > tr > td {
1556
- border-color: @invertedCellBorderColor;
1557
- }
1558
- & when (@variationTableDisabled) {
1559
- .ui.inverted.table tr.disabled td,
1560
- .ui.inverted.table tr td.disabled,
1561
- .ui.inverted.table tr.disabled:hover td,
1562
- .ui.inverted.table tr:hover td.disabled {
1563
- pointer-events: none;
1564
- color: @invertedDisabledTextColor;
1565
- }
1566
- .ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
1567
- .ui.inverted.table tr.disabled:not([class="disabled"]) td,
1568
- .ui.inverted.table tr.disabled td[class]:not(.disabled),
1569
- .ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
1570
- color: @disabledTextColor;
1571
- }
1572
- }
1573
- & when (@variationTableDefinition) {
1574
- /* Definition */
1575
- .ui.inverted.definition.table > tfoot:not(.full-width) > tr > th:first-child,
1576
- .ui.inverted.definition.table > thead:not(.full-width) > tr > th:first-child {
1577
- background: @definitionPageBackground;
1578
- }
1579
- .ui.inverted.definition.table > tbody > tr > td:first-child,
1580
- .ui.inverted.definition.table > tfoot > tr > td:first-child,
1581
- .ui.inverted.definition.table > tr > td:first-child {
1582
- background: @invertedDefinitionColumnBackground;
1583
- color: @invertedDefinitionColumnColor;
1584
- }
1585
- }
1530
+ /* --------------
1531
+ Inverted
1532
+ --------------- */
1533
+
1534
+ /* Text Color */
1535
+ .ui.inverted.table {
1536
+ background: @invertedBackground;
1537
+ color: @invertedCellColor;
1538
+ border: @invertedBorder;
1539
+ }
1540
+ .ui.ui.inverted.table > thead > tr > th,
1541
+ .ui.ui.inverted.table > tbody > tr > th,
1542
+ .ui.ui.inverted.table > tr > th {
1543
+ background-color: @invertedHeaderBackground;
1544
+ border-color: @invertedHeaderBorderColor;
1545
+ color: @invertedHeaderColor;
1546
+ }
1547
+ .ui.ui.inverted.table > tfoot > tr > th,
1548
+ .ui.ui.inverted.table > tfoot > tr > td {
1549
+ background-color: @invertedFooterBackground;
1550
+ border-color: @invertedFooterBorderColor;
1551
+ color: @invertedFooterColor;
1552
+ }
1553
+ .ui.inverted.table > tbody > tr > td,
1554
+ .ui.inverted.table > tfoot > tr > td,
1555
+ .ui.inverted.table > tr > td {
1556
+ border-color: @invertedCellBorderColor;
1557
+ }
1558
+ & when (@variationTableDisabled) {
1559
+ .ui.ui.ui.inverted.table tr.disabled td,
1560
+ .ui.ui.ui.inverted.table tr td.disabled,
1561
+ .ui.inverted.table tr.disabled:hover td,
1562
+ .ui.inverted.table tr:hover td.disabled {
1563
+ pointer-events: none;
1564
+ color: @invertedDisabledTextColor;
1565
+ }
1566
+ .ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
1567
+ .ui.inverted.table tr.disabled:not([class="disabled"]) td,
1568
+ .ui.inverted.table tr.disabled td[class]:not(.disabled),
1569
+ .ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
1570
+ color: @disabledTextColor;
1571
+ }
1572
+ }
1573
+ & when (@variationTableDefinition) {
1574
+ /* Definition */
1575
+ .ui.inverted.definition.table > tfoot:not(.full-width) > tr > th:first-child,
1576
+ .ui.inverted.definition.table > thead:not(.full-width) > tr > th:first-child {
1577
+ background: @definitionPageBackground;
1578
+ }
1579
+ .ui.inverted.definition.table > tbody > tr > td:first-child,
1580
+ .ui.inverted.definition.table > tfoot > tr > td:first-child,
1581
+ .ui.inverted.definition.table > tr > td:first-child {
1582
+ background: @invertedDefinitionColumnBackground;
1583
+ color: @invertedDefinitionColumnColor;
1584
+ }
1585
+ }
1586
1586
  }
1587
1587
 
1588
1588
  & when (@variationTableCollapsing) {
1589
- /*--------------
1590
- Collapsing
1591
- ---------------*/
1589
+ /* --------------
1590
+ Collapsing
1591
+ --------------- */
1592
1592
 
1593
- .ui.collapsing.table {
1594
- width: auto;
1595
- }
1593
+ .ui.collapsing.table {
1594
+ width: auto;
1595
+ }
1596
1596
  }
1597
1597
 
1598
- & when (@variationTableBasic) or (@variationTableVeryBasic){
1599
- /*--------------
1600
- Basic
1601
- ---------------*/
1602
-
1603
- .ui.basic.table {
1604
- background: @basicTableBackground;
1605
- border: @basicTableBorder;
1606
- box-shadow: @basicBoxShadow;
1607
- }
1608
- .ui.basic.table > thead,
1609
- .ui.basic.table > tfoot {
1610
- box-shadow: none;
1611
- }
1612
- .ui.basic.table > thead > tr > th,
1613
- .ui.basic.table > tbody > tr > th,
1614
- .ui.basic.table > tfoot > tr > th,
1615
- .ui.basic.table > tr > th {
1616
- background: @basicTableHeaderBackground;
1617
- border-left: @basicTableHeaderDivider;
1618
- }
1619
- .ui.basic.table > tbody > tr {
1620
- border-bottom: @basicTableCellBorder;
1621
- }
1622
- .ui.basic.table > tbody > tr > td,
1623
- .ui.basic.table > tfoot > tr > td,
1624
- .ui.basic.table >tr > td {
1625
- background: @basicTableCellBackground;
1626
- }
1627
- & when (@variationTableStriped) {
1628
- .ui.basic.striped.table > tbody > tr:nth-child(2n) {
1629
- background-color: @basicTableStripedBackground;
1630
- }
1631
- }
1632
- & when (@variationTableVeryBasic) {
1633
- /* Very Basic */
1634
- .ui[class*="very basic"].table {
1635
- border: none;
1636
- }
1637
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1638
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1639
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1640
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1641
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1642
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1643
- padding: @basicTableCellPadding;
1644
- }
1645
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1646
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1647
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1648
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1649
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1650
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
1651
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1652
- padding-left: 0;
1653
- }
1654
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1655
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1656
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1657
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1658
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1659
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1660
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
1661
- padding-right: 0;
1662
- }
1663
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1664
- padding-top: 0;
1665
- }
1666
- }
1598
+ & when (@variationTableBasic) or (@variationTableVeryBasic) {
1599
+ /* --------------
1600
+ Basic
1601
+ --------------- */
1602
+
1603
+ .ui.basic.table {
1604
+ background: @basicTableBackground;
1605
+ border: @basicTableBorder;
1606
+ box-shadow: @basicBoxShadow;
1607
+ }
1608
+ .ui.basic.table > thead,
1609
+ .ui.basic.table > tfoot {
1610
+ box-shadow: none;
1611
+ }
1612
+ .ui.basic.table > thead > tr > th,
1613
+ .ui.basic.table > tbody > tr > th,
1614
+ .ui.basic.table > tfoot > tr > th,
1615
+ .ui.basic.table > tr > th {
1616
+ background: @basicTableHeaderBackground;
1617
+ border-left: @basicTableHeaderDivider;
1618
+ }
1619
+ .ui.basic.table > tbody > tr {
1620
+ border-bottom: @basicTableCellBorder;
1621
+ }
1622
+ .ui.basic.table > tbody > tr > td,
1623
+ .ui.basic.table > tfoot > tr > td,
1624
+ .ui.basic.table > tr > td {
1625
+ background: @basicTableCellBackground;
1626
+ }
1627
+ & when (@variationTableStriped) {
1628
+ .ui.basic.striped.table > tbody > tr:nth-child(2n) {
1629
+ background-color: @basicTableStripedBackground;
1630
+ }
1631
+ }
1632
+ & when (@variationTableVeryBasic) {
1633
+ /* Very Basic */
1634
+ .ui[class*="very basic"].table {
1635
+ border: none;
1636
+ }
1637
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1638
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1639
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1640
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1641
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1642
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1643
+ padding: @basicTableCellPadding;
1644
+ }
1645
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1646
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1647
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1648
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1649
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1650
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
1651
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1652
+ padding-left: 0;
1653
+ }
1654
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1655
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1656
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1657
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1658
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1659
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1660
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
1661
+ padding-right: 0;
1662
+ }
1663
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1664
+ padding-top: 0;
1665
+ }
1666
+ }
1667
1667
  }
1668
1668
 
1669
1669
  & when (@variationTableCelled) {
1670
- /*--------------
1671
- Celled
1672
- ---------------*/
1673
-
1674
- .ui.celled.table > tr > th,
1675
- .ui.celled.table > thead > tr > th,
1676
- .ui.celled.table > tbody > tr > th,
1677
- .ui.celled.table > tfoot > tr > th,
1678
- .ui.celled.table > tr > td,
1679
- .ui.celled.table > tbody > tr > td ,
1680
- .ui.celled.table > tfoot > tr > td {
1681
- border-left: @cellBorder;
1682
- }
1683
- & when (@variationTableInverted) {
1684
- .ui.inverted.celled.table > tbody > tr > td,
1685
- .ui.inverted.celled.table > tr > td {
1686
- border-left: @invertedCellBorder;
1687
- }
1688
- }
1689
- .ui.celled.table > tr > th:first-child,
1690
- .ui.celled.table > thead > tr > th:first-child,
1691
- .ui.celled.table > tbody > tr > th:first-child,
1692
- .ui.celled.table > tfoot > tr > th:first-child,
1693
- .ui.celled.table > tr > td:first-child,
1694
- .ui.celled.table > tbody > tr > td:first-child,
1695
- .ui.celled.table > tfoot >tr > td:first-child {
1696
- border-left: none;
1697
- }
1670
+ /* --------------
1671
+ Celled
1672
+ --------------- */
1673
+
1674
+ .ui.celled.table > tr > th,
1675
+ .ui.celled.table > thead > tr > th,
1676
+ .ui.celled.table > tbody > tr > th,
1677
+ .ui.celled.table > tfoot > tr > th,
1678
+ .ui.celled.table > tr > td,
1679
+ .ui.celled.table > tbody > tr > td,
1680
+ .ui.celled.table > tfoot > tr > td {
1681
+ border-left: @cellBorder;
1682
+ }
1683
+ & when (@variationTableInverted) {
1684
+ .ui.inverted.celled.table > tbody > tr > td,
1685
+ .ui.inverted.celled.table > tr > td {
1686
+ border-left: @invertedCellBorder;
1687
+ }
1688
+ }
1689
+ .ui.celled.table > tr > th:first-child,
1690
+ .ui.celled.table > thead > tr > th:first-child,
1691
+ .ui.celled.table > tbody > tr > th:first-child,
1692
+ .ui.celled.table > tfoot > tr > th:first-child,
1693
+ .ui.celled.table > tr > td:first-child,
1694
+ .ui.celled.table > tbody > tr > td:first-child,
1695
+ .ui.celled.table > tfoot > tr > td:first-child {
1696
+ border-left: none;
1697
+ }
1698
1698
  }
1699
1699
 
1700
1700
  & when (@variationTablePadded) or (@variationTableVeryPadded) {
1701
- /*--------------
1702
- Padded
1703
- ---------------*/
1704
-
1705
- .ui.padded.table > tr > th,
1706
- .ui.padded.table > thead > tr > th,
1707
- .ui.padded.table > tbody > tr > th,
1708
- .ui.padded.table > tfoot > tr > th {
1709
- padding-left: @paddedHorizontalPadding;
1710
- padding-right: @paddedHorizontalPadding;
1711
- }
1712
- .ui.padded.table > tr > th,
1713
- .ui.padded.table > thead > tr > th,
1714
- .ui.padded.table > tbody > tr > th,
1715
- .ui.padded.table > tfoot > tr > th,
1716
- .ui.padded.table > tr > td,
1717
- .ui.padded.table > tbody > tr > td ,
1718
- .ui.padded.table > tfoot > tr > td {
1719
- padding: @paddedVerticalPadding @paddedHorizontalPadding;
1720
- }
1721
-
1722
- & when (@variationTableVeryPadded) {
1723
- /* Very */
1724
- .ui[class*="very padded"].table > tr > th,
1725
- .ui[class*="very padded"].table > thead > tr > th,
1726
- .ui[class*="very padded"].table > tbody > tr > th,
1727
- .ui[class*="very padded"].table > tfoot > tr > th {
1728
- padding-left: @veryPaddedHorizontalPadding;
1729
- padding-right: @veryPaddedHorizontalPadding;
1730
- }
1731
- .ui[class*="very padded"].table > tr > td,
1732
- .ui[class*="very padded"].table > tbody > tr > td,
1733
- .ui[class*="very padded"].table > tfoot > tr > td {
1734
- padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
1735
- }
1736
- }
1701
+ /* --------------
1702
+ Padded
1703
+ --------------- */
1704
+
1705
+ .ui.padded.table > tr > th,
1706
+ .ui.padded.table > thead > tr > th,
1707
+ .ui.padded.table > tbody > tr > th,
1708
+ .ui.padded.table > tfoot > tr > th {
1709
+ padding-left: @paddedHorizontalPadding;
1710
+ padding-right: @paddedHorizontalPadding;
1711
+ }
1712
+ .ui.padded.table > tr > th,
1713
+ .ui.padded.table > thead > tr > th,
1714
+ .ui.padded.table > tbody > tr > th,
1715
+ .ui.padded.table > tfoot > tr > th,
1716
+ .ui.padded.table > tr > td,
1717
+ .ui.padded.table > tbody > tr > td,
1718
+ .ui.padded.table > tfoot > tr > td {
1719
+ padding: @paddedVerticalPadding @paddedHorizontalPadding;
1720
+ }
1721
+
1722
+ & when (@variationTableVeryPadded) {
1723
+ /* Very */
1724
+ .ui[class*="very padded"].table > tr > th,
1725
+ .ui[class*="very padded"].table > thead > tr > th,
1726
+ .ui[class*="very padded"].table > tbody > tr > th,
1727
+ .ui[class*="very padded"].table > tfoot > tr > th {
1728
+ padding-left: @veryPaddedHorizontalPadding;
1729
+ padding-right: @veryPaddedHorizontalPadding;
1730
+ }
1731
+ .ui[class*="very padded"].table > tr > td,
1732
+ .ui[class*="very padded"].table > tbody > tr > td,
1733
+ .ui[class*="very padded"].table > tfoot > tr > td {
1734
+ padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
1735
+ }
1736
+ }
1737
1737
  }
1738
1738
 
1739
1739
  & when (@variationTableCompact) or (@variationTableVeryCompact) {
1740
- /*--------------
1741
- Compact
1742
- ---------------*/
1743
-
1744
- .ui.compact.table > tr > th,
1745
- .ui.compact.table > thead > tr > th,
1746
- .ui.compact.table > tbody > tr > th,
1747
- .ui.compact.table > tfoot > tr > th {
1748
- padding-left: @compactHorizontalPadding;
1749
- padding-right: @compactHorizontalPadding;
1750
- }
1751
- .ui.compact.table > tr > td,
1752
- .ui.compact.table > tbody > tr > td ,
1753
- .ui.compact.table > tfoot > tr > td {
1754
- padding: @compactVerticalPadding @compactHorizontalPadding;
1755
- }
1756
-
1757
- & when (@variationTableVeryCompact) {
1758
- /* Very */
1759
- .ui[class*="very compact"].table > tr > th,
1760
- .ui[class*="very compact"].table > thead > tr > th,
1761
- .ui[class*="very compact"].table > tbody > tr > th,
1762
- .ui[class*="very compact"].table > tfoot > tr > th {
1763
- padding-left: @veryCompactHorizontalPadding;
1764
- padding-right: @veryCompactHorizontalPadding;
1765
- }
1766
- .ui[class*="very compact"].table > tr > td,
1767
- .ui[class*="very compact"].table > tbody > tr > td,
1768
- .ui[class*="very compact"].table > tfoot > tr > td {
1769
- padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
1770
- }
1771
- }
1740
+ /* --------------
1741
+ Compact
1742
+ --------------- */
1743
+
1744
+ .ui.compact.table > tr > th,
1745
+ .ui.compact.table > thead > tr > th,
1746
+ .ui.compact.table > tbody > tr > th,
1747
+ .ui.compact.table > tfoot > tr > th {
1748
+ padding-left: @compactHorizontalPadding;
1749
+ padding-right: @compactHorizontalPadding;
1750
+ }
1751
+ .ui.compact.table > tr > td,
1752
+ .ui.compact.table > tbody > tr > td,
1753
+ .ui.compact.table > tfoot > tr > td {
1754
+ padding: @compactVerticalPadding @compactHorizontalPadding;
1755
+ }
1756
+
1757
+ & when (@variationTableVeryCompact) {
1758
+ /* Very */
1759
+ .ui[class*="very compact"].table > tr > th,
1760
+ .ui[class*="very compact"].table > thead > tr > th,
1761
+ .ui[class*="very compact"].table > tbody > tr > th,
1762
+ .ui[class*="very compact"].table > tfoot > tr > th {
1763
+ padding-left: @veryCompactHorizontalPadding;
1764
+ padding-right: @veryCompactHorizontalPadding;
1765
+ }
1766
+ .ui[class*="very compact"].table > tr > td,
1767
+ .ui[class*="very compact"].table > tbody > tr > td,
1768
+ .ui[class*="very compact"].table > tfoot > tr > td {
1769
+ padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
1770
+ }
1771
+ }
1772
1772
  }
1773
1773
 
1774
1774
  & when (@variationTableStuck) {
1775
- /*--------------
1776
- Stuck
1777
- ---------------*/
1775
+ /* --------------
1776
+ Stuck
1777
+ --------------- */
1778
1778
 
1779
- .ui.stuck.table:not(.inverted) {
1780
- background: @stuckBackground;
1781
- & > thead > tr {
1782
- background: @stuckHeaderBackground;
1779
+ .ui.stuck.table:not(.inverted) {
1780
+ background: @stuckBackground;
1781
+ & > thead > tr {
1782
+ background: @stuckHeaderBackground;
1783
+ }
1784
+ & > tbody > tr {
1785
+ background: @stuckBackground;
1786
+ }
1787
+ & > tfoot > tr {
1788
+ background: @stuckFooterBackground;
1789
+ }
1790
+ &.basic when (@variationTableBasic) {
1791
+ & > thead > tr,
1792
+ > tfoot > tr {
1793
+ background: @stuckBackground;
1794
+ }
1795
+ }
1783
1796
  }
1784
- & > tbody > tr {
1785
- background: @stuckBackground;
1797
+ .ui.inverted.stuck.table when (@variationTableInverted) {
1798
+ & > thead > tr {
1799
+ background: @invertedStuckHeaderBackground;
1800
+ }
1801
+ & > tbody > tr {
1802
+ background: @invertedStuckBackground;
1803
+ }
1804
+ & > tfoot > tr {
1805
+ background: @invertedStuckFooterBackground;
1806
+ }
1807
+ &.basic when (@variationTableBasic) {
1808
+ & > thead > tr,
1809
+ > tfoot > tr {
1810
+ background: @invertedStuckBackground;
1811
+ }
1812
+ }
1786
1813
  }
1787
- & > tfoot > tr {
1788
- background: @stuckFooterBackground;
1814
+ & when (@variationTableStuckHead) or (@variationTableStuckFoot) {
1815
+ .ui.head.stuck.table > thead,
1816
+ .ui.foot.stuck.table > tfoot {
1817
+ position: sticky;
1818
+ z-index: @stuckZIndex;
1819
+ }
1789
1820
  }
1790
- &.basic when (@variationTableBasic) {
1791
- & > thead > tr,
1792
- > tfoot > tr {
1793
- background: @stuckBackground;
1794
- }
1795
- }
1796
- }
1797
- .ui.inverted.stuck.table when (@variationTableInverted) {
1798
- & > thead > tr {
1799
- background: @invertedStuckHeaderBackground;
1800
- }
1801
- & > tbody > tr {
1802
- background: @invertedStuckBackground;
1803
- }
1804
- & > tfoot > tr {
1805
- background: @invertedStuckFooterBackground;
1806
- }
1807
- &.basic when (@variationTableBasic){
1808
- & > thead > tr,
1809
- > tfoot > tr {
1810
- background: @invertedStuckBackground;
1811
- }
1812
- }
1813
- }
1814
- & when (@variationTableStuckHead) or (@variationTableStuckFoot) {
1815
- .ui.head.stuck.table > thead,
1816
- .ui.foot.stuck.table > tfoot {
1817
- position: -webkit-sticky;
1818
- position: sticky;
1819
- z-index: @stuckZIndex;
1820
- }
1821
- }
1822
- .ui.head.stuck.table when (@variationTableStuckHead) {
1823
- border-top: 0;
1824
- & > thead {
1825
- top: 0;
1826
- bottom: auto;
1827
- & > tr:first-child > th {
1828
- border-top: @cellBorder;
1829
- }
1830
- }
1831
- &.inverted > thead > tr:first-child > th when (@variationTableInverted) {
1832
- border-top: @invertedCellBorder;
1833
- }
1834
- }
1835
- .ui.foot.stuck.table when (@variationTableStuckFoot) {
1836
- border-bottom: 0;
1837
- & > tfoot {
1838
- top: auto;
1839
- bottom: 0;
1840
- & > tr:last-child > td,
1841
- > tr:last-child > th {
1842
- border-bottom: @cellBorder;
1843
- }
1821
+ .ui.head.stuck.table when (@variationTableStuckHead) {
1822
+ border-top: 0;
1823
+ & > thead {
1824
+ top: 0;
1825
+ bottom: auto;
1826
+ & > tr:first-child > th {
1827
+ border-top: @cellBorder;
1828
+ }
1829
+ }
1830
+ &.inverted > thead > tr:first-child > th when (@variationTableInverted) {
1831
+ border-top: @invertedCellBorder;
1832
+ }
1844
1833
  }
1845
- & when (@variationTableInverted) {
1846
- &.inverted > tfoot > tr:first-child > td,
1847
- &.inverted > tfoot > tr:first-child > th {
1848
- border-top: @invertedCellBorder;
1849
- }
1850
- }
1851
- }
1852
-
1853
- .ui.first.stuck.table when (@variationTableStuckFirst) {
1854
- border-left: 0;
1855
- & th:first-child,
1856
- td:first-child {
1857
- position: -webkit-sticky;
1858
- position: sticky;
1859
- left: 0;
1860
- border-left: @cellBorder;
1861
- background: inherit;
1834
+ .ui.foot.stuck.table when (@variationTableStuckFoot) {
1835
+ border-bottom: 0;
1836
+ & > tfoot {
1837
+ top: auto;
1838
+ bottom: 0;
1839
+ & > tr:last-child > td,
1840
+ > tr:last-child > th {
1841
+ border-bottom: @cellBorder;
1842
+ }
1843
+ }
1844
+ & when (@variationTableInverted) {
1845
+ &.inverted > tfoot > tr:first-child > td,
1846
+ &.inverted > tfoot > tr:first-child > th {
1847
+ border-top: @invertedCellBorder;
1848
+ }
1849
+ }
1862
1850
  }
1863
- & when (@variationTableInverted) {
1864
- &.inverted th:first-child,
1865
- &.inverted td:first-child {
1866
- border-left: @invertedCellBorder;
1867
- }
1868
- }
1869
- }
1870
-
1871
- .ui.last.stuck.table when (@variationTableStuckLast) {
1872
- border-right: 0;
1873
- & th:last-child,
1874
- td:last-child {
1875
- position: -webkit-sticky;
1876
- position: sticky;
1877
- right: 0;
1878
- border-right: @cellBorder;
1879
- background: inherit;
1851
+
1852
+ .ui.first.stuck.table when (@variationTableStuckFirst) {
1853
+ border-left: 0;
1854
+ & th:first-child,
1855
+ td:first-child {
1856
+ position: sticky;
1857
+ left: 0;
1858
+ border-left: @cellBorder;
1859
+ background: inherit;
1860
+ }
1861
+ & when (@variationTableInverted) {
1862
+ &.inverted th:first-child,
1863
+ &.inverted td:first-child {
1864
+ border-left: @invertedCellBorder;
1865
+ }
1866
+ }
1880
1867
  }
1881
- & when (@variationTableInverted) {
1882
- &.inverted th:last-child,
1883
- &.inverted td:last-child {
1884
- border-right: @invertedCellBorder;
1885
- }
1886
- }
1887
- }
1888
- & when (@variationTableCelled) {
1889
- & when (@variationTableStuckFirst) {
1890
- .ui.celled.first.stuck.table th:first-child,
1891
- .ui.celled.first.stuck.table td:first-child {
1892
- border-right: @cellBorder;
1893
- }
1894
- }
1895
- & when (@variationTableStuckLast) {
1896
- .ui.celled.last.stuck.table th:last-child,
1897
- .ui.celled.last.stuck.table td:last-child {
1898
- border-left: @cellBorder;
1899
- }
1868
+
1869
+ .ui.last.stuck.table when (@variationTableStuckLast) {
1870
+ border-right: 0;
1871
+ & th:last-child,
1872
+ td:last-child {
1873
+ position: sticky;
1874
+ right: 0;
1875
+ border-right: @cellBorder;
1876
+ background: inherit;
1877
+ }
1878
+ & when (@variationTableInverted) {
1879
+ &.inverted th:last-child,
1880
+ &.inverted td:last-child {
1881
+ border-right: @invertedCellBorder;
1882
+ }
1883
+ }
1900
1884
  }
1901
- & when (@variationTableInverted) {
1902
- & when (@variationTableStuckFirst) {
1903
- .ui.inverted.celled.first.stuck.table th:first-child,
1904
- .ui.inverted.celled.first.stuck.table td:first-child {
1905
- border-right: @invertedCellBorder;
1885
+ & when (@variationTableCelled) {
1886
+ & when (@variationTableStuckFirst) {
1887
+ .ui.celled.first.stuck.table th:first-child,
1888
+ .ui.celled.first.stuck.table td:first-child {
1889
+ border-right: @cellBorder;
1890
+ }
1891
+ }
1892
+ & when (@variationTableStuckLast) {
1893
+ .ui.celled.last.stuck.table th:last-child,
1894
+ .ui.celled.last.stuck.table td:last-child {
1895
+ border-left: @cellBorder;
1896
+ }
1906
1897
  }
1907
- }
1908
- & when (@variationTableStuckLast) {
1909
- .ui.inverted.celled.last.stuck.table th:last-child,
1910
- .ui.inverted.celled.last.stuck.table td:last-child {
1911
- border-left: @invertedCellBorder;
1898
+ & when (@variationTableInverted) {
1899
+ & when (@variationTableStuckFirst) {
1900
+ .ui.inverted.celled.first.stuck.table th:first-child,
1901
+ .ui.inverted.celled.first.stuck.table td:first-child {
1902
+ border-right: @invertedCellBorder;
1903
+ }
1904
+ }
1905
+ & when (@variationTableStuckLast) {
1906
+ .ui.inverted.celled.last.stuck.table th:last-child,
1907
+ .ui.inverted.celled.last.stuck.table td:last-child {
1908
+ border-left: @invertedCellBorder;
1909
+ }
1910
+ }
1912
1911
  }
1913
- }
1914
1912
  }
1915
- }
1916
1913
  }
1917
1914
 
1918
- /*--------------
1915
+ /* --------------
1919
1916
  Sizes
1920
- ---------------*/
1917
+ --------------- */
1921
1918
 
1922
1919
  /* Standard */
1923
1920
  .ui.table {
1924
- font-size: @medium;
1921
+ font-size: @medium;
1925
1922
  }
1926
1923
  & when not (@variationTableSizes = false) {
1927
- each(@variationTableSizes, {
1928
- @s: @@value;
1929
- .ui.@{value}.table {
1930
- font-size: @s;
1931
- }
1932
- })
1924
+ each(@variationTableSizes, {
1925
+ @s: @@value;
1926
+ .ui.@{value}.table {
1927
+ font-size: @s;
1928
+ }
1929
+ });
1933
1930
  }
1934
1931
 
1935
-
1936
1932
  .loadUIOverrides();