fomantic-ui 2.9.0-beta.3 → 2.9.0-beta.301

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 (411) hide show
  1. package/.all-contributorsrc +251 -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/CONTRIBUTING.md +1 -1
  9. package/CONTRIBUTORS.md +82 -37
  10. package/FAQ.md +38 -38
  11. package/README.md +8 -8
  12. package/dist/components/accordion.css +176 -36
  13. package/dist/components/accordion.js +6 -3
  14. package/dist/components/accordion.min.css +2 -2
  15. package/dist/components/accordion.min.js +3 -3
  16. package/dist/components/ad.css +4 -4
  17. package/dist/components/ad.min.css +2 -2
  18. package/dist/components/api.js +90 -31
  19. package/dist/components/api.min.js +3 -3
  20. package/dist/components/breadcrumb.css +1 -1
  21. package/dist/components/breadcrumb.min.css +1 -1
  22. package/dist/components/button.css +204 -157
  23. package/dist/components/button.min.css +2 -2
  24. package/dist/components/calendar.css +18 -1
  25. package/dist/components/calendar.js +189 -76
  26. package/dist/components/calendar.min.css +2 -2
  27. package/dist/components/calendar.min.js +3 -3
  28. package/dist/components/card.css +754 -117
  29. package/dist/components/card.min.css +2 -2
  30. package/dist/components/checkbox.css +92 -91
  31. package/dist/components/checkbox.js +17 -11
  32. package/dist/components/checkbox.min.css +2 -2
  33. package/dist/components/checkbox.min.js +3 -3
  34. package/dist/components/comment.css +12 -12
  35. package/dist/components/comment.min.css +2 -2
  36. package/dist/components/container.css +98 -4
  37. package/dist/components/container.min.css +2 -2
  38. package/dist/components/dimmer.css +29 -14
  39. package/dist/components/dimmer.js +11 -5
  40. package/dist/components/dimmer.min.css +2 -2
  41. package/dist/components/dimmer.min.js +3 -3
  42. package/dist/components/divider.css +31 -31
  43. package/dist/components/divider.min.css +2 -2
  44. package/dist/components/dropdown.css +90 -50
  45. package/dist/components/dropdown.js +152 -117
  46. package/dist/components/dropdown.min.css +2 -2
  47. package/dist/components/dropdown.min.js +3 -3
  48. package/dist/components/embed.css +5 -5
  49. package/dist/components/embed.js +1 -1
  50. package/dist/components/embed.min.css +2 -2
  51. package/dist/components/embed.min.js +3 -3
  52. package/dist/components/emoji.css +10847 -8841
  53. package/dist/components/emoji.min.css +1 -1
  54. package/dist/components/feed.css +29 -29
  55. package/dist/components/feed.min.css +2 -2
  56. package/dist/components/flag.css +1011 -902
  57. package/dist/components/flag.min.css +2 -2
  58. package/dist/components/form.css +160 -83
  59. package/dist/components/form.js +39 -30
  60. package/dist/components/form.min.css +2 -2
  61. package/dist/components/form.min.js +3 -3
  62. package/dist/components/grid.css +25 -21
  63. package/dist/components/grid.min.css +2 -2
  64. package/dist/components/header.css +6 -4
  65. package/dist/components/header.min.css +2 -2
  66. package/dist/components/icon.css +2063 -1984
  67. package/dist/components/icon.min.css +2 -2
  68. package/dist/components/image.css +1 -1
  69. package/dist/components/image.min.css +1 -1
  70. package/dist/components/input.css +759 -22
  71. package/dist/components/input.min.css +2 -2
  72. package/dist/components/item.css +17 -17
  73. package/dist/components/item.min.css +2 -2
  74. package/dist/components/label.css +72 -68
  75. package/dist/components/label.min.css +2 -2
  76. package/dist/components/list.css +31 -31
  77. package/dist/components/list.min.css +2 -2
  78. package/dist/components/loader.css +352 -352
  79. package/dist/components/loader.min.css +2 -2
  80. package/dist/components/menu.css +110 -78
  81. package/dist/components/menu.min.css +1 -1
  82. package/dist/components/message.css +43 -43
  83. package/dist/components/message.min.css +2 -2
  84. package/dist/components/modal.css +29 -4
  85. package/dist/components/modal.js +128 -50
  86. package/dist/components/modal.min.css +2 -2
  87. package/dist/components/modal.min.js +3 -3
  88. package/dist/components/nag.css +1 -1
  89. package/dist/components/nag.js +2 -2
  90. package/dist/components/nag.min.css +1 -1
  91. package/dist/components/nag.min.js +3 -3
  92. package/dist/components/placeholder.css +33 -33
  93. package/dist/components/placeholder.min.css +2 -2
  94. package/dist/components/popup.css +103 -105
  95. package/dist/components/popup.js +11 -11
  96. package/dist/components/popup.min.css +2 -2
  97. package/dist/components/popup.min.js +3 -3
  98. package/dist/components/progress.css +1 -1
  99. package/dist/components/progress.js +6 -3
  100. package/dist/components/progress.min.css +1 -1
  101. package/dist/components/progress.min.js +3 -3
  102. package/dist/components/rail.css +1 -1
  103. package/dist/components/rail.min.css +1 -1
  104. package/dist/components/rating.css +7 -46
  105. package/dist/components/rating.js +1 -1
  106. package/dist/components/rating.min.css +2 -2
  107. package/dist/components/rating.min.js +3 -3
  108. package/dist/components/reset.css +5 -4
  109. package/dist/components/reset.min.css +2 -2
  110. package/dist/components/reveal.css +1 -1
  111. package/dist/components/reveal.min.css +1 -1
  112. package/dist/components/search.css +6 -6
  113. package/dist/components/search.js +23 -7
  114. package/dist/components/search.min.css +2 -2
  115. package/dist/components/search.min.js +3 -3
  116. package/dist/components/segment.css +118 -34
  117. package/dist/components/segment.min.css +2 -2
  118. package/dist/components/shape.css +1 -1
  119. package/dist/components/shape.js +3 -3
  120. package/dist/components/shape.min.css +1 -1
  121. package/dist/components/shape.min.js +3 -3
  122. package/dist/components/sidebar.css +7 -5
  123. package/dist/components/sidebar.js +14 -12
  124. package/dist/components/sidebar.min.css +2 -2
  125. package/dist/components/sidebar.min.js +3 -3
  126. package/dist/components/site.css +139 -42
  127. package/dist/components/site.js +1 -1
  128. package/dist/components/site.min.css +2 -2
  129. package/dist/components/site.min.js +3 -3
  130. package/dist/components/slider.css +17 -17
  131. package/dist/components/slider.js +68 -51
  132. package/dist/components/slider.min.css +1 -1
  133. package/dist/components/slider.min.js +3 -3
  134. package/dist/components/state.js +2 -2
  135. package/dist/components/state.min.js +3 -3
  136. package/dist/components/statistic.css +4 -4
  137. package/dist/components/statistic.min.css +2 -2
  138. package/dist/components/step.css +32 -32
  139. package/dist/components/step.min.css +2 -2
  140. package/dist/components/sticky.css +1 -1
  141. package/dist/components/sticky.js +5 -5
  142. package/dist/components/sticky.min.css +1 -1
  143. package/dist/components/sticky.min.js +3 -3
  144. package/dist/components/tab.css +5 -5
  145. package/dist/components/tab.js +24 -6
  146. package/dist/components/tab.min.css +2 -2
  147. package/dist/components/tab.min.js +3 -3
  148. package/dist/components/table.css +1684 -272
  149. package/dist/components/table.min.css +2 -2
  150. package/dist/components/text.css +1 -1
  151. package/dist/components/text.min.css +1 -1
  152. package/dist/components/toast.css +48 -1
  153. package/dist/components/toast.js +63 -31
  154. package/dist/components/toast.min.css +2 -2
  155. package/dist/components/toast.min.js +3 -3
  156. package/dist/components/transition.css +1 -1
  157. package/dist/components/transition.js +22 -17
  158. package/dist/components/transition.min.css +1 -1
  159. package/dist/components/transition.min.js +3 -3
  160. package/dist/components/visibility.js +3 -3
  161. package/dist/components/visibility.min.js +3 -3
  162. package/dist/semantic.css +20204 -13425
  163. package/dist/semantic.js +883 -481
  164. package/dist/semantic.min.css +3 -3
  165. package/dist/semantic.min.js +3 -3
  166. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  167. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  168. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  169. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  170. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  171. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  173. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  175. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  176. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  177. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  178. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  179. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  181. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  182. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  183. package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
  184. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  185. package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  186. package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  187. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  188. package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
  189. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  190. package/dist/themes/default/assets/fonts/icons.woff +0 -0
  191. package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  192. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  193. package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
  194. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  195. package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  196. package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  197. package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  198. package/examples/assets/library/iframe-content.js +11 -11
  199. package/examples/assets/library/iframe.js +6 -6
  200. package/examples/components/button.html +1 -1
  201. package/examples/components/card.html +1 -1
  202. package/examples/components/input.html +1 -1
  203. package/examples/components/menu.html +1 -1
  204. package/examples/components/site.html +1 -1
  205. package/examples/components/table.html +1 -1
  206. package/package.json +18 -16
  207. package/scripts/nightly-version.js +47 -38
  208. package/src/definitions/behaviors/api.js +89 -30
  209. package/src/definitions/behaviors/form.js +38 -29
  210. package/src/definitions/behaviors/state.js +1 -1
  211. package/src/definitions/behaviors/visibility.js +2 -2
  212. package/src/definitions/collections/form.less +229 -165
  213. package/src/definitions/collections/grid.less +723 -687
  214. package/src/definitions/collections/menu.less +233 -171
  215. package/src/definitions/collections/message.less +49 -47
  216. package/src/definitions/collections/table.less +882 -272
  217. package/src/definitions/elements/button.less +611 -469
  218. package/src/definitions/elements/container.less +145 -8
  219. package/src/definitions/elements/divider.less +24 -24
  220. package/src/definitions/elements/emoji.less +39 -10
  221. package/src/definitions/elements/flag.less +53 -18
  222. package/src/definitions/elements/header.less +46 -37
  223. package/src/definitions/elements/icon.less +39 -32
  224. package/src/definitions/elements/input.less +281 -33
  225. package/src/definitions/elements/label.less +132 -128
  226. package/src/definitions/elements/list.less +84 -75
  227. package/src/definitions/elements/loader.less +99 -98
  228. package/src/definitions/elements/placeholder.less +32 -32
  229. package/src/definitions/elements/segment.less +177 -56
  230. package/src/definitions/elements/step.less +76 -72
  231. package/src/definitions/elements/text.less +17 -15
  232. package/src/definitions/globals/reset.less +2 -2
  233. package/src/definitions/globals/site.less +25 -2
  234. package/src/definitions/modules/accordion.js +5 -2
  235. package/src/definitions/modules/accordion.less +371 -219
  236. package/src/definitions/modules/calendar.js +188 -75
  237. package/src/definitions/modules/calendar.less +20 -0
  238. package/src/definitions/modules/checkbox.js +16 -10
  239. package/src/definitions/modules/checkbox.less +83 -227
  240. package/src/definitions/modules/dimmer.js +10 -4
  241. package/src/definitions/modules/dimmer.less +22 -8
  242. package/src/definitions/modules/dropdown.js +151 -116
  243. package/src/definitions/modules/dropdown.less +191 -136
  244. package/src/definitions/modules/embed.less +4 -4
  245. package/src/definitions/modules/modal.js +127 -49
  246. package/src/definitions/modules/modal.less +66 -33
  247. package/src/definitions/modules/nag.js +1 -1
  248. package/src/definitions/modules/nag.less +20 -19
  249. package/src/definitions/modules/popup.js +10 -10
  250. package/src/definitions/modules/popup.less +90 -90
  251. package/src/definitions/modules/progress.js +5 -2
  252. package/src/definitions/modules/progress.less +19 -18
  253. package/src/definitions/modules/rating.less +49 -42
  254. package/src/definitions/modules/search.js +22 -6
  255. package/src/definitions/modules/search.less +35 -19
  256. package/src/definitions/modules/shape.js +2 -2
  257. package/src/definitions/modules/sidebar.js +13 -11
  258. package/src/definitions/modules/sidebar.less +36 -22
  259. package/src/definitions/modules/slider.js +67 -50
  260. package/src/definitions/modules/slider.less +48 -47
  261. package/src/definitions/modules/sticky.js +4 -4
  262. package/src/definitions/modules/sticky.less +3 -1
  263. package/src/definitions/modules/tab.js +23 -5
  264. package/src/definitions/modules/tab.less +4 -4
  265. package/src/definitions/modules/toast.js +62 -30
  266. package/src/definitions/modules/toast.less +56 -16
  267. package/src/definitions/modules/transition.js +21 -16
  268. package/src/definitions/views/ad.less +3 -3
  269. package/src/definitions/views/card.less +522 -375
  270. package/src/definitions/views/comment.less +93 -82
  271. package/src/definitions/views/feed.less +164 -144
  272. package/src/definitions/views/item.less +251 -198
  273. package/src/definitions/views/statistic.less +91 -89
  274. package/src/theme.less +13 -2
  275. package/src/themes/amazon/globals/site.variables +1 -0
  276. package/src/themes/basic/elements/icon.overrides +149 -149
  277. package/src/themes/basic/elements/step.overrides +2 -2
  278. package/src/themes/bookish/elements/header.overrides +1 -1
  279. package/src/themes/chubby/elements/button.overrides +1 -1
  280. package/src/themes/chubby/elements/header.overrides +1 -1
  281. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  282. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  283. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  284. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  285. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  286. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  287. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  288. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  289. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  290. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  291. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  292. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  293. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  294. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  295. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  296. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  297. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  298. package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
  299. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  300. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  301. package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  302. package/src/themes/default/assets/fonts/icons.eot +0 -0
  303. package/src/themes/default/assets/fonts/icons.svg +1175 -1079
  304. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  305. package/src/themes/default/assets/fonts/icons.woff +0 -0
  306. package/src/themes/default/assets/fonts/icons.woff2 +0 -0
  307. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  308. package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
  309. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  310. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  311. package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  312. package/src/themes/default/collections/form.variables +4 -0
  313. package/src/themes/default/collections/menu.variables +6 -0
  314. package/src/themes/default/collections/table.variables +52 -0
  315. package/src/themes/default/elements/button.variables +7 -1
  316. package/src/themes/default/elements/container.variables +12 -0
  317. package/src/themes/default/elements/divider.overrides +7 -7
  318. package/src/themes/default/elements/emoji.overrides +0 -3090
  319. package/src/themes/default/elements/emoji.variables +3575 -1
  320. package/src/themes/default/elements/flag.overrides +0 -991
  321. package/src/themes/default/elements/flag.variables +1609 -5
  322. package/src/themes/default/elements/icon.overrides +1975 -1949
  323. package/src/themes/default/elements/icon.variables +1 -0
  324. package/src/themes/default/elements/input.variables +15 -0
  325. package/src/themes/default/elements/segment.variables +8 -0
  326. package/src/themes/default/elements/step.overrides +4 -4
  327. package/src/themes/default/globals/site.variables +109 -8
  328. package/src/themes/default/globals/variation.variables +145 -6
  329. package/src/themes/default/modules/accordion.overrides +6 -5
  330. package/src/themes/default/modules/accordion.variables +49 -2
  331. package/src/themes/default/modules/calendar.variables +3 -0
  332. package/src/themes/default/modules/checkbox.overrides +9 -9
  333. package/src/themes/default/modules/checkbox.variables +5 -5
  334. package/src/themes/default/modules/dimmer.variables +1 -1
  335. package/src/themes/default/modules/dropdown.overrides +5 -5
  336. package/src/themes/default/modules/dropdown.variables +4 -10
  337. package/src/themes/default/modules/modal.variables +14 -0
  338. package/src/themes/default/modules/popup.variables +0 -2
  339. package/src/themes/default/modules/toast.variables +3 -0
  340. package/src/themes/default/views/card.variables +8 -0
  341. package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  342. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  343. package/src/themes/famfamfam/elements/flag.variables +20 -0
  344. package/src/themes/github/elements/icon.overrides +206 -206
  345. package/src/themes/github/elements/step.overrides +5 -5
  346. package/src/themes/github/globals/site.variables +1 -0
  347. package/src/themes/github/modules/dropdown.overrides +6 -6
  348. package/src/themes/instagram/views/card.overrides +1 -1
  349. package/src/themes/joypixels/elements/emoji.overrides +0 -3089
  350. package/src/themes/joypixels/elements/emoji.variables +3574 -5
  351. package/src/themes/material/collections/menu.overrides +1 -1
  352. package/src/themes/material/elements/button.overrides +1 -1
  353. package/src/themes/material/elements/header.overrides +1 -1
  354. package/src/themes/material/elements/icon.overrides +932 -932
  355. package/src/themes/material/globals/site.variables +0 -1
  356. package/src/themes/material/modules/dropdown.overrides +1 -1
  357. package/src/themes/material/modules/modal.overrides +1 -1
  358. package/src/themes/pulsar/elements/loader.overrides +2 -2
  359. package/src/themes/resetcss/globals/reset.overrides +3 -3
  360. package/src/themes/rtl/globals/site.overrides +1 -1
  361. package/src/themes/striped/modules/progress.overrides +1 -1
  362. package/src/themes/systemfont/globals/reset.overrides +8 -0
  363. package/src/themes/systemfont/globals/site.variables +10 -0
  364. package/src/themes/twitter/elements/emoji.overrides +0 -3091
  365. package/src/themes/twitter/elements/emoji.variables +3570 -6
  366. package/tasks/admin/components/init.js +2 -2
  367. package/tasks/admin/distributions/create.js +1 -1
  368. package/tasks/admin/distributions/init.js +2 -2
  369. package/tasks/admin/publish.js +1 -1
  370. package/tasks/admin/release.js +1 -1
  371. package/tasks/build/assets.js +1 -1
  372. package/tasks/build/css.js +9 -4
  373. package/tasks/build/javascript.js +3 -3
  374. package/tasks/check-install.js +1 -1
  375. package/tasks/clean.js +1 -1
  376. package/tasks/collections/README.md +1 -1
  377. package/tasks/collections/admin.js +1 -1
  378. package/tasks/config/admin/oauth.example.js +1 -1
  379. package/tasks/config/admin/templates/composer.json +1 -1
  380. package/tasks/config/project/install.js +15 -13
  381. package/tasks/install.js +1 -0
  382. package/tasks/rtl/watch.js +1 -1
  383. package/tasks/version.js +1 -1
  384. package/test/fixtures/accordion.html +1 -1
  385. package/test/fixtures/checkbox.html +1 -1
  386. package/test/fixtures/dropdown.html +1 -1
  387. package/test/fixtures/modal.html +1 -1
  388. package/test/fixtures/popup.html +1 -1
  389. package/test/fixtures/rating.html +1 -1
  390. package/test/fixtures/shape.html +1 -1
  391. package/test/fixtures/sidebar.html +1 -1
  392. package/test/fixtures/tab.html +1 -1
  393. package/test/fixtures/transition.html +1 -1
  394. package/test/fixtures/video.html +1 -1
  395. package/test/helpers/jasmine-jquery.js +2 -2
  396. package/test/helpers/jasmine-sinon.js +1 -1
  397. package/test/helpers/jquery-events.js +1 -1
  398. package/test/helpers/sinon.js +3 -3
  399. package/test/meteor/fonts.js +1 -1
  400. package/test/modules/accordion.spec.js +1 -1
  401. package/test/modules/checkbox.spec.js +1 -1
  402. package/test/modules/dropdown.spec.js +1 -1
  403. package/test/modules/modal.spec.js +1 -1
  404. package/test/modules/module.spec.js +1 -1
  405. package/test/modules/popup.spec.js +1 -1
  406. package/test/modules/search.spec.js +1 -1
  407. package/test/modules/shape.spec.js +1 -1
  408. package/test/modules/sidebar.spec.js +1 -1
  409. package/test/modules/tab.spec.js +1 -1
  410. package/test/modules/transition.spec.js +1 -1
  411. 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,12 +238,12 @@
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
- .ui.ui.ui.ui.table:not(.unstackable) tr.marked.@{color} {
246
+ .ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
247
247
  &.left {
248
248
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
249
249
  }
@@ -252,7 +252,7 @@
252
252
  }
253
253
  }
254
254
  & when (@variationTableInverted) {
255
- .ui.ui.ui.ui.inverted.table:not(.unstackable) tr.marked.@{color} {
255
+ .ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
256
256
  &.left {
257
257
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
258
258
  }
@@ -263,6 +263,317 @@
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
+ & 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) {
458
+ .ui.inverted.scrolling.table > thead {
459
+ color: @invertedHeaderBackgroundHex;
460
+ }
461
+ .ui.inverted.scrolling.table > tfoot {
462
+ color: @invertedFooterBackgroundHex;
463
+ }
464
+ }
465
+ }
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;
476
+ }
477
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
478
+ background: @thumbInvertedHoverBackground;
479
+ }
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;
490
+ }
491
+ }
492
+
493
+ }
494
+ & 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
+ }
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
+ }
576
+ }
266
577
  }
267
578
 
268
579
 
@@ -392,6 +703,13 @@
392
703
  background: @positiveBackgroundColor;
393
704
  color: @positiveColor;
394
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
+ }
395
713
  }
396
714
 
397
715
  & when (@variationTableNegative) {
@@ -405,6 +723,13 @@
405
723
  background: @negativeBackgroundColor;
406
724
  color: @negativeColor;
407
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
+ }
408
733
  }
409
734
 
410
735
  & when (@variationTableError) {
@@ -418,6 +743,13 @@
418
743
  background: @errorBackgroundColor;
419
744
  color: @errorColor;
420
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
+ }
421
753
  }
422
754
 
423
755
  & when (@variationTableWarning) {
@@ -431,6 +763,13 @@
431
763
  background: @warningBackgroundColor;
432
764
  color: @warningColor;
433
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
+ }
434
773
  }
435
774
 
436
775
  & when (@variationTableActive) {
@@ -444,6 +783,13 @@
444
783
  background: @activeBackgroundColor;
445
784
  color: @activeColor;
446
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
+ }
447
793
  }
448
794
 
449
795
 
@@ -452,8 +798,8 @@
452
798
  Disabled
453
799
  ---------------*/
454
800
 
455
- .ui.table tr.disabled td,
456
- .ui.table tr td.disabled,
801
+ .ui.ui.ui.table tr.disabled td,
802
+ .ui.ui.ui.table tr td.disabled,
457
803
  .ui.table tr.disabled:hover,
458
804
  .ui.table tr:hover td.disabled {
459
805
  pointer-events: none;
@@ -526,12 +872,12 @@
526
872
  }
527
873
  }
528
874
  }
529
- & when (@variationTableMarked) {
530
- each(@colors, {
531
- @color: replace(@key, '@', '');
875
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
876
+ each(@variationTableColors, {
877
+ @color: @value;
532
878
  @c: @colors[@@color][color];
533
879
  @l: @colors[@@color][light];
534
- .ui.ui.ui.ui[class*="tablet stackable"].table tr.marked.@{color} {
880
+ .ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
535
881
  &.left {
536
882
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
537
883
  }
@@ -540,7 +886,7 @@
540
886
  }
541
887
  }
542
888
  & when (@variationTableInverted) {
543
- .ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr.marked.@{color} {
889
+ .ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
544
890
  &.left {
545
891
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
546
892
  }
@@ -642,6 +988,8 @@
642
988
  .ui.table tbody tr td.selectable > a:not(.ui) {
643
989
  display: block;
644
990
  color: inherit;
991
+ }
992
+ .ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
645
993
  padding: @cellVerticalPadding @cellHorizontalPadding;
646
994
  }
647
995
  .ui.table > tr > td.selectable,
@@ -778,208 +1126,312 @@
778
1126
  /*-------------------
779
1127
  Colors
780
1128
  --------------------*/
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;
808
- }
809
- & when (@isDark) {
810
- background: @l;
811
- }
812
- & when not (@isDark) {
813
- background: @b;
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;
814
1145
  }
815
- & when (@isVeryDark) {
816
- color: @white;
1146
+ & when (@variationTableInverted) {
1147
+ .ui.inverted.@{color}.table {
1148
+ background: @c;
1149
+ color: @white;
1150
+ }
817
1151
  }
818
- & when not (@isVeryDark) {
819
- color: @t;
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
+ }
820
1187
  }
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) {
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
+ }
826
1197
  & when (@isDark) {
827
- background: @lh;
1198
+ background: @l;
828
1199
  }
829
1200
  & when not (@isDark) {
830
- background: @bh;
1201
+ background: @b;
831
1202
  }
832
1203
  & when (@isVeryDark) {
833
1204
  color: @white;
834
1205
  }
835
1206
  & when not (@isVeryDark) {
836
- color: @ht;
1207
+ color: @t;
837
1208
  }
838
1209
  }
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;
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;
845
1219
  }
846
- &.right {
847
- box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1220
+ & when not (@isVeryDark) {
1221
+ color: @t;
848
1222
  }
849
1223
  }
1224
+
850
1225
  & when (@variationTableInverted) {
851
- .ui.inverted.table td.marked.@{color},
852
- .ui.inverted.table tr.marked.@{color} {
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"] {
853
1290
  &.left {
854
- box-shadow: @coloredBorderSize 0 0 0 @l inset;
1291
+ box-shadow: @coloredBorderSize 0 0 0 @c inset;
855
1292
  }
856
1293
  &.right {
857
- box-shadow: -@coloredBorderSize 0 0 0 @l inset;
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
+ }
858
1306
  }
859
1307
  }
860
1308
  }
861
- }
862
1309
 
863
- })
1310
+ })
1311
+ }
864
1312
 
865
- /*--------------
866
- Column Count
867
- ---------------*/
1313
+ & when (@variationTableEqualWidth) {
1314
+ /*--------------
1315
+ Column Count
1316
+ ---------------*/
868
1317
 
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;
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
+ }
917
1367
  }
918
1368
 
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;
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
+ }
983
1435
  }
984
1436
 
985
1437
  & when (@variationTableSortable) {
@@ -990,18 +1442,19 @@ each(@colors, {
990
1442
  .ui.sortable.table > thead > tr > th {
991
1443
  cursor: pointer;
992
1444
  white-space: nowrap;
993
- border-left: @sortableBorder;
994
1445
  color: @sortableColor;
995
1446
  }
996
- .ui.sortable.table > thead > tr > th:first-child {
997
- border-left: none;
1447
+ & when (@variationTableCelled) {
1448
+ .ui.celled.sortable.table > thead > tr > th:not(:first-child) {
1449
+ border-left: @sortableBorder;
1450
+ }
998
1451
  }
999
1452
  .ui.sortable.table thead th.sorted,
1000
1453
  .ui.sortable.table thead th.sorted:hover {
1001
1454
  user-select: none;
1002
1455
  }
1003
1456
 
1004
- .ui.sortable.table > thead > tr > th:after {
1457
+ .ui.sortable.table > thead > tr > th::after {
1005
1458
  display: none;
1006
1459
  font-style: normal;
1007
1460
  font-weight: @normal;
@@ -1013,17 +1466,19 @@ each(@colors, {
1013
1466
  margin: 0 0 0 @sortableIconDistance;
1014
1467
  font-family: @sortableIconFont;
1015
1468
  }
1016
- .ui.sortable.table thead th.ascending:after {
1469
+ .ui.sortable.table thead th.ascending::after {
1017
1470
  content: @sortableIconAscending;
1018
1471
  }
1019
- .ui.sortable.table thead th.descending:after {
1472
+ .ui.sortable.table thead th.descending::after {
1020
1473
  content: @sortableIconDescending;
1021
1474
  }
1022
1475
 
1023
- /* Hover */
1024
- .ui.sortable.table th.disabled:hover {
1025
- cursor: auto;
1026
- color: @sortableDisabledColor;
1476
+ & when (@variationTableDisabled) {
1477
+ /* Hover */
1478
+ .ui.sortable.table th.disabled:hover {
1479
+ cursor: auto;
1480
+ color: @sortableDisabledColor;
1481
+ }
1027
1482
  }
1028
1483
  .ui.sortable.table > thead > tr > th:hover {
1029
1484
  color: @sortableHoverColor;
@@ -1039,7 +1494,7 @@ each(@colors, {
1039
1494
  .ui.sortable.table:not(.basic) thead th.sorted {
1040
1495
  background: @sortableActiveBackground;
1041
1496
  }
1042
- .ui.sortable.table thead th.sorted:after {
1497
+ .ui.sortable.table thead th.sorted::after {
1043
1498
  display: inline-block;
1044
1499
  }
1045
1500
 
@@ -1084,31 +1539,36 @@ each(@colors, {
1084
1539
  }
1085
1540
  .ui.ui.inverted.table > thead > tr > th,
1086
1541
  .ui.ui.inverted.table > tbody > tr > th,
1087
- .ui.ui.inverted.table > tfoot > tr > th,
1088
- .ui.ui.inverted.table > tfoot > tr > td,
1089
1542
  .ui.ui.inverted.table > tr > th {
1090
1543
  background-color: @invertedHeaderBackground;
1091
1544
  border-color: @invertedHeaderBorderColor;
1092
1545
  color: @invertedHeaderColor;
1093
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
+ }
1094
1553
  .ui.inverted.table > tbody > tr > td,
1095
1554
  .ui.inverted.table > tfoot > tr > td,
1096
1555
  .ui.inverted.table > tr > td {
1097
1556
  border-color: @invertedCellBorderColor;
1098
1557
  }
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;
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
+ }
1112
1572
  }
1113
1573
  & when (@variationTableDefinition) {
1114
1574
  /* Definition */
@@ -1135,7 +1595,7 @@ each(@colors, {
1135
1595
  }
1136
1596
  }
1137
1597
 
1138
- & when (@variationTableBasic) {
1598
+ & when (@variationTableBasic) or (@variationTableVeryBasic){
1139
1599
  /*--------------
1140
1600
  Basic
1141
1601
  ---------------*/
@@ -1169,38 +1629,40 @@ each(@colors, {
1169
1629
  background-color: @basicTableStripedBackground;
1170
1630
  }
1171
1631
  }
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;
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
+ }
1204
1666
  }
1205
1667
  }
1206
1668
 
@@ -1235,7 +1697,7 @@ each(@colors, {
1235
1697
  }
1236
1698
  }
1237
1699
 
1238
- & when (@variationTablePadded) {
1700
+ & when (@variationTablePadded) or (@variationTableVeryPadded) {
1239
1701
  /*--------------
1240
1702
  Padded
1241
1703
  ---------------*/
@@ -1257,22 +1719,24 @@ each(@colors, {
1257
1719
  padding: @paddedVerticalPadding @paddedHorizontalPadding;
1258
1720
  }
1259
1721
 
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;
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
+ }
1272
1736
  }
1273
1737
  }
1274
1738
 
1275
- & when (@variationTableCompact) {
1739
+ & when (@variationTableCompact) or (@variationTableVeryCompact) {
1276
1740
  /*--------------
1277
1741
  Compact
1278
1742
  ---------------*/
@@ -1290,18 +1754,164 @@ each(@colors, {
1290
1754
  padding: @compactVerticalPadding @compactHorizontalPadding;
1291
1755
  }
1292
1756
 
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;
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
+ }
1773
+
1774
+ & when (@variationTableStuck) {
1775
+ /*--------------
1776
+ Stuck
1777
+ ---------------*/
1778
+
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
+ }
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
+ }
1844
+ }
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;
1862
+ }
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;
1880
+ }
1881
+ & when (@variationTableInverted) {
1882
+ &.inverted th:last-child,
1883
+ &.inverted td:last-child {
1884
+ border-right: @invertedCellBorder;
1885
+ }
1886
+ }
1300
1887
  }
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;
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
+ }
1900
+ }
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;
1906
+ }
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;
1912
+ }
1913
+ }
1914
+ }
1305
1915
  }
1306
1916
  }
1307
1917