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

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 (192) hide show
  1. package/.github/workflows/ci.yml +2 -2
  2. package/dist/components/accordion.css +1 -1
  3. package/dist/components/accordion.js +1 -1
  4. package/dist/components/accordion.min.css +1 -1
  5. package/dist/components/accordion.min.js +1 -1
  6. package/dist/components/ad.css +1 -1
  7. package/dist/components/ad.min.css +1 -1
  8. package/dist/components/api.js +1 -1
  9. package/dist/components/api.min.js +1 -1
  10. package/dist/components/breadcrumb.css +1 -1
  11. package/dist/components/breadcrumb.min.css +1 -1
  12. package/dist/components/button.css +1 -1
  13. package/dist/components/button.min.css +1 -1
  14. package/dist/components/calendar.css +1 -1
  15. package/dist/components/calendar.js +1 -1
  16. package/dist/components/calendar.min.css +1 -1
  17. package/dist/components/calendar.min.js +1 -1
  18. package/dist/components/card.css +1 -1
  19. package/dist/components/card.min.css +1 -1
  20. package/dist/components/checkbox.css +1 -1
  21. package/dist/components/checkbox.js +1 -1
  22. package/dist/components/checkbox.min.css +1 -1
  23. package/dist/components/checkbox.min.js +1 -1
  24. package/dist/components/comment.css +1 -1
  25. package/dist/components/comment.min.css +1 -1
  26. package/dist/components/container.css +1 -1
  27. package/dist/components/container.min.css +1 -1
  28. package/dist/components/dimmer.css +1 -1
  29. package/dist/components/dimmer.js +1 -1
  30. package/dist/components/dimmer.min.css +1 -1
  31. package/dist/components/dimmer.min.js +1 -1
  32. package/dist/components/divider.css +1 -1
  33. package/dist/components/divider.min.css +1 -1
  34. package/dist/components/dropdown.css +1 -1
  35. package/dist/components/dropdown.js +1 -1
  36. package/dist/components/dropdown.min.css +1 -1
  37. package/dist/components/dropdown.min.js +1 -1
  38. package/dist/components/embed.css +1 -1
  39. package/dist/components/embed.js +1 -1
  40. package/dist/components/embed.min.css +1 -1
  41. package/dist/components/embed.min.js +1 -1
  42. package/dist/components/emoji.css +1 -1
  43. package/dist/components/emoji.min.css +1 -1
  44. package/dist/components/feed.css +1 -1
  45. package/dist/components/feed.min.css +1 -1
  46. package/dist/components/flag.css +1 -1
  47. package/dist/components/flag.min.css +1 -1
  48. package/dist/components/flyout.css +3 -3
  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 +1 -1
  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 +1 -1
  57. package/dist/components/grid.min.css +1 -1
  58. package/dist/components/header.css +1 -1
  59. package/dist/components/header.min.css +1 -1
  60. package/dist/components/icon.css +1 -1
  61. package/dist/components/icon.min.css +1 -1
  62. package/dist/components/image.css +1 -1
  63. package/dist/components/image.min.css +1 -1
  64. package/dist/components/input.css +1 -1
  65. package/dist/components/input.min.css +1 -1
  66. package/dist/components/item.css +1 -1
  67. package/dist/components/item.min.css +1 -1
  68. package/dist/components/label.css +1 -1
  69. package/dist/components/label.min.css +1 -1
  70. package/dist/components/list.css +1 -1
  71. package/dist/components/list.min.css +1 -1
  72. package/dist/components/loader.css +1 -1
  73. package/dist/components/loader.min.css +1 -1
  74. package/dist/components/menu.css +1 -1
  75. package/dist/components/menu.min.css +1 -1
  76. package/dist/components/message.css +1 -1
  77. package/dist/components/message.min.css +1 -1
  78. package/dist/components/modal.css +3 -3
  79. package/dist/components/modal.js +1 -1
  80. package/dist/components/modal.min.css +1 -1
  81. package/dist/components/modal.min.js +1 -1
  82. package/dist/components/nag.css +1 -1
  83. package/dist/components/nag.js +1 -1
  84. package/dist/components/nag.min.css +1 -1
  85. package/dist/components/nag.min.js +1 -1
  86. package/dist/components/placeholder.css +1 -1
  87. package/dist/components/placeholder.min.css +1 -1
  88. package/dist/components/popup.css +1 -1
  89. package/dist/components/popup.js +1 -1
  90. package/dist/components/popup.min.css +1 -1
  91. package/dist/components/popup.min.js +1 -1
  92. package/dist/components/progress.css +1 -1
  93. package/dist/components/progress.js +1 -1
  94. package/dist/components/progress.min.css +1 -1
  95. package/dist/components/progress.min.js +1 -1
  96. package/dist/components/rail.css +1 -1
  97. package/dist/components/rail.min.css +1 -1
  98. package/dist/components/rating.css +1 -1
  99. package/dist/components/rating.js +1 -1
  100. package/dist/components/rating.min.css +1 -1
  101. package/dist/components/rating.min.js +1 -1
  102. package/dist/components/reset.css +1 -1
  103. package/dist/components/reset.min.css +1 -1
  104. package/dist/components/reveal.css +1 -1
  105. package/dist/components/reveal.min.css +1 -1
  106. package/dist/components/search.css +1 -1
  107. package/dist/components/search.js +1 -1
  108. package/dist/components/search.min.css +1 -1
  109. package/dist/components/search.min.js +1 -1
  110. package/dist/components/segment.css +1 -1
  111. package/dist/components/segment.min.css +1 -1
  112. package/dist/components/shape.css +1 -1
  113. package/dist/components/shape.js +1 -1
  114. package/dist/components/shape.min.css +1 -1
  115. package/dist/components/shape.min.js +1 -1
  116. package/dist/components/sidebar.css +1 -1
  117. package/dist/components/sidebar.js +1 -1
  118. package/dist/components/sidebar.min.css +1 -1
  119. package/dist/components/sidebar.min.js +1 -1
  120. package/dist/components/site.css +1 -1
  121. package/dist/components/site.js +1 -1
  122. package/dist/components/site.min.css +1 -1
  123. package/dist/components/site.min.js +1 -1
  124. package/dist/components/slider.css +1 -1
  125. package/dist/components/slider.js +1 -1
  126. package/dist/components/slider.min.css +1 -1
  127. package/dist/components/slider.min.js +1 -1
  128. package/dist/components/state.js +1 -1
  129. package/dist/components/state.min.js +1 -1
  130. package/dist/components/statistic.css +1 -1
  131. package/dist/components/statistic.min.css +1 -1
  132. package/dist/components/step.css +1 -1
  133. package/dist/components/step.min.css +1 -1
  134. package/dist/components/sticky.css +1 -1
  135. package/dist/components/sticky.js +1 -1
  136. package/dist/components/sticky.min.css +1 -1
  137. package/dist/components/sticky.min.js +1 -1
  138. package/dist/components/tab.css +1 -1
  139. package/dist/components/tab.js +1 -1
  140. package/dist/components/tab.min.css +1 -1
  141. package/dist/components/tab.min.js +1 -1
  142. package/dist/components/table.css +1 -1
  143. package/dist/components/table.min.css +1 -1
  144. package/dist/components/text.css +1 -1
  145. package/dist/components/text.min.css +1 -1
  146. package/dist/components/toast.css +1 -1
  147. package/dist/components/toast.js +1 -1
  148. package/dist/components/toast.min.css +1 -1
  149. package/dist/components/toast.min.js +1 -1
  150. package/dist/components/transition.css +1 -1
  151. package/dist/components/transition.js +1 -1
  152. package/dist/components/transition.min.css +1 -1
  153. package/dist/components/transition.min.js +1 -1
  154. package/dist/components/visibility.js +1 -1
  155. package/dist/components/visibility.min.js +1 -1
  156. package/dist/semantic.css +57 -57
  157. package/dist/semantic.js +26 -26
  158. package/dist/semantic.min.css +1 -1
  159. package/dist/semantic.min.js +1 -1
  160. package/package.json +1 -1
  161. package/src/definitions/collections/form.less +37 -24
  162. package/src/definitions/collections/grid.less +81 -66
  163. package/src/definitions/collections/menu.less +38 -27
  164. package/src/definitions/collections/table.less +114 -103
  165. package/src/definitions/elements/button.less +36 -24
  166. package/src/definitions/elements/container.less +6 -4
  167. package/src/definitions/elements/divider.less +4 -1
  168. package/src/definitions/elements/emoji.less +3 -1
  169. package/src/definitions/elements/header.less +7 -4
  170. package/src/definitions/elements/icon.less +35 -28
  171. package/src/definitions/elements/input.less +21 -13
  172. package/src/definitions/elements/label.less +14 -8
  173. package/src/definitions/elements/list.less +28 -21
  174. package/src/definitions/elements/loader.less +17 -12
  175. package/src/definitions/elements/segment.less +12 -7
  176. package/src/definitions/elements/step.less +95 -91
  177. package/src/definitions/modules/accordion.less +15 -13
  178. package/src/definitions/modules/calendar.less +6 -4
  179. package/src/definitions/modules/checkbox.less +12 -6
  180. package/src/definitions/modules/dimmer.less +10 -7
  181. package/src/definitions/modules/dropdown.less +68 -51
  182. package/src/definitions/modules/flyout.less +51 -45
  183. package/src/definitions/modules/modal.less +109 -82
  184. package/src/definitions/modules/nag.less +8 -4
  185. package/src/definitions/modules/popup.less +3 -1
  186. package/src/definitions/modules/progress.less +10 -4
  187. package/src/definitions/modules/slider.less +31 -24
  188. package/src/definitions/modules/toast.less +35 -24
  189. package/src/definitions/views/card.less +7 -5
  190. package/src/definitions/views/feed.less +3 -1
  191. package/src/definitions/views/item.less +7 -5
  192. package/src/themes/default/globals/variation.variables +13 -1
@@ -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
  }
@@ -17,6 +17,8 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notDisabled: if(@variationEmojiDisabled, e(":not(.disabled)"));
21
+
20
22
  /*******************************
21
23
  Emoji
22
24
  *******************************/
@@ -63,7 +65,7 @@ em[data-emoji]::before {
63
65
  Link
64
66
  -------------------- */
65
67
 
66
- em[data-emoji].link:not(.disabled) {
68
+ em[data-emoji].link@{notDisabled} {
67
69
  cursor: pointer;
68
70
  }
69
71
  }
@@ -17,6 +17,9 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notCenteredAligned: if(@variationHeaderAligned, e(":not(.centered):not(.aligned)"));
21
+ @notIcon: if(@variationHeaderIcon, e(":not(.icon)"));
22
+
20
23
  /*******************************
21
24
  Header
22
25
  *******************************/
@@ -70,8 +73,8 @@
70
73
  }
71
74
 
72
75
  /* With Text Node */
73
- .ui.header:not(.icon) > .icons:only-child,
74
- .ui.header:not(.icon) > i.icon:only-child {
76
+ .ui.header@{notIcon} > .icons:only-child,
77
+ .ui.header@{notIcon} > i.icon:only-child {
75
78
  display: inline-block;
76
79
  padding: 0;
77
80
  margin-right: @iconMargin;
@@ -111,8 +114,8 @@
111
114
  }
112
115
 
113
116
  /* After Icon */
114
- .ui.header:not(.icon):not(.centered):not(.aligned) > .icons + .content,
115
- .ui.header:not(.icon):not(.centered):not(.aligned) > i.icon + .content {
117
+ .ui.header@{notIcon}@{notCenteredAligned} > .icons + .content,
118
+ .ui.header@{notIcon}@{notCenteredAligned} > i.icon + .content {
116
119
  padding-left: @iconMargin;
117
120
  display: table-cell;
118
121
  vertical-align: @contentIconAlignment;
@@ -17,6 +17,13 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notDisabled: if(@variationIconDisabled, e(":not(.disabled)"));
21
+ @notCorner: if(@variationIconCorner, e(":not(.corner)"));
22
+ @notRotated: if(@variationIconRotated, e(":not(.rotated)"));
23
+ @notFlipped: if(@variationIconFlipped, e(":not(.flipped)"));
24
+ @notBordered: if(@variationIconBordered, e(":not(.bordered)"));
25
+ @notCircular: if(@variationIconCircular, e(":not(.circular)"));
26
+
20
27
  /*******************************
21
28
  Icon
22
29
  *******************************/
@@ -78,8 +85,8 @@ i.icon:hover,
78
85
  i.icons:hover,
79
86
  i.icon:active,
80
87
  i.icons:active,
81
- i.emphasized.icon:not(.disabled),
82
- i.emphasized.icons:not(.disabled) {
88
+ i.emphasized.icon@{notDisabled},
89
+ i.emphasized.icons@{notDisabled} {
83
90
  opacity: 1;
84
91
  }
85
92
 
@@ -113,8 +120,8 @@ i.emphasized.icons:not(.disabled) {
113
120
  Link
114
121
  -------------------- */
115
122
 
116
- i.link.icon:not(.disabled),
117
- i.link.icons:not(.disabled) {
123
+ i.link.icon@{notDisabled},
124
+ i.link.icons@{notDisabled} {
118
125
  cursor: pointer;
119
126
  opacity: @linkOpacity;
120
127
  transition: opacity @defaultDuration @defaultEasing;
@@ -163,11 +170,11 @@ i.emphasized.icons:not(.disabled) {
163
170
  }
164
171
 
165
172
  & when (@variationIconGroups) {
166
- .icons i.flipped.icon:not(.corner):not(:first-child),
167
- .icons i.horizontally.flipped.icon:not(.corner):not(:first-child) {
173
+ .icons i.flipped.icon@{notCorner}:not(:first-child),
174
+ .icons i.horizontally.flipped.icon@{notCorner}:not(:first-child) {
168
175
  transform: translateX(-50%) translateY(-50%) scale(-1, 1);
169
176
  }
170
- .icons i.vertically.flipped.icon:not(.corner):not(:first-child) {
177
+ .icons i.vertically.flipped.icon@{notCorner}:not(:first-child) {
171
178
  transform: translateX(-50%) translateY(-50%) scale(1, -1);
172
179
  }
173
180
  }
@@ -194,16 +201,16 @@ i.emphasized.icons:not(.disabled) {
194
201
  }
195
202
 
196
203
  & when (@variationIconGroups) {
197
- .icons i.rotated.rotated.icon:not(.corner):not(:first-child),
198
- .icons i.right.rotated.icon:not(.corner):not(:first-child),
199
- .icons i.clockwise.rotated.icon:not(.corner):not(:first-child) {
204
+ .icons i.rotated.rotated.icon@{notCorner}:not(:first-child),
205
+ .icons i.right.rotated.icon@{notCorner}:not(:first-child),
206
+ .icons i.clockwise.rotated.icon@{notCorner}:not(:first-child) {
200
207
  transform: translateX(-50%) translateY(-50%) rotate(90deg);
201
208
  }
202
- .icons i.left.rotated.icon:not(.corner):not(:first-child),
203
- .icons i.counterclockwise.rotated.icon:not(.corner):not(:first-child) {
209
+ .icons i.left.rotated.icon@{notCorner}:not(:first-child),
210
+ .icons i.counterclockwise.rotated.icon@{notCorner}:not(:first-child) {
204
211
  transform: translateX(-50%) translateY(-50%) rotate(-90deg);
205
212
  }
206
- .icons i.halfway.rotated.icon:not(.corner):not(:first-child) {
213
+ .icons i.halfway.rotated.icon@{notCorner}:not(:first-child) {
207
214
  transform: translateX(-50%) translateY(-50%) rotate(180deg);
208
215
  }
209
216
  }
@@ -245,28 +252,28 @@ i.emphasized.icons:not(.disabled) {
245
252
  }
246
253
 
247
254
  & when (@variationIconGroups) {
248
- .icons i.rotated.flipped.icon:not(.corner):not(:first-child),
249
- .icons i.right.rotated.flipped.icon:not(.corner):not(:first-child),
250
- .icons i.clockwise.rotated.flipped.icon:not(.corner):not(:first-child) {
255
+ .icons i.rotated.flipped.icon@{notCorner}:not(:first-child),
256
+ .icons i.right.rotated.flipped.icon@{notCorner}:not(:first-child),
257
+ .icons i.clockwise.rotated.flipped.icon@{notCorner}:not(:first-child) {
251
258
  transform: translateX(-50%) translateY(-50%) scale(-1, 1) rotate(90deg);
252
259
  }
253
- .icons i.left.rotated.flipped.icon:not(.corner):not(:first-child),
254
- .icons i.counterclockwise.rotated.flipped.icon:not(.corner):not(:first-child) {
260
+ .icons i.left.rotated.flipped.icon@{notCorner}:not(:first-child),
261
+ .icons i.counterclockwise.rotated.flipped.icon@{notCorner}:not(:first-child) {
255
262
  transform: translateX(-50%) translateY(-50%) scale(-1, 1) rotate(-90deg);
256
263
  }
257
- .icons i.halfway.rotated.flipped.icon:not(.corner):not(:first-child) {
264
+ .icons i.halfway.rotated.flipped.icon@{notCorner}:not(:first-child) {
258
265
  transform: translateX(-50%) translateY(-50%) scale(-1, 1) rotate(180deg);
259
266
  }
260
- .icons i.rotated.vertically.flipped.icon:not(.corner):not(:first-child),
261
- .icons i.right.rotated.vertically.flipped.icon:not(.corner):not(:first-child),
262
- .icons i.clockwise.rotated.vertically.flipped.icon:not(.corner):not(:first-child) {
267
+ .icons i.rotated.vertically.flipped.icon@{notCorner}:not(:first-child),
268
+ .icons i.right.rotated.vertically.flipped.icon@{notCorner}:not(:first-child),
269
+ .icons i.clockwise.rotated.vertically.flipped.icon@{notCorner}:not(:first-child) {
263
270
  transform: translateX(-50%) translateY(-50%) scale(1, -1) rotate(90deg);
264
271
  }
265
- .icons i.left.rotated.vertically.flipped.icon:not(.corner):not(:first-child),
266
- .icons i.counterclockwise.rotated.vertically.flipped.icon:not(.corner):not(:first-child) {
272
+ .icons i.left.rotated.vertically.flipped.icon@{notCorner}:not(:first-child),
273
+ .icons i.counterclockwise.rotated.vertically.flipped.icon@{notCorner}:not(:first-child) {
267
274
  transform: translateX(-50%) translateY(-50%) scale(1, -1) rotate(-90deg);
268
275
  }
269
- .icons i.halfway.rotated.vertically.flipped.icon:not(.corner):not(:first-child) {
276
+ .icons i.halfway.rotated.vertically.flipped.icon@{notCorner}:not(:first-child) {
270
277
  transform: translateX(-50%) translateY(-50%) scale(1, -1) rotate(180deg);
271
278
  }
272
279
  }
@@ -383,7 +390,7 @@ i.icons {
383
390
  top: 50%;
384
391
  left: 50%;
385
392
  margin: 0;
386
- &:not(.corner):not(.rotated):not(.flipped) {
393
+ &@{notCorner}@{notRotated}@{notFlipped} {
387
394
  transform: translateX(-50%) translateY(-50%);
388
395
  }
389
396
  }
@@ -394,7 +401,7 @@ i.icons {
394
401
  height: auto;
395
402
  vertical-align: top;
396
403
  }
397
- i.icons:not(.bordered):not(.circular) .icon:first-child:not(.rotated):not(.flipped) {
404
+ i.icons@{notBordered}@{notCircular} .icon:first-child@{notRotated}@{notFlipped} {
398
405
  transform: none;
399
406
  }
400
407
 
@@ -407,7 +414,7 @@ i.icons {
407
414
  bottom: @cornerOffset;
408
415
  font-size: @cornerIconSize;
409
416
  text-shadow: @cornerIconShadow;
410
- &:not(.rotated):not(.flipped) {
417
+ &@{notRotated}@{notFlipped} {
411
418
  transform: none;
412
419
  }
413
420
  }
@@ -17,6 +17,14 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notCorner: if(@variationInputCorner, e(":not(.corner)"));
21
+ @notAction: if(@variationInputAction, e(":not(.action)"));
22
+ @notDisabled: if(@variationInputDisabled, e(":not(.disabled)"));
23
+
24
+ @notBasic: if(@variationButtonBasic, e(":not(.basic)"));
25
+ @notTertiary: if(@variationButtonTertiary, e(":not(.tertiary)"));
26
+ @notLink: if(@variationIconLink, e(":not(.link)"));
27
+
20
28
  /*******************************
21
29
  Standard
22
30
  *******************************/
@@ -83,12 +91,12 @@
83
91
  --------------------- */
84
92
 
85
93
  .ui.disabled.input,
86
- .ui.input:not(.disabled) input[disabled] {
94
+ .ui.input@{notDisabled} input[disabled] {
87
95
  opacity: @disabledOpacity;
88
96
  }
89
97
 
90
98
  .ui.disabled.input > input,
91
- .ui.input:not(.disabled) input[disabled] {
99
+ .ui.input@{notDisabled} input[disabled] {
92
100
  pointer-events: @disabledPointerEvents;
93
101
  }
94
102
  }
@@ -275,11 +283,11 @@
275
283
  border-radius: 0 @borderRadius @borderRadius 0;
276
284
  transition: @iconTransition;
277
285
  }
278
- .ui.icon.input > i.icon:not(.link) {
286
+ .ui.icon.input > i.icon@{notLink} {
279
287
  pointer-events: none;
280
288
  }
281
- .ui.ui.ui.ui.icon.input:not(.corner) > textarea,
282
- .ui.ui.ui.ui.icon.input:not(.corner) > input {
289
+ .ui.ui.ui.ui.icon.input@{notCorner} > textarea,
290
+ .ui.ui.ui.ui.icon.input@{notCorner} > input {
283
291
  padding-right: @iconMargin;
284
292
  }
285
293
 
@@ -314,8 +322,8 @@
314
322
  .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > input {
315
323
  padding-left: @iconMargin;
316
324
  }
317
- .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > textarea,
318
- .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > input {
325
+ .ui.ui.ui.ui[class*="left icon"]@{notCorner}.input > textarea,
326
+ .ui.ui.ui.ui[class*="left icon"]@{notCorner}.input > input {
319
327
  padding-right: @horizontalPadding;
320
328
  }
321
329
 
@@ -338,7 +346,7 @@
338
346
  margin: 0;
339
347
  font-size: @relativeMedium;
340
348
  }
341
- .ui.labeled.input > .label:not(.corner) {
349
+ .ui.labeled.input > .label@{notCorner} {
342
350
  padding-top: @verticalPadding;
343
351
  padding-bottom: @verticalPadding;
344
352
  }
@@ -639,7 +647,7 @@
639
647
  }
640
648
 
641
649
  .ui.form .field > input[type="file"],
642
- .ui.file.input:not(.action) input[type="file"] {
650
+ .ui.file.input@{notAction} input[type="file"] {
643
651
  padding: 0;
644
652
  }
645
653
 
@@ -720,8 +728,8 @@
720
728
  position: absolute;
721
729
  }
722
730
 
723
- input[type="file"].ui.file.input:focus + label.ui.button:not(.basic):not(.tertiary),
724
- .ui.file.input input[type="file"]:focus + label.ui.button:not(.basic):not(.tertiary) {
731
+ input[type="file"].ui.file.input:focus + label.ui.button@{notBasic}@{notTertiary},
732
+ .ui.file.input input[type="file"]:focus + label.ui.button@{notBasic}@{notTertiary} {
725
733
  background: @fileButtonBackgroundHover;
726
734
  color: @hoveredTextColor;
727
735
  &.inverted {
@@ -736,8 +744,8 @@
736
744
  @h: @colors[@@color][hover];
737
745
  @lh: @colors[@@color][lightHover];
738
746
 
739
- input[type="file"].ui.file.input:focus + label.ui.@{color}.button:not(.basic):not(.tertiary),
740
- .ui.file.input input[type="file"]:focus + label.ui.@{color}.button:not(.basic):not(.tertiary) {
747
+ input[type="file"].ui.file.input:focus + label.ui.@{color}.button@{notBasic}@{notTertiary},
748
+ .ui.file.input input[type="file"]:focus + label.ui.@{color}.button@{notBasic}@{notTertiary} {
741
749
  background-color: @h;
742
750
  color: @white;
743
751
  &.inverted when (@variationButtonInverted) {
@@ -17,6 +17,12 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notTag: if(@variationLabelTag, e(":not(.tag)"));
21
+ @notImage: if(@variationLabelImage, e(":not(.image)"));
22
+ @notRibbon: if(@variationLabelRibbon, e(":not(.ribbon)"));
23
+
24
+ @notBasic: if(@variationSegmentBasic, e(":not(.basic)"));
25
+
20
26
  /*******************************
21
27
  Label
22
28
  *******************************/
@@ -164,19 +170,19 @@ a.ui.label {
164
170
  margin-bottom: @attachedSegmentPadding !important;
165
171
  }
166
172
 
167
- .ui.segment:not(.basic) > .ui.top.attached.label {
173
+ .ui.segment@{notBasic} > .ui.top.attached.label {
168
174
  margin-top: @attachedOffset;
169
175
  }
170
- .ui.segment:not(.basic) > .ui.bottom.attached.label {
176
+ .ui.segment@{notBasic} > .ui.bottom.attached.label {
171
177
  margin-bottom: @attachedOffset;
172
178
  }
173
- .ui.segment:not(.basic) > .ui.attached.label:not(.right) {
179
+ .ui.segment@{notBasic} > .ui.attached.label:not(.right) {
174
180
  margin-left: @attachedOffset;
175
181
  }
176
- .ui.segment:not(.basic) > .ui.right.attached.label {
182
+ .ui.segment@{notBasic} > .ui.right.attached.label {
177
183
  margin-right: @attachedOffset;
178
184
  }
179
- .ui.segment:not(.basic) > .ui.attached.label:not(.left):not(.right) {
185
+ .ui.segment@{notBasic} > .ui.attached.label:not(.left):not(.right) {
180
186
  width: @attachedWidthOffset;
181
187
  }
182
188
 
@@ -196,7 +202,7 @@ a.ui.label {
196
202
  padding: @imageLabelPadding;
197
203
  border-radius: @imageLabelBorderRadius;
198
204
  box-shadow: @imageLabelBoxShadow;
199
- &.attached:not(.basic) when (@variationLabelAttached) {
205
+ &.attached@{notBasic} when (@variationLabelAttached) {
200
206
  padding: @imageLabelPadding;
201
207
  }
202
208
  }
@@ -642,8 +648,8 @@ a.ui.active.label:hover::before {
642
648
  padding-bottom: @basicVerticalPadding;
643
649
  padding-right: @basicHorizontalPadding;
644
650
  }
645
- .ui.basic.labels:not(.tag):not(.image):not(.ribbon) .label,
646
- .ui.basic.label:not(.tag):not(.image):not(.ribbon) {
651
+ .ui.basic.labels@{notTag}@{notImage}@{notRibbon} .label,
652
+ .ui.basic.label@{notTag}@{notImage}@{notRibbon} {
647
653
  padding-left: @basicHorizontalPadding;
648
654
  }
649
655
  & when (@variationLabelImage) {