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,9 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notInverted: if(@variationDimmerInverted, e(":not(.inverted)"));
21
+ @notPage: if(@variationDimmerPage, e(":not(.page)"));
22
+
20
23
  /*******************************
21
24
  Dimmer
22
25
  *******************************/
@@ -56,26 +59,26 @@
56
59
  }
57
60
 
58
61
  /* Loose Coupling */
59
- .ui.segment > .ui.dimmer:not(.page) {
62
+ .ui.segment > .ui.dimmer@{notPage} {
60
63
  border-radius: inherit;
61
64
  }
62
65
 
63
66
  /* Scrollbars */
64
67
  & when (@useCustomScrollbars) {
65
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
68
+ .ui.dimmer@{notInverted}::-webkit-scrollbar-track {
66
69
  background: @trackInvertedBackground;
67
70
  }
68
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
71
+ .ui.dimmer@{notInverted}::-webkit-scrollbar-thumb {
69
72
  background: @thumbInvertedBackground;
70
73
  }
71
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
74
+ .ui.dimmer@{notInverted}::-webkit-scrollbar-thumb:window-inactive {
72
75
  background: @thumbInvertedInactiveBackground;
73
76
  }
74
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
77
+ .ui.dimmer@{notInverted}::-webkit-scrollbar-thumb:hover {
75
78
  background: @thumbInvertedHoverBackground;
76
79
  }
77
80
  & when (@supportIE) {
78
- .ui.dimmer:not(.inverted) {
81
+ .ui.dimmer@{notInverted} {
79
82
  /* IE11 */
80
83
  scrollbar-face-color: @thumbInvertedBackgroundHex;
81
84
  scrollbar-shadow-color: @thumbInvertedBackgroundHex;
@@ -84,7 +87,7 @@
84
87
  }
85
88
  }
86
89
  @supports (-moz-appearance: none) {
87
- .ui.dimmer:not(.inverted) {
90
+ .ui.dimmer@{notInverted} {
88
91
  /* firefox: first color thumb, second track */
89
92
  scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
90
93
  }
@@ -17,6 +17,23 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notPointing: if(@variationDropdownPointing, e(":not(.pointing)"));
21
+ @notFloating: if(@variationDropdownFloating, e(":not(.floating)"));
22
+ @notLabeled: if(@variationDropdownLabel, e(":not(.labeled)"));
23
+ @notSearch: if(@variationDropdownSearch, e(":not(.search)"));
24
+ @notUnlimited: if(@variationDropdownUnlimited, e(":not(.unlimited)"));
25
+ @notMultiple: if(@variationDropdownMultiple, e(":not(.multiple)"));
26
+ @notSelection: if(@variationDropdownSelection, e(":not(.selection)"));
27
+ @notButton: if(@variationDropdownButton, e(":not(.button)"));
28
+ @notSimple: if(@variationDropdownSimple, e(":not(.simple)"));
29
+ @notUpward: if(@variationDropdownUpward, e(":not(.upward)"));
30
+
31
+ @notTransparent: if(@variationInputTransparent, e(":not(.transparent)"));
32
+ @notVertical: if(@variationMenuVertical, e(":not(.vertical)"));
33
+ @notImage: if(@variationLabelImage, e(":not(.image)"));
34
+ @notCentered: if(@variationImageCentered, e(":not(.centered)"));
35
+ @notAvatar: if(@variationImageAvatar, e(":not(.avatar)"));
36
+
20
37
  /*******************************
21
38
  Dropdown
22
39
  *******************************/
@@ -69,7 +86,7 @@
69
86
  Hidden Input
70
87
  --------------- */
71
88
 
72
- .ui.dropdown > input:not(.search):first-child,
89
+ .ui.dropdown > input@{notSearch}:first-child,
73
90
  .ui.dropdown > select {
74
91
  display: none !important;
75
92
  }
@@ -78,7 +95,7 @@
78
95
  Dropdown Icon
79
96
  --------------- */
80
97
 
81
- .ui.dropdown:not(.labeled) > .dropdown.icon {
98
+ .ui.dropdown@{notLabeled} > .dropdown.icon {
82
99
  position: relative;
83
100
  width: auto;
84
101
  min-width: @dropdownIconMinWidth;
@@ -190,12 +207,12 @@
190
207
  .ui.dropdown .menu > .header + .input {
191
208
  margin-top: 0;
192
209
  }
193
- .ui.dropdown .menu > .input:not(.transparent) input {
210
+ .ui.dropdown .menu > .input@{notTransparent} input {
194
211
  padding: @menuInputPadding;
195
212
  }
196
- .ui.dropdown .menu > .input:not(.transparent) .button,
197
- .ui.dropdown .menu > .input:not(.transparent) i.icon,
198
- .ui.dropdown .menu > .input:not(.transparent) .label {
213
+ .ui.dropdown .menu > .input@{notTransparent} .button,
214
+ .ui.dropdown .menu > .input@{notTransparent} i.icon,
215
+ .ui.dropdown .menu > .input@{notTransparent} .label {
199
216
  padding-top: @menuInputVerticalPadding;
200
217
  padding-bottom: @menuInputVerticalPadding;
201
218
  }
@@ -358,10 +375,10 @@
358
375
  .ui.dropdown.button .menu {
359
376
  min-width: 100%;
360
377
  }
361
- .ui.dropdown.button:not(.pointing):not(.floating).active {
378
+ .ui.dropdown.button@{notPointing}@{notFloating}.active {
362
379
  border-radius: @borderRadius @borderRadius 0 0;
363
380
  }
364
- .ui.dropdown.button:not(.pointing):not(.floating) > .menu {
381
+ .ui.dropdown.button@{notPointing}@{notFloating} > .menu {
365
382
  border-radius: 0 0 @borderRadius @borderRadius;
366
383
  }
367
384
  }
@@ -435,7 +452,7 @@ select.ui.dropdown {
435
452
  }
436
453
 
437
454
  /* Selection Menu */
438
- .ui.selection.dropdown:not(.unlimited) .menu {
455
+ .ui.selection.dropdown@{notUnlimited} .menu {
439
456
  overflow-x: hidden;
440
457
  overflow-y: auto;
441
458
  overscroll-behavior: @overscrollBehavior;
@@ -449,7 +466,7 @@ select.ui.dropdown {
449
466
  box-shadow: @selectionMenuBoxShadow;
450
467
  transition: @selectionMenuTransition;
451
468
  }
452
- .ui.selection.dropdown:not(.pointing):not(.floating) .menu {
469
+ .ui.selection.dropdown@{notPointing}@{notFloating} .menu {
453
470
  border-top-width: 0;
454
471
  border-radius: @selectionMenuBorderRadius;
455
472
  }
@@ -475,7 +492,7 @@ select.ui.dropdown {
475
492
  max-height: @selectionMobileMaxMenuHeight * 0.5;
476
493
  }
477
494
  }
478
- .ui.selection.dropdown:not(.unlimited) .menu {
495
+ .ui.selection.dropdown@{notUnlimited} .menu {
479
496
  max-height: @selectionMobileMaxMenuHeight;
480
497
  }
481
498
  & when (@variationDropdownLong) {
@@ -496,7 +513,7 @@ select.ui.dropdown {
496
513
  max-height: @selectionTabletMaxMenuHeight * 0.5;
497
514
  }
498
515
  }
499
- .ui.selection.dropdown:not(.unlimited) .menu {
516
+ .ui.selection.dropdown@{notUnlimited} .menu {
500
517
  max-height: @selectionTabletMaxMenuHeight;
501
518
  }
502
519
  & when (@variationDropdownLong) {
@@ -517,7 +534,7 @@ select.ui.dropdown {
517
534
  max-height: @selectionComputerMaxMenuHeight * 0.5;
518
535
  }
519
536
  }
520
- .ui.selection.dropdown:not(.unlimited) .menu {
537
+ .ui.selection.dropdown@{notUnlimited} .menu {
521
538
  max-height: @selectionComputerMaxMenuHeight;
522
539
  }
523
540
  & when (@variationDropdownLong) {
@@ -538,7 +555,7 @@ select.ui.dropdown {
538
555
  max-height: @selectionWidescreenMaxMenuHeight * 0.5;
539
556
  }
540
557
  }
541
- .ui.selection.dropdown:not(.unlimited) .menu {
558
+ .ui.selection.dropdown@{notUnlimited} .menu {
542
559
  max-height: @selectionWidescreenMaxMenuHeight;
543
560
  }
544
561
  & when (@variationDropdownLong) {
@@ -631,7 +648,7 @@ select.ui.dropdown {
631
648
  }
632
649
 
633
650
  /* Connecting Border */
634
- .ui.active.selection.dropdown:not(.pointing):not(.floating) {
651
+ .ui.active.selection.dropdown@{notPointing}@{notFloating} {
635
652
  border-bottom-left-radius: @selectionVisibleConnectingBorder !important;
636
653
  border-bottom-right-radius: @selectionVisibleConnectingBorder !important;
637
654
  }
@@ -759,29 +776,29 @@ select.ui.dropdown {
759
776
  }
760
777
 
761
778
  /* Search Menu */
762
- .ui.search.dropdown:not(.unlimited) .menu {
779
+ .ui.search.dropdown@{notUnlimited} .menu {
763
780
  overflow-x: hidden;
764
781
  overflow-y: auto;
765
782
  overscroll-behavior: @overscrollBehavior;
766
783
  backface-visibility: hidden;
767
784
  }
768
785
  @media only screen and (max-width: @largestMobileScreen) {
769
- .ui.search.dropdown:not(.unlimited) .menu {
786
+ .ui.search.dropdown@{notUnlimited} .menu {
770
787
  max-height: @searchMobileMaxMenuHeight;
771
788
  }
772
789
  }
773
790
  @media only screen and (min-width: @tabletBreakpoint) {
774
- .ui.search.dropdown:not(.unlimited) .menu {
791
+ .ui.search.dropdown@{notUnlimited} .menu {
775
792
  max-height: @searchTabletMaxMenuHeight;
776
793
  }
777
794
  }
778
795
  @media only screen and (min-width: @computerBreakpoint) {
779
- .ui.search.dropdown:not(.unlimited) .menu {
796
+ .ui.search.dropdown@{notUnlimited} .menu {
780
797
  max-height: @searchComputerMaxMenuHeight;
781
798
  }
782
799
  }
783
800
  @media only screen and (min-width: @widescreenMonitorBreakpoint) {
784
- .ui.search.dropdown:not(.unlimited) .menu {
801
+ .ui.search.dropdown@{notUnlimited} .menu {
785
802
  max-height: @searchWidescreenMaxMenuHeight;
786
803
  }
787
804
  }
@@ -812,21 +829,21 @@ select.ui.dropdown {
812
829
  }
813
830
 
814
831
  .ui.clearable.dropdown .text:not(.default),
815
- .ui.clearable.dropdown:not(.search) > .ui.label:last-of-type {
832
+ .ui.clearable.dropdown@{notSearch} > .ui.label:last-of-type {
816
833
  margin-right: @clearableTextMargin;
817
834
  }
818
835
 
819
836
  .ui.dropdown select.noselection ~ .remove.icon,
820
837
  .ui.dropdown input[value=""] ~ .remove.icon,
821
- .ui.dropdown input:not([value]):not(.search) ~ .remove.icon,
838
+ .ui.dropdown input:not([value])@{notSearch} ~ .remove.icon,
822
839
  .ui.dropdown.loading > .remove.icon {
823
840
  display: none;
824
841
  }
825
842
 
826
- .ui.dropdown:not(.selection) > .remove.icon ~ .dropdown.icon {
843
+ .ui.dropdown@{notSelection} > .remove.icon ~ .dropdown.icon {
827
844
  margin-left: @clearableIconMargin;
828
845
  }
829
- .ui.dropdown:not(.selection):not(.multiple) > .remove.icon {
846
+ .ui.dropdown@{notSelection}@{notMultiple} > .remove.icon {
830
847
  margin-top: -@clearableIconMarginTop;
831
848
  }
832
849
  }
@@ -879,24 +896,24 @@ select.ui.dropdown {
879
896
  .ui.multiple.dropdown > .label ~ .text {
880
897
  display: none;
881
898
  }
882
- .ui.multiple.dropdown > .label:not(.image) > img:not(.centered) {
899
+ .ui.multiple.dropdown > .label@{notImage} > img@{notCentered} {
883
900
  margin-right: @itemElementDistance;
884
901
  }
885
- .ui.multiple.dropdown > .label:not(.image) > img.ui:not(.avatar) {
902
+ .ui.multiple.dropdown > .label@{notImage} > img.ui@{notAvatar} {
886
903
  margin-bottom: @itemElementBottomDistance;
887
904
  }
888
905
  .ui.multiple.dropdown > .image.label img {
889
906
  margin: @imageLabelImageMargin;
890
907
  height: @imageLabelHeight;
891
908
  }
892
- .ui.multiple.dropdown:not(.selection):not(.labeled) {
909
+ .ui.multiple.dropdown@{notSelection}@{notLabeled} {
893
910
  & > .dropdown.icon {
894
911
  right: @dropdownIconMultipleRight;
895
912
  }
896
913
  & > .remove.icon {
897
914
  margin-right: @dropdownIconMultipleRight;
898
915
  }
899
- &:not(.search) > .remove.icon ~ .text.default,
916
+ &@{notSearch} > .remove.icon ~ .text.default,
900
917
  > .text.default:first-child {
901
918
  overflow: inherit;
902
919
  }
@@ -947,8 +964,8 @@ select.ui.dropdown {
947
964
  .ui.multiple.search.dropdown > span.sizer {
948
965
  display: none;
949
966
  }
950
- .ui.multiple.search.dropdown:not(.selection) > .remove.icon + input.search,
951
- .ui.multiple.search.dropdown:not(.selection) > input.search:first-child {
967
+ .ui.multiple.search.dropdown@{notSelection} > .remove.icon + input.search,
968
+ .ui.multiple.search.dropdown@{notSelection} > input.search:first-child {
952
969
  min-width: @multipleSearchMinWidth;
953
970
  }
954
971
  }
@@ -1010,12 +1027,12 @@ select.ui.dropdown {
1010
1027
  Default Text
1011
1028
  ---------------------- */
1012
1029
 
1013
- .ui.dropdown:not(.button) > .default.text,
1014
- .ui.default.dropdown:not(.button) > .text {
1030
+ .ui.dropdown@{notButton} > .default.text,
1031
+ .ui.default.dropdown@{notButton} > .text {
1015
1032
  color: @defaultTextColor;
1016
1033
  }
1017
- .ui.dropdown:not(.button) > input:focus ~ .default.text,
1018
- .ui.default.dropdown:not(.button) > input:focus ~ .text {
1034
+ .ui.dropdown@{notButton} > input:focus ~ .default.text,
1035
+ .ui.default.dropdown@{notButton} > input:focus ~ .text {
1019
1036
  color: @defaultTextFocusColor;
1020
1037
  }
1021
1038
 
@@ -1286,17 +1303,17 @@ select.ui.dropdown {
1286
1303
 
1287
1304
  & when (@variationDropdownButton) {
1288
1305
  /* Button */
1289
- .ui.upward.dropdown.button:not(.pointing):not(.floating).active {
1306
+ .ui.upward.dropdown.button@{notPointing}@{notFloating}.active {
1290
1307
  border-radius: 0 0 @borderRadius @borderRadius;
1291
1308
  }
1292
- .ui.upward.dropdown.button:not(.pointing):not(.floating) > .menu {
1309
+ .ui.upward.dropdown.button@{notPointing}@{notFloating} > .menu {
1293
1310
  border-radius: @borderRadius @borderRadius 0 0;
1294
1311
  }
1295
1312
  }
1296
1313
 
1297
1314
  & when (@variationDropdownSelection) {
1298
1315
  /* Selection */
1299
- .ui.ui.upward.selection.dropdown:not(.pointing):not(.floating) .menu {
1316
+ .ui.ui.upward.selection.dropdown@{notPointing}@{notFloating} .menu {
1300
1317
  border-top-width: @menuBorderWidth;
1301
1318
  border-bottom-width: 0;
1302
1319
  box-shadow: @upwardSelectionMenuBoxShadow;
@@ -1307,14 +1324,14 @@ select.ui.dropdown {
1307
1324
  }
1308
1325
 
1309
1326
  /* Active Upward */
1310
- .ui.active.upward.selection.dropdown:not(.pointing):not(.floating) {
1327
+ .ui.active.upward.selection.dropdown@{notPointing}@{notFloating} {
1311
1328
  border-radius: @upwardSelectionVisibleBorderRadius !important;
1312
1329
  }
1313
1330
 
1314
1331
  /* Visible Upward */
1315
1332
  .ui.upward.selection.dropdown.visible {
1316
1333
  box-shadow: @upwardSelectionVisibleBoxShadow;
1317
- &:not(.pointing):not(.floating) {
1334
+ &@{notPointing}@{notFloating} {
1318
1335
  border-radius: @upwardSelectionVisibleBorderRadius !important;
1319
1336
  }
1320
1337
  }
@@ -1323,7 +1340,7 @@ select.ui.dropdown {
1323
1340
  .ui.upward.active.selection.dropdown:hover {
1324
1341
  box-shadow: @upwardSelectionActiveHoverBoxShadow;
1325
1342
  }
1326
- .ui.upward.active.selection.dropdown:hover:not(.pointing):not(.floating) .menu {
1343
+ .ui.upward.active.selection.dropdown:hover@{notPointing}@{notFloating} .menu {
1327
1344
  box-shadow: @upwardSelectionActiveHoverMenuBoxShadow;
1328
1345
  }
1329
1346
  }
@@ -1511,7 +1528,7 @@ select.ui.dropdown {
1511
1528
  .ui.simple.selection.dropdown .upward.menu {
1512
1529
  margin-bottom: @simpleUpwardSelectionMenuMargin;
1513
1530
  }
1514
- .ui.menu:not(.vertical) .ui.simple.dropdown.item .upward.menu {
1531
+ .ui.menu@{notVertical} .ui.simple.dropdown.item .upward.menu {
1515
1532
  margin-bottom: @simpleUpwardItemMenuMargin;
1516
1533
  }
1517
1534
  }
@@ -1605,10 +1622,10 @@ select.ui.dropdown {
1605
1622
  box-shadow: @floatingMenuBoxShadow !important;
1606
1623
  border-radius: @floatingMenuBorderRadius !important;
1607
1624
  }
1608
- .ui:not(.upward).floating.dropdown > .menu {
1625
+ .ui@{notUpward}.floating.dropdown > .menu {
1609
1626
  margin-top: @floatingMenuDistance;
1610
1627
  }
1611
- .ui.upward.floating.dropdown:not(.simple) > .menu {
1628
+ .ui.upward.floating.dropdown@{notSimple} > .menu {
1612
1629
  margin-bottom: @floatingMenuDistance;
1613
1630
  }
1614
1631
  }
@@ -1639,11 +1656,11 @@ select.ui.dropdown {
1639
1656
  }
1640
1657
 
1641
1658
  @supports selector(:has(.f)) {
1642
- .ui.pointing.dropdown:not(.upward) .menu:has(:first-child:hover)::after,
1659
+ .ui.pointing.dropdown@{notUpward} .menu:has(:first-child:hover)::after,
1643
1660
  .ui.upward.pointing.dropdown .menu:has(:last-child:hover)::after {
1644
1661
  background: @hoveredItemBackground;
1645
1662
  }
1646
- .ui.pointing.dropdown:not(.upward) .menu:has(.selected.item:first-child)::after,
1663
+ .ui.pointing.dropdown@{notUpward} .menu:has(.selected.item:first-child)::after,
1647
1664
  .ui.upward.pointing.dropdown .menu:has(.selected.item:last-child)::after {
1648
1665
  background: @selectedBackground;
1649
1666
  }
@@ -1965,12 +1982,12 @@ select.ui.dropdown {
1965
1982
  }
1966
1983
  }
1967
1984
 
1968
- .ui.inverted.dropdown:not(.button) > .default.text,
1969
- .ui.inverted.default.dropdown:not(.button) > .text {
1985
+ .ui.inverted.dropdown@{notButton} > .default.text,
1986
+ .ui.inverted.default.dropdown@{notButton} > .text {
1970
1987
  color: @invertedDefaultTextColor;
1971
1988
  }
1972
- .ui.inverted.dropdown:not(.button) > input:focus ~ .default.text,
1973
- .ui.inverted.default.dropdown:not(.button) > input:focus ~ .text {
1989
+ .ui.inverted.dropdown@{notButton} > input:focus ~ .default.text,
1990
+ .ui.inverted.default.dropdown@{notButton} > input:focus ~ .text {
1974
1991
  color: @invertedDefaultTextFocusColor;
1975
1992
  }
1976
1993
 
@@ -2075,11 +2092,11 @@ select.ui.dropdown {
2075
2092
  }
2076
2093
  }
2077
2094
  @supports selector(:has(.f)) {
2078
- .ui.inverted.pointing.dropdown:not(.upward) .menu:has(:first-child:hover)::after,
2095
+ .ui.inverted.pointing.dropdown@{notUpward} .menu:has(:first-child:hover)::after,
2079
2096
  .ui.inverted.upward.pointing.dropdown .menu:has(:last-child:hover)::after {
2080
2097
  background: @invertedHoveredItemBackground;
2081
2098
  }
2082
- .ui.inverted.pointing.dropdown:not(.upward) .menu:has(.selected.item:first-child)::after,
2099
+ .ui.inverted.pointing.dropdown@{notUpward} .menu:has(.selected.item:first-child)::after,
2083
2100
  .ui.inverted.upward.pointing.dropdown .menu:has(.selected.item:last-child)::after {
2084
2101
  background: @invertedSelectedBackground;
2085
2102
  }
@@ -17,6 +17,10 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notFullscreen: if(@variationFlyoutFullscreen, e(":not(.fullscreen)"));
21
+
22
+ @notFluid: if(@variationButtonFluid, e(":not(.fluid)"));
23
+
20
24
  /*******************************
21
25
  Flyout
22
26
  *******************************/
@@ -46,30 +50,31 @@
46
50
  .ui.flyout > * {
47
51
  backface-visibility: hidden;
48
52
  }
53
+ & when (@variationFlyoutClose) {
54
+ /* --------------
55
+ Close
56
+ --------------- */
49
57
 
50
- /* --------------
51
- Close
52
- --------------- */
53
- .ui.flyout > .close {
54
- cursor: pointer;
55
- position: absolute;
56
- top: @closeTop;
57
- right: @closeRight;
58
- z-index: 1;
59
- opacity: @closeOpacity;
60
- font-size: @closeSize;
61
- color: @closeColor;
62
- width: @closeHitbox;
63
- height: @closeHitbox;
64
- padding: @closePadding;
65
- margin: @closeMargin;
66
- text-align: right;
67
- }
68
-
69
- .ui.flyout > .close:focus,
70
- .ui.flyout > .close:hover {
71
- opacity: 1;
72
- outline: none;
58
+ .ui.flyout > .close {
59
+ cursor: pointer;
60
+ position: absolute;
61
+ top: @closeTop;
62
+ right: @closeRight;
63
+ z-index: 1;
64
+ opacity: @closeOpacity;
65
+ font-size: @closeSize;
66
+ color: @closeColor;
67
+ width: @closeHitbox;
68
+ height: @closeHitbox;
69
+ padding: @closePadding;
70
+ margin: @closeMargin;
71
+ text-align: right;
72
+ }
73
+ .ui.flyout > .close:focus,
74
+ .ui.flyout > .close:hover {
75
+ opacity: 1;
76
+ outline: none;
77
+ }
73
78
  }
74
79
 
75
80
  /* --------------
@@ -134,7 +139,7 @@
134
139
  border-top: @actionBorder;
135
140
  text-align: @actionAlign;
136
141
  }
137
- .ui.flyout .actions > .button:not(.fluid) {
142
+ .ui.flyout .actions > .button@{notFluid} {
138
143
  margin-left: @buttonDistance;
139
144
  }
140
145
  & when (@variationFlyoutBasic) {
@@ -145,7 +150,7 @@
145
150
  & when (@variationFlyoutLeftActions) {
146
151
  .ui.flyout > .left.actions {
147
152
  text-align: left;
148
- & > .button:not(.fluid) {
153
+ & > .button@{notFluid} {
149
154
  margin-left: @buttonLeftDistance;
150
155
  margin-right: @buttonLeftDistance;
151
156
  }
@@ -156,7 +161,7 @@
156
161
  .ui.flyout > .centered,
157
162
  .ui.flyout > .center.aligned {
158
163
  text-align: center;
159
- &.actions > .button:not(.fluid) when (@variationFlyoutActions) {
164
+ &.actions > .button@{notFluid} when (@variationFlyoutActions) {
160
165
  margin-left: @buttonCenteredDistance;
161
166
  margin-right: @buttonCenteredDistance;
162
167
  }
@@ -402,9 +407,10 @@ body.pushable > .pusher {
402
407
  .ui.flyout.inverted {
403
408
  background: @invertedBackground;
404
409
  }
405
-
406
- .ui.flyout.inverted > .close {
407
- color: @invertedCloseColor;
410
+ & when (@variationFlyoutClose) {
411
+ .ui.flyout.inverted > .close {
412
+ color: @invertedCloseColor;
413
+ }
408
414
  }
409
415
 
410
416
  .ui.flyout.inverted > .header,
@@ -525,67 +531,67 @@ body.pushable > .pusher {
525
531
  & when (@variationFlyoutColumnWidth) {
526
532
  /* Sizing Combinations */
527
533
 
528
- .ui[class*="one wide"].flyout:not(.fullscreen) {
534
+ .ui[class*="one wide"].flyout@{notFullscreen} {
529
535
  width: @oneWide;
530
536
  }
531
537
 
532
- .ui[class*="two wide"].flyout:not(.fullscreen) {
538
+ .ui[class*="two wide"].flyout@{notFullscreen} {
533
539
  width: @twoWide;
534
540
  }
535
541
 
536
- .ui[class*="three wide"].flyout:not(.fullscreen) {
542
+ .ui[class*="three wide"].flyout@{notFullscreen} {
537
543
  width: @threeWide;
538
544
  }
539
545
 
540
- .ui[class*="four wide"].flyout:not(.fullscreen) {
546
+ .ui[class*="four wide"].flyout@{notFullscreen} {
541
547
  width: @fourWide;
542
548
  }
543
549
 
544
- .ui[class*="five wide"].flyout:not(.fullscreen) {
550
+ .ui[class*="five wide"].flyout@{notFullscreen} {
545
551
  width: @fiveWide;
546
552
  }
547
553
 
548
- .ui[class*="six wide"].flyout:not(.fullscreen) {
554
+ .ui[class*="six wide"].flyout@{notFullscreen} {
549
555
  width: @sixWide;
550
556
  }
551
557
 
552
- .ui[class*="seven wide"].flyout:not(.fullscreen) {
558
+ .ui[class*="seven wide"].flyout@{notFullscreen} {
553
559
  width: @sevenWide;
554
560
  }
555
561
 
556
- .ui[class*="eight wide"].flyout:not(.fullscreen) {
562
+ .ui[class*="eight wide"].flyout@{notFullscreen} {
557
563
  width: @eightWide;
558
564
  }
559
565
 
560
- .ui[class*="nine wide"].flyout:not(.fullscreen) {
566
+ .ui[class*="nine wide"].flyout@{notFullscreen} {
561
567
  width: @nineWide;
562
568
  }
563
569
 
564
- .ui[class*="ten wide"].flyout:not(.fullscreen) {
570
+ .ui[class*="ten wide"].flyout@{notFullscreen} {
565
571
  width: @tenWide;
566
572
  }
567
573
 
568
- .ui[class*="eleven wide"].flyout:not(.fullscreen) {
574
+ .ui[class*="eleven wide"].flyout@{notFullscreen} {
569
575
  width: @elevenWide;
570
576
  }
571
577
 
572
- .ui[class*="twelve wide"].flyout:not(.fullscreen) {
578
+ .ui[class*="twelve wide"].flyout@{notFullscreen} {
573
579
  width: @twelveWide;
574
580
  }
575
581
 
576
- .ui[class*="thirteen wide"].flyout:not(.fullscreen) {
582
+ .ui[class*="thirteen wide"].flyout@{notFullscreen} {
577
583
  width: @thirteenWide;
578
584
  }
579
585
 
580
- .ui[class*="fourteen wide"].flyout:not(.fullscreen) {
586
+ .ui[class*="fourteen wide"].flyout@{notFullscreen} {
581
587
  width: @fourteenWide;
582
588
  }
583
589
 
584
- .ui[class*="fifteen wide"].flyout:not(.fullscreen) {
590
+ .ui[class*="fifteen wide"].flyout@{notFullscreen} {
585
591
  width: @fifteenWide;
586
592
  }
587
593
 
588
- .ui[class*="sixteen wide"].flyout:not(.fullscreen) {
594
+ .ui[class*="sixteen wide"].flyout@{notFullscreen} {
589
595
  width: @sixteenWide;
590
596
  }
591
597
  }