fomantic-ui 2.9.2-beta.8 → 2.9.2
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/CHANGELOG.md +35 -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 +40 -40
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +2 -2
- 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 +8 -6
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +2 -2
- 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 +2 -2
- package/dist/components/emoji.min.css +2 -2
- 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 +1 -1
- 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 +66 -37
- package/dist/components/form.js +115 -105
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +7 -1
- package/dist/components/grid.min.css +2 -2
- 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 +59 -25
- package/dist/components/input.min.css +2 -2
- 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 +30 -6
- package/dist/components/menu.min.css +9 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- 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 +147 -2
- package/dist/components/popup.js +18 -6
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- 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 +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +24 -2
- package/dist/components/segment.min.css +2 -2
- 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 -10
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +9 -6
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +9 -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 +2 -2
- package/dist/components/text.min.css +2 -2
- 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 +516 -185
- package/dist/semantic.js +158 -136
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +2 -2
- package/src/definitions/behaviors/form.js +114 -104
- package/src/definitions/collections/form.less +4 -14
- package/src/definitions/collections/grid.less +9 -0
- package/src/definitions/collections/menu.less +39 -6
- package/src/definitions/elements/emoji.less +2 -2
- package/src/definitions/elements/input.less +6 -20
- package/src/definitions/elements/placeholder.less +1 -1
- package/src/definitions/elements/segment.less +27 -1
- package/src/definitions/elements/text.less +1 -1
- package/src/definitions/globals/site.less +0 -18
- package/src/definitions/modules/checkbox.less +39 -39
- package/src/definitions/modules/dropdown.less +6 -10
- package/src/definitions/modules/embed.less +1 -1
- package/src/definitions/modules/popup.js +17 -5
- package/src/definitions/modules/popup.less +47 -3
- package/src/definitions/modules/progress.less +1 -1
- package/src/definitions/modules/slider.less +10 -0
- package/src/themes/default/globals/variation.variables +4 -0
- package/src/themes/default/modules/popup.variables +8 -0
@@ -727,7 +727,7 @@
|
|
727
727
|
border: @attachedBorder;
|
728
728
|
}
|
729
729
|
}
|
730
|
-
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
|
730
|
+
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top):not([class*="left attached"]):not([class*="right attached"]) {
|
731
731
|
border-top: none;
|
732
732
|
}
|
733
733
|
|
@@ -761,6 +761,32 @@
|
|
761
761
|
.ui.tab.segment[class*="bottom attached"]:last-child {
|
762
762
|
margin-bottom: @verticalMargin;
|
763
763
|
}
|
764
|
+
.ui[class*="left attached"].segment {
|
765
|
+
margin-right: 0;
|
766
|
+
}
|
767
|
+
.ui[class*="right attached"].segment {
|
768
|
+
margin-left: 0;
|
769
|
+
}
|
770
|
+
& when (@variationSegmentSeamless) {
|
771
|
+
.ui.seamless.attached.segment {
|
772
|
+
&:not(.top):not(.bottom):not([class*="right attached"]):not([class*="left attached"]) {
|
773
|
+
border-top: none;
|
774
|
+
border-bottom: none;
|
775
|
+
}
|
776
|
+
&.top {
|
777
|
+
border-bottom: none;
|
778
|
+
}
|
779
|
+
&.bottom {
|
780
|
+
border-top: none;
|
781
|
+
}
|
782
|
+
&[class*="left attached"] {
|
783
|
+
border-right: none;
|
784
|
+
}
|
785
|
+
&[class*="right attached"] {
|
786
|
+
border-left: none;
|
787
|
+
}
|
788
|
+
}
|
789
|
+
}
|
764
790
|
}
|
765
791
|
|
766
792
|
& when (@variationSegmentFitted) {
|
@@ -195,30 +195,12 @@ a:hover {
|
|
195
195
|
*******************************/
|
196
196
|
|
197
197
|
/* Site */
|
198
|
-
::-webkit-selection {
|
199
|
-
background-color: @highlightBackground;
|
200
|
-
color: @highlightColor;
|
201
|
-
}
|
202
|
-
::-moz-selection {
|
203
|
-
background-color: @highlightBackground;
|
204
|
-
color: @highlightColor;
|
205
|
-
}
|
206
198
|
::selection {
|
207
199
|
background-color: @highlightBackground;
|
208
200
|
color: @highlightColor;
|
209
201
|
}
|
210
202
|
|
211
203
|
/* Form */
|
212
|
-
textarea::-webkit-selection,
|
213
|
-
input::-webkit-selection {
|
214
|
-
background-color: @inputHighlightBackground;
|
215
|
-
color: @inputHighlightColor;
|
216
|
-
}
|
217
|
-
textarea::-moz-selection,
|
218
|
-
input::-moz-selection {
|
219
|
-
background-color: @inputHighlightBackground;
|
220
|
-
color: @inputHighlightColor;
|
221
|
-
}
|
222
204
|
textarea::selection,
|
223
205
|
input::selection {
|
224
206
|
background-color: @inputHighlightBackground;
|
@@ -409,10 +409,10 @@
|
|
409
409
|
|
410
410
|
/* Active */
|
411
411
|
.ui.slider.checkbox input:checked ~ label {
|
412
|
-
color: @sliderOnLabelColor
|
412
|
+
color: @sliderOnLabelColor;
|
413
413
|
}
|
414
414
|
.ui.slider.checkbox input:checked ~ label::before {
|
415
|
-
background-color: @sliderOnLineColor
|
415
|
+
background-color: @sliderOnLineColor;
|
416
416
|
}
|
417
417
|
.ui.slider.checkbox input:checked ~ label::after {
|
418
418
|
left: @sliderTravelDistance;
|
@@ -420,10 +420,10 @@
|
|
420
420
|
|
421
421
|
/* Active Focus */
|
422
422
|
.ui.slider.checkbox input:focus:checked ~ label {
|
423
|
-
color: @sliderOnFocusLabelColor
|
423
|
+
color: @sliderOnFocusLabelColor;
|
424
424
|
}
|
425
425
|
.ui.slider.checkbox input:focus:checked ~ label::before {
|
426
|
-
background-color: @sliderOnFocusLineColor
|
426
|
+
background-color: @sliderOnFocusLineColor;
|
427
427
|
}
|
428
428
|
|
429
429
|
& when (@variationCheckboxRightAligned) {
|
@@ -520,10 +520,10 @@
|
|
520
520
|
|
521
521
|
/* Active */
|
522
522
|
.ui.toggle.checkbox input:checked ~ label {
|
523
|
-
color: @toggleOnLabelColor
|
523
|
+
color: @toggleOnLabelColor;
|
524
524
|
}
|
525
525
|
.ui.toggle.checkbox input:checked ~ label::before {
|
526
|
-
background-color: @toggleOnLaneColor
|
526
|
+
background-color: @toggleOnLaneColor;
|
527
527
|
}
|
528
528
|
.ui.toggle.checkbox input:checked ~ label::after {
|
529
529
|
left: @toggleOnOffset;
|
@@ -532,10 +532,10 @@
|
|
532
532
|
|
533
533
|
/* Active Focus */
|
534
534
|
.ui.toggle.checkbox input:focus:checked ~ label {
|
535
|
-
color: @toggleOnFocusLabelColor
|
535
|
+
color: @toggleOnFocusLabelColor;
|
536
536
|
}
|
537
537
|
.ui.toggle.checkbox input:focus:checked ~ label::before {
|
538
|
-
background-color: @toggleOnFocusLaneColor
|
538
|
+
background-color: @toggleOnFocusLaneColor;
|
539
539
|
}
|
540
540
|
|
541
541
|
& when (@variationCheckboxRightAligned) {
|
@@ -563,8 +563,8 @@
|
|
563
563
|
Fitted
|
564
564
|
--------------- */
|
565
565
|
|
566
|
-
.ui.fitted.checkbox label {
|
567
|
-
padding-left: 0
|
566
|
+
.ui.ui.fitted.checkbox label {
|
567
|
+
padding-left: 0;
|
568
568
|
}
|
569
569
|
|
570
570
|
.ui.fitted.toggle.checkbox {
|
@@ -580,14 +580,14 @@
|
|
580
580
|
/* --------------
|
581
581
|
Inverted
|
582
582
|
--------------- */
|
583
|
-
.ui.inverted.checkbox label,
|
584
|
-
.ui.inverted.checkbox + label {
|
585
|
-
color: @invertedTextColor
|
583
|
+
.ui.ui.ui.inverted.checkbox label,
|
584
|
+
.ui.ui.ui.inverted.checkbox + label {
|
585
|
+
color: @invertedTextColor;
|
586
586
|
}
|
587
587
|
|
588
588
|
/* Hover */
|
589
|
-
.ui.inverted.checkbox label:hover {
|
590
|
-
color: @invertedHoveredTextColor
|
589
|
+
.ui.ui.inverted.checkbox label:hover {
|
590
|
+
color: @invertedHoveredTextColor;
|
591
591
|
}
|
592
592
|
.ui.inverted.checkbox label:hover::before {
|
593
593
|
border-color: @strongSelectedBorderColor;
|
@@ -599,56 +599,56 @@
|
|
599
599
|
}
|
600
600
|
|
601
601
|
/* Slider Line */
|
602
|
-
.ui.inverted.slider.checkbox label::before {
|
603
|
-
background-color: @invertedUnselectedTextColor
|
602
|
+
.ui.ui.inverted.slider.checkbox label::before {
|
603
|
+
background-color: @invertedUnselectedTextColor;
|
604
604
|
}
|
605
605
|
|
606
606
|
/* Slider Hover */
|
607
|
-
.ui.inverted.slider.checkbox label:hover::before {
|
608
|
-
background: @invertedLightTextColor
|
607
|
+
.ui.ui.inverted.slider.checkbox label:hover::before {
|
608
|
+
background: @invertedLightTextColor;
|
609
609
|
}
|
610
610
|
|
611
611
|
/* Slider Active */
|
612
|
-
.ui.inverted.slider.checkbox input:checked ~ label {
|
613
|
-
color: @invertedSelectedTextColor
|
612
|
+
.ui.ui.inverted.slider.checkbox input:checked ~ label {
|
613
|
+
color: @invertedSelectedTextColor;
|
614
614
|
}
|
615
|
-
.ui.inverted.slider.checkbox input:checked ~ label::before {
|
616
|
-
background-color: @selectedWhiteBorderColor
|
615
|
+
.ui.ui.inverted.slider.checkbox input:checked ~ label::before {
|
616
|
+
background-color: @selectedWhiteBorderColor;
|
617
617
|
}
|
618
618
|
|
619
619
|
/* Slider Active Focus */
|
620
|
-
.ui.inverted.slider.checkbox input:focus:checked ~ label {
|
621
|
-
color: @invertedSelectedTextColor
|
620
|
+
.ui.ui.inverted.slider.checkbox input:focus:checked ~ label {
|
621
|
+
color: @invertedSelectedTextColor;
|
622
622
|
}
|
623
|
-
.ui.inverted.slider.checkbox input:focus:checked ~ label::before {
|
624
|
-
background-color: @selectedWhiteBorderColor
|
623
|
+
.ui.ui.inverted.slider.checkbox input:focus:checked ~ label::before {
|
624
|
+
background-color: @selectedWhiteBorderColor;
|
625
625
|
}
|
626
626
|
}
|
627
627
|
& when (@variationCheckboxToggle) {
|
628
628
|
/* Toggle Switch */
|
629
|
-
.ui.inverted.toggle.checkbox label::before {
|
630
|
-
background-color: @invertedTextColor
|
629
|
+
.ui.ui.inverted.toggle.checkbox label::before {
|
630
|
+
background-color: @invertedTextColor;
|
631
631
|
}
|
632
632
|
|
633
633
|
/* Toggle Hover */
|
634
|
-
.ui.inverted.toggle.checkbox label:hover::before {
|
635
|
-
background: @invertedHoveredTextColor
|
634
|
+
.ui.ui.inverted.toggle.checkbox label:hover::before {
|
635
|
+
background: @invertedHoveredTextColor;
|
636
636
|
}
|
637
637
|
|
638
638
|
/* Toggle Active */
|
639
|
-
.ui.inverted.toggle.checkbox input:checked ~ label {
|
640
|
-
color: @invertedSelectedTextColor
|
639
|
+
.ui.ui.inverted.toggle.checkbox input:checked ~ label {
|
640
|
+
color: @invertedSelectedTextColor;
|
641
641
|
}
|
642
|
-
.ui.inverted.toggle.checkbox input:checked ~ label::before {
|
643
|
-
background-color: @toggleOnLaneColor
|
642
|
+
.ui.ui.inverted.toggle.checkbox input:checked ~ label::before {
|
643
|
+
background-color: @toggleOnLaneColor;
|
644
644
|
}
|
645
645
|
|
646
646
|
/* Toggle Active Focus */
|
647
|
-
.ui.inverted.toggle.checkbox input:focus:checked ~ label {
|
648
|
-
color: @invertedSelectedTextColor
|
647
|
+
.ui.ui.inverted.toggle.checkbox input:focus:checked ~ label {
|
648
|
+
color: @invertedSelectedTextColor;
|
649
649
|
}
|
650
|
-
.ui.inverted.toggle.checkbox input:focus:checked ~ label::before {
|
651
|
-
background-color: @toggleOnFocusLaneColor
|
650
|
+
.ui.ui.inverted.toggle.checkbox input:focus:checked ~ label::before {
|
651
|
+
background-color: @toggleOnFocusLaneColor;
|
652
652
|
}
|
653
653
|
}
|
654
654
|
}
|
@@ -425,6 +425,12 @@ select.ui.dropdown {
|
|
425
425
|
/* Compact */
|
426
426
|
.ui.compact.selection.dropdown {
|
427
427
|
min-width: 0;
|
428
|
+
& > .menu {
|
429
|
+
width: auto;
|
430
|
+
&:not(.multiline) {
|
431
|
+
width: max-content;
|
432
|
+
}
|
433
|
+
}
|
428
434
|
}
|
429
435
|
}
|
430
436
|
|
@@ -1898,16 +1904,6 @@ select.ui.dropdown {
|
|
1898
1904
|
}
|
1899
1905
|
|
1900
1906
|
/* Selection for form elements */
|
1901
|
-
.ui.inverted.dropdown textarea::-webkit-selection,
|
1902
|
-
.ui.inverted.dropdown input::-webkit-selection {
|
1903
|
-
background-color: @invertedInputHighlightBackground;
|
1904
|
-
color: @invertedInputHighlightColor;
|
1905
|
-
}
|
1906
|
-
.ui.inverted.dropdown textarea::-moz-selection,
|
1907
|
-
.ui.inverted.dropdown input::-moz-selection {
|
1908
|
-
background-color: @invertedInputHighlightBackground;
|
1909
|
-
color: @invertedInputHighlightColor;
|
1910
|
-
}
|
1911
1907
|
.ui.inverted.dropdown textarea::selection,
|
1912
1908
|
.ui.inverted.dropdown input::selection {
|
1913
1909
|
background-color: @invertedInputHighlightBackground;
|
@@ -125,9 +125,9 @@
|
|
125
125
|
}
|
126
126
|
}
|
127
127
|
if (settings.popup) {
|
128
|
-
|
128
|
+
module.set.invisible();
|
129
129
|
$offsetParent = module.get.offsetParent();
|
130
|
-
|
130
|
+
module.remove.invisible();
|
131
131
|
if (settings.movePopup && module.has.popup() && module.get.offsetParent($popup)[0] !== $offsetParent[0]) {
|
132
132
|
module.debug('Moving popup to the same offset parent as target');
|
133
133
|
$popup
|
@@ -901,8 +901,8 @@
|
|
901
901
|
.css(positioning)
|
902
902
|
.removeClass(className.position)
|
903
903
|
.addClass(position)
|
904
|
-
.addClass(className.loading)
|
905
904
|
;
|
905
|
+
module.set.invisible();
|
906
906
|
|
907
907
|
popupOffset = module.get.popupOffset();
|
908
908
|
|
@@ -926,7 +926,7 @@
|
|
926
926
|
module.debug('Popup could not find a position to display', $popup);
|
927
927
|
module.error(error.cannotPlace, element);
|
928
928
|
module.remove.attempts();
|
929
|
-
module.remove.
|
929
|
+
module.remove.invisible();
|
930
930
|
module.reset();
|
931
931
|
settings.onUnplaceable.call($popup, element);
|
932
932
|
|
@@ -935,7 +935,7 @@
|
|
935
935
|
}
|
936
936
|
module.debug('Position is on stage', position);
|
937
937
|
module.remove.attempts();
|
938
|
-
module.remove.
|
938
|
+
module.remove.invisible();
|
939
939
|
if (settings.setFluidWidth && module.is.fluid()) {
|
940
940
|
module.set.fluidWidth(calculations);
|
941
941
|
}
|
@@ -949,6 +949,14 @@
|
|
949
949
|
$popup.css('width', calculations.container.width);
|
950
950
|
},
|
951
951
|
|
952
|
+
loading: function () {
|
953
|
+
$popup.addClass(className.loading);
|
954
|
+
},
|
955
|
+
|
956
|
+
invisible: function () {
|
957
|
+
$popup.addClass(className.invisible);
|
958
|
+
},
|
959
|
+
|
952
960
|
variation: function (variation) {
|
953
961
|
variation = variation || module.get.variation();
|
954
962
|
if (variation && module.has.popup()) {
|
@@ -966,6 +974,9 @@
|
|
966
974
|
loading: function () {
|
967
975
|
$popup.removeClass(className.loading);
|
968
976
|
},
|
977
|
+
invisible: function () {
|
978
|
+
$popup.removeClass(className.invisible);
|
979
|
+
},
|
969
980
|
variation: function (variation) {
|
970
981
|
variation = variation || module.get.variation();
|
971
982
|
if (variation) {
|
@@ -1475,6 +1486,7 @@
|
|
1475
1486
|
basic: 'basic',
|
1476
1487
|
animating: 'animating',
|
1477
1488
|
dropdown: 'dropdown',
|
1489
|
+
invisible: 'invisible',
|
1478
1490
|
fluid: 'fluid',
|
1479
1491
|
loading: 'loading',
|
1480
1492
|
popup: 'ui popup',
|
@@ -704,12 +704,36 @@
|
|
704
704
|
*******************************/
|
705
705
|
& when (@variationPopupLoading) {
|
706
706
|
.ui.loading.popup {
|
707
|
-
|
708
|
-
|
709
|
-
|
707
|
+
cursor: default;
|
708
|
+
pointer-events: @loadingPointerEvents;
|
709
|
+
user-select: none;
|
710
|
+
& * {
|
711
|
+
opacity: @loadingOpacity;
|
712
|
+
}
|
713
|
+
&::after {
|
714
|
+
position: absolute;
|
715
|
+
content: "";
|
716
|
+
top: 50%;
|
717
|
+
left: 50%;
|
718
|
+
margin: @loaderMargin;
|
719
|
+
width: @loaderSize;
|
720
|
+
height: @loaderSize;
|
721
|
+
animation: loader @loaderSpeed infinite linear;
|
722
|
+
border: @loaderLineWidth solid @loaderLineColor;
|
723
|
+
border-radius: @circularRadius;
|
724
|
+
box-shadow: 0 0 0 1px transparent;
|
725
|
+
visibility: visible;
|
726
|
+
z-index: @loaderLineZIndex;
|
727
|
+
}
|
710
728
|
}
|
711
729
|
}
|
712
730
|
|
731
|
+
.ui.invisible.popup {
|
732
|
+
display: block;
|
733
|
+
visibility: hidden !important;
|
734
|
+
z-index: @invisibleZIndex;
|
735
|
+
}
|
736
|
+
|
713
737
|
.ui.animating.popup,
|
714
738
|
.ui.visible.popup {
|
715
739
|
display: block;
|
@@ -807,6 +831,8 @@
|
|
807
831
|
@color: @value;
|
808
832
|
@c: @colors[@@color][color];
|
809
833
|
@l: @colors[@@color][light];
|
834
|
+
@cl: lighten(@c, @loadingColoredPercent);
|
835
|
+
@ll: darken(@l, @loadingColoredPercent);
|
810
836
|
|
811
837
|
& when not (@variationPopupTooltip) {
|
812
838
|
.ui.ui.ui.@{color}.popup::before,
|
@@ -814,6 +840,9 @@
|
|
814
840
|
background: @c;
|
815
841
|
color: @white;
|
816
842
|
border: none;
|
843
|
+
.loading& when (@variationPopupLoading) {
|
844
|
+
background: @cl;
|
845
|
+
}
|
817
846
|
}
|
818
847
|
.ui.ui.ui.@{color}.popup::before {
|
819
848
|
box-shadow: none;
|
@@ -823,6 +852,9 @@
|
|
823
852
|
.ui.inverted.@{color}.popup {
|
824
853
|
background: @l;
|
825
854
|
color: @black;
|
855
|
+
.loading& when (@variationPopupLoading) {
|
856
|
+
background: @ll;
|
857
|
+
}
|
826
858
|
}
|
827
859
|
}
|
828
860
|
}
|
@@ -835,6 +867,12 @@
|
|
835
867
|
color: @white;
|
836
868
|
border: none;
|
837
869
|
}
|
870
|
+
& when (@variationPopupLoading) {
|
871
|
+
.ui.ui.ui.@{color}.loading.popup::before,
|
872
|
+
.ui.@{color}.loading.popup {
|
873
|
+
background: @cl;
|
874
|
+
}
|
875
|
+
}
|
838
876
|
.ui.ui.ui.@{color}.popup::before,
|
839
877
|
[data-tooltip][data-variation~="@{color}"]::before {
|
840
878
|
box-shadow: none;
|
@@ -847,6 +885,12 @@
|
|
847
885
|
background: @l;
|
848
886
|
color: @black;
|
849
887
|
}
|
888
|
+
& when (@variationPopupLoading) {
|
889
|
+
.ui.ui.ui.inverted.@{color}.loading.popup::before,
|
890
|
+
.ui.inverted.@{color}.loading.popup {
|
891
|
+
background: @ll;
|
892
|
+
}
|
893
|
+
}
|
850
894
|
}
|
851
895
|
}
|
852
896
|
});
|
@@ -233,6 +233,7 @@
|
|
233
233
|
@variationSegmentSecondary: true;
|
234
234
|
@variationSegmentTertiary: true;
|
235
235
|
@variationSegmentAttached: true;
|
236
|
+
@variationSegmentSeamless: true;
|
236
237
|
@variationSegmentFitted: true;
|
237
238
|
@variationSegmentScrolling: true;
|
238
239
|
@variationSegmentScrollingShort: true;
|
@@ -294,6 +295,7 @@
|
|
294
295
|
@variationGridDivided: true;
|
295
296
|
@variationGridVertical: true;
|
296
297
|
@variationGridAligned: true;
|
298
|
+
@variationGridAttached: true;
|
297
299
|
@variationGridStretched: true;
|
298
300
|
@variationGridJustified: true;
|
299
301
|
@variationGridReversed: true;
|
@@ -325,6 +327,8 @@
|
|
325
327
|
@variationMenuAttached: true;
|
326
328
|
@variationMenuIcon: true;
|
327
329
|
@variationMenuEqualWidth: true;
|
330
|
+
@variationMenuWrapping: true;
|
331
|
+
@variationMenuWrapped: true;
|
328
332
|
@variationMenuSizes: @variationAllSizes;
|
329
333
|
@variationMenuColors: @variationAllColors;
|
330
334
|
|
@@ -109,7 +109,15 @@
|
|
109
109
|
States
|
110
110
|
-------------------- */
|
111
111
|
|
112
|
+
@loadingOpacity: 0.3;
|
113
|
+
@loadingColoredPercent: 30%;
|
114
|
+
@loadingPointerEvents: none;
|
112
115
|
@loadingZIndex: -1;
|
116
|
+
@loaderSize: 2em;
|
117
|
+
@loaderLineZIndex: 101;
|
118
|
+
|
119
|
+
/* backward compatible just in case */
|
120
|
+
@invisibleZIndex: @loadingZIndex;
|
113
121
|
|
114
122
|
/* -------------------
|
115
123
|
Variations
|