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.
- package/.all-contributorsrc +9 -0
- package/.github/workflows/ci.yml +2 -2
- package/CONTRIBUTORS.md +3 -0
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +3 -3
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +3 -3
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +34 -23
- package/dist/components/search.js +12 -1
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +93 -78
- package/dist/semantic.js +37 -26
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/collections/form.less +37 -24
- package/src/definitions/collections/grid.less +81 -66
- package/src/definitions/collections/menu.less +38 -27
- package/src/definitions/collections/table.less +114 -103
- package/src/definitions/elements/button.less +36 -24
- package/src/definitions/elements/container.less +6 -4
- package/src/definitions/elements/divider.less +4 -1
- package/src/definitions/elements/emoji.less +3 -1
- package/src/definitions/elements/header.less +7 -4
- package/src/definitions/elements/icon.less +35 -28
- package/src/definitions/elements/input.less +21 -13
- package/src/definitions/elements/label.less +14 -8
- package/src/definitions/elements/list.less +28 -21
- package/src/definitions/elements/loader.less +17 -12
- package/src/definitions/elements/segment.less +12 -7
- package/src/definitions/elements/step.less +95 -91
- package/src/definitions/modules/accordion.less +15 -13
- package/src/definitions/modules/calendar.less +6 -4
- package/src/definitions/modules/checkbox.less +12 -6
- package/src/definitions/modules/dimmer.less +10 -7
- package/src/definitions/modules/dropdown.less +68 -51
- package/src/definitions/modules/flyout.less +51 -45
- package/src/definitions/modules/modal.less +109 -82
- package/src/definitions/modules/nag.less +8 -4
- package/src/definitions/modules/popup.less +3 -1
- package/src/definitions/modules/progress.less +10 -4
- package/src/definitions/modules/search.js +11 -0
- package/src/definitions/modules/search.less +32 -23
- package/src/definitions/modules/slider.less +31 -24
- package/src/definitions/modules/toast.less +35 -24
- package/src/definitions/views/card.less +7 -5
- package/src/definitions/views/feed.less +3 -1
- package/src/definitions/views/item.less +7 -5
- package/src/themes/default/globals/variation.variables +14 -2
- package/src/themes/default/modules/search.variables +14 -14
- package/tasks/config/project/release.js +19 -1
- 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
|
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
|
68
|
+
.ui.dimmer@{notInverted}::-webkit-scrollbar-track {
|
66
69
|
background: @trackInvertedBackground;
|
67
70
|
}
|
68
|
-
.ui.dimmer
|
71
|
+
.ui.dimmer@{notInverted}::-webkit-scrollbar-thumb {
|
69
72
|
background: @thumbInvertedBackground;
|
70
73
|
}
|
71
|
-
.ui.dimmer
|
74
|
+
.ui.dimmer@{notInverted}::-webkit-scrollbar-thumb:window-inactive {
|
72
75
|
background: @thumbInvertedInactiveBackground;
|
73
76
|
}
|
74
|
-
.ui.dimmer
|
77
|
+
.ui.dimmer@{notInverted}::-webkit-scrollbar-thumb:hover {
|
75
78
|
background: @thumbInvertedHoverBackground;
|
76
79
|
}
|
77
80
|
& when (@supportIE) {
|
78
|
-
.ui.dimmer
|
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
|
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:
|
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
|
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
|
210
|
+
.ui.dropdown .menu > .input@{notTransparent} input {
|
194
211
|
padding: @menuInputPadding;
|
195
212
|
}
|
196
|
-
.ui.dropdown .menu > .input
|
197
|
-
.ui.dropdown .menu > .input
|
198
|
-
.ui.dropdown .menu > .input
|
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
|
378
|
+
.ui.dropdown.button@{notPointing}@{notFloating}.active {
|
362
379
|
border-radius: @borderRadius @borderRadius 0 0;
|
363
380
|
}
|
364
|
-
.ui.dropdown.button
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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])
|
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
|
843
|
+
.ui.dropdown@{notSelection} > .remove.icon ~ .dropdown.icon {
|
827
844
|
margin-left: @clearableIconMargin;
|
828
845
|
}
|
829
|
-
.ui.dropdown
|
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
|
899
|
+
.ui.multiple.dropdown > .label@{notImage} > img@{notCentered} {
|
883
900
|
margin-right: @itemElementDistance;
|
884
901
|
}
|
885
|
-
.ui.multiple.dropdown > .label
|
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
|
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
|
-
|
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
|
951
|
-
.ui.multiple.search.dropdown
|
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
|
1014
|
-
.ui.default.dropdown
|
1030
|
+
.ui.dropdown@{notButton} > .default.text,
|
1031
|
+
.ui.default.dropdown@{notButton} > .text {
|
1015
1032
|
color: @defaultTextColor;
|
1016
1033
|
}
|
1017
|
-
.ui.dropdown
|
1018
|
-
.ui.default.dropdown
|
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
|
1306
|
+
.ui.upward.dropdown.button@{notPointing}@{notFloating}.active {
|
1290
1307
|
border-radius: 0 0 @borderRadius @borderRadius;
|
1291
1308
|
}
|
1292
|
-
.ui.upward.dropdown.button
|
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
|
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
|
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
|
-
|
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
|
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
|
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
|
1625
|
+
.ui@{notUpward}.floating.dropdown > .menu {
|
1609
1626
|
margin-top: @floatingMenuDistance;
|
1610
1627
|
}
|
1611
|
-
.ui.upward.floating.dropdown
|
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
|
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
|
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
|
1969
|
-
.ui.inverted.default.dropdown
|
1985
|
+
.ui.inverted.dropdown@{notButton} > .default.text,
|
1986
|
+
.ui.inverted.default.dropdown@{notButton} > .text {
|
1970
1987
|
color: @invertedDefaultTextColor;
|
1971
1988
|
}
|
1972
|
-
.ui.inverted.dropdown
|
1973
|
-
.ui.inverted.default.dropdown
|
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
|
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
|
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
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
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
|
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
|
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
|
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
|
-
|
407
|
-
|
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
|
534
|
+
.ui[class*="one wide"].flyout@{notFullscreen} {
|
529
535
|
width: @oneWide;
|
530
536
|
}
|
531
537
|
|
532
|
-
.ui[class*="two wide"].flyout
|
538
|
+
.ui[class*="two wide"].flyout@{notFullscreen} {
|
533
539
|
width: @twoWide;
|
534
540
|
}
|
535
541
|
|
536
|
-
.ui[class*="three wide"].flyout
|
542
|
+
.ui[class*="three wide"].flyout@{notFullscreen} {
|
537
543
|
width: @threeWide;
|
538
544
|
}
|
539
545
|
|
540
|
-
.ui[class*="four wide"].flyout
|
546
|
+
.ui[class*="four wide"].flyout@{notFullscreen} {
|
541
547
|
width: @fourWide;
|
542
548
|
}
|
543
549
|
|
544
|
-
.ui[class*="five wide"].flyout
|
550
|
+
.ui[class*="five wide"].flyout@{notFullscreen} {
|
545
551
|
width: @fiveWide;
|
546
552
|
}
|
547
553
|
|
548
|
-
.ui[class*="six wide"].flyout
|
554
|
+
.ui[class*="six wide"].flyout@{notFullscreen} {
|
549
555
|
width: @sixWide;
|
550
556
|
}
|
551
557
|
|
552
|
-
.ui[class*="seven wide"].flyout
|
558
|
+
.ui[class*="seven wide"].flyout@{notFullscreen} {
|
553
559
|
width: @sevenWide;
|
554
560
|
}
|
555
561
|
|
556
|
-
.ui[class*="eight wide"].flyout
|
562
|
+
.ui[class*="eight wide"].flyout@{notFullscreen} {
|
557
563
|
width: @eightWide;
|
558
564
|
}
|
559
565
|
|
560
|
-
.ui[class*="nine wide"].flyout
|
566
|
+
.ui[class*="nine wide"].flyout@{notFullscreen} {
|
561
567
|
width: @nineWide;
|
562
568
|
}
|
563
569
|
|
564
|
-
.ui[class*="ten wide"].flyout
|
570
|
+
.ui[class*="ten wide"].flyout@{notFullscreen} {
|
565
571
|
width: @tenWide;
|
566
572
|
}
|
567
573
|
|
568
|
-
.ui[class*="eleven wide"].flyout
|
574
|
+
.ui[class*="eleven wide"].flyout@{notFullscreen} {
|
569
575
|
width: @elevenWide;
|
570
576
|
}
|
571
577
|
|
572
|
-
.ui[class*="twelve wide"].flyout
|
578
|
+
.ui[class*="twelve wide"].flyout@{notFullscreen} {
|
573
579
|
width: @twelveWide;
|
574
580
|
}
|
575
581
|
|
576
|
-
.ui[class*="thirteen wide"].flyout
|
582
|
+
.ui[class*="thirteen wide"].flyout@{notFullscreen} {
|
577
583
|
width: @thirteenWide;
|
578
584
|
}
|
579
585
|
|
580
|
-
.ui[class*="fourteen wide"].flyout
|
586
|
+
.ui[class*="fourteen wide"].flyout@{notFullscreen} {
|
581
587
|
width: @fourteenWide;
|
582
588
|
}
|
583
589
|
|
584
|
-
.ui[class*="fifteen wide"].flyout
|
590
|
+
.ui[class*="fifteen wide"].flyout@{notFullscreen} {
|
585
591
|
width: @fifteenWide;
|
586
592
|
}
|
587
593
|
|
588
|
-
.ui[class*="sixteen wide"].flyout
|
594
|
+
.ui[class*="sixteen wide"].flyout@{notFullscreen} {
|
589
595
|
width: @sixteenWide;
|
590
596
|
}
|
591
597
|
}
|