fomantic-ui 2.8.8-beta.99 → 2.9.0-beta.100
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 +188 -3
- package/.github/dependabot.yml +17 -0
- package/.github/workflows/ci.yml +1 -1
- package/CHANGELOG.md +139 -0
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTORS.md +71 -37
- package/README.md +3 -3
- package/dist/components/accordion.css +50 -6
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +26 -24
- package/dist/components/api.min.js +4 -4
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +81 -81
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +110 -11
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +4 -4
- package/dist/components/card.css +26 -19
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +6 -4
- package/dist/components/checkbox.js +17 -11
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +4 -4
- package/dist/components/comment.css +11 -11
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +3 -4
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +28 -14
- package/dist/components/dimmer.js +15 -12
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +4 -4
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +54 -7
- package/dist/components/dropdown.js +107 -77
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +4 -4
- 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 +3 -3
- package/dist/components/emoji.css +2 -2
- package/dist/components/feed.css +28 -28
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +731 -625
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +119 -54
- package/dist/components/form.js +51 -70
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +4 -4
- package/dist/components/grid.css +13 -11
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +3 -3
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +86 -5
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +17 -2
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -13
- 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 +39 -37
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +37 -11
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +78 -34
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +7 -5
- package/dist/components/modal.js +237 -41
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +4 -4
- package/dist/components/nag.css +168 -16
- package/dist/components/nag.js +131 -65
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +4 -4
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +5 -3
- package/dist/components/popup.js +5 -5
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +4 -4
- package/dist/components/progress.css +2 -1
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +4 -4
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +8 -62
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +2 -3
- package/dist/components/reset.min.css +2 -2
- 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 +15 -13
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +4 -4
- package/dist/components/segment.css +36 -6
- 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 +3 -3
- package/dist/components/sidebar.css +4 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +61 -39
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -2
- package/dist/components/sticky.js +2 -2
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +4 -4
- 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 +3 -3
- package/dist/components/table.css +5 -3
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +123 -10
- package/dist/components/toast.js +54 -27
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +4 -4
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +2 -2
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +4 -4
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +2004 -1124
- package/dist/semantic.js +789 -377
- package/dist/semantic.min.css +4 -397
- package/dist/semantic.min.js +4 -4
- package/examples/assets/library/iframe-content.js +8 -8
- package/examples/assets/library/iframe.js +3 -3
- package/package.json +5 -5
- package/scripts/nightly-version.js +23 -8
- package/src/definitions/behaviors/api.js +25 -23
- package/src/definitions/behaviors/form.js +50 -69
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +200 -142
- package/src/definitions/collections/grid.less +717 -681
- package/src/definitions/collections/menu.less +177 -128
- package/src/definitions/collections/message.less +77 -44
- package/src/definitions/collections/table.less +255 -242
- package/src/definitions/elements/button.less +360 -347
- package/src/definitions/elements/container.less +16 -8
- package/src/definitions/elements/emoji.less +15 -9
- package/src/definitions/elements/flag.less +7 -17
- package/src/definitions/elements/header.less +44 -37
- package/src/definitions/elements/icon.less +121 -43
- package/src/definitions/elements/input.less +23 -7
- package/src/definitions/elements/label.less +92 -91
- package/src/definitions/elements/list.less +55 -45
- package/src/definitions/elements/loader.less +38 -35
- package/src/definitions/elements/segment.less +51 -23
- package/src/definitions/elements/step.less +52 -48
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/globals/site.less +23 -2
- package/src/definitions/modules/accordion.less +55 -5
- package/src/definitions/modules/calendar.js +109 -10
- package/src/definitions/modules/checkbox.js +16 -10
- package/src/definitions/modules/checkbox.less +44 -186
- package/src/definitions/modules/dimmer.js +14 -11
- package/src/definitions/modules/dimmer.less +21 -8
- package/src/definitions/modules/dropdown.js +106 -76
- package/src/definitions/modules/dropdown.less +148 -89
- package/src/definitions/modules/modal.js +236 -40
- package/src/definitions/modules/modal.less +6 -4
- package/src/definitions/modules/nag.js +130 -64
- package/src/definitions/modules/nag.less +105 -40
- package/src/definitions/modules/popup.js +4 -4
- package/src/definitions/modules/popup.less +5 -1
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/progress.less +20 -18
- package/src/definitions/modules/rating.less +50 -42
- package/src/definitions/modules/search.js +14 -12
- package/src/definitions/modules/search.less +32 -16
- package/src/definitions/modules/sidebar.less +33 -19
- package/src/definitions/modules/slider.less +43 -42
- package/src/definitions/modules/sticky.js +1 -1
- package/src/definitions/modules/toast.js +53 -26
- package/src/definitions/modules/toast.less +139 -25
- package/src/definitions/modules/transition.js +1 -1
- package/src/definitions/views/card.less +402 -361
- package/src/definitions/views/comment.less +92 -81
- package/src/definitions/views/feed.less +164 -144
- package/src/definitions/views/item.less +249 -196
- package/src/definitions/views/statistic.less +90 -88
- package/src/themes/default/collections/grid.variables +8 -8
- package/src/themes/default/collections/menu.variables +6 -0
- package/src/themes/default/collections/table.variables +1 -1
- package/src/themes/default/elements/button.variables +2 -1
- package/src/themes/default/elements/flag.overrides +1635 -986
- package/src/themes/default/elements/flag.variables +7 -5
- package/src/themes/default/elements/header.variables +2 -2
- package/src/themes/default/elements/icon.overrides +35 -28
- package/src/themes/default/elements/icon.variables +4 -0
- package/src/themes/default/elements/list.variables +1 -1
- package/src/themes/default/elements/step.overrides +1 -1
- package/src/themes/default/globals/colors.less +7 -7
- package/src/themes/default/globals/site.variables +19 -9
- package/src/themes/default/globals/variation.variables +119 -6
- package/src/themes/default/modules/accordion.variables +15 -0
- package/src/themes/default/modules/checkbox.variables +16 -16
- package/src/themes/default/modules/dimmer.variables +1 -1
- package/src/themes/default/modules/dropdown.variables +12 -5
- package/src/themes/default/modules/modal.variables +2 -2
- package/src/themes/default/modules/nag.variables +3 -1
- package/src/themes/default/modules/toast.variables +5 -1
- package/src/themes/default/views/card.variables +1 -1
- package/src/themes/famfamfam/elements/flag.overrides +1026 -0
- package/src/themes/famfamfam/elements/flag.variables +13 -0
- package/tasks/admin/components/init.js +2 -2
- package/tasks/admin/distributions/init.js +2 -2
- package/tasks/build/css.js +6 -1
- package/tasks/config/project/release.js +2 -2
- package/tasks/config/tasks.js +13 -9
- package/test/helpers/sinon.js +1 -1
@@ -69,13 +69,20 @@
|
|
69
69
|
color: @activeColor;
|
70
70
|
}
|
71
71
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
}
|
72
|
+
& when (@variationRatingPartial) {
|
73
|
+
/* Partially Active Icon */
|
74
|
+
.ui.rating .icon.partial.active {
|
75
|
+
background: linear-gradient(to right, @activeColor 0% var(--full), @inactiveColor var(--full) 100%);
|
76
|
+
}
|
78
77
|
|
78
|
+
/* central override for colors */
|
79
|
+
.ui.ui.rating .icon.partial.active {
|
80
|
+
-webkit-background-clip: text;
|
81
|
+
background-clip: text;
|
82
|
+
color: transparent;
|
83
|
+
text-shadow: none;
|
84
|
+
}
|
85
|
+
}
|
79
86
|
/* Selected Icon */
|
80
87
|
.ui.rating .icon.selected,
|
81
88
|
.ui.rating .icon.selected.active,
|
@@ -88,42 +95,42 @@
|
|
88
95
|
/*--------------
|
89
96
|
Colors
|
90
97
|
-------------- */
|
91
|
-
|
92
|
-
each(@
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
}
|
126
|
-
}
|
98
|
+
& when not (@variationRatingColors = false) {
|
99
|
+
each(@variationRatingColors, {
|
100
|
+
@color: @value;
|
101
|
+
@c: @colors[@@color][color];
|
102
|
+
@l: @colors[@@color][light];
|
103
|
+
@h: @colors[@@color][hover];
|
104
|
+
@lh: @colors[@@color][lightHover];
|
105
|
+
|
106
|
+
.ui.@{color}.rating .active.icon {
|
107
|
+
color: @l;
|
108
|
+
text-shadow: 0px -@shadowWidth 0px @c,
|
109
|
+
-@shadowWidth 0px 0px @c,
|
110
|
+
0px @shadowWidth 0px @c,
|
111
|
+
@shadowWidth 0px 0px @c;
|
112
|
+
}
|
113
|
+
.ui.@{color}.rating .icon.selected,
|
114
|
+
.ui.@{color}.rating .icon.selected.active,
|
115
|
+
.ui.@{color}.rating .icon.selected.partial.active {
|
116
|
+
background: inherit;
|
117
|
+
color: @lh;
|
118
|
+
text-shadow: 0px -@shadowWidth 0px @h,
|
119
|
+
-@shadowWidth 0px 0px @h,
|
120
|
+
0px @shadowWidth 0px @h,
|
121
|
+
@shadowWidth 0px 0px @h;
|
122
|
+
|
123
|
+
-webkit-text-stroke: unset;
|
124
|
+
background-clip: unset;
|
125
|
+
}
|
126
|
+
& when (@variationRatingPartial) {
|
127
|
+
.ui.@{color}.rating .icon.partial.active {
|
128
|
+
background: linear-gradient(to right, @l 0% var(--full), @inactiveColor var(--full) 100%);
|
129
|
+
-webkit-text-stroke: @c 0.78px;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
})
|
133
|
+
}
|
127
134
|
|
128
135
|
|
129
136
|
/*******************************
|
@@ -138,6 +145,7 @@ each(@colors, {
|
|
138
145
|
/* disabled rating */
|
139
146
|
.ui.disabled.rating .icon {
|
140
147
|
cursor: default;
|
148
|
+
pointer-events: none;
|
141
149
|
}
|
142
150
|
}
|
143
151
|
|
@@ -118,7 +118,7 @@ $.fn.search = function(parameters) {
|
|
118
118
|
.on(module.get.inputEvent() + eventNamespace, selector.prompt, module.event.input)
|
119
119
|
;
|
120
120
|
$prompt
|
121
|
-
.attr('autocomplete', 'off')
|
121
|
+
.attr('autocomplete', module.is.chrome() ? 'fomantic-search' : 'off')
|
122
122
|
;
|
123
123
|
}
|
124
124
|
$module
|
@@ -227,9 +227,7 @@ $.fn.search = function(parameters) {
|
|
227
227
|
results = module.get.results(),
|
228
228
|
result = $result.data(metadata.result) || module.get.result(value, results)
|
229
229
|
;
|
230
|
-
|
231
|
-
module.set.value(value);
|
232
|
-
}
|
230
|
+
var oldValue = module.get.value();
|
233
231
|
if( $.isFunction(settings.onSelect) ) {
|
234
232
|
if(settings.onSelect.call(element, result, results) === false) {
|
235
233
|
module.debug('Custom onSelect callback cancelled default select action');
|
@@ -238,6 +236,9 @@ $.fn.search = function(parameters) {
|
|
238
236
|
}
|
239
237
|
}
|
240
238
|
module.hideResults();
|
239
|
+
if(value && module.get.value() === oldValue) {
|
240
|
+
module.set.value(value);
|
241
|
+
}
|
241
242
|
if(href) {
|
242
243
|
event.preventDefault();
|
243
244
|
module.verbose('Opening search link found in result', $link);
|
@@ -251,16 +252,16 @@ $.fn.search = function(parameters) {
|
|
251
252
|
}
|
252
253
|
}
|
253
254
|
},
|
254
|
-
ensureVisible: function
|
255
|
+
ensureVisible: function($el) {
|
255
256
|
var elTop, elBottom, resultsScrollTop, resultsHeight;
|
256
|
-
|
257
|
+
if($el.length === 0) {
|
258
|
+
return;
|
259
|
+
}
|
257
260
|
elTop = $el.position().top;
|
258
261
|
elBottom = elTop + $el.outerHeight(true);
|
259
262
|
|
260
263
|
resultsScrollTop = $results.scrollTop();
|
261
|
-
resultsHeight = $results.height()
|
262
|
-
parseInt($results.css('paddingTop'), 0) +
|
263
|
-
parseInt($results.css('paddingBottom'), 0);
|
264
|
+
resultsHeight = $results.height();
|
264
265
|
|
265
266
|
if (elTop < 0) {
|
266
267
|
$results.scrollTop(resultsScrollTop + elTop);
|
@@ -401,6 +402,9 @@ $.fn.search = function(parameters) {
|
|
401
402
|
animating: function() {
|
402
403
|
return $results.hasClass(className.animating);
|
403
404
|
},
|
405
|
+
chrome: function() {
|
406
|
+
return !!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime);
|
407
|
+
},
|
404
408
|
hidden: function() {
|
405
409
|
return $results.hasClass(className.hidden);
|
406
410
|
},
|
@@ -976,9 +980,7 @@ $.fn.search = function(parameters) {
|
|
976
980
|
duration : settings.duration,
|
977
981
|
onShow : function() {
|
978
982
|
var $firstResult = $module.find(selector.result).eq(0);
|
979
|
-
|
980
|
-
module.ensureVisible($firstResult);
|
981
|
-
}
|
983
|
+
module.ensureVisible($firstResult);
|
982
984
|
},
|
983
985
|
onComplete : function() {
|
984
986
|
callback();
|
@@ -437,16 +437,20 @@
|
|
437
437
|
.ui.search.short > .results {
|
438
438
|
max-height: @scrollingMobileMaxResultsHeight;
|
439
439
|
}
|
440
|
-
|
441
|
-
|
440
|
+
& when (@variationSearchVeryShort) {
|
441
|
+
.ui.search[class*="very short"] > .results {
|
442
|
+
max-height: @scrollingMobileMaxResultsHeight * 0.75;
|
443
|
+
}
|
442
444
|
}
|
443
445
|
}
|
444
446
|
& when (@variationSearchLong) {
|
445
447
|
.ui.search.long > .results {
|
446
448
|
max-height: @scrollingMobileMaxResultsHeight * 2;
|
447
449
|
}
|
448
|
-
|
449
|
-
|
450
|
+
& when (@variationSearchVeryLong) {
|
451
|
+
.ui.search[class*="very long"] > .results {
|
452
|
+
max-height: @scrollingMobileMaxResultsHeight * 3;
|
453
|
+
}
|
450
454
|
}
|
451
455
|
}
|
452
456
|
}
|
@@ -455,16 +459,20 @@
|
|
455
459
|
.ui.search.short > .results {
|
456
460
|
max-height: @scrollingTabletMaxResultsHeight;
|
457
461
|
}
|
458
|
-
|
459
|
-
|
462
|
+
& when (@variationSearchVeryShort) {
|
463
|
+
.ui.search[class*="very short"] > .results {
|
464
|
+
max-height: @scrollingTabletMaxResultsHeight * 0.75;
|
465
|
+
}
|
460
466
|
}
|
461
467
|
}
|
462
468
|
& when (@variationSearchLong) {
|
463
469
|
.ui.search.long > .results {
|
464
470
|
max-height: @scrollingTabletMaxResultsHeight * 2;
|
465
471
|
}
|
466
|
-
|
467
|
-
|
472
|
+
& when (@variationSearchVeryLong) {
|
473
|
+
.ui.search[class*="very long"] > .results {
|
474
|
+
max-height: @scrollingTabletMaxResultsHeight * 3;
|
475
|
+
}
|
468
476
|
}
|
469
477
|
}
|
470
478
|
}
|
@@ -473,16 +481,20 @@
|
|
473
481
|
.ui.search.short > .results {
|
474
482
|
max-height: @scrollingComputerMaxResultsHeight;
|
475
483
|
}
|
476
|
-
|
477
|
-
|
484
|
+
& when (@variationSearchVeryShort) {
|
485
|
+
.ui.search[class*="very short"] > .results {
|
486
|
+
max-height: @scrollingComputerMaxResultsHeight * 0.75;
|
487
|
+
}
|
478
488
|
}
|
479
489
|
}
|
480
490
|
& when (@variationSearchLong) {
|
481
491
|
.ui.search.long > .results {
|
482
492
|
max-height: @scrollingComputerMaxResultsHeight * 2;
|
483
493
|
}
|
484
|
-
|
485
|
-
|
494
|
+
& when (@variationSearchVeryLong) {
|
495
|
+
.ui.search[class*="very long"] > .results {
|
496
|
+
max-height: @scrollingComputerMaxResultsHeight * 3;
|
497
|
+
}
|
486
498
|
}
|
487
499
|
}
|
488
500
|
}
|
@@ -491,16 +503,20 @@
|
|
491
503
|
.ui.search.short > .results {
|
492
504
|
max-height: @scrollingWidescreenMaxResultsHeight;
|
493
505
|
}
|
494
|
-
|
495
|
-
|
506
|
+
& when (@variationSearchVeryShort) {
|
507
|
+
.ui.search[class*="very short"] > .results {
|
508
|
+
max-height: @scrollingWidescreenMaxResultsHeight * 0.75;
|
509
|
+
}
|
496
510
|
}
|
497
511
|
}
|
498
512
|
& when (@variationSearchLong) {
|
499
513
|
.ui.search.long > .results {
|
500
514
|
max-height: @scrollingWidescreenMaxResultsHeight * 2;
|
501
515
|
}
|
502
|
-
|
503
|
-
|
516
|
+
& when (@variationSearchVeryLong) {
|
517
|
+
.ui.search[class*="very long"] > .results {
|
518
|
+
max-height: @scrollingWidescreenMaxResultsHeight * 3;
|
519
|
+
}
|
504
520
|
}
|
505
521
|
}
|
506
522
|
}
|
@@ -141,13 +141,15 @@ body.pushable {
|
|
141
141
|
.pushable > .pusher {
|
142
142
|
position: relative;
|
143
143
|
backface-visibility: hidden;
|
144
|
-
overflow: hidden;
|
145
144
|
min-height: 100%;
|
146
145
|
transition: transform @duration @easing;
|
147
146
|
z-index: @middleLayer;
|
148
147
|
|
149
148
|
/* Pusher should inherit background from context */
|
150
149
|
background: inherit;
|
150
|
+
&:not(.overflowing) {
|
151
|
+
overflow: hidden;
|
152
|
+
}
|
151
153
|
}
|
152
154
|
|
153
155
|
body.pushable > .pusher {
|
@@ -281,9 +283,11 @@ body.pushable > .pusher {
|
|
281
283
|
width: @thinWidth;
|
282
284
|
}
|
283
285
|
|
284
|
-
|
285
|
-
|
286
|
-
|
286
|
+
& when (@variationSidebarVeryThin) {
|
287
|
+
.ui[class*="very thin"].left.sidebar,
|
288
|
+
.ui[class*="very thin"].right.sidebar {
|
289
|
+
width: @veryThinWidth;
|
290
|
+
}
|
287
291
|
}
|
288
292
|
}
|
289
293
|
|
@@ -298,9 +302,11 @@ body.pushable > .pusher {
|
|
298
302
|
width: @wideWidth;
|
299
303
|
}
|
300
304
|
|
301
|
-
|
302
|
-
|
303
|
-
|
305
|
+
& when (@variationSidebarVeryWide) {
|
306
|
+
.ui[class*="very wide"].left.sidebar,
|
307
|
+
.ui[class*="very wide"].right.sidebar {
|
308
|
+
width: @veryWideWidth;
|
309
|
+
}
|
304
310
|
}
|
305
311
|
}
|
306
312
|
|
@@ -312,9 +318,11 @@ body.pushable > .pusher {
|
|
312
318
|
transform: translate3d(@thinWidth, 0, 0);
|
313
319
|
}
|
314
320
|
|
315
|
-
|
316
|
-
|
317
|
-
|
321
|
+
& when (@variationSidebarVeryThin) {
|
322
|
+
.ui.visible[class*="very thin"].left.sidebar ~ .fixed,
|
323
|
+
.ui.visible[class*="very thin"].left.sidebar ~ .pusher {
|
324
|
+
transform: translate3d(@veryThinWidth, 0, 0);
|
325
|
+
}
|
318
326
|
}
|
319
327
|
}
|
320
328
|
|
@@ -324,9 +332,11 @@ body.pushable > .pusher {
|
|
324
332
|
transform: translate3d(@wideWidth, 0, 0);
|
325
333
|
}
|
326
334
|
|
327
|
-
|
328
|
-
|
329
|
-
|
335
|
+
& when (@variationSidebarVeryWide) {
|
336
|
+
.ui.visible[class*="very wide"].left.sidebar ~ .fixed,
|
337
|
+
.ui.visible[class*="very wide"].left.sidebar ~ .pusher {
|
338
|
+
transform: translate3d(@veryWideWidth, 0, 0);
|
339
|
+
}
|
330
340
|
}
|
331
341
|
}
|
332
342
|
}
|
@@ -339,9 +349,11 @@ body.pushable > .pusher {
|
|
339
349
|
transform: translate3d(-@thinWidth, 0, 0);
|
340
350
|
}
|
341
351
|
|
342
|
-
|
343
|
-
|
344
|
-
|
352
|
+
& when (@variationSidebarVeryThin) {
|
353
|
+
.ui.visible[class*="very thin"].right.sidebar ~ .fixed,
|
354
|
+
.ui.visible[class*="very thin"].right.sidebar ~ .pusher {
|
355
|
+
transform: translate3d(-@veryThinWidth, 0, 0);
|
356
|
+
}
|
345
357
|
}
|
346
358
|
}
|
347
359
|
|
@@ -351,9 +363,11 @@ body.pushable > .pusher {
|
|
351
363
|
transform: translate3d(-@wideWidth, 0, 0);
|
352
364
|
}
|
353
365
|
|
354
|
-
|
355
|
-
|
356
|
-
|
366
|
+
& when (@variationSidebarVeryWide) {
|
367
|
+
.ui.visible[class*="very wide"].right.sidebar ~ .fixed,
|
368
|
+
.ui.visible[class*="very wide"].right.sidebar ~ .pusher {
|
369
|
+
transform: translate3d(-@veryWideWidth, 0, 0);
|
370
|
+
}
|
357
371
|
}
|
358
372
|
}
|
359
373
|
}
|
@@ -220,7 +220,7 @@
|
|
220
220
|
bottom: 100%;
|
221
221
|
}
|
222
222
|
.ui.labeled.ticked.slider > .labels .halftick.label:after {
|
223
|
-
height: @labelHeight / 2;
|
223
|
+
height: (@labelHeight / 2);
|
224
224
|
}
|
225
225
|
}
|
226
226
|
|
@@ -247,7 +247,7 @@
|
|
247
247
|
top: 50%;
|
248
248
|
}
|
249
249
|
.ui.labeled.vertical.slider > .labels .halftick.label:after {
|
250
|
-
width: @labelHeight / 2;
|
250
|
+
width: (@labelHeight / 2);
|
251
251
|
height: @labelWidth;
|
252
252
|
}
|
253
253
|
|
@@ -291,46 +291,47 @@
|
|
291
291
|
/*--------------
|
292
292
|
Colors
|
293
293
|
---------------*/
|
294
|
+
& when not (@variationSliderColors = false) {
|
295
|
+
each(@variationSliderColors, {
|
296
|
+
@color: @value;
|
297
|
+
@c: @colors[@@color][color];
|
298
|
+
@l: @colors[@@color][light];
|
299
|
+
@h: @colors[@@color][hover];
|
300
|
+
@lh: @colors[@@color][lightHover];
|
301
|
+
|
302
|
+
/* Standard */
|
303
|
+
.ui.@{color}.slider .inner .track-fill {
|
304
|
+
background-color: @c;
|
305
|
+
}
|
306
|
+
& when (@variationSliderInverted) {
|
307
|
+
.ui.@{color}.inverted.slider .inner .track-fill {
|
308
|
+
background-color: @l;
|
309
|
+
}
|
310
|
+
}
|
294
311
|
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
background-color: @c;
|
316
|
-
}
|
317
|
-
.ui.@{color}.slider.basic .inner .thumb:hover,
|
318
|
-
.ui.@{color}.slider.basic:focus .inner .thumb {
|
319
|
-
background-color: @h;
|
320
|
-
}
|
321
|
-
& when (@variationSliderInverted) {
|
322
|
-
/* Basic Inverted */
|
323
|
-
.ui.@{color}.inverted.slider.basic .inner .thumb {
|
324
|
-
background-color: @l;
|
325
|
-
}
|
326
|
-
.ui.@{color}.inverted.slider.basic .inner .thumb:hover,
|
327
|
-
.ui.@{color}.inverted.slider.basic:focus .inner .thumb {
|
328
|
-
background-color: @lh;
|
329
|
-
}
|
330
|
-
}
|
331
|
-
}
|
312
|
+
& when (@variationSliderBasic) {
|
313
|
+
/* Basic */
|
314
|
+
.ui.@{color}.slider.basic .inner .thumb {
|
315
|
+
background-color: @c;
|
316
|
+
}
|
317
|
+
.ui.@{color}.slider.basic .inner .thumb:hover,
|
318
|
+
.ui.@{color}.slider.basic:focus .inner .thumb {
|
319
|
+
background-color: @h;
|
320
|
+
}
|
321
|
+
& when (@variationSliderInverted) {
|
322
|
+
/* Basic Inverted */
|
323
|
+
.ui.@{color}.inverted.slider.basic .inner .thumb {
|
324
|
+
background-color: @l;
|
325
|
+
}
|
326
|
+
.ui.@{color}.inverted.slider.basic .inner .thumb:hover,
|
327
|
+
.ui.@{color}.inverted.slider.basic:focus .inner .thumb {
|
328
|
+
background-color: @lh;
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
332
|
|
333
|
-
})
|
333
|
+
})
|
334
|
+
}
|
334
335
|
|
335
336
|
& when (@variationSliderBasic) {
|
336
337
|
/*--------------
|
@@ -389,7 +390,7 @@ each(@colors, {
|
|
389
390
|
height: @@lh;
|
390
391
|
}
|
391
392
|
.ui.@{value}.labeled.slider:not(.vertical) > .labels .halftick.label:after {
|
392
|
-
height: @@lh / 2;
|
393
|
+
height: (@@lh / 2);
|
393
394
|
}
|
394
395
|
}
|
395
396
|
& when (@variationSliderVertical) {
|
@@ -408,7 +409,7 @@ each(@colors, {
|
|
408
409
|
width: @@lh;
|
409
410
|
}
|
410
411
|
.ui.@{value}.labeled.vertical.slider> .labels .halftick.label:after {
|
411
|
-
width: @@lh / 2;
|
412
|
+
width: (@@lh / 2);
|
412
413
|
}
|
413
414
|
}
|
414
415
|
}
|
@@ -938,7 +938,7 @@ $.fn.sticky.settings = {
|
|
938
938
|
|
939
939
|
error : {
|
940
940
|
container : 'Sticky element must be inside a relative container',
|
941
|
-
visible : 'Element is hidden, you must call refresh after element becomes visible. Use silent setting to
|
941
|
+
visible : 'Element is hidden, you must call refresh after element becomes visible. Use silent setting to suppress this warning in production.',
|
942
942
|
method : 'The method you called is not defined.',
|
943
943
|
invalidContext : 'Context specified does not exist',
|
944
944
|
elementSize : 'Sticky element is larger than its container, cannot create sticky.'
|