fomantic-ui 2.9.4-beta.91 → 2.9.4-beta.93

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 (199) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/.github/workflows/ci.yml +2 -2
  3. package/CONTRIBUTORS.md +3 -0
  4. package/dist/components/accordion.css +1 -1
  5. package/dist/components/accordion.js +1 -1
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +1 -1
  8. package/dist/components/ad.css +1 -1
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1 -1
  11. package/dist/components/api.min.js +1 -1
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +1 -1
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +1 -1
  17. package/dist/components/calendar.js +1 -1
  18. package/dist/components/calendar.min.css +1 -1
  19. package/dist/components/calendar.min.js +1 -1
  20. package/dist/components/card.css +1 -1
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +1 -1
  23. package/dist/components/checkbox.js +1 -1
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +1 -1
  26. package/dist/components/comment.css +1 -1
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +1 -1
  29. package/dist/components/container.min.css +1 -1
  30. package/dist/components/dimmer.css +1 -1
  31. package/dist/components/dimmer.js +1 -1
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +1 -1
  34. package/dist/components/divider.css +1 -1
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +1 -1
  37. package/dist/components/dropdown.js +1 -1
  38. package/dist/components/dropdown.min.css +1 -1
  39. package/dist/components/dropdown.min.js +1 -1
  40. package/dist/components/embed.css +1 -1
  41. package/dist/components/embed.js +1 -1
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +1 -1
  44. package/dist/components/emoji.css +1 -1
  45. package/dist/components/emoji.min.css +1 -1
  46. package/dist/components/feed.css +1 -1
  47. package/dist/components/feed.min.css +1 -1
  48. package/dist/components/flag.css +1 -1
  49. package/dist/components/flag.min.css +1 -1
  50. package/dist/components/flyout.css +3 -3
  51. package/dist/components/flyout.js +1 -1
  52. package/dist/components/flyout.min.css +1 -1
  53. package/dist/components/flyout.min.js +1 -1
  54. package/dist/components/form.css +1 -1
  55. package/dist/components/form.js +1 -1
  56. package/dist/components/form.min.css +1 -1
  57. package/dist/components/form.min.js +1 -1
  58. package/dist/components/grid.css +1 -1
  59. package/dist/components/grid.min.css +1 -1
  60. package/dist/components/header.css +1 -1
  61. package/dist/components/header.min.css +1 -1
  62. package/dist/components/icon.css +1 -1
  63. package/dist/components/icon.min.css +1 -1
  64. package/dist/components/image.css +1 -1
  65. package/dist/components/image.min.css +1 -1
  66. package/dist/components/input.css +1 -1
  67. package/dist/components/input.min.css +1 -1
  68. package/dist/components/item.css +1 -1
  69. package/dist/components/item.min.css +1 -1
  70. package/dist/components/label.css +1 -1
  71. package/dist/components/label.min.css +1 -1
  72. package/dist/components/list.css +1 -1
  73. package/dist/components/list.min.css +1 -1
  74. package/dist/components/loader.css +1 -1
  75. package/dist/components/loader.min.css +1 -1
  76. package/dist/components/menu.css +1 -1
  77. package/dist/components/menu.min.css +1 -1
  78. package/dist/components/message.css +1 -1
  79. package/dist/components/message.min.css +1 -1
  80. package/dist/components/modal.css +3 -3
  81. package/dist/components/modal.js +1 -1
  82. package/dist/components/modal.min.css +1 -1
  83. package/dist/components/modal.min.js +1 -1
  84. package/dist/components/nag.css +1 -1
  85. package/dist/components/nag.js +1 -1
  86. package/dist/components/nag.min.css +1 -1
  87. package/dist/components/nag.min.js +1 -1
  88. package/dist/components/placeholder.css +1 -1
  89. package/dist/components/placeholder.min.css +1 -1
  90. package/dist/components/popup.css +1 -1
  91. package/dist/components/popup.js +1 -1
  92. package/dist/components/popup.min.css +1 -1
  93. package/dist/components/popup.min.js +1 -1
  94. package/dist/components/progress.css +1 -1
  95. package/dist/components/progress.js +1 -1
  96. package/dist/components/progress.min.css +1 -1
  97. package/dist/components/progress.min.js +1 -1
  98. package/dist/components/rail.css +1 -1
  99. package/dist/components/rail.min.css +1 -1
  100. package/dist/components/rating.css +1 -1
  101. package/dist/components/rating.js +1 -1
  102. package/dist/components/rating.min.css +1 -1
  103. package/dist/components/rating.min.js +1 -1
  104. package/dist/components/reset.css +1 -1
  105. package/dist/components/reset.min.css +1 -1
  106. package/dist/components/reveal.css +1 -1
  107. package/dist/components/reveal.min.css +1 -1
  108. package/dist/components/search.css +34 -23
  109. package/dist/components/search.js +12 -1
  110. package/dist/components/search.min.css +2 -2
  111. package/dist/components/search.min.js +2 -2
  112. package/dist/components/segment.css +1 -1
  113. package/dist/components/segment.min.css +1 -1
  114. package/dist/components/shape.css +1 -1
  115. package/dist/components/shape.js +1 -1
  116. package/dist/components/shape.min.css +1 -1
  117. package/dist/components/shape.min.js +1 -1
  118. package/dist/components/sidebar.css +1 -1
  119. package/dist/components/sidebar.js +1 -1
  120. package/dist/components/sidebar.min.css +1 -1
  121. package/dist/components/sidebar.min.js +1 -1
  122. package/dist/components/site.css +1 -1
  123. package/dist/components/site.js +1 -1
  124. package/dist/components/site.min.css +1 -1
  125. package/dist/components/site.min.js +1 -1
  126. package/dist/components/slider.css +1 -1
  127. package/dist/components/slider.js +1 -1
  128. package/dist/components/slider.min.css +1 -1
  129. package/dist/components/slider.min.js +1 -1
  130. package/dist/components/state.js +1 -1
  131. package/dist/components/state.min.js +1 -1
  132. package/dist/components/statistic.css +1 -1
  133. package/dist/components/statistic.min.css +1 -1
  134. package/dist/components/step.css +1 -1
  135. package/dist/components/step.min.css +1 -1
  136. package/dist/components/sticky.css +1 -1
  137. package/dist/components/sticky.js +1 -1
  138. package/dist/components/sticky.min.css +1 -1
  139. package/dist/components/sticky.min.js +1 -1
  140. package/dist/components/tab.css +1 -1
  141. package/dist/components/tab.js +1 -1
  142. package/dist/components/tab.min.css +1 -1
  143. package/dist/components/tab.min.js +1 -1
  144. package/dist/components/table.css +1 -1
  145. package/dist/components/table.min.css +1 -1
  146. package/dist/components/text.css +1 -1
  147. package/dist/components/text.min.css +1 -1
  148. package/dist/components/toast.css +1 -1
  149. package/dist/components/toast.js +1 -1
  150. package/dist/components/toast.min.css +1 -1
  151. package/dist/components/toast.min.js +1 -1
  152. package/dist/components/transition.css +1 -1
  153. package/dist/components/transition.js +1 -1
  154. package/dist/components/transition.min.css +1 -1
  155. package/dist/components/transition.min.js +1 -1
  156. package/dist/components/visibility.js +1 -1
  157. package/dist/components/visibility.min.js +1 -1
  158. package/dist/semantic.css +93 -78
  159. package/dist/semantic.js +37 -26
  160. package/dist/semantic.min.css +2 -2
  161. package/dist/semantic.min.js +2 -2
  162. package/package.json +1 -1
  163. package/src/definitions/collections/form.less +37 -24
  164. package/src/definitions/collections/grid.less +81 -66
  165. package/src/definitions/collections/menu.less +38 -27
  166. package/src/definitions/collections/table.less +114 -103
  167. package/src/definitions/elements/button.less +36 -24
  168. package/src/definitions/elements/container.less +6 -4
  169. package/src/definitions/elements/divider.less +4 -1
  170. package/src/definitions/elements/emoji.less +3 -1
  171. package/src/definitions/elements/header.less +7 -4
  172. package/src/definitions/elements/icon.less +35 -28
  173. package/src/definitions/elements/input.less +21 -13
  174. package/src/definitions/elements/label.less +14 -8
  175. package/src/definitions/elements/list.less +28 -21
  176. package/src/definitions/elements/loader.less +17 -12
  177. package/src/definitions/elements/segment.less +12 -7
  178. package/src/definitions/elements/step.less +95 -91
  179. package/src/definitions/modules/accordion.less +15 -13
  180. package/src/definitions/modules/calendar.less +6 -4
  181. package/src/definitions/modules/checkbox.less +12 -6
  182. package/src/definitions/modules/dimmer.less +10 -7
  183. package/src/definitions/modules/dropdown.less +68 -51
  184. package/src/definitions/modules/flyout.less +51 -45
  185. package/src/definitions/modules/modal.less +109 -82
  186. package/src/definitions/modules/nag.less +8 -4
  187. package/src/definitions/modules/popup.less +3 -1
  188. package/src/definitions/modules/progress.less +10 -4
  189. package/src/definitions/modules/search.js +11 -0
  190. package/src/definitions/modules/search.less +32 -23
  191. package/src/definitions/modules/slider.less +31 -24
  192. package/src/definitions/modules/toast.less +35 -24
  193. package/src/definitions/views/card.less +7 -5
  194. package/src/definitions/views/feed.less +3 -1
  195. package/src/definitions/views/item.less +7 -5
  196. package/src/themes/default/globals/variation.variables +14 -2
  197. package/src/themes/default/modules/search.variables +14 -14
  198. package/tasks/config/project/release.js +19 -1
  199. package/tasks/config/tasks.js +6 -6
@@ -17,6 +17,15 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notUnstackable: if(@variationTableUnstackable, e(":not(.unstackable)"));
21
+ @notRowSpanned: if(@variationTableRowSpanned, e(":not(.rowspanned)"));
22
+ @notFullWidth: if(@variationTableFullWidth, e(":not(.full-width)"));
23
+ @notMarked: if(@variationTableMarked, e(":not(.marked)"));
24
+ @notSortable: if(@variationTableSortable, e(":not(.sortable)"));
25
+ @notStriped: if(@variationTableStriped, e(":not(.striped)"));
26
+ @notInverted: if(@variationTableInverted, e(":not(.inverted)"));
27
+ @notBasic: if(@variationTableBasic, e(":not(.basic)"));
28
+
20
29
  /*******************************
21
30
  Table
22
31
  *******************************/
@@ -58,10 +67,12 @@
58
67
  transition: @transition;
59
68
  }
60
69
 
61
- /* Rowspan helper class */
62
- .ui.table th.rowspanned,
63
- .ui.table td.rowspanned {
64
- display: none;
70
+ & when (@variationTableRowSpanned) {
71
+ /* Rowspan helper class */
72
+ .ui.table th.rowspanned,
73
+ .ui.table td.rowspanned {
74
+ display: none;
75
+ }
65
76
  }
66
77
 
67
78
  /* Headers */
@@ -173,67 +184,67 @@
173
184
 
174
185
  /* Responsive */
175
186
  @media only screen and (max-width: @largestMobileScreen) {
176
- .ui.table:not(.unstackable) {
187
+ .ui.table@{notUnstackable} {
177
188
  width: 100%;
178
189
  padding: 0;
179
190
  }
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) {
191
+ .ui.table@{notUnstackable} > thead,
192
+ .ui.table@{notUnstackable} > thead > tr,
193
+ .ui.table@{notUnstackable} > tfoot,
194
+ .ui.table@{notUnstackable} > tfoot > tr,
195
+ .ui.table@{notUnstackable} > tbody,
196
+ .ui.table@{notUnstackable} > tr,
197
+ .ui.table@{notUnstackable} > tbody > tr,
198
+ .ui.table@{notUnstackable} > tr > th@{notRowSpanned},
199
+ .ui.table@{notUnstackable} > thead > tr > th@{notRowSpanned},
200
+ .ui.table@{notUnstackable} > tbody > tr > th@{notRowSpanned},
201
+ .ui.table@{notUnstackable} > tfoot > tr > th@{notRowSpanned},
202
+ .ui.table@{notUnstackable} > tr > td@{notRowSpanned},
203
+ .ui.table@{notUnstackable} > tbody > tr > td@{notRowSpanned},
204
+ .ui.table@{notUnstackable} > tfoot > tr > td@{notRowSpanned} {
194
205
  display: block !important;
195
206
  width: auto !important;
196
207
  }
197
208
 
198
- .ui.table:not(.unstackable) > thead {
209
+ .ui.table@{notUnstackable} > thead {
199
210
  display: @responsiveHeaderDisplay;
200
211
  }
201
- .ui.table:not(.unstackable) > tfoot {
212
+ .ui.table@{notUnstackable} > tfoot {
202
213
  display: @responsiveFooterDisplay;
203
214
  }
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 {
215
+ .ui.ui.ui.ui.table@{notUnstackable} > tr,
216
+ .ui.ui.ui.ui.table@{notUnstackable} > thead > tr,
217
+ .ui.ui.ui.ui.table@{notUnstackable} > tbody > tr,
218
+ .ui.ui.ui.ui.table@{notUnstackable} > tfoot > tr {
208
219
  padding-top: @responsiveRowVerticalPadding;
209
220
  padding-bottom: @responsiveRowVerticalPadding;
210
221
  box-shadow: @responsiveRowBoxShadow;
211
222
  }
212
223
 
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 {
224
+ .ui.ui.ui.ui.table@{notUnstackable} > tr > th,
225
+ .ui.ui.ui.ui.table@{notUnstackable} > thead > tr > th,
226
+ .ui.ui.ui.ui.table@{notUnstackable} > tbody > tr > th,
227
+ .ui.ui.ui.ui.table@{notUnstackable} > tfoot > tr > th,
228
+ .ui.ui.ui.ui.table@{notUnstackable} > tr > td,
229
+ .ui.ui.ui.ui.table@{notUnstackable} > tbody > tr > td,
230
+ .ui.ui.ui.ui.table@{notUnstackable} > tfoot > tr > td {
220
231
  background: none;
221
232
  border: none;
222
233
  padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
223
234
  box-shadow: @responsiveCellBoxShadow;
224
235
  }
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 {
236
+ .ui.table@{notUnstackable} > tr > th:first-child,
237
+ .ui.table@{notUnstackable} > thead > tr > th:first-child,
238
+ .ui.table@{notUnstackable} > tbody > tr > th:first-child,
239
+ .ui.table@{notUnstackable} > tfoot > tr > th:first-child,
240
+ .ui.table@{notUnstackable} > tr > td:first-child,
241
+ .ui.table@{notUnstackable} > tbody > tr > td:first-child,
242
+ .ui.table@{notUnstackable} > tfoot > tr > td:first-child {
232
243
  font-weight: @responsiveCellHeaderFontWeight;
233
244
  }
234
245
 
235
246
  /* Definition Table */
236
- .ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
247
+ .ui.definition.table@{notUnstackable} > thead > tr > th:first-child {
237
248
  box-shadow: none !important;
238
249
  }
239
250
  & when (@variationTableMarked) and not (@variationTableColors = false) {
@@ -241,7 +252,7 @@
241
252
  @color: @value;
242
253
  @c: @colors[@@color][color];
243
254
  @l: @colors[@@color][light];
244
- .ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
255
+ .ui.ui.ui.ui.table@{notUnstackable} tr[class*="@{color} marked"] {
245
256
  &.left {
246
257
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
247
258
  }
@@ -250,7 +261,7 @@
250
261
  }
251
262
  }
252
263
  & when (@variationTableInverted) {
253
- .ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
264
+ .ui.ui.ui.ui.inverted.table@{notUnstackable} tr[class*="@{color} marked"] {
254
265
  &.left {
255
266
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
256
267
  }
@@ -716,7 +727,7 @@
716
727
  Definition
717
728
  --------------- */
718
729
 
719
- .ui.definition.table > thead:not(.full-width) > tr > th:first-child {
730
+ .ui.definition.table > thead@{notFullWidth} > tr > th:first-child {
720
731
  pointer-events: none;
721
732
  background: @definitionHeaderBackground;
722
733
  font-weight: @definitionHeaderFontWeight;
@@ -727,11 +738,11 @@
727
738
  -moz-transform: scale(1);
728
739
  }
729
740
 
730
- .ui.definition.table > thead:not(.full-width) > tr > th:first-child:not(:empty) {
741
+ .ui.definition.table > thead@{notFullWidth} > tr > th:first-child:not(:empty) {
731
742
  pointer-events: auto;
732
743
  }
733
744
 
734
- .ui.definition.table > tfoot:not(.full-width) > tr > th:first-child {
745
+ .ui.definition.table > tfoot@{notFullWidth} > tr > th:first-child {
735
746
  pointer-events: none;
736
747
  background: @definitionFooterBackground;
737
748
  font-weight: @definitionFooterFontWeight;
@@ -759,11 +770,11 @@
759
770
  }
760
771
 
761
772
  /* Fix 2nd Column */
762
- .ui.definition.table > thead:not(.full-width) > tr > th:nth-child(2) {
773
+ .ui.definition.table > thead@{notFullWidth} > tr > th:nth-child(2) {
763
774
  border-left: @borderWidth solid @borderColor;
764
775
  }
765
- .ui.definition.table > tfoot:not(.full-width) > tr > th:nth-child(2),
766
- .ui.definition.table > tfoot:not(.full-width) > tr > td:nth-child(2) {
776
+ .ui.definition.table > tfoot@{notFullWidth} > tr > th:nth-child(2),
777
+ .ui.definition.table > tfoot@{notFullWidth} > tr > td:nth-child(2) {
767
778
  border-left: @borderWidth solid @borderColor;
768
779
  }
769
780
  .ui.definition.table > tr > td:nth-child(2),
@@ -907,13 +918,13 @@
907
918
  .ui[class*="tablet stackable"].table > tbody,
908
919
  .ui[class*="tablet stackable"].table > tbody > tr,
909
920
  .ui[class*="tablet stackable"].table > tr,
910
- .ui[class*="tablet stackable"].table > thead > tr > th:not(.rowspanned),
911
- .ui[class*="tablet stackable"].table > tbody > tr > th:not(.rowspanned),
912
- .ui[class*="tablet stackable"].table > tfoot > tr > th:not(.rowspanned),
913
- .ui[class*="tablet stackable"].table > tr > th:not(.rowspanned),
914
- .ui[class*="tablet stackable"].table > tbody > tr > td:not(.rowspanned),
915
- .ui[class*="tablet stackable"].table > tfoot > tr > td:not(.rowspanned),
916
- .ui[class*="tablet stackable"].table > tr > td:not(.rowspanned) {
921
+ .ui[class*="tablet stackable"].table > thead > tr > th@{notRowSpanned},
922
+ .ui[class*="tablet stackable"].table > tbody > tr > th@{notRowSpanned},
923
+ .ui[class*="tablet stackable"].table > tfoot > tr > th@{notRowSpanned},
924
+ .ui[class*="tablet stackable"].table > tr > th@{notRowSpanned},
925
+ .ui[class*="tablet stackable"].table > tbody > tr > td@{notRowSpanned},
926
+ .ui[class*="tablet stackable"].table > tfoot > tr > td@{notRowSpanned},
927
+ .ui[class*="tablet stackable"].table > tr > td@{notRowSpanned} {
917
928
  display: block !important;
918
929
  width: 100% !important;
919
930
  }
@@ -1269,9 +1280,9 @@
1269
1280
  .ui.ui.ui.ui.table tr[class*="@{color} colored"],
1270
1281
  .ui.ui.table th[class*="@{color} colored"],
1271
1282
  .ui.ui.table td[class*="@{color} colored"],
1272
- .ui.ui.ui.ui.table tr.@{color}:not(.marked),
1273
- .ui.ui.table th.@{color}:not(.marked),
1274
- .ui.ui.table td.@{color}:not(.marked) {
1283
+ .ui.ui.ui.ui.table tr.@{color}@{notMarked},
1284
+ .ui.ui.table th.@{color}@{notMarked},
1285
+ .ui.ui.table td.@{color}@{notMarked} {
1275
1286
  & when (@stateMarkerWidth > 0) {
1276
1287
  box-shadow: @stateMarkerWidth 0 0 @r inset;
1277
1288
  }
@@ -1291,9 +1302,9 @@
1291
1302
  .ui.table > thead > tr[class*="@{color} colored"] > th,
1292
1303
  .ui.table > tfoot > tr[class*="@{color} colored"] > th,
1293
1304
  .ui.table > tfoot > tr[class*="@{color} colored"] > td,
1294
- .ui.table > thead > tr.@{color}:not(.marked) > th,
1295
- .ui.table > tfoot > tr.@{color}:not(.marked) > th,
1296
- .ui.table > tfoot > tr.@{color}:not(.marked) > td {
1305
+ .ui.table > thead > tr.@{color}@{notMarked} > th,
1306
+ .ui.table > tfoot > tr.@{color}@{notMarked} > th,
1307
+ .ui.table > tfoot > tr.@{color}@{notMarked} > td {
1297
1308
  background: inherit;
1298
1309
  & when (@isVeryDark) {
1299
1310
  color: @white;
@@ -1307,18 +1318,18 @@
1307
1318
  .ui.ui.ui.ui.inverted.table tr[class*="@{color} colored"],
1308
1319
  .ui.ui.inverted.table th[class*="@{color} colored"],
1309
1320
  .ui.ui.inverted.table td[class*="@{color} colored"],
1310
- .ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
1311
- .ui.ui.inverted.table th.@{color}:not(.marked),
1312
- .ui.ui.inverted.table td.@{color}:not(.marked) {
1321
+ .ui.ui.ui.ui.inverted.table tr.@{color}@{notMarked},
1322
+ .ui.ui.inverted.table th.@{color}@{notMarked},
1323
+ .ui.ui.inverted.table td.@{color}@{notMarked} {
1313
1324
  background: @c;
1314
1325
  color: @white;
1315
1326
  }
1316
1327
  .ui.inverted.table > thead > tr[class*="@{color} colored"] > th,
1317
1328
  .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > th,
1318
1329
  .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > td,
1319
- .ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
1320
- .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
1321
- .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
1330
+ .ui.inverted.table > thead > tr.@{color}@{notMarked} > th,
1331
+ .ui.inverted.table > tfoot > tr.@{color}@{notMarked} > th,
1332
+ .ui.inverted.table > tfoot > tr.@{color}@{notMarked} > td {
1322
1333
  background: inherit;
1323
1334
  color: @white;
1324
1335
  }
@@ -1327,9 +1338,9 @@
1327
1338
  .ui.ui.selectable.table tr[class*="@{color} colored"]:hover,
1328
1339
  .ui.table tr td.selectable[class*="@{color} colored"]:hover,
1329
1340
  .ui.selectable.table tr:hover td[class*="@{color} colored"],
1330
- .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
1331
- .ui.table tr td.selectable.@{color}:not(.marked):hover,
1332
- .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1341
+ .ui.ui.selectable.table tr.@{color}@{notMarked}:hover,
1342
+ .ui.table tr td.selectable.@{color}@{notMarked}:hover,
1343
+ .ui.selectable.table tr:hover td.@{color}@{notMarked} {
1333
1344
  & when (@isDark) {
1334
1345
  background: @lh;
1335
1346
  }
@@ -1347,9 +1358,9 @@
1347
1358
  .ui.ui.inverted.selectable.table tr[class*="@{color} colored"]:hover,
1348
1359
  .ui.inverted.table tr td.selectable[class*="@{color} colored"]:hover,
1349
1360
  .ui.inverted.selectable.table tr:hover td[class*="@{color} colored"],
1350
- .ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
1351
- .ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
1352
- .ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
1361
+ .ui.ui.inverted.selectable.table tr.@{color}@{notMarked}:hover,
1362
+ .ui.inverted.table tr td.selectable.@{color}@{notMarked}:hover,
1363
+ .ui.inverted.selectable.table tr:hover td.@{color}@{notMarked} {
1353
1364
  & when (@isDark) {
1354
1365
  background: @bh;
1355
1366
  }
@@ -1564,7 +1575,7 @@
1564
1575
  .ui.sortable.table > thead > tr > th:hover {
1565
1576
  color: @sortableHoverColor;
1566
1577
  }
1567
- .ui.sortable.table:not(.basic) > thead > tr > th:hover {
1578
+ .ui.sortable.table@{notBasic} > thead > tr > th:hover {
1568
1579
  background: @sortableHoverBackground;
1569
1580
  }
1570
1581
 
@@ -1572,7 +1583,7 @@
1572
1583
  .ui.sortable.table thead th.sorted {
1573
1584
  color: @sortableActiveColor;
1574
1585
  }
1575
- .ui.sortable.table:not(.basic) thead th.sorted {
1586
+ .ui.sortable.table@{notBasic} thead th.sorted {
1576
1587
  background: @sortableActiveBackground;
1577
1588
  }
1578
1589
  .ui.sortable.table thead th.sorted::after {
@@ -1583,7 +1594,7 @@
1583
1594
  .ui.sortable.table thead th.sorted:hover {
1584
1595
  color: @sortableActiveHoverColor;
1585
1596
  }
1586
- .ui.sortable.table:not(.basic) thead th.sorted:hover {
1597
+ .ui.sortable.table@{notBasic} thead th.sorted:hover {
1587
1598
  background: @sortableActiveHoverBackground;
1588
1599
  }
1589
1600
  & when (@variationTableInverted) {
@@ -1591,16 +1602,16 @@
1591
1602
  .ui.inverted.sortable.table thead th.sorted {
1592
1603
  color: @sortableInvertedActiveColor;
1593
1604
  }
1594
- .ui.inverted.sortable.table:not(.basic) thead th.sorted {
1605
+ .ui.inverted.sortable.table@{notBasic} thead th.sorted {
1595
1606
  background: @sortableInvertedActiveBackground;
1596
1607
  }
1597
1608
  .ui.inverted.sortable.table > thead > tr > th:hover {
1598
1609
  color: @sortableInvertedHoverColor;
1599
1610
  }
1600
- .ui.inverted.sortable.table:not(.basic) > thead > tr > th:hover {
1611
+ .ui.inverted.sortable.table@{notBasic} > thead > tr > th:hover {
1601
1612
  background: @sortableInvertedHoverBackground;
1602
1613
  }
1603
- .ui.inverted.sortable.table:not(.basic) > thead > tr > th {
1614
+ .ui.inverted.sortable.table@{notBasic} > thead > tr > th {
1604
1615
  border-left-color: @sortableInvertedBorderColor;
1605
1616
  border-right-color: @sortableInvertedBorderColor;
1606
1617
  }
@@ -1653,8 +1664,8 @@
1653
1664
  }
1654
1665
  & when (@variationTableDefinition) {
1655
1666
  /* Definition */
1656
- .ui.inverted.definition.table > tfoot:not(.full-width) > tr > th:first-child,
1657
- .ui.inverted.definition.table > thead:not(.full-width) > tr > th:first-child {
1667
+ .ui.inverted.definition.table > tfoot@{notFullWidth} > tr > th:first-child,
1668
+ .ui.inverted.definition.table > thead@{notFullWidth} > tr > th:first-child {
1658
1669
  background: @definitionPageBackground;
1659
1670
  }
1660
1671
  .ui.inverted.definition.table > tbody > tr > td:first-child,
@@ -1715,33 +1726,33 @@
1715
1726
  .ui[class*="very basic"].table {
1716
1727
  border: none;
1717
1728
  }
1718
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1719
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1720
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1721
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1722
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1723
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1729
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tr > th,
1730
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > thead > tr > th,
1731
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tbody > tr > th,
1732
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tfoot > tr > th,
1733
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tr > td,
1734
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tbody > tr > td {
1724
1735
  padding: @basicTableCellPadding;
1725
1736
  }
1726
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1727
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1728
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1729
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1730
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1731
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
1732
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1737
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tr > th:first-child,
1738
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > thead > tr > th:first-child,
1739
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tbody > tr > th:first-child,
1740
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tfoot > tr > th:first-child,
1741
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tr > td:first-child,
1742
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tbody > tr > td:first-child,
1743
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tfoot > tr > td:first-child {
1733
1744
  padding-left: 0;
1734
1745
  }
1735
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1736
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1737
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1738
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1739
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1740
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1741
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
1746
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tr > th:last-child,
1747
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > thead > tr > th:last-child,
1748
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tbody > tr > th:last-child,
1749
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tfoot > tr > th:last-child,
1750
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tr > td:last-child,
1751
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tbody > tr > td:last-child,
1752
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > tfoot > tr > td:last-child {
1742
1753
  padding-right: 0;
1743
1754
  }
1744
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1755
+ .ui[class*="very basic"].table@{notSortable}@{notStriped} > thead > tr:first-child > th {
1745
1756
  padding-top: 0;
1746
1757
  }
1747
1758
  }
@@ -1857,7 +1868,7 @@
1857
1868
  Stuck
1858
1869
  --------------- */
1859
1870
 
1860
- .ui.stuck.table:not(.inverted) {
1871
+ .ui.stuck.table@{notInverted} {
1861
1872
  background: @stuckBackground;
1862
1873
  & > thead > tr {
1863
1874
  background: @stuckHeaderBackground;
@@ -17,6 +17,18 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notIcon: if(@variationButtonIcon, e(":not(.icon)"));
21
+ @notAnimated: if(@variationButtonAnimated, e(":not(.animated)"));
22
+ @notLabeled: if(@variationButtonLabeled, e(":not(.labeled)"));
23
+ @notCompact: if(@variationButtonCompact, e(":not(.compact)"));
24
+ @notSpaced: if(@variationButtonSpaced, e(":not(.spaced)"));
25
+ @notCircular: if(@variationButtonCircular, e(":not(.circular)"));
26
+ @notVertical: if(@variationButtonVertical, e(":not(.vertical)"));
27
+ @notInverted: if(@variationButtonInverted, e(":not(.inverted)"));
28
+ @notBasic: if(@variationButtonBasic, e(":not(.basic)"));
29
+ @notAttached: if(@variationButtonAttached, e(":not(.attached)"));
30
+ @notWrapping: if(@variationButtonWrapping, e(":not(.wrapping)"));
31
+
20
32
  /*******************************
21
33
  Button
22
34
  *******************************/
@@ -166,10 +178,10 @@
166
178
  }
167
179
  }
168
180
  & when (@variationButtonBasic) {
169
- .ui.basic.loading.button:not(.inverted)::before {
181
+ .ui.basic.loading.button@{notInverted}::before {
170
182
  border-color: @loaderFillColor;
171
183
  }
172
- .ui.basic.loading.button:not(.inverted)::after {
184
+ .ui.basic.loading.button@{notInverted}::after {
173
185
  border-color: @loaderLineColor;
174
186
  }
175
187
  }
@@ -179,7 +191,7 @@
179
191
  Disabled
180
192
  -------------------- */
181
193
 
182
- .ui.buttons .disabled.button:not(.basic),
194
+ .ui.buttons .disabled.button@{notBasic},
183
195
  .ui.disabled.button,
184
196
  .ui.button:disabled,
185
197
  .ui.disabled.button:hover,
@@ -377,7 +389,7 @@
377
389
  Labeled Button
378
390
  -------------------- */
379
391
 
380
- .ui.labeled.button:not(.icon) {
392
+ .ui.labeled.button@{notIcon} {
381
393
  display: inline-flex;
382
394
  flex-direction: row;
383
395
  background: none;
@@ -621,15 +633,15 @@
621
633
  color: @iconColor;
622
634
  }
623
635
 
624
- .ui.button:not(.icon) > .icon:not(.button):not(.dropdown),
625
- .ui.button:not(.icon) > .icons:not(.button):not(.dropdown) {
636
+ .ui.button@{notIcon} > .icon:not(.button):not(.dropdown),
637
+ .ui.button@{notIcon} > .icons:not(.button):not(.dropdown) {
626
638
  margin: @iconMargin;
627
639
  vertical-align: @iconVerticalAlign;
628
640
  }
629
- .ui.button:not(.icon) > .icons:not(.button):not(.dropdown) > .icon {
641
+ .ui.button@{notIcon} > .icons:not(.button):not(.dropdown) > .icon {
630
642
  vertical-align: @iconVerticalAlign;
631
643
  }
632
- .ui.button:not(.icon) > .right.icon:not(.button):not(.dropdown) {
644
+ .ui.button@{notIcon} > .right.icon:not(.button):not(.dropdown) {
633
645
  margin: @rightIconMargin;
634
646
  }
635
647
 
@@ -737,7 +749,7 @@
737
749
  --------------- */
738
750
 
739
751
  .ui.icon.buttons .button,
740
- .ui.icon.button:not(.animated):not(.compact):not(.labeled) {
752
+ .ui.icon.button@{notAnimated}@{notCompact}@{notLabeled} {
741
753
  padding: @verticalPadding @verticalPadding (@verticalPadding + @shadowOffset);
742
754
  }
743
755
  .ui.animated.icon.button > .content > .icon,
@@ -873,7 +885,7 @@
873
885
 
874
886
  & when (@variationButtonGroups) {
875
887
  /* Basic Group */
876
- .ui.basic.buttons:not(.inverted) .button:not(.basic) {
888
+ .ui.basic.buttons@{notInverted} .button@{notBasic} {
877
889
  border-right: @basicGroupBorder;
878
890
  box-shadow: none;
879
891
  }
@@ -885,7 +897,7 @@
885
897
  border-top: @basicGroupBorder;
886
898
  }
887
899
 
888
- .ui.basic.vertical.buttons:not(.spaced):not(.circular) .button:first-child {
900
+ .ui.basic.vertical.buttons@{notSpaced}@{notCircular} .button:first-child {
889
901
  border-top: none;
890
902
  }
891
903
  }
@@ -1107,7 +1119,7 @@
1107
1119
  vertical-align: baseline;
1108
1120
  }
1109
1121
 
1110
- .ui.circular.buttons:not(.vertical):not(.spaced) .button {
1122
+ .ui.circular.buttons@{notVertical}@{notSpaced} .button {
1111
1123
  margin-right: @circularGroupMargin;
1112
1124
  }
1113
1125
 
@@ -1827,7 +1839,7 @@
1827
1839
  box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
1828
1840
  color: @@_backgroundColorDown;
1829
1841
  }
1830
- .ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
1842
+ .ui.buttons@{notVertical} > .basic.@{consequence}.button:not(:first-child) {
1831
1843
  margin-left: -@basicColoredBorderSize;
1832
1844
  }
1833
1845
  }
@@ -1847,7 +1859,7 @@
1847
1859
  margin: @verticalMargin @horizontalMargin 0 0;
1848
1860
  }
1849
1861
 
1850
- .ui.buttons:not(.basic):not(.inverted) {
1862
+ .ui.buttons@{notBasic}@{notInverted} {
1851
1863
  box-shadow: @groupBoxShadow;
1852
1864
  }
1853
1865
 
@@ -1867,7 +1879,7 @@
1867
1879
  margin: @groupButtonOffset;
1868
1880
  }
1869
1881
 
1870
- .ui.buttons:not(.basic):not(.inverted) > .button:not(.basic):not(.inverted) {
1882
+ .ui.buttons@{notBasic}@{notInverted} > .button@{notBasic}@{notInverted} {
1871
1883
  box-shadow: @groupButtonBoxShadow;
1872
1884
  }
1873
1885
 
@@ -1895,7 +1907,7 @@
1895
1907
  width: 100%;
1896
1908
  margin: @verticalGroupOffset;
1897
1909
  border-radius: 0;
1898
- &:not(.basic) {
1910
+ &@{notBasic} {
1899
1911
  box-shadow: @verticalBoxShadow;
1900
1912
  }
1901
1913
  }
@@ -1943,7 +1955,7 @@
1943
1955
  }
1944
1956
  }
1945
1957
  & when (@variationButtonWrapped) {
1946
- .ui.wrapped.buttons:not(.spaced) {
1958
+ .ui.wrapped.buttons@{notSpaced} {
1947
1959
  border-top-right-radius: 0;
1948
1960
  & .button {
1949
1961
  &:first-child {
@@ -1991,7 +2003,7 @@
1991
2003
  }
1992
2004
  }
1993
2005
  & when (@variationButtonWrapping) {
1994
- .ui.spaced.basic.wrapping.buttons .button:not(.basic) {
2006
+ .ui.spaced.basic.wrapping.buttons .button@{notBasic} {
1995
2007
  border-top: @basicGroupBorder;
1996
2008
  border-right: @basicGroupBorder;
1997
2009
  &:first-child {
@@ -2009,22 +2021,22 @@
2009
2021
  }
2010
2022
 
2011
2023
  & when (@variationButtonBasic) {
2012
- .ui.basic.buttons:not(.vertical).inverted .button,
2013
- .ui.basic.buttons:not(.vertical) .basic.button {
2024
+ .ui.basic.buttons@{notVertical}.inverted .button,
2025
+ .ui.basic.buttons@{notVertical} .basic.button {
2014
2026
  margin-left: -@basicColoredBorderSize;
2015
2027
  border-right: none;
2016
2028
  }
2017
- .ui.basic.buttons:not(.vertical):not(.spaced):not(.inverted) .basic.button {
2029
+ .ui.basic.buttons@{notVertical}@{notSpaced}@{notInverted} .basic.button {
2018
2030
  margin-top: -@basicColoredBorderSize;
2019
2031
  border-bottom: none;
2020
2032
  }
2021
2033
  & when (@variationButtonAttached) or (@variationButtonInverted) {
2022
- .ui.inverted.basic.buttons:not(.spaced) .button,
2023
- .ui.attached.basic.buttons:not(.wrapping):not(.inverted) .basic.button {
2034
+ .ui.inverted.basic.buttons@{notSpaced} .button,
2035
+ .ui.attached.basic.buttons@{notWrapping}@{notInverted} .basic.button {
2024
2036
  margin-bottom: @attachedOffset;
2025
2037
  }
2026
2038
  }
2027
- .ui.basic.buttons:not(.vertical):not(.attached):not(.spaced):not(.wrapping):not(.inverted) .basic.button {
2039
+ .ui.basic.buttons@{notVertical}@{notAttached}@{notSpaced}@{notWrapping}@{notInverted} .basic.button {
2028
2040
  margin-bottom: -@basicColoredBorderSize;
2029
2041
  }
2030
2042
  }
@@ -17,6 +17,8 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notFluid: if(@variationContainerFluid, e(":not(.fluid)"));
21
+
20
22
  /*******************************
21
23
  Container
22
24
  *******************************/
@@ -29,7 +31,7 @@
29
31
 
30
32
  /* Mobile */
31
33
  @media only screen and (max-width: @largestMobileScreen) {
32
- .ui.ui.ui.container:not(.fluid) {
34
+ .ui.ui.ui.container@{notFluid} {
33
35
  width: @mobileWidth;
34
36
  margin-left: @mobileGutter;
35
37
  margin-right: @mobileGutter;
@@ -53,7 +55,7 @@
53
55
 
54
56
  /* Tablet */
55
57
  @media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
56
- .ui.ui.ui.container:not(.fluid) {
58
+ .ui.ui.ui.container@{notFluid} {
57
59
  width: @tabletWidth;
58
60
  margin-left: @tabletGutter;
59
61
  margin-right: @tabletGutter;
@@ -77,7 +79,7 @@
77
79
 
78
80
  /* Small Monitor */
79
81
  @media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
80
- .ui.ui.ui.container:not(.fluid) {
82
+ .ui.ui.ui.container@{notFluid} {
81
83
  width: @computerWidth;
82
84
  margin-left: @computerGutter;
83
85
  margin-right: @computerGutter;
@@ -101,7 +103,7 @@
101
103
 
102
104
  /* Large Monitor */
103
105
  @media only screen and (min-width: @largeMonitorBreakpoint) {
104
- .ui.ui.ui.container:not(.fluid) {
106
+ .ui.ui.ui.container@{notFluid} {
105
107
  width: @largeMonitorWidth;
106
108
  margin-left: @largeMonitorGutter;
107
109
  margin-right: @largeMonitorGutter;
@@ -17,6 +17,9 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notHorizontal: if(@variationDividerHorizontal, e(":not(.horizontal)"));
21
+ @notVertical: if(@variationDividerVertical, e(":not(.vertical)"));
22
+
20
23
  /*******************************
21
24
  Divider
22
25
  *******************************/
@@ -37,7 +40,7 @@
37
40
  Basic
38
41
  --------------- */
39
42
 
40
- .ui.divider:not(.vertical):not(.horizontal) {
43
+ .ui.divider@{notVertical}@{notHorizontal} {
41
44
  border-top: @shadowWidth @borderStyle @shadowColor;
42
45
  border-bottom: @highlightWidth @borderStyle @highlightColor;
43
46
  }