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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fomantic-ui",
3
- "version": "2.9.4-beta.91+83986c3",
3
+ "version": "2.9.4-beta.93+22d2d0d",
4
4
  "description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
5
5
  "keywords": [
6
6
  "fomantic-ui",
@@ -17,6 +17,19 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notInline: if(@variationFormInline, e(":not(.inline)"));
21
+ @notInverted: if(@variationFormInverted, e(":not(.inverted)"));
22
+ @notWide: if(@variationFormWide, e(":not(.wide)"));
23
+ @notGrouped: if(@variationFormGrouped, e(":not(.grouped)"));
24
+ @notRequired: if(@variationFormRequired, e(":not(.required)"));
25
+ @notUnstackable: if(@variationFormUnstackable, e(":not(.unstackable)"));
26
+
27
+ @notToggle: if(@variationCheckboxToggle, e(":not(.toggle)"));
28
+ @notSlider: if(@variationCheckboxSlider, e(":not(.slider)"));
29
+ @notCompact: if(@variationDropdownCompact, e(":not(.compact)"));
30
+ @notIcon: if(@variationInputIcon, e(":not(.icon)"));
31
+ @notCorner: if(@variationLabelCorner, e(":not(.corner)"));
32
+
20
33
  /*******************************
21
34
  Elements
22
35
  *******************************/
@@ -69,7 +82,7 @@
69
82
  font-weight: @labelFontWeight;
70
83
  text-transform: @labelTextTransform;
71
84
  }
72
- .ui.form:not(.inverted) .field > label:not(.button) {
85
+ .ui.form@{notInverted} .field > label:not(.button) {
73
86
  color: @labelColor;
74
87
  }
75
88
 
@@ -183,16 +196,16 @@
183
196
  Checkbox margin
184
197
  --------------------- */
185
198
 
186
- .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) label + .ui.ui.checkbox {
199
+ .ui.form .fields@{notGrouped}@{notInline} .field:not(:only-child) label + .ui.ui.checkbox {
187
200
  margin-top: @checkboxLabelFieldTopMargin;
188
201
  }
189
- .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.checkbox {
202
+ .ui.form .fields@{notGrouped}@{notInline} .field:not(:only-child) .ui.checkbox {
190
203
  margin-top: @inputLineHeight + @checkboxFieldTopMargin;
191
204
  }
192
- .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.toggle.checkbox {
205
+ .ui.form .fields@{notGrouped}@{notInline} .field:not(:only-child) .ui.toggle.checkbox {
193
206
  margin-top: @inputLineHeight + @checkboxToggleFieldTopMargin;
194
207
  }
195
- .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.slider.checkbox {
208
+ .ui.form .fields@{notGrouped}@{notInline} .field:not(:only-child) .ui.slider.checkbox {
196
209
  margin-top: @inputLineHeight + @checkboxSliderFieldTopMargin;
197
210
  }
198
211
  .ui.ui.form .field .fields .field:not(:only-child) .ui.checkbox {
@@ -210,7 +223,7 @@
210
223
  Transparent
211
224
  --------------------- */
212
225
 
213
- .ui.form .field .transparent.input:not(.icon) input,
226
+ .ui.form .field .transparent.input@{notIcon} input,
214
227
  .ui.form .field input.transparent,
215
228
  .ui.form .field textarea.transparent {
216
229
  padding: @transparentPadding;
@@ -254,7 +267,7 @@
254
267
  --------------------- */
255
268
 
256
269
  /* Block */
257
- .ui.form .field > .selection.dropdown:not(.compact) {
270
+ .ui.form .field > .selection.dropdown@{notCompact} {
258
271
  min-width: auto;
259
272
  width: 100%;
260
273
  }
@@ -287,8 +300,8 @@
287
300
 
288
301
  & when (@variationFormInline) {
289
302
  /* Inline */
290
- .ui.form .inline.fields .field:not(.wide) .ui.input,
291
- .ui.form .inline.field:not(.wide) .ui.input {
303
+ .ui.form .inline.fields .field@{notWide} .ui.input,
304
+ .ui.form .inline.field@{notWide} .ui.input {
292
305
  width: auto;
293
306
  vertical-align: middle;
294
307
  }
@@ -528,9 +541,9 @@
528
541
  }
529
542
 
530
543
  .ui.ui.form .fields.@{state} .field label,
531
- .ui.ui.form .fields.@{state} .field .ui.label:not(.corner),
544
+ .ui.ui.form .fields.@{state} .field .ui.label@{notCorner},
532
545
  .ui.ui.form .field.@{state} label,
533
- .ui.ui.form .field.@{state} .ui.label:not(.corner),
546
+ .ui.ui.form .field.@{state} .ui.label@{notCorner},
534
547
  .ui.ui.form .fields.@{state} .field .input,
535
548
  .ui.ui.form .field.@{state} .input {
536
549
  color: @c;
@@ -720,12 +733,12 @@
720
733
  /*--------------------
721
734
  Checkbox State
722
735
  ---------------------*/
723
- .ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label,
724
- .ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label {
736
+ .ui.form .fields.@{state} .field .checkbox@{notToggle}@{notSlider} label,
737
+ .ui.form .field.@{state} .checkbox@{notToggle}@{notSlider} label {
725
738
  color: @c;
726
739
  }
727
- .ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label::before,
728
- .ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label::before {
740
+ .ui.form .fields.@{state} .field .checkbox@{notToggle}@{notSlider} label::before,
741
+ .ui.form .field.@{state} .checkbox@{notToggle}@{notSlider} label::before {
729
742
  background: @bg;
730
743
  border-color: @bdc;
731
744
  }
@@ -820,11 +833,11 @@
820
833
  Required Field
821
834
  --------------------- */
822
835
 
823
- .ui.form .required.fields:not(.grouped):not(.inline) > .field > label::after,
836
+ .ui.form .required.fields@{notGrouped}@{notInline} > .field > label::after,
824
837
  .ui.form .required.fields.inline > label::after,
825
838
  .ui.form .required.fields.grouped > label::after,
826
839
  .ui.form .required.field > label::after,
827
- .ui.form .required.fields:not(.grouped):not(.inline) > .field > .checkbox::after,
840
+ .ui.form .required.fields@{notGrouped}@{notInline} > .field > .checkbox::after,
828
841
  .ui.form .required.field > .checkbox::after,
829
842
  .ui.form label.required::after {
830
843
  margin: @requiredMargin;
@@ -832,7 +845,7 @@
832
845
  color: @requiredColor;
833
846
  }
834
847
 
835
- .ui.form .required.fields:not(.grouped):not(.inline) > .field > label::after,
848
+ .ui.form .required.fields@{notGrouped}@{notInline} > .field > label::after,
836
849
  .ui.form .required.fields.inline > label::after,
837
850
  .ui.form .required.fields.grouped > label::after,
838
851
  .ui.form .required.field > label::after,
@@ -841,7 +854,7 @@
841
854
  vertical-align: top;
842
855
  }
843
856
 
844
- .ui.form .required.fields:not(.grouped):not(.inline) > .field > .checkbox::after,
857
+ .ui.form .required.fields@{notGrouped}@{notInline} > .field > .checkbox::after,
845
858
  .ui.form .required.field > .checkbox::after {
846
859
  position: absolute;
847
860
  top: 0;
@@ -849,13 +862,13 @@
849
862
  }
850
863
  }
851
864
 
852
- .ui.ui.ui.ui.form .fields:not(.required) > label:empty::after,
853
- .ui.ui.ui.ui.form .fields:not(.grouped):not(.inline) > .field:not(.required) > label:empty::after {
865
+ .ui.ui.ui.ui.form .fields@{notRequired} > label:empty::after,
866
+ .ui.ui.ui.ui.form .fields@{notGrouped}@{notInline} > .field@{notRequired} > label:empty::after {
854
867
  content: " ";
855
868
  display: inline-block;
856
869
  }
857
870
 
858
- .ui.ui.ui.ui.form .inline.fields .field:not(.required) > label:empty {
871
+ .ui.ui.ui.ui.form .inline.fields .field@{notRequired} > label:empty {
859
872
  display: none;
860
873
  }
861
874
 
@@ -1012,8 +1025,8 @@
1012
1025
  margin-bottom: 0;
1013
1026
  }
1014
1027
 
1015
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .fields,
1016
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .field {
1028
+ .ui.form@{notUnstackable} .fields@{notUnstackable} > .fields,
1029
+ .ui.form@{notUnstackable} .fields@{notUnstackable} > .field {
1017
1030
  width: @oneColumn;
1018
1031
  margin: 0 0 @rowDistance;
1019
1032
  }
@@ -17,6 +17,17 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notAligned: if(@variationGridAligned, e(":not(.aligned)"));
21
+ @notJustified: if(@variationGridJustified, e(":not(.justified)"));
22
+ @notStretched: if(@variationGridStretched, e(":not(.stretched)"));
23
+ @notStackable: if(@variationGridStackable, e(":not(.stackable)"));
24
+ @notHorizontally: if(@variationGridHorizontal, e(":not(.horizontally)"));
25
+ @notVertically: if(@variationGridVertical, e(":not(.vertically)"));
26
+
27
+ @notAttached: if(@variationSegmentAttached, e(":not(.attached)"));
28
+ @notCompact: if(@variationSegmentCompact, e(":not(.compact)"));
29
+ @notVertical: if(@variationSegmentVertical, e(":not(.vertical)"));
30
+
20
31
  /*******************************
21
32
  Standard
22
33
  *******************************/
@@ -125,8 +136,8 @@
125
136
  }
126
137
 
127
138
  /* Segment inside Aligned Grid */
128
- .ui.grid .aligned.row > .column > .segment:not(.compact):not(.attached),
129
- .ui.aligned.grid .column > .segment:not(.compact):not(.attached) {
139
+ .ui.grid .aligned.row > .column > .segment@{notCompact}@{notAttached},
140
+ .ui.aligned.grid .column > .segment@{notCompact}@{notAttached} {
130
141
  width: 100%;
131
142
  }
132
143
 
@@ -953,9 +964,9 @@
953
964
  text-align: center;
954
965
  justify-content: center;
955
966
  }
956
- .ui.centered.grid > .column:not(.aligned):not(.justified):not(.row),
957
- .ui.centered.grid > .row > .column:not(.aligned):not(.justified),
958
- .ui.grid .centered.row > .column:not(.aligned):not(.justified) {
967
+ .ui.centered.grid > .column@{notAligned}@{notJustified}:not(.row),
968
+ .ui.centered.grid > .row > .column@{notAligned}@{notJustified},
969
+ .ui.grid .centered.row > .column@{notAligned}@{notJustified} {
959
970
  text-align: left;
960
971
  }
961
972
 
@@ -1008,16 +1019,20 @@
1008
1019
  Padded
1009
1020
  ----------------------- */
1010
1021
 
1011
- .ui.padded.grid:not(.vertically):not(.horizontally) {
1022
+ .ui.padded.grid@{notVertically}@{notHorizontally} {
1012
1023
  margin: 0;
1013
1024
  }
1014
- [class*="horizontally padded"].ui.grid {
1015
- margin-left: 0;
1016
- margin-right: 0;
1025
+ & when (@variationGridHorizontal) {
1026
+ [class*="horizontally padded"].ui.grid {
1027
+ margin-left: 0;
1028
+ margin-right: 0;
1029
+ }
1017
1030
  }
1018
- [class*="vertically padded"].ui.grid {
1019
- margin-top: 0;
1020
- margin-bottom: 0;
1031
+ & when (@variationGridVertical) {
1032
+ [class*="vertically padded"].ui.grid {
1033
+ margin-top: 0;
1034
+ margin-bottom: 0;
1035
+ }
1021
1036
  }
1022
1037
  }
1023
1038
 
@@ -1100,7 +1115,7 @@
1100
1115
  & when (@variationGridPadded) {
1101
1116
  /* Padded Horizontally Divided */
1102
1117
  [class*="horizontally padded"].ui.divided.grid,
1103
- .ui.padded.divided.grid:not(.vertically):not(.horizontally) {
1118
+ .ui.padded.divided.grid@{notVertically}@{notHorizontally} {
1104
1119
  width: 100%;
1105
1120
  }
1106
1121
  }
@@ -1499,8 +1514,8 @@
1499
1514
  box-shadow: none !important;
1500
1515
  margin: 0;
1501
1516
  }
1502
- .ui.grid:not(.stretched) > .doubling.row:not(.stretched) > .column:not(.stretched),
1503
- .ui.doubling.grid:not(.stretched) > .row:not(.stretched) > .column:not(.stretched) {
1517
+ .ui.grid@{notStretched} > .doubling.row@{notStretched} > .column@{notStretched},
1518
+ .ui.doubling.grid@{notStretched} > .row@{notStretched} > .column@{notStretched} {
1504
1519
  display: inline-block !important;
1505
1520
  }
1506
1521
  .ui[class*="two column"].doubling.grid > .row > .column,
@@ -1594,79 +1609,79 @@
1594
1609
  margin: 0 !important;
1595
1610
  box-shadow: none !important;
1596
1611
  }
1597
- .ui[class*="two column"].doubling:not(.stackable).grid > .row > .column,
1598
- .ui[class*="two column"].doubling:not(.stackable).grid > .column:not(.row),
1599
- .ui.ui.grid > [class*="two column"].doubling:not(.stackable).row > .column {
1612
+ .ui[class*="two column"].doubling@{notStackable}.grid > .row > .column,
1613
+ .ui[class*="two column"].doubling@{notStackable}.grid > .column:not(.row),
1614
+ .ui.ui.grid > [class*="two column"].doubling@{notStackable}.row > .column {
1600
1615
  width: @oneColumn !important;
1601
1616
  }
1602
- .ui[class*="three column"].doubling:not(.stackable).grid > .row > .column,
1603
- .ui[class*="three column"].doubling:not(.stackable).grid > .column:not(.row),
1604
- .ui.ui.grid > [class*="three column"].doubling:not(.stackable).row > .column {
1617
+ .ui[class*="three column"].doubling@{notStackable}.grid > .row > .column,
1618
+ .ui[class*="three column"].doubling@{notStackable}.grid > .column:not(.row),
1619
+ .ui.ui.grid > [class*="three column"].doubling@{notStackable}.row > .column {
1605
1620
  width: @twoColumn !important;
1606
1621
  }
1607
- .ui[class*="four column"].doubling:not(.stackable).grid > .row > .column,
1608
- .ui[class*="four column"].doubling:not(.stackable).grid > .column:not(.row),
1609
- .ui.ui.grid > [class*="four column"].doubling:not(.stackable).row > .column {
1622
+ .ui[class*="four column"].doubling@{notStackable}.grid > .row > .column,
1623
+ .ui[class*="four column"].doubling@{notStackable}.grid > .column:not(.row),
1624
+ .ui.ui.grid > [class*="four column"].doubling@{notStackable}.row > .column {
1610
1625
  width: @twoColumn !important;
1611
1626
  }
1612
- .ui[class*="five column"].doubling:not(.stackable).grid > .row > .column,
1613
- .ui[class*="five column"].doubling:not(.stackable).grid > .column:not(.row),
1614
- .ui.ui.grid > [class*="five column"].doubling:not(.stackable).row > .column {
1627
+ .ui[class*="five column"].doubling@{notStackable}.grid > .row > .column,
1628
+ .ui[class*="five column"].doubling@{notStackable}.grid > .column:not(.row),
1629
+ .ui.ui.grid > [class*="five column"].doubling@{notStackable}.row > .column {
1615
1630
  width: @twoColumn !important;
1616
1631
  }
1617
- .ui[class*="six column"].doubling:not(.stackable).grid > .row > .column,
1618
- .ui[class*="six column"].doubling:not(.stackable).grid > .column:not(.row),
1619
- .ui.ui.grid > [class*="six column"].doubling:not(.stackable).row > .column {
1632
+ .ui[class*="six column"].doubling@{notStackable}.grid > .row > .column,
1633
+ .ui[class*="six column"].doubling@{notStackable}.grid > .column:not(.row),
1634
+ .ui.ui.grid > [class*="six column"].doubling@{notStackable}.row > .column {
1620
1635
  width: @twoColumn !important;
1621
1636
  }
1622
- .ui[class*="seven column"].doubling:not(.stackable).grid > .row > .column,
1623
- .ui[class*="seven column"].doubling:not(.stackable).grid > .column:not(.row),
1624
- .ui.ui.grid > [class*="seven column"].doubling:not(.stackable).row > .column {
1637
+ .ui[class*="seven column"].doubling@{notStackable}.grid > .row > .column,
1638
+ .ui[class*="seven column"].doubling@{notStackable}.grid > .column:not(.row),
1639
+ .ui.ui.grid > [class*="seven column"].doubling@{notStackable}.row > .column {
1625
1640
  width: @twoColumn !important;
1626
1641
  }
1627
- .ui[class*="eight column"].doubling:not(.stackable).grid > .row > .column,
1628
- .ui[class*="eight column"].doubling:not(.stackable).grid > .column:not(.row),
1629
- .ui.ui.grid > [class*="eight column"].doubling:not(.stackable).row > .column {
1642
+ .ui[class*="eight column"].doubling@{notStackable}.grid > .row > .column,
1643
+ .ui[class*="eight column"].doubling@{notStackable}.grid > .column:not(.row),
1644
+ .ui.ui.grid > [class*="eight column"].doubling@{notStackable}.row > .column {
1630
1645
  width: @twoColumn !important;
1631
1646
  }
1632
- .ui[class*="nine column"].doubling:not(.stackable).grid > .row > .column,
1633
- .ui[class*="nine column"].doubling:not(.stackable).grid > .column:not(.row),
1634
- .ui.ui.grid > [class*="nine column"].doubling:not(.stackable).row > .column {
1647
+ .ui[class*="nine column"].doubling@{notStackable}.grid > .row > .column,
1648
+ .ui[class*="nine column"].doubling@{notStackable}.grid > .column:not(.row),
1649
+ .ui.ui.grid > [class*="nine column"].doubling@{notStackable}.row > .column {
1635
1650
  width: @threeColumn !important;
1636
1651
  }
1637
- .ui[class*="ten column"].doubling:not(.stackable).grid > .row > .column,
1638
- .ui[class*="ten column"].doubling:not(.stackable).grid > .column:not(.row),
1639
- .ui.ui.grid > [class*="ten column"].doubling:not(.stackable).row > .column {
1652
+ .ui[class*="ten column"].doubling@{notStackable}.grid > .row > .column,
1653
+ .ui[class*="ten column"].doubling@{notStackable}.grid > .column:not(.row),
1654
+ .ui.ui.grid > [class*="ten column"].doubling@{notStackable}.row > .column {
1640
1655
  width: @threeColumn !important;
1641
1656
  }
1642
- .ui[class*="eleven column"].doubling:not(.stackable).grid > .row > .column,
1643
- .ui[class*="eleven column"].doubling:not(.stackable).grid > .column:not(.row),
1644
- .ui.ui.grid > [class*="eleven column"].doubling:not(.stackable).row > .column {
1657
+ .ui[class*="eleven column"].doubling@{notStackable}.grid > .row > .column,
1658
+ .ui[class*="eleven column"].doubling@{notStackable}.grid > .column:not(.row),
1659
+ .ui.ui.grid > [class*="eleven column"].doubling@{notStackable}.row > .column {
1645
1660
  width: @threeColumn !important;
1646
1661
  }
1647
- .ui[class*="twelve column"].doubling:not(.stackable).grid > .row > .column,
1648
- .ui[class*="twelve column"].doubling:not(.stackable).grid > .column:not(.row),
1649
- .ui.ui.grid > [class*="twelve column"].doubling:not(.stackable).row > .column {
1662
+ .ui[class*="twelve column"].doubling@{notStackable}.grid > .row > .column,
1663
+ .ui[class*="twelve column"].doubling@{notStackable}.grid > .column:not(.row),
1664
+ .ui.ui.grid > [class*="twelve column"].doubling@{notStackable}.row > .column {
1650
1665
  width: @threeColumn !important;
1651
1666
  }
1652
- .ui[class*="thirteen column"].doubling:not(.stackable).grid > .row > .column,
1653
- .ui[class*="thirteen column"].doubling:not(.stackable).grid > .column:not(.row),
1654
- .ui.ui.grid > [class*="thirteen column"].doubling:not(.stackable).row > .column {
1667
+ .ui[class*="thirteen column"].doubling@{notStackable}.grid > .row > .column,
1668
+ .ui[class*="thirteen column"].doubling@{notStackable}.grid > .column:not(.row),
1669
+ .ui.ui.grid > [class*="thirteen column"].doubling@{notStackable}.row > .column {
1655
1670
  width: @threeColumn !important;
1656
1671
  }
1657
- .ui[class*="fourteen column"].doubling:not(.stackable).grid > .row > .column,
1658
- .ui[class*="fourteen column"].doubling:not(.stackable).grid > .column:not(.row),
1659
- .ui.ui.grid > [class*="fourteen column"].doubling:not(.stackable).row > .column {
1672
+ .ui[class*="fourteen column"].doubling@{notStackable}.grid > .row > .column,
1673
+ .ui[class*="fourteen column"].doubling@{notStackable}.grid > .column:not(.row),
1674
+ .ui.ui.grid > [class*="fourteen column"].doubling@{notStackable}.row > .column {
1660
1675
  width: @fourColumn !important;
1661
1676
  }
1662
- .ui[class*="fifteen column"].doubling:not(.stackable).grid > .row > .column,
1663
- .ui[class*="fifteen column"].doubling:not(.stackable).grid > .column:not(.row),
1664
- .ui.ui.grid > [class*="fifteen column"].doubling:not(.stackable).row > .column {
1677
+ .ui[class*="fifteen column"].doubling@{notStackable}.grid > .row > .column,
1678
+ .ui[class*="fifteen column"].doubling@{notStackable}.grid > .column:not(.row),
1679
+ .ui.ui.grid > [class*="fifteen column"].doubling@{notStackable}.row > .column {
1665
1680
  width: @fourColumn !important;
1666
1681
  }
1667
- .ui[class*="sixteen column"].doubling:not(.stackable).grid > .row > .column,
1668
- .ui[class*="sixteen column"].doubling:not(.stackable).grid > .column:not(.row),
1669
- .ui.ui.grid > [class*="sixteen column"].doubling:not(.stackable).row > .column {
1682
+ .ui[class*="sixteen column"].doubling@{notStackable}.grid > .row > .column,
1683
+ .ui[class*="sixteen column"].doubling@{notStackable}.grid > .column:not(.row),
1684
+ .ui.ui.grid > [class*="sixteen column"].doubling@{notStackable}.row > .column {
1670
1685
  width: @fourColumn !important;
1671
1686
  }
1672
1687
  }
@@ -1696,7 +1711,7 @@
1696
1711
  box-shadow: none !important;
1697
1712
  padding: (@stackableRowSpacing / 2) (@stackableGutter / 2);
1698
1713
  }
1699
- .ui.stackable.grid:not(.vertically) > .row {
1714
+ .ui.stackable.grid@{notVertically} > .row {
1700
1715
  margin: 0;
1701
1716
  padding: 0;
1702
1717
  }
@@ -1710,7 +1725,7 @@
1710
1725
 
1711
1726
  /* Don't pad inside segment or nested grid */
1712
1727
  .ui.grid .ui.stackable.grid,
1713
- .ui.segment:not(.vertical) .ui.stackable.page.grid {
1728
+ .ui.segment@{notVertical} .ui.stackable.page.grid {
1714
1729
  margin-left: -(@stackableGutter / 2);
1715
1730
  margin-right: -(@stackableGutter / 2);
1716
1731
  }
@@ -1731,9 +1746,9 @@
1731
1746
  }
1732
1747
  }
1733
1748
  .ui.stackable.celled.grid > .column:not(.row),
1734
- .ui.stackable.divided:not(.vertically).grid > .column:not(.row),
1749
+ .ui.stackable.divided@{notVertically}.grid > .column:not(.row),
1735
1750
  .ui.stackable.celled.grid > .row > .column,
1736
- .ui.stackable.divided:not(.vertically).grid > .row > .column {
1751
+ .ui.stackable.divided@{notVertically}.grid > .row > .column {
1737
1752
  border-top: @stackableMobileBorder;
1738
1753
  box-shadow: none !important;
1739
1754
  padding-top: @stackableRowSpacing !important;
@@ -1745,8 +1760,8 @@
1745
1760
  }
1746
1761
  }
1747
1762
  & when (@variationGridDivided) {
1748
- .ui.stackable.divided:not(.vertically).grid > .column:not(.row),
1749
- .ui.stackable.divided:not(.vertically).grid > .row > .column {
1763
+ .ui.stackable.divided@{notVertically}.grid > .column:not(.row),
1764
+ .ui.stackable.divided@{notVertically}.grid > .row > .column {
1750
1765
  padding-left: 0 !important;
1751
1766
  padding-right: 0 !important;
1752
1767
  }
@@ -17,6 +17,17 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notSecondary: if(@variationMenuSecondary, e(":not(.secondary)"));
21
+ @notText: if(@variationMenuText, e(":not(.text)"));
22
+ @notTabular: if(@variationMenuTabular, e(":not(.tabular)"));
23
+ @notVertical: if(@variationMenuVertical, e(":not(.vertical)"));
24
+ @notBorderless: if(@variationMenuBorderless, e(":not(.borderless)"));
25
+ @notFluid: if(@variationMenuFluid, e(":not(.fluid)"));
26
+ @notWrapping: if(@variationMenuWrapping, e(":not(.wrapping)"));
27
+
28
+ @notUpward: if(@variationDropdownUpward, e(":not(.upward)"));
29
+ @notFloating: if(@variationLabelFloating, e(":not(.floating)"));
30
+
20
31
  /*******************************
21
32
  Standard
22
33
  *******************************/
@@ -60,7 +71,7 @@
60
71
  margin: 0;
61
72
  }
62
73
 
63
- .ui.menu:not(.vertical) > .menu {
74
+ .ui.menu@{notVertical} > .menu {
64
75
  display: flex;
65
76
  }
66
77
 
@@ -68,7 +79,7 @@
68
79
  Item
69
80
  --------------- */
70
81
 
71
- .ui.menu:not(.vertical) .item {
82
+ .ui.menu@{notVertical} .item {
72
83
  display: flex;
73
84
  align-items: center;
74
85
  }
@@ -135,7 +146,7 @@
135
146
  Button
136
147
  --------------- */
137
148
 
138
- .ui.menu:not(.vertical) .item > .button {
149
+ .ui.menu@{notVertical} .item > .button {
139
150
  position: relative;
140
151
  top: @buttonOffset;
141
152
  margin: @buttonMargin;
@@ -162,7 +173,7 @@
162
173
  .ui.menu .item > .input {
163
174
  width: 100%;
164
175
  }
165
- .ui.menu:not(.vertical) .item > .input {
176
+ .ui.menu@{notVertical} .item > .input {
166
177
  position: relative;
167
178
  top: @inputOffset;
168
179
  margin: @inputVerticalMargin 0;
@@ -298,7 +309,7 @@
298
309
  .ui.vertical.menu .dropdown.item.upward .menu {
299
310
  bottom: 0;
300
311
  }
301
- .ui.vertical.menu .dropdown.item:not(.upward) .menu {
312
+ .ui.vertical.menu .dropdown.item@{notUpward} .menu {
302
313
  top: 0;
303
314
  }
304
315
  .ui.vertical.menu .active.dropdown.item {
@@ -319,7 +330,7 @@
319
330
  Labels
320
331
  --------------- */
321
332
 
322
- .ui.menu .item > .label:not(.floating) {
333
+ .ui.menu .item > .label@{notFloating} {
323
334
  margin-left: @labelTextMargin;
324
335
  padding: @labelVerticalPadding @labelHorizontalPadding;
325
336
  }
@@ -401,11 +412,11 @@
401
412
  }
402
413
  }
403
414
  @media only screen and (min-width: @tabletBreakpoint) {
404
- .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .item:not(.right):not(.borderless):first-child {
415
+ .ui.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} > .container > .item:not(.right)@{notBorderless}:first-child {
405
416
  border-left: @dividerSize solid @dividerBackground;
406
417
  }
407
- .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.item:not(.borderless):last-child,
408
- .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.menu > .item:not(.borderless):last-child {
418
+ .ui.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} > .container > .right.item@{notBorderless}:last-child,
419
+ .ui.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} > .container > .right.menu > .item@{notBorderless}:last-child {
409
420
  border-right: @dividerSize solid @dividerBackground;
410
421
  }
411
422
  }
@@ -482,27 +493,27 @@ Floated Menu / Item
482
493
  ------------------- */
483
494
 
484
495
  /* Left Floated */
485
- .ui.menu:not(.vertical) .left.item,
486
- .ui.menu:not(.vertical) .left.menu {
496
+ .ui.menu@{notVertical} .left.item,
497
+ .ui.menu@{notVertical} .left.menu {
487
498
  display: flex;
488
499
  margin-right: auto !important;
489
500
  }
490
501
 
491
502
  /* Right Floated */
492
- .ui.menu:not(.vertical) .right.item,
493
- .ui.menu:not(.vertical) .right.menu {
503
+ .ui.menu@{notVertical} .right.item,
504
+ .ui.menu@{notVertical} .right.menu {
494
505
  display: flex;
495
506
  margin-left: auto !important;
496
507
  }
497
508
 
498
- .ui.menu:not(.vertical) :not(.dropdown) > .left.menu,
499
- .ui.menu:not(.vertical) :not(.dropdown) > .right.menu {
509
+ .ui.menu@{notVertical} :not(.dropdown) > .left.menu,
510
+ .ui.menu@{notVertical} :not(.dropdown) > .right.menu {
500
511
  display: inherit;
501
512
  }
502
513
 
503
514
  /* Center */
504
- .ui.menu:not(.vertical) .center.item,
505
- .ui.menu:not(.vertical) .center.menu {
515
+ .ui.menu@{notVertical} .center.item,
516
+ .ui.menu@{notVertical} .center.menu {
506
517
  display: flex;
507
518
  margin-left: auto !important;
508
519
  margin-right: auto !important;
@@ -795,7 +806,7 @@ Floated Menu / Item
795
806
  .ui.compact.menu .item:last-child {
796
807
  border-radius: 0 @borderRadius @borderRadius 0;
797
808
  }
798
- .ui.pagination.menu:not(.wrapping) .item:last-child::before {
809
+ .ui.pagination.menu@{notWrapping} .item:last-child::before {
799
810
  display: none;
800
811
  }
801
812
 
@@ -972,7 +983,7 @@ Floated Menu / Item
972
983
  border-bottom-width: 0;
973
984
  }
974
985
 
975
- .ui.secondary.pointing.menu .item > .label:not(.floating) {
986
+ .ui.secondary.pointing.menu .item > .label@{notFloating} {
976
987
  margin-top: -@labelVerticalPadding;
977
988
  margin-bottom: -@labelVerticalPadding;
978
989
  }
@@ -1489,8 +1500,8 @@ Floated Menu / Item
1489
1500
  }
1490
1501
 
1491
1502
  & when (@variationMenuCentered) {
1492
- .ui.center.aligned.menu:not(.fluid),
1493
- .ui.centered.menu:not(.fluid) {
1503
+ .ui.center.aligned.menu@{notFluid},
1504
+ .ui.centered.menu@{notFluid} {
1494
1505
  display: inline-flex;
1495
1506
  transform: translateX(-50%);
1496
1507
  margin-left: 50%;
@@ -1596,7 +1607,7 @@ Floated Menu / Item
1596
1607
  display: inline-block;
1597
1608
  }
1598
1609
  }
1599
- .ui.compact.menu:not(.secondary) .item:last-child {
1610
+ .ui.compact.menu@{notSecondary} .item:last-child {
1600
1611
  border-radius: 0 @borderRadius @borderRadius 0;
1601
1612
  }
1602
1613
  .ui.compact.menu .item:last-child::before {
@@ -1643,8 +1654,8 @@ Floated Menu / Item
1643
1654
  text-align: center;
1644
1655
  justify-content: center;
1645
1656
  }
1646
- .ui.attached[class*="equal width"].menu:not(.tabular),
1647
- .ui.attached.item.menu:not(.tabular) {
1657
+ .ui.attached[class*="equal width"].menu@{notTabular},
1658
+ .ui.attached.item.menu@{notTabular} {
1648
1659
  margin: 0 @attachedHorizontalOffset !important;
1649
1660
  }
1650
1661
 
@@ -1904,7 +1915,7 @@ Floated Menu / Item
1904
1915
  }
1905
1916
 
1906
1917
  /* Tabular Attached */
1907
- .ui.attached.menu:not(.tabular):not(.text) {
1918
+ .ui.attached.menu@{notTabular}@{notText} {
1908
1919
  border: @attachedBorder;
1909
1920
  }
1910
1921
  & when (@variationMenuInverted) {
@@ -1936,7 +1947,7 @@ Floated Menu / Item
1936
1947
  & .item:first-child::before {
1937
1948
  display: none;
1938
1949
  }
1939
- &:not(.secondary):not(.text):not(.tabular):not(.borderless) .item {
1950
+ &@{notSecondary}@{notText}@{notTabular}@{notBorderless} .item {
1940
1951
  &:last-of-type,
1941
1952
  &:last-child {
1942
1953
  border-right: @dividerSize solid @dividerBackground;
@@ -1944,7 +1955,7 @@ Floated Menu / Item
1944
1955
  }
1945
1956
  }
1946
1957
  & when (@variationMenuWrapped) {
1947
- .ui.wrapped.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) .item {
1958
+ .ui.wrapped.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} .item {
1948
1959
  &:first-child {
1949
1960
  border-bottom-left-radius: 0;
1950
1961
  }