fomantic-ui 2.9.1-beta.2 → 2.9.1-beta.20

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