fomantic-ui 2.9.0-beta.29 → 2.9.0-beta.290

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 (407) hide show
  1. package/.all-contributorsrc +242 -3
  2. package/.github/codeql/codeql-config.yml +4 -0
  3. package/.github/dependabot.yml +10 -0
  4. package/.github/workflows/ci.yml +10 -6
  5. package/.github/workflows/codeql.yml +68 -0
  6. package/.github/workflows/nightly.yml +16 -8
  7. package/.github/workflows/release.yml +34 -0
  8. package/CONTRIBUTORS.md +81 -37
  9. package/FAQ.md +38 -38
  10. package/README.md +8 -8
  11. package/dist/components/accordion.css +176 -36
  12. package/dist/components/accordion.js +6 -3
  13. package/dist/components/accordion.min.css +2 -2
  14. package/dist/components/accordion.min.js +3 -3
  15. package/dist/components/ad.css +4 -4
  16. package/dist/components/ad.min.css +2 -2
  17. package/dist/components/api.js +89 -30
  18. package/dist/components/api.min.js +3 -3
  19. package/dist/components/breadcrumb.css +1 -1
  20. package/dist/components/breadcrumb.min.css +1 -1
  21. package/dist/components/button.css +204 -157
  22. package/dist/components/button.min.css +2 -2
  23. package/dist/components/calendar.css +18 -1
  24. package/dist/components/calendar.js +85 -68
  25. package/dist/components/calendar.min.css +2 -2
  26. package/dist/components/calendar.min.js +3 -3
  27. package/dist/components/card.css +754 -117
  28. package/dist/components/card.min.css +2 -2
  29. package/dist/components/checkbox.css +92 -91
  30. package/dist/components/checkbox.js +17 -11
  31. package/dist/components/checkbox.min.css +2 -2
  32. package/dist/components/checkbox.min.js +3 -3
  33. package/dist/components/comment.css +12 -12
  34. package/dist/components/comment.min.css +2 -2
  35. package/dist/components/container.css +98 -4
  36. package/dist/components/container.min.css +2 -2
  37. package/dist/components/dimmer.css +29 -14
  38. package/dist/components/dimmer.js +11 -5
  39. package/dist/components/dimmer.min.css +2 -2
  40. package/dist/components/dimmer.min.js +3 -3
  41. package/dist/components/divider.css +31 -31
  42. package/dist/components/divider.min.css +2 -2
  43. package/dist/components/dropdown.css +90 -50
  44. package/dist/components/dropdown.js +134 -110
  45. package/dist/components/dropdown.min.css +2 -2
  46. package/dist/components/dropdown.min.js +3 -3
  47. package/dist/components/embed.css +5 -5
  48. package/dist/components/embed.js +1 -1
  49. package/dist/components/embed.min.css +2 -2
  50. package/dist/components/embed.min.js +3 -3
  51. package/dist/components/emoji.css +10847 -8841
  52. package/dist/components/emoji.min.css +1 -1
  53. package/dist/components/feed.css +29 -29
  54. package/dist/components/feed.min.css +2 -2
  55. package/dist/components/flag.css +1011 -902
  56. package/dist/components/flag.min.css +2 -2
  57. package/dist/components/form.css +160 -83
  58. package/dist/components/form.js +39 -30
  59. package/dist/components/form.min.css +2 -2
  60. package/dist/components/form.min.js +3 -3
  61. package/dist/components/grid.css +25 -21
  62. package/dist/components/grid.min.css +2 -2
  63. package/dist/components/header.css +6 -4
  64. package/dist/components/header.min.css +2 -2
  65. package/dist/components/icon.css +2063 -1984
  66. package/dist/components/icon.min.css +2 -2
  67. package/dist/components/image.css +1 -1
  68. package/dist/components/image.min.css +1 -1
  69. package/dist/components/input.css +759 -22
  70. package/dist/components/input.min.css +2 -2
  71. package/dist/components/item.css +17 -17
  72. package/dist/components/item.min.css +2 -2
  73. package/dist/components/label.css +72 -68
  74. package/dist/components/label.min.css +2 -2
  75. package/dist/components/list.css +31 -31
  76. package/dist/components/list.min.css +2 -2
  77. package/dist/components/loader.css +352 -352
  78. package/dist/components/loader.min.css +2 -2
  79. package/dist/components/menu.css +108 -76
  80. package/dist/components/menu.min.css +1 -1
  81. package/dist/components/message.css +43 -43
  82. package/dist/components/message.min.css +2 -2
  83. package/dist/components/modal.css +14 -2
  84. package/dist/components/modal.js +128 -50
  85. package/dist/components/modal.min.css +2 -2
  86. package/dist/components/modal.min.js +3 -3
  87. package/dist/components/nag.css +1 -1
  88. package/dist/components/nag.js +2 -2
  89. package/dist/components/nag.min.css +1 -1
  90. package/dist/components/nag.min.js +3 -3
  91. package/dist/components/placeholder.css +33 -33
  92. package/dist/components/placeholder.min.css +2 -2
  93. package/dist/components/popup.css +100 -104
  94. package/dist/components/popup.js +11 -11
  95. package/dist/components/popup.min.css +2 -2
  96. package/dist/components/popup.min.js +3 -3
  97. package/dist/components/progress.css +1 -1
  98. package/dist/components/progress.js +4 -1
  99. package/dist/components/progress.min.css +1 -1
  100. package/dist/components/progress.min.js +3 -3
  101. package/dist/components/rail.css +1 -1
  102. package/dist/components/rail.min.css +1 -1
  103. package/dist/components/rating.css +1 -1
  104. package/dist/components/rating.js +1 -1
  105. package/dist/components/rating.min.css +1 -1
  106. package/dist/components/rating.min.js +3 -3
  107. package/dist/components/reset.css +5 -4
  108. package/dist/components/reset.min.css +2 -2
  109. package/dist/components/reveal.css +1 -1
  110. package/dist/components/reveal.min.css +1 -1
  111. package/dist/components/search.css +6 -6
  112. package/dist/components/search.js +2 -2
  113. package/dist/components/search.min.css +2 -2
  114. package/dist/components/search.min.js +3 -3
  115. package/dist/components/segment.css +118 -34
  116. package/dist/components/segment.min.css +2 -2
  117. package/dist/components/shape.css +1 -1
  118. package/dist/components/shape.js +3 -3
  119. package/dist/components/shape.min.css +1 -1
  120. package/dist/components/shape.min.js +3 -3
  121. package/dist/components/sidebar.css +7 -5
  122. package/dist/components/sidebar.js +14 -12
  123. package/dist/components/sidebar.min.css +2 -2
  124. package/dist/components/sidebar.min.js +3 -3
  125. package/dist/components/site.css +139 -42
  126. package/dist/components/site.js +1 -1
  127. package/dist/components/site.min.css +2 -2
  128. package/dist/components/site.min.js +3 -3
  129. package/dist/components/slider.css +17 -17
  130. package/dist/components/slider.js +68 -51
  131. package/dist/components/slider.min.css +1 -1
  132. package/dist/components/slider.min.js +3 -3
  133. package/dist/components/state.js +2 -2
  134. package/dist/components/state.min.js +3 -3
  135. package/dist/components/statistic.css +4 -4
  136. package/dist/components/statistic.min.css +2 -2
  137. package/dist/components/step.css +31 -31
  138. package/dist/components/step.min.css +2 -2
  139. package/dist/components/sticky.css +1 -1
  140. package/dist/components/sticky.js +4 -4
  141. package/dist/components/sticky.min.css +1 -1
  142. package/dist/components/sticky.min.js +3 -3
  143. package/dist/components/tab.css +5 -5
  144. package/dist/components/tab.js +24 -6
  145. package/dist/components/tab.min.css +2 -2
  146. package/dist/components/tab.min.js +3 -3
  147. package/dist/components/table.css +1174 -32
  148. package/dist/components/table.min.css +2 -2
  149. package/dist/components/text.css +1 -1
  150. package/dist/components/text.min.css +1 -1
  151. package/dist/components/toast.css +42 -1
  152. package/dist/components/toast.js +63 -31
  153. package/dist/components/toast.min.css +2 -2
  154. package/dist/components/toast.min.js +3 -3
  155. package/dist/components/transition.css +1 -1
  156. package/dist/components/transition.js +21 -16
  157. package/dist/components/transition.min.css +1 -1
  158. package/dist/components/transition.min.js +3 -3
  159. package/dist/components/visibility.js +2 -2
  160. package/dist/components/visibility.min.js +3 -3
  161. package/dist/semantic.css +19655 -13134
  162. package/dist/semantic.js +734 -455
  163. package/dist/semantic.min.css +3 -3
  164. package/dist/semantic.min.js +3 -3
  165. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  166. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  167. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  168. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  170. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  175. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  176. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  177. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  178. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  179. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  181. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  182. package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
  183. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  184. package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  185. package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  186. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  187. package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
  188. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  189. package/dist/themes/default/assets/fonts/icons.woff +0 -0
  190. package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  191. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  192. package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
  193. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  194. package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  195. package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  196. package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  197. package/examples/assets/library/iframe-content.js +8 -8
  198. package/examples/assets/library/iframe.js +3 -3
  199. package/examples/components/button.html +1 -1
  200. package/examples/components/card.html +1 -1
  201. package/examples/components/input.html +1 -1
  202. package/examples/components/menu.html +1 -1
  203. package/examples/components/site.html +1 -1
  204. package/examples/components/table.html +1 -1
  205. package/package.json +18 -16
  206. package/scripts/nightly-version.js +47 -38
  207. package/src/definitions/behaviors/api.js +88 -29
  208. package/src/definitions/behaviors/form.js +38 -29
  209. package/src/definitions/behaviors/state.js +1 -1
  210. package/src/definitions/behaviors/visibility.js +1 -1
  211. package/src/definitions/collections/form.less +225 -161
  212. package/src/definitions/collections/grid.less +723 -687
  213. package/src/definitions/collections/menu.less +224 -166
  214. package/src/definitions/collections/message.less +49 -47
  215. package/src/definitions/collections/table.less +855 -268
  216. package/src/definitions/elements/button.less +611 -469
  217. package/src/definitions/elements/container.less +145 -8
  218. package/src/definitions/elements/divider.less +24 -24
  219. package/src/definitions/elements/emoji.less +39 -10
  220. package/src/definitions/elements/flag.less +53 -18
  221. package/src/definitions/elements/header.less +46 -37
  222. package/src/definitions/elements/icon.less +39 -32
  223. package/src/definitions/elements/input.less +268 -26
  224. package/src/definitions/elements/label.less +132 -128
  225. package/src/definitions/elements/list.less +84 -75
  226. package/src/definitions/elements/loader.less +99 -98
  227. package/src/definitions/elements/placeholder.less +32 -32
  228. package/src/definitions/elements/segment.less +174 -55
  229. package/src/definitions/elements/step.less +76 -72
  230. package/src/definitions/elements/text.less +17 -15
  231. package/src/definitions/globals/reset.less +2 -2
  232. package/src/definitions/globals/site.less +23 -2
  233. package/src/definitions/modules/accordion.js +5 -2
  234. package/src/definitions/modules/accordion.less +371 -219
  235. package/src/definitions/modules/calendar.js +84 -67
  236. package/src/definitions/modules/calendar.less +20 -0
  237. package/src/definitions/modules/checkbox.js +16 -10
  238. package/src/definitions/modules/checkbox.less +83 -227
  239. package/src/definitions/modules/dimmer.js +10 -4
  240. package/src/definitions/modules/dimmer.less +21 -8
  241. package/src/definitions/modules/dropdown.js +133 -109
  242. package/src/definitions/modules/dropdown.less +179 -128
  243. package/src/definitions/modules/embed.less +4 -4
  244. package/src/definitions/modules/modal.js +127 -49
  245. package/src/definitions/modules/modal.less +12 -0
  246. package/src/definitions/modules/nag.js +1 -1
  247. package/src/definitions/modules/nag.less +20 -19
  248. package/src/definitions/modules/popup.js +10 -10
  249. package/src/definitions/modules/popup.less +86 -90
  250. package/src/definitions/modules/progress.js +3 -0
  251. package/src/definitions/modules/progress.less +19 -18
  252. package/src/definitions/modules/rating.less +35 -34
  253. package/src/definitions/modules/search.js +1 -1
  254. package/src/definitions/modules/search.less +35 -19
  255. package/src/definitions/modules/shape.js +2 -2
  256. package/src/definitions/modules/sidebar.js +13 -11
  257. package/src/definitions/modules/sidebar.less +36 -22
  258. package/src/definitions/modules/slider.js +67 -50
  259. package/src/definitions/modules/slider.less +48 -47
  260. package/src/definitions/modules/sticky.js +3 -3
  261. package/src/definitions/modules/tab.js +23 -5
  262. package/src/definitions/modules/tab.less +4 -4
  263. package/src/definitions/modules/toast.js +62 -30
  264. package/src/definitions/modules/toast.less +51 -16
  265. package/src/definitions/modules/transition.js +20 -15
  266. package/src/definitions/views/ad.less +3 -3
  267. package/src/definitions/views/card.less +519 -374
  268. package/src/definitions/views/comment.less +93 -82
  269. package/src/definitions/views/feed.less +164 -144
  270. package/src/definitions/views/item.less +251 -198
  271. package/src/definitions/views/statistic.less +91 -89
  272. package/src/theme.less +13 -2
  273. package/src/themes/amazon/globals/site.variables +1 -0
  274. package/src/themes/basic/elements/icon.overrides +149 -149
  275. package/src/themes/basic/elements/step.overrides +2 -2
  276. package/src/themes/bookish/elements/header.overrides +1 -1
  277. package/src/themes/chubby/elements/button.overrides +1 -1
  278. package/src/themes/chubby/elements/header.overrides +1 -1
  279. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  280. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  281. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  282. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  283. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  284. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  285. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  286. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  287. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  288. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  289. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  290. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  291. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  292. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  293. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  294. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  295. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  296. package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
  297. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  298. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  299. package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  300. package/src/themes/default/assets/fonts/icons.eot +0 -0
  301. package/src/themes/default/assets/fonts/icons.svg +1175 -1079
  302. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  303. package/src/themes/default/assets/fonts/icons.woff +0 -0
  304. package/src/themes/default/assets/fonts/icons.woff2 +0 -0
  305. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  306. package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
  307. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  308. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  309. package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  310. package/src/themes/default/collections/form.variables +4 -0
  311. package/src/themes/default/collections/menu.variables +6 -0
  312. package/src/themes/default/collections/table.variables +52 -0
  313. package/src/themes/default/elements/button.variables +7 -1
  314. package/src/themes/default/elements/container.variables +12 -0
  315. package/src/themes/default/elements/divider.overrides +7 -7
  316. package/src/themes/default/elements/emoji.overrides +0 -3090
  317. package/src/themes/default/elements/emoji.variables +3575 -1
  318. package/src/themes/default/elements/flag.overrides +0 -991
  319. package/src/themes/default/elements/flag.variables +1609 -5
  320. package/src/themes/default/elements/icon.overrides +1975 -1949
  321. package/src/themes/default/elements/icon.variables +1 -0
  322. package/src/themes/default/elements/input.variables +15 -0
  323. package/src/themes/default/elements/segment.variables +8 -0
  324. package/src/themes/default/elements/step.overrides +3 -3
  325. package/src/themes/default/globals/site.variables +109 -8
  326. package/src/themes/default/globals/variation.variables +140 -6
  327. package/src/themes/default/modules/accordion.overrides +6 -5
  328. package/src/themes/default/modules/accordion.variables +49 -2
  329. package/src/themes/default/modules/calendar.variables +3 -0
  330. package/src/themes/default/modules/checkbox.overrides +9 -9
  331. package/src/themes/default/modules/checkbox.variables +5 -5
  332. package/src/themes/default/modules/dimmer.variables +1 -1
  333. package/src/themes/default/modules/dropdown.overrides +5 -5
  334. package/src/themes/default/modules/dropdown.variables +4 -10
  335. package/src/themes/default/modules/modal.variables +13 -0
  336. package/src/themes/default/modules/popup.variables +0 -2
  337. package/src/themes/default/modules/toast.variables +3 -0
  338. package/src/themes/default/views/card.variables +8 -0
  339. package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  340. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  341. package/src/themes/famfamfam/elements/flag.variables +20 -0
  342. package/src/themes/github/elements/icon.overrides +206 -206
  343. package/src/themes/github/elements/step.overrides +5 -5
  344. package/src/themes/github/globals/site.variables +1 -0
  345. package/src/themes/github/modules/dropdown.overrides +6 -6
  346. package/src/themes/instagram/views/card.overrides +1 -1
  347. package/src/themes/joypixels/elements/emoji.overrides +0 -3089
  348. package/src/themes/joypixels/elements/emoji.variables +3574 -5
  349. package/src/themes/material/collections/menu.overrides +1 -1
  350. package/src/themes/material/elements/button.overrides +1 -1
  351. package/src/themes/material/elements/header.overrides +1 -1
  352. package/src/themes/material/elements/icon.overrides +932 -932
  353. package/src/themes/material/globals/site.variables +0 -1
  354. package/src/themes/material/modules/dropdown.overrides +1 -1
  355. package/src/themes/material/modules/modal.overrides +1 -1
  356. package/src/themes/pulsar/elements/loader.overrides +2 -2
  357. package/src/themes/resetcss/globals/reset.overrides +3 -3
  358. package/src/themes/rtl/globals/site.overrides +1 -1
  359. package/src/themes/striped/modules/progress.overrides +1 -1
  360. package/src/themes/systemfont/globals/reset.overrides +8 -0
  361. package/src/themes/systemfont/globals/site.variables +10 -0
  362. package/src/themes/twitter/elements/emoji.overrides +0 -3091
  363. package/src/themes/twitter/elements/emoji.variables +3570 -6
  364. package/tasks/admin/distributions/create.js +1 -1
  365. package/tasks/admin/publish.js +1 -1
  366. package/tasks/admin/release.js +1 -1
  367. package/tasks/build/assets.js +1 -1
  368. package/tasks/build/css.js +9 -4
  369. package/tasks/build/javascript.js +3 -3
  370. package/tasks/check-install.js +1 -1
  371. package/tasks/clean.js +1 -1
  372. package/tasks/collections/README.md +1 -1
  373. package/tasks/collections/admin.js +1 -1
  374. package/tasks/config/admin/oauth.example.js +1 -1
  375. package/tasks/config/admin/templates/composer.json +1 -1
  376. package/tasks/config/project/install.js +15 -13
  377. package/tasks/install.js +1 -0
  378. package/tasks/rtl/watch.js +1 -1
  379. package/tasks/version.js +1 -1
  380. package/test/fixtures/accordion.html +1 -1
  381. package/test/fixtures/checkbox.html +1 -1
  382. package/test/fixtures/dropdown.html +1 -1
  383. package/test/fixtures/modal.html +1 -1
  384. package/test/fixtures/popup.html +1 -1
  385. package/test/fixtures/rating.html +1 -1
  386. package/test/fixtures/shape.html +1 -1
  387. package/test/fixtures/sidebar.html +1 -1
  388. package/test/fixtures/tab.html +1 -1
  389. package/test/fixtures/transition.html +1 -1
  390. package/test/fixtures/video.html +1 -1
  391. package/test/helpers/jasmine-jquery.js +2 -2
  392. package/test/helpers/jasmine-sinon.js +1 -1
  393. package/test/helpers/jquery-events.js +1 -1
  394. package/test/helpers/sinon.js +3 -3
  395. package/test/meteor/fonts.js +1 -1
  396. package/test/modules/accordion.spec.js +1 -1
  397. package/test/modules/checkbox.spec.js +1 -1
  398. package/test/modules/dropdown.spec.js +1 -1
  399. package/test/modules/modal.spec.js +1 -1
  400. package/test/modules/module.spec.js +1 -1
  401. package/test/modules/popup.spec.js +1 -1
  402. package/test/modules/search.spec.js +1 -1
  403. package/test/modules/shape.spec.js +1 -1
  404. package/test/modules/sidebar.spec.js +1 -1
  405. package/test/modules/tab.spec.js +1 -1
  406. package/test/modules/transition.spec.js +1 -1
  407. package/test/modules/video.spec.js +1 -1
@@ -165,10 +165,10 @@
165
165
  .ui.table.segment {
166
166
  padding: 0;
167
167
  }
168
- .ui.table.segment:after {
168
+ .ui.table.segment::after {
169
169
  display: none;
170
170
  }
171
- .ui.table.segment.stacked:after {
171
+ .ui.table.segment.stacked::after {
172
172
  display: block;
173
173
  }
174
174
 
@@ -238,9 +238,9 @@
238
238
  .ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
239
239
  box-shadow: none !important;
240
240
  }
241
- & when (@variationTableMarked) {
242
- each(@colors, {
243
- @color: replace(@key, '@', '');
241
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
242
+ each(@variationTableColors, {
243
+ @color: @value;
244
244
  @c: @colors[@@color][color];
245
245
  @l: @colors[@@color][light];
246
246
  .ui.ui.ui.ui.table:not(.unstackable) tr.marked.@{color} {
@@ -263,6 +263,312 @@
263
263
  }
264
264
  })
265
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
+ }
301
+ }
302
+ .ui.overflowing.table {
303
+ max-height: @overflowingMobileMaxHeight;
304
+ }
305
+ & when (@variationTableOverflowingLong) {
306
+ .ui.overflowing.table.long {
307
+ max-height: @overflowingMobileMaxHeight * 2;
308
+ }
309
+ }
310
+ & when (@variationTableOverflowingVeryLong) {
311
+ .ui.overflowing.table[class*="very long"] {
312
+ max-height: @overflowingMobileMaxHeight * 3;
313
+ }
314
+ }
315
+ }
316
+ }
317
+ & 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
+ }
331
+ }
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
+ }
356
+ }
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
+ }
381
+ }
382
+ .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
+ }
394
+ }
395
+ }
396
+
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%;
407
+ }
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
+ scrollbar-face-color: currentColor;
442
+ scrollbar-shadow-color: currentColor;
443
+ scrollbar-track-color: currentColor;
444
+ scrollbar-arrow-color: currentColor;
445
+ }
446
+ /* IE scrollbar color needs hex values */
447
+ @media all and (-ms-high-contrast:none) {
448
+ .ui.scrolling.table > thead {
449
+ color: @headerBackgroundHex;
450
+ }
451
+ .ui.scrolling.table > tfoot {
452
+ color: @footerBackgroundHex;
453
+ }
454
+ & when (@variationTableInverted) {
455
+ .ui.inverted.scrolling.table > thead {
456
+ color: @invertedHeaderBackgroundHex;
457
+ }
458
+ .ui.inverted.scrolling.table > tfoot {
459
+ color: @invertedFooterBackgroundHex;
460
+ }
461
+ }
462
+ }
463
+ & when (@variationTableInverted) {
464
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
465
+ background: @trackInvertedBackground;
466
+ }
467
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
468
+ background: @thumbInvertedBackground;
469
+ }
470
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
471
+ background: @thumbInvertedInactiveBackground;
472
+ }
473
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
474
+ background: @thumbInvertedHoverBackground;
475
+ }
476
+ .ui.inverted.scrolling.table > tbody {
477
+ /* IE11 */
478
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
479
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
480
+ scrollbar-track-color: @trackInvertedBackgroundHex;
481
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
482
+
483
+ /* firefox : first color thumb, second track */
484
+ scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
485
+ }
486
+ }
487
+
488
+ }
489
+ & when (@variationTableOverflowing) {
490
+ /*--------------
491
+ Overflowing
492
+ ---------------*/
493
+ .ui.overflowing.table {
494
+ display: block;
495
+ overflow: auto;
496
+ }
497
+ @media only screen and (min-width: @tabletBreakpoint) {
498
+ & when (@variationTableOverflowingShort) {
499
+ .ui.overflowing.table.short {
500
+ max-height: @overflowingTabletMaxHeight * 0.75;
501
+ }
502
+ }
503
+ & when (@variationTableOverflowingVeryShort) {
504
+ .ui.overflowing.table[class*="very short"] {
505
+ max-height: @overflowingTabletMaxHeight * 0.5;
506
+ }
507
+ }
508
+ .ui.overflowing.table {
509
+ max-height: @overflowingTabletMaxHeight;
510
+ }
511
+ & when (@variationTableOverflowingLong) {
512
+ .ui.overflowing.table.long {
513
+ max-height: @overflowingTabletMaxHeight * 2;
514
+ }
515
+ }
516
+ & when (@variationTableOverflowingVeryLong) {
517
+ .ui.overflowing.table[class*="very long"] {
518
+ max-height: @overflowingTabletMaxHeight * 3;
519
+ }
520
+ }
521
+ }
522
+ @media only screen and (min-width: @computerBreakpoint) {
523
+ & when (@variationTableOverflowingShort) {
524
+ .ui.overflowing.table.short {
525
+ max-height: @overflowingComputerMaxHeight * 0.75;
526
+ }
527
+ }
528
+ & when (@variationTableOverflowingVeryShort) {
529
+ .ui.overflowing.table[class*="very short"] {
530
+ max-height: @overflowingComputerMaxHeight * 0.5;
531
+ }
532
+ }
533
+ .ui.overflowing.table {
534
+ max-height: @overflowingComputerMaxHeight;
535
+ }
536
+ & when (@variationTableOverflowingLong) {
537
+ .ui.overflowing.table.long {
538
+ max-height: @overflowingComputerMaxHeight * 2;
539
+ }
540
+ }
541
+ & when (@variationTableOverflowingVeryLong) {
542
+ .ui.overflowing.table[class*="very long"]{
543
+ max-height: @overflowingComputerMaxHeight * 3;
544
+ }
545
+ }
546
+ }
547
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
548
+ & when (@variationTableOverflowingShort) {
549
+ .ui.overflowing.table.short {
550
+ max-height: @overflowingWidescreenMaxHeight * 0.75;
551
+ }
552
+ }
553
+ & when (@variationTableOverflowingVeryShort) {
554
+ .ui.overflowing.table[class*="very short"] {
555
+ max-height: @overflowingWidescreenMaxHeight * 0.5;
556
+ }
557
+ }
558
+ .ui.overflowing.table {
559
+ max-height: @overflowingWidescreenMaxHeight;
560
+ }
561
+ & when (@variationTableOverflowingLong) {
562
+ .ui.overflowing.table.long {
563
+ max-height: @overflowingWidescreenMaxHeight * 2;
564
+ }
565
+ }
566
+ & when (@variationTableOverflowingVeryLong) {
567
+ .ui.overflowing.table[class*="very long"] {
568
+ max-height: @overflowingWidescreenMaxHeight * 3;
569
+ }
570
+ }
571
+ }
266
572
  }
267
573
 
268
574
 
@@ -392,6 +698,13 @@
392
698
  background: @positiveBackgroundColor;
393
699
  color: @positiveColor;
394
700
  }
701
+ & when (@variationTableInverted) {
702
+ .ui.ui.ui.ui.inverted.table tr.positive,
703
+ .ui.ui.inverted.table td.positive {
704
+ background: @invertedPositiveBackgroundColor;
705
+ color: @invertedPositiveColor;
706
+ }
707
+ }
395
708
  }
396
709
 
397
710
  & when (@variationTableNegative) {
@@ -405,6 +718,13 @@
405
718
  background: @negativeBackgroundColor;
406
719
  color: @negativeColor;
407
720
  }
721
+ & when (@variationTableInverted) {
722
+ .ui.ui.ui.ui.inverted.table tr.negative,
723
+ .ui.ui.inverted.table td.negative {
724
+ background: @invertedNegativeBackgroundColor;
725
+ color: @invertedNegativeColor;
726
+ }
727
+ }
408
728
  }
409
729
 
410
730
  & when (@variationTableError) {
@@ -418,6 +738,13 @@
418
738
  background: @errorBackgroundColor;
419
739
  color: @errorColor;
420
740
  }
741
+ & when (@variationTableInverted) {
742
+ .ui.ui.ui.ui.inverted.table tr.error,
743
+ .ui.ui.inverted.table td.error {
744
+ background: @invertedErrorBackgroundColor;
745
+ color: @invertedErrorColor;
746
+ }
747
+ }
421
748
  }
422
749
 
423
750
  & when (@variationTableWarning) {
@@ -431,6 +758,13 @@
431
758
  background: @warningBackgroundColor;
432
759
  color: @warningColor;
433
760
  }
761
+ & when (@variationTableInverted) {
762
+ .ui.ui.ui.ui.inverted.table tr.warning,
763
+ .ui.ui.inverted.table td.warning {
764
+ background: @invertedWarningBackgroundColor;
765
+ color: @invertedWarningColor;
766
+ }
767
+ }
434
768
  }
435
769
 
436
770
  & when (@variationTableActive) {
@@ -444,6 +778,13 @@
444
778
  background: @activeBackgroundColor;
445
779
  color: @activeColor;
446
780
  }
781
+ & when (@variationTableInverted) {
782
+ .ui.ui.ui.ui.inverted.table tr.active,
783
+ .ui.ui.inverted.table td.active {
784
+ background: @invertedActiveBackgroundColor;
785
+ color: @invertedActiveColor;
786
+ }
787
+ }
447
788
  }
448
789
 
449
790
 
@@ -452,8 +793,8 @@
452
793
  Disabled
453
794
  ---------------*/
454
795
 
455
- .ui.table tr.disabled td,
456
- .ui.table tr td.disabled,
796
+ .ui.ui.ui.table tr.disabled td,
797
+ .ui.ui.ui.table tr td.disabled,
457
798
  .ui.table tr.disabled:hover,
458
799
  .ui.table tr:hover td.disabled {
459
800
  pointer-events: none;
@@ -526,9 +867,9 @@
526
867
  }
527
868
  }
528
869
  }
529
- & when (@variationTableMarked) {
530
- each(@colors, {
531
- @color: replace(@key, '@', '');
870
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
871
+ each(@variationTableColors, {
872
+ @color: @value;
532
873
  @c: @colors[@@color][color];
533
874
  @l: @colors[@@color][light];
534
875
  .ui.ui.ui.ui[class*="tablet stackable"].table tr.marked.@{color} {
@@ -642,6 +983,8 @@
642
983
  .ui.table tbody tr td.selectable > a:not(.ui) {
643
984
  display: block;
644
985
  color: inherit;
986
+ }
987
+ .ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
645
988
  padding: @cellVerticalPadding @cellHorizontalPadding;
646
989
  }
647
990
  .ui.table > tr > td.selectable,
@@ -778,208 +1121,294 @@
778
1121
  /*-------------------
779
1122
  Colors
780
1123
  --------------------*/
781
-
782
- each(@colors, {
783
- @color: replace(@key, '@', '');
784
- @c: @colors[@@color][color];
785
- @t: @colors[@@color][text];
786
- @ht: @colors[@@color][hoverText];
787
- @l: @colors[@@color][light];
788
- @lh: @colors[@@color][lightHover];
789
- @r: @colors[@@color][ribbon];
790
- @b: @colors[@@color][bright];
791
- @bh: @colors[@@color][brightHover];
792
- @isDark: @colors[@@color][isDark];
793
- @isVeryDark: @colors[@@color][isVeryDark];
794
-
795
- .ui.@{color}.table {
796
- border-top: @coloredBorderSize solid @c;
797
- }
798
- & when (@variationTableInverted) {
799
- .ui.inverted.@{color}.table {
800
- background-color: @c;
801
- color: @white;
802
- }
803
- }
804
- .ui.ui.ui.ui.table tr.@{color}:not(.marked),
805
- .ui.ui.table td.@{color}:not(.marked) {
806
- & when (@stateMarkerWidth > 0) {
807
- box-shadow: @stateMarkerWidth 0 0 @r inset;
1124
+ & when not (@variationTableColors = false) {
1125
+ each(@variationTableColors, {
1126
+ @color: @value;
1127
+ @c: @colors[@@color][color];
1128
+ @t: @colors[@@color][text];
1129
+ @ht: @colors[@@color][hoverText];
1130
+ @l: @colors[@@color][light];
1131
+ @lh: @colors[@@color][lightHover];
1132
+ @r: @colors[@@color][ribbon];
1133
+ @b: @colors[@@color][bright];
1134
+ @bh: @colors[@@color][brightHover];
1135
+ @isDark: @colors[@@color][isDark];
1136
+ @isVeryDark: @colors[@@color][isVeryDark];
1137
+
1138
+ .ui.@{color}.table {
1139
+ border-top: @coloredBorderSize solid @c;
808
1140
  }
809
- & when (@isDark) {
810
- background: @l;
811
- }
812
- & when not (@isDark) {
813
- background: @b;
814
- }
815
- & when (@isVeryDark) {
816
- color: @white;
1141
+ & when (@variationTableInverted) {
1142
+ .ui.inverted.@{color}.table {
1143
+ background: @c;
1144
+ color: @white;
1145
+ }
817
1146
  }
818
- & when not (@isVeryDark) {
819
- color: @t;
1147
+ /* Same color for background and color to camouflage the scrollbar */
1148
+ & when (@variationTableScrolling) {
1149
+ .ui.scrolling.table > thead.@{color},
1150
+ .ui.scrolling.table > tfoot.@{color} {
1151
+ & when (@isDark) {
1152
+ background: @l;
1153
+ color: @l;
1154
+ }
1155
+ & when not (@isDark) {
1156
+ background: @b;
1157
+ color: @b;
1158
+ }
1159
+ & > tr > th,
1160
+ > tr > td {
1161
+ background: inherit;
1162
+ & when (@isVeryDark) {
1163
+ color: @white;
1164
+ }
1165
+ & when not (@isVeryDark) {
1166
+ color: @t;
1167
+ }
1168
+ }
1169
+ }
1170
+ & when (@variationTableInverted) {
1171
+ .ui.inverted.scrolling.table > thead.@{color},
1172
+ .ui.inverted.scrolling.table > tfoot.@{color} {
1173
+ background: @c;
1174
+ color: @c;
1175
+ & > tr > th,
1176
+ > tr > td {
1177
+ background: inherit;
1178
+ color: @white;
1179
+ }
1180
+ }
1181
+ }
820
1182
  }
821
- }
822
- & when (@variationTableSelectable) {
823
- .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
824
- .ui.table tr td.selectable.@{color}:not(.marked):hover,
825
- .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1183
+ .ui.ui.ui.ui.table tr.@{color}:not(.marked),
1184
+ .ui.ui.table th.@{color}:not(.marked),
1185
+ .ui.ui.table td.@{color}:not(.marked) {
1186
+ & when (@stateMarkerWidth > 0) {
1187
+ box-shadow: @stateMarkerWidth 0 0 @r inset;
1188
+ }
826
1189
  & when (@isDark) {
827
- background: @lh;
1190
+ background: @l;
828
1191
  }
829
1192
  & when not (@isDark) {
830
- background: @bh;
1193
+ background: @b;
831
1194
  }
832
1195
  & when (@isVeryDark) {
833
1196
  color: @white;
834
1197
  }
835
1198
  & when not (@isVeryDark) {
836
- color: @ht;
1199
+ color: @t;
837
1200
  }
838
1201
  }
839
- }
840
- & when (@variationTableMarked) {
841
- .ui.table td.marked.@{color},
842
- .ui.table tr.marked.@{color} {
843
- &.left {
844
- box-shadow: @coloredBorderSize 0 0 0 @c inset;
1202
+ .ui.table > thead > tr.@{color}:not(.marked) > th,
1203
+ .ui.table > tfoot > tr.@{color}:not(.marked) > th,
1204
+ .ui.table > tfoot > tr.@{color}:not(.marked) > td {
1205
+ background: inherit;
1206
+ & when (@isVeryDark) {
1207
+ color: @white;
845
1208
  }
846
- &.right {
847
- box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1209
+ & when not (@isVeryDark) {
1210
+ color: @t;
848
1211
  }
849
1212
  }
1213
+
850
1214
  & when (@variationTableInverted) {
851
- .ui.inverted.table td.marked.@{color},
852
- .ui.inverted.table tr.marked.@{color} {
1215
+ .ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
1216
+ .ui.ui.inverted.table th.@{color}:not(.marked),
1217
+ .ui.ui.inverted.table td.@{color}:not(.marked) {
1218
+ background: @c;
1219
+ color: @white;
1220
+ }
1221
+ .ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
1222
+ .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
1223
+ .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
1224
+ background: inherit;
1225
+ color: @white;
1226
+ }
1227
+ }
1228
+ & when (@variationTableSelectable) {
1229
+ .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
1230
+ .ui.table tr td.selectable.@{color}:not(.marked):hover,
1231
+ .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1232
+ & when (@isDark) {
1233
+ background: @lh;
1234
+ }
1235
+ & when not (@isDark) {
1236
+ background: @bh;
1237
+ }
1238
+ & when (@isVeryDark) {
1239
+ color: @white;
1240
+ }
1241
+ & when not (@isVeryDark) {
1242
+ color: @ht;
1243
+ }
1244
+ }
1245
+ & when (@variationTableInverted) {
1246
+ .ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
1247
+ .ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
1248
+ .ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
1249
+ & when (@isDark) {
1250
+ background: @bh;
1251
+ }
1252
+ & when not (@isDark) {
1253
+ background: @lh;
1254
+ }
1255
+ & when (@isVeryDark) {
1256
+ color: @ht;
1257
+ }
1258
+ & when not (@isVeryDark) {
1259
+ color: @white;
1260
+ }
1261
+ }
1262
+ }
1263
+ }
1264
+ & when (@variationTableMarked) {
1265
+ .ui.table td.marked.@{color},
1266
+ .ui.table tr.marked.@{color} {
853
1267
  &.left {
854
- box-shadow: @coloredBorderSize 0 0 0 @l inset;
1268
+ box-shadow: @coloredBorderSize 0 0 0 @c inset;
855
1269
  }
856
1270
  &.right {
857
- box-shadow: -@coloredBorderSize 0 0 0 @l inset;
1271
+ box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1272
+ }
1273
+ }
1274
+ & when (@variationTableInverted) {
1275
+ .ui.inverted.table td.marked.@{color},
1276
+ .ui.inverted.table tr.marked.@{color} {
1277
+ &.left {
1278
+ box-shadow: @coloredBorderSize 0 0 0 @l inset;
1279
+ }
1280
+ &.right {
1281
+ box-shadow: -@coloredBorderSize 0 0 0 @l inset;
1282
+ }
858
1283
  }
859
1284
  }
860
1285
  }
861
- }
862
1286
 
863
- })
1287
+ })
1288
+ }
864
1289
 
865
- /*--------------
866
- Column Count
867
- ---------------*/
1290
+ & when (@variationTableEqualWidth) {
1291
+ /*--------------
1292
+ Column Count
1293
+ ---------------*/
868
1294
 
869
- /* Grid Based */
870
- .ui.one.column.table td {
871
- width: @oneColumn;
872
- }
873
- .ui.two.column.table td {
874
- width: @twoColumn;
875
- }
876
- .ui.three.column.table td {
877
- width: @threeColumn;
878
- }
879
- .ui.four.column.table td {
880
- width: @fourColumn;
881
- }
882
- .ui.five.column.table td {
883
- width: @fiveColumn;
884
- }
885
- .ui.six.column.table td {
886
- width: @sixColumn;
887
- }
888
- .ui.seven.column.table td {
889
- width: @sevenColumn;
890
- }
891
- .ui.eight.column.table td {
892
- width: @eightColumn;
893
- }
894
- .ui.nine.column.table td {
895
- width: @nineColumn;
896
- }
897
- .ui.ten.column.table td {
898
- width: @tenColumn;
899
- }
900
- .ui.eleven.column.table td {
901
- width: @elevenColumn;
902
- }
903
- .ui.twelve.column.table td {
904
- width: @twelveColumn;
905
- }
906
- .ui.thirteen.column.table td {
907
- width: @thirteenColumn;
908
- }
909
- .ui.fourteen.column.table td {
910
- width: @fourteenColumn;
911
- }
912
- .ui.fifteen.column.table td {
913
- width: @fifteenColumn;
914
- }
915
- .ui.sixteen.column.table td {
916
- width: @sixteenColumn;
1295
+ /* Grid Based */
1296
+ .ui.one.column.table td {
1297
+ width: @oneColumn;
1298
+ }
1299
+ .ui.two.column.table td {
1300
+ width: @twoColumn;
1301
+ }
1302
+ .ui.three.column.table td {
1303
+ width: @threeColumn;
1304
+ }
1305
+ .ui.four.column.table td {
1306
+ width: @fourColumn;
1307
+ }
1308
+ .ui.five.column.table td {
1309
+ width: @fiveColumn;
1310
+ }
1311
+ .ui.six.column.table td {
1312
+ width: @sixColumn;
1313
+ }
1314
+ .ui.seven.column.table td {
1315
+ width: @sevenColumn;
1316
+ }
1317
+ .ui.eight.column.table td {
1318
+ width: @eightColumn;
1319
+ }
1320
+ .ui.nine.column.table td {
1321
+ width: @nineColumn;
1322
+ }
1323
+ .ui.ten.column.table td {
1324
+ width: @tenColumn;
1325
+ }
1326
+ .ui.eleven.column.table td {
1327
+ width: @elevenColumn;
1328
+ }
1329
+ .ui.twelve.column.table td {
1330
+ width: @twelveColumn;
1331
+ }
1332
+ .ui.thirteen.column.table td {
1333
+ width: @thirteenColumn;
1334
+ }
1335
+ .ui.fourteen.column.table td {
1336
+ width: @fourteenColumn;
1337
+ }
1338
+ .ui.fifteen.column.table td {
1339
+ width: @fifteenColumn;
1340
+ }
1341
+ .ui.sixteen.column.table td {
1342
+ width: @sixteenColumn;
1343
+ }
917
1344
  }
918
1345
 
919
- /* Column Width */
920
- .ui.table th.one.wide,
921
- .ui.table td.one.wide {
922
- width: @oneWide;
923
- }
924
- .ui.table th.two.wide,
925
- .ui.table td.two.wide {
926
- width: @twoWide;
927
- }
928
- .ui.table th.three.wide,
929
- .ui.table td.three.wide {
930
- width: @threeWide;
931
- }
932
- .ui.table th.four.wide,
933
- .ui.table td.four.wide {
934
- width: @fourWide;
935
- }
936
- .ui.table th.five.wide,
937
- .ui.table td.five.wide {
938
- width: @fiveWide;
939
- }
940
- .ui.table th.six.wide,
941
- .ui.table td.six.wide {
942
- width: @sixWide;
943
- }
944
- .ui.table th.seven.wide,
945
- .ui.table td.seven.wide {
946
- width: @sevenWide;
947
- }
948
- .ui.table th.eight.wide,
949
- .ui.table td.eight.wide {
950
- width: @eightWide;
951
- }
952
- .ui.table th.nine.wide,
953
- .ui.table td.nine.wide {
954
- width: @nineWide;
955
- }
956
- .ui.table th.ten.wide,
957
- .ui.table td.ten.wide {
958
- width: @tenWide;
959
- }
960
- .ui.table th.eleven.wide,
961
- .ui.table td.eleven.wide {
962
- width: @elevenWide;
963
- }
964
- .ui.table th.twelve.wide,
965
- .ui.table td.twelve.wide {
966
- width: @twelveWide;
967
- }
968
- .ui.table th.thirteen.wide,
969
- .ui.table td.thirteen.wide {
970
- width: @thirteenWide;
971
- }
972
- .ui.table th.fourteen.wide,
973
- .ui.table td.fourteen.wide {
974
- width: @fourteenWide;
975
- }
976
- .ui.table th.fifteen.wide,
977
- .ui.table td.fifteen.wide {
978
- width: @fifteenWide;
979
- }
980
- .ui.table th.sixteen.wide,
981
- .ui.table td.sixteen.wide {
982
- width: @sixteenWide;
1346
+ & when (@variationTableWide) {
1347
+ /* Column Width */
1348
+ .ui.table th.one.wide,
1349
+ .ui.table td.one.wide {
1350
+ width: @oneWide;
1351
+ }
1352
+ .ui.table th.two.wide,
1353
+ .ui.table td.two.wide {
1354
+ width: @twoWide;
1355
+ }
1356
+ .ui.table th.three.wide,
1357
+ .ui.table td.three.wide {
1358
+ width: @threeWide;
1359
+ }
1360
+ .ui.table th.four.wide,
1361
+ .ui.table td.four.wide {
1362
+ width: @fourWide;
1363
+ }
1364
+ .ui.table th.five.wide,
1365
+ .ui.table td.five.wide {
1366
+ width: @fiveWide;
1367
+ }
1368
+ .ui.table th.six.wide,
1369
+ .ui.table td.six.wide {
1370
+ width: @sixWide;
1371
+ }
1372
+ .ui.table th.seven.wide,
1373
+ .ui.table td.seven.wide {
1374
+ width: @sevenWide;
1375
+ }
1376
+ .ui.table th.eight.wide,
1377
+ .ui.table td.eight.wide {
1378
+ width: @eightWide;
1379
+ }
1380
+ .ui.table th.nine.wide,
1381
+ .ui.table td.nine.wide {
1382
+ width: @nineWide;
1383
+ }
1384
+ .ui.table th.ten.wide,
1385
+ .ui.table td.ten.wide {
1386
+ width: @tenWide;
1387
+ }
1388
+ .ui.table th.eleven.wide,
1389
+ .ui.table td.eleven.wide {
1390
+ width: @elevenWide;
1391
+ }
1392
+ .ui.table th.twelve.wide,
1393
+ .ui.table td.twelve.wide {
1394
+ width: @twelveWide;
1395
+ }
1396
+ .ui.table th.thirteen.wide,
1397
+ .ui.table td.thirteen.wide {
1398
+ width: @thirteenWide;
1399
+ }
1400
+ .ui.table th.fourteen.wide,
1401
+ .ui.table td.fourteen.wide {
1402
+ width: @fourteenWide;
1403
+ }
1404
+ .ui.table th.fifteen.wide,
1405
+ .ui.table td.fifteen.wide {
1406
+ width: @fifteenWide;
1407
+ }
1408
+ .ui.table th.sixteen.wide,
1409
+ .ui.table td.sixteen.wide {
1410
+ width: @sixteenWide;
1411
+ }
983
1412
  }
984
1413
 
985
1414
  & when (@variationTableSortable) {
@@ -990,18 +1419,19 @@ each(@colors, {
990
1419
  .ui.sortable.table > thead > tr > th {
991
1420
  cursor: pointer;
992
1421
  white-space: nowrap;
993
- border-left: @sortableBorder;
994
1422
  color: @sortableColor;
995
1423
  }
996
- .ui.sortable.table > thead > tr > th:first-child {
997
- border-left: none;
1424
+ & when (@variationTableCelled) {
1425
+ .ui.celled.sortable.table > thead > tr > th:not(:first-child) {
1426
+ border-left: @sortableBorder;
1427
+ }
998
1428
  }
999
1429
  .ui.sortable.table thead th.sorted,
1000
1430
  .ui.sortable.table thead th.sorted:hover {
1001
1431
  user-select: none;
1002
1432
  }
1003
1433
 
1004
- .ui.sortable.table > thead > tr > th:after {
1434
+ .ui.sortable.table > thead > tr > th::after {
1005
1435
  display: none;
1006
1436
  font-style: normal;
1007
1437
  font-weight: @normal;
@@ -1013,17 +1443,19 @@ each(@colors, {
1013
1443
  margin: 0 0 0 @sortableIconDistance;
1014
1444
  font-family: @sortableIconFont;
1015
1445
  }
1016
- .ui.sortable.table thead th.ascending:after {
1446
+ .ui.sortable.table thead th.ascending::after {
1017
1447
  content: @sortableIconAscending;
1018
1448
  }
1019
- .ui.sortable.table thead th.descending:after {
1449
+ .ui.sortable.table thead th.descending::after {
1020
1450
  content: @sortableIconDescending;
1021
1451
  }
1022
1452
 
1023
- /* Hover */
1024
- .ui.sortable.table th.disabled:hover {
1025
- cursor: auto;
1026
- color: @sortableDisabledColor;
1453
+ & when (@variationTableDisabled) {
1454
+ /* Hover */
1455
+ .ui.sortable.table th.disabled:hover {
1456
+ cursor: auto;
1457
+ color: @sortableDisabledColor;
1458
+ }
1027
1459
  }
1028
1460
  .ui.sortable.table > thead > tr > th:hover {
1029
1461
  color: @sortableHoverColor;
@@ -1039,7 +1471,7 @@ each(@colors, {
1039
1471
  .ui.sortable.table:not(.basic) thead th.sorted {
1040
1472
  background: @sortableActiveBackground;
1041
1473
  }
1042
- .ui.sortable.table thead th.sorted:after {
1474
+ .ui.sortable.table thead th.sorted::after {
1043
1475
  display: inline-block;
1044
1476
  }
1045
1477
 
@@ -1084,31 +1516,36 @@ each(@colors, {
1084
1516
  }
1085
1517
  .ui.ui.inverted.table > thead > tr > th,
1086
1518
  .ui.ui.inverted.table > tbody > tr > th,
1087
- .ui.ui.inverted.table > tfoot > tr > th,
1088
- .ui.ui.inverted.table > tfoot > tr > td,
1089
1519
  .ui.ui.inverted.table > tr > th {
1090
1520
  background-color: @invertedHeaderBackground;
1091
1521
  border-color: @invertedHeaderBorderColor;
1092
1522
  color: @invertedHeaderColor;
1093
1523
  }
1524
+ .ui.ui.inverted.table > tfoot > tr > th,
1525
+ .ui.ui.inverted.table > tfoot > tr > td {
1526
+ background-color: @invertedFooterBackground;
1527
+ border-color: @invertedFooterBorderColor;
1528
+ color: @invertedFooterColor;
1529
+ }
1094
1530
  .ui.inverted.table > tbody > tr > td,
1095
1531
  .ui.inverted.table > tfoot > tr > td,
1096
1532
  .ui.inverted.table > tr > td {
1097
1533
  border-color: @invertedCellBorderColor;
1098
1534
  }
1099
-
1100
- .ui.inverted.table tr.disabled td,
1101
- .ui.inverted.table tr td.disabled,
1102
- .ui.inverted.table tr.disabled:hover td,
1103
- .ui.inverted.table tr:hover td.disabled {
1104
- pointer-events: none;
1105
- color: @invertedDisabledTextColor;
1106
- }
1107
- .ui.inverted.table tr td.disabled:not([class="disabled"]),
1108
- .ui.inverted.table tr.disabled:not([class="disabled"]) td,
1109
- .ui.inverted.table tr.disabled td[class]:not(.disabled),
1110
- .ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
1111
- color: @disabledTextColor;
1535
+ & when (@variationTableDisabled) {
1536
+ .ui.inverted.table tr.disabled td,
1537
+ .ui.inverted.table tr td.disabled,
1538
+ .ui.inverted.table tr.disabled:hover td,
1539
+ .ui.inverted.table tr:hover td.disabled {
1540
+ pointer-events: none;
1541
+ color: @invertedDisabledTextColor;
1542
+ }
1543
+ .ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
1544
+ .ui.inverted.table tr.disabled:not([class="disabled"]) td,
1545
+ .ui.inverted.table tr.disabled td[class]:not(.disabled),
1546
+ .ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
1547
+ color: @disabledTextColor;
1548
+ }
1112
1549
  }
1113
1550
  & when (@variationTableDefinition) {
1114
1551
  /* Definition */
@@ -1135,7 +1572,7 @@ each(@colors, {
1135
1572
  }
1136
1573
  }
1137
1574
 
1138
- & when (@variationTableBasic) {
1575
+ & when (@variationTableBasic) or (@variationTableVeryBasic){
1139
1576
  /*--------------
1140
1577
  Basic
1141
1578
  ---------------*/
@@ -1169,38 +1606,40 @@ each(@colors, {
1169
1606
  background-color: @basicTableStripedBackground;
1170
1607
  }
1171
1608
  }
1172
- /* Very Basic */
1173
- .ui[class*="very basic"].table {
1174
- border: none;
1175
- }
1176
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1177
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1178
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1179
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1180
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1181
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1182
- padding: @basicTableCellPadding;
1183
- }
1184
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1185
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1186
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1187
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1188
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1189
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child ,
1190
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1191
- padding-left: 0;
1192
- }
1193
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1194
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1195
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1196
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1197
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1198
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1199
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot >tr > td:last-child {
1200
- padding-right: 0;
1201
- }
1202
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1203
- padding-top: 0;
1609
+ & when (@variationTableVeryBasic) {
1610
+ /* Very Basic */
1611
+ .ui[class*="very basic"].table {
1612
+ border: none;
1613
+ }
1614
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1615
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1616
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1617
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1618
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1619
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1620
+ padding: @basicTableCellPadding;
1621
+ }
1622
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1623
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1624
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1625
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1626
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1627
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
1628
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1629
+ padding-left: 0;
1630
+ }
1631
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1632
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1633
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1634
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1635
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1636
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1637
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
1638
+ padding-right: 0;
1639
+ }
1640
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1641
+ padding-top: 0;
1642
+ }
1204
1643
  }
1205
1644
  }
1206
1645
 
@@ -1235,7 +1674,7 @@ each(@colors, {
1235
1674
  }
1236
1675
  }
1237
1676
 
1238
- & when (@variationTablePadded) {
1677
+ & when (@variationTablePadded) or (@variationTableVeryPadded) {
1239
1678
  /*--------------
1240
1679
  Padded
1241
1680
  ---------------*/
@@ -1257,22 +1696,24 @@ each(@colors, {
1257
1696
  padding: @paddedVerticalPadding @paddedHorizontalPadding;
1258
1697
  }
1259
1698
 
1260
- /* Very */
1261
- .ui[class*="very padded"].table > tr > th,
1262
- .ui[class*="very padded"].table > thead > tr > th,
1263
- .ui[class*="very padded"].table > tbody > tr > th,
1264
- .ui[class*="very padded"].table > tfoot > tr > th {
1265
- padding-left: @veryPaddedHorizontalPadding;
1266
- padding-right: @veryPaddedHorizontalPadding;
1267
- }
1268
- .ui[class*="very padded"].table > tr > td,
1269
- .ui[class*="very padded"].table > tbody > tr > td ,
1270
- .ui[class*="very padded"].table > tfoot > tr > td {
1271
- padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
1699
+ & when (@variationTableVeryPadded) {
1700
+ /* Very */
1701
+ .ui[class*="very padded"].table > tr > th,
1702
+ .ui[class*="very padded"].table > thead > tr > th,
1703
+ .ui[class*="very padded"].table > tbody > tr > th,
1704
+ .ui[class*="very padded"].table > tfoot > tr > th {
1705
+ padding-left: @veryPaddedHorizontalPadding;
1706
+ padding-right: @veryPaddedHorizontalPadding;
1707
+ }
1708
+ .ui[class*="very padded"].table > tr > td,
1709
+ .ui[class*="very padded"].table > tbody > tr > td,
1710
+ .ui[class*="very padded"].table > tfoot > tr > td {
1711
+ padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
1712
+ }
1272
1713
  }
1273
1714
  }
1274
1715
 
1275
- & when (@variationTableCompact) {
1716
+ & when (@variationTableCompact) or (@variationTableVeryCompact) {
1276
1717
  /*--------------
1277
1718
  Compact
1278
1719
  ---------------*/
@@ -1290,18 +1731,164 @@ each(@colors, {
1290
1731
  padding: @compactVerticalPadding @compactHorizontalPadding;
1291
1732
  }
1292
1733
 
1293
- /* Very */
1294
- .ui[class*="very compact"].table > tr > th,
1295
- .ui[class*="very compact"].table > thead > tr > th,
1296
- .ui[class*="very compact"].table > tbody > tr > th,
1297
- .ui[class*="very compact"].table > tfoot > tr > th {
1298
- padding-left: @veryCompactHorizontalPadding;
1299
- padding-right: @veryCompactHorizontalPadding;
1734
+ & when (@variationTableVeryCompact) {
1735
+ /* Very */
1736
+ .ui[class*="very compact"].table > tr > th,
1737
+ .ui[class*="very compact"].table > thead > tr > th,
1738
+ .ui[class*="very compact"].table > tbody > tr > th,
1739
+ .ui[class*="very compact"].table > tfoot > tr > th {
1740
+ padding-left: @veryCompactHorizontalPadding;
1741
+ padding-right: @veryCompactHorizontalPadding;
1742
+ }
1743
+ .ui[class*="very compact"].table > tr > td,
1744
+ .ui[class*="very compact"].table > tbody > tr > td,
1745
+ .ui[class*="very compact"].table > tfoot > tr > td {
1746
+ padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
1747
+ }
1300
1748
  }
1301
- .ui[class*="very compact"].table > tr > td,
1302
- .ui[class*="very compact"].table > tbody > tr > td ,
1303
- .ui[class*="very compact"].table > tfoot > tr > td {
1304
- padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
1749
+ }
1750
+
1751
+ & when (@variationTableStuck) {
1752
+ /*--------------
1753
+ Stuck
1754
+ ---------------*/
1755
+
1756
+ .ui.stuck.table:not(.inverted) {
1757
+ background: @stuckBackground;
1758
+ & > thead > tr {
1759
+ background: @stuckHeaderBackground;
1760
+ }
1761
+ & > tbody > tr {
1762
+ background: @stuckBackground;
1763
+ }
1764
+ & > tfoot > tr {
1765
+ background: @stuckFooterBackground;
1766
+ }
1767
+ &.basic when (@variationTableBasic) {
1768
+ & > thead > tr,
1769
+ > tfoot > tr {
1770
+ background: @stuckBackground;
1771
+ }
1772
+ }
1773
+ }
1774
+ .ui.inverted.stuck.table when (@variationTableInverted) {
1775
+ & > thead > tr {
1776
+ background: @invertedStuckHeaderBackground;
1777
+ }
1778
+ & > tbody > tr {
1779
+ background: @invertedStuckBackground;
1780
+ }
1781
+ & > tfoot > tr {
1782
+ background: @invertedStuckFooterBackground;
1783
+ }
1784
+ &.basic when (@variationTableBasic){
1785
+ & > thead > tr,
1786
+ > tfoot > tr {
1787
+ background: @invertedStuckBackground;
1788
+ }
1789
+ }
1790
+ }
1791
+ & when (@variationTableStuckHead) or (@variationTableStuckFoot) {
1792
+ .ui.head.stuck.table > thead,
1793
+ .ui.foot.stuck.table > tfoot {
1794
+ position: -webkit-sticky;
1795
+ position: sticky;
1796
+ z-index: @stuckZIndex;
1797
+ }
1798
+ }
1799
+ .ui.head.stuck.table when (@variationTableStuckHead) {
1800
+ border-top: 0;
1801
+ & > thead {
1802
+ top: 0;
1803
+ bottom: auto;
1804
+ & > tr:first-child > th {
1805
+ border-top: @cellBorder;
1806
+ }
1807
+ }
1808
+ &.inverted > thead > tr:first-child > th when (@variationTableInverted) {
1809
+ border-top: @invertedCellBorder;
1810
+ }
1811
+ }
1812
+ .ui.foot.stuck.table when (@variationTableStuckFoot) {
1813
+ border-bottom: 0;
1814
+ & > tfoot {
1815
+ top: auto;
1816
+ bottom: 0;
1817
+ & > tr:last-child > td,
1818
+ > tr:last-child > th {
1819
+ border-bottom: @cellBorder;
1820
+ }
1821
+ }
1822
+ & when (@variationTableInverted) {
1823
+ &.inverted > tfoot > tr:first-child > td,
1824
+ &.inverted > tfoot > tr:first-child > th {
1825
+ border-top: @invertedCellBorder;
1826
+ }
1827
+ }
1828
+ }
1829
+
1830
+ .ui.first.stuck.table when (@variationTableStuckFirst) {
1831
+ border-left: 0;
1832
+ & th:first-child,
1833
+ td:first-child {
1834
+ position: -webkit-sticky;
1835
+ position: sticky;
1836
+ left: 0;
1837
+ border-left: @cellBorder;
1838
+ background: inherit;
1839
+ }
1840
+ & when (@variationTableInverted) {
1841
+ &.inverted th:first-child,
1842
+ &.inverted td:first-child {
1843
+ border-left: @invertedCellBorder;
1844
+ }
1845
+ }
1846
+ }
1847
+
1848
+ .ui.last.stuck.table when (@variationTableStuckLast) {
1849
+ border-right: 0;
1850
+ & th:last-child,
1851
+ td:last-child {
1852
+ position: -webkit-sticky;
1853
+ position: sticky;
1854
+ right: 0;
1855
+ border-right: @cellBorder;
1856
+ background: inherit;
1857
+ }
1858
+ & when (@variationTableInverted) {
1859
+ &.inverted th:last-child,
1860
+ &.inverted td:last-child {
1861
+ border-right: @invertedCellBorder;
1862
+ }
1863
+ }
1864
+ }
1865
+ & when (@variationTableCelled) {
1866
+ & when (@variationTableStuckFirst) {
1867
+ .ui.celled.first.stuck.table th:first-child,
1868
+ .ui.celled.first.stuck.table td:first-child {
1869
+ border-right: @cellBorder;
1870
+ }
1871
+ }
1872
+ & when (@variationTableStuckLast) {
1873
+ .ui.celled.last.stuck.table th:last-child,
1874
+ .ui.celled.last.stuck.table td:last-child {
1875
+ border-left: @cellBorder;
1876
+ }
1877
+ }
1878
+ & when (@variationTableInverted) {
1879
+ & when (@variationTableStuckFirst) {
1880
+ .ui.inverted.celled.first.stuck.table th:first-child,
1881
+ .ui.inverted.celled.first.stuck.table td:first-child {
1882
+ border-right: @invertedCellBorder;
1883
+ }
1884
+ }
1885
+ & when (@variationTableStuckLast) {
1886
+ .ui.inverted.celled.last.stuck.table th:last-child,
1887
+ .ui.inverted.celled.last.stuck.table td:last-child {
1888
+ border-left: @invertedCellBorder;
1889
+ }
1890
+ }
1891
+ }
1305
1892
  }
1306
1893
  }
1307
1894