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