uikit 3.21.14-dev.028df7be8 → 3.21.14-dev.2e8a07c7e
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 +34 -0
- package/dist/css/uikit-core-rtl.css +233 -85
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +233 -85
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +237 -81
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +237 -81
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +2 -11
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +425 -126
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +442 -131
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +2 -2
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +2 -2
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +17 -27
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +2 -2
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +22 -33
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +3 -3
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +8 -12
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +225 -221
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +20 -17
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +644 -530
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/images/icons/arrow-down-arrow-up.svg +6 -0
- package/src/images/icons/arrow-down.svg +3 -3
- package/src/images/icons/arrow-left.svg +3 -3
- package/src/images/icons/arrow-right.svg +3 -3
- package/src/images/icons/arrow-up-right.svg +3 -3
- package/src/images/icons/arrow-up.svg +3 -3
- package/src/images/icons/close-circle.svg +5 -0
- package/src/images/icons/cloud-download.svg +4 -4
- package/src/images/icons/cloud-upload.svg +4 -4
- package/src/images/icons/download.svg +4 -4
- package/src/images/icons/expand.svg +5 -5
- package/src/images/icons/link-external.svg +4 -4
- package/src/images/icons/pull.svg +4 -4
- package/src/images/icons/push.svg +3 -3
- package/src/images/icons/shrink.svg +5 -5
- package/src/images/icons/sign-in.svg +4 -3
- package/src/images/icons/sign-out.svg +4 -3
- package/src/images/icons/sorting.svg +6 -0
- package/src/images/icons/upload.svg +4 -4
- package/src/js/api/events.js +15 -14
- package/src/js/api/instance.js +1 -1
- package/src/js/components/internal/lightbox-animations.js +2 -1
- package/src/js/components/internal/slideshow-animations.js +5 -5
- package/src/js/components/lightbox-panel.js +180 -45
- package/src/js/components/lightbox.js +59 -6
- package/src/js/components/slideshow.js +1 -2
- package/src/js/components/sortable.js +2 -2
- package/src/js/core/grid.js +1 -1
- package/src/js/core/icon.js +2 -2
- package/src/js/core/img.js +3 -5
- package/src/js/core/navbar.js +6 -2
- package/src/js/core/scrollspy-nav.js +1 -1
- package/src/js/core/svg.js +8 -10
- package/src/js/core/video.js +4 -3
- package/src/js/mixin/internal/slideshow-animations.js +1 -6
- package/src/js/mixin/modal.js +1 -4
- package/src/js/mixin/slider-drag.js +5 -6
- package/src/js/mixin/slider-nav.js +1 -1
- package/src/js/mixin/slider.js +11 -13
- package/src/js/mixin/slideshow.js +1 -1
- package/src/js/mixin/togglable.js +7 -2
- package/src/js/util/dom.js +3 -1
- package/src/js/util/filter.js +3 -1
- package/src/js/util/player.js +0 -4
- package/src/less/components/background.less +1 -9
- package/src/less/components/breadcrumb.less +6 -2
- package/src/less/components/button.less +1 -1
- package/src/less/components/form-range.less +52 -0
- package/src/less/components/form.less +1 -1
- package/src/less/components/lightbox.less +57 -89
- package/src/less/components/margin.less +14 -0
- package/src/less/components/search.less +49 -23
- package/src/less/components/sticky.less +1 -10
- package/src/less/components/totop.less +1 -1
- package/src/less/components/transition.less +4 -4
- package/src/less/components/visibility.less +3 -2
- package/src/less/theme/form-range.less +12 -0
- package/src/less/theme/lightbox.less +2 -20
- package/src/less/theme/search.less +24 -10
- package/src/scss/components/background.scss +1 -9
- package/src/scss/components/breadcrumb.scss +6 -2
- package/src/scss/components/button.scss +1 -1
- package/src/scss/components/form-range.scss +12 -0
- package/src/scss/components/form.scss +1 -1
- package/src/scss/components/lightbox.scss +50 -77
- package/src/scss/components/margin.scss +13 -0
- package/src/scss/components/search.scss +30 -12
- package/src/scss/components/sticky.scss +1 -10
- package/src/scss/components/totop.scss +1 -1
- package/src/scss/components/transition.scss +4 -4
- package/src/scss/components/visibility.scss +3 -2
- package/src/scss/mixins-theme.scss +51 -12
- package/src/scss/mixins.scss +45 -6
- package/src/scss/theme/form-range.scss +10 -0
- package/src/scss/theme/lightbox.scss +2 -20
- package/src/scss/theme/search.scss +10 -6
- package/src/scss/variables-theme.scss +32 -20
- package/src/scss/variables.scss +29 -24
- package/tests/badge.html +2 -2
- package/tests/base.html +1 -1
- package/tests/breadcrumb.html +23 -5
- package/tests/card.html +24 -24
- package/tests/dropbar.html +15 -15
- package/tests/dropdown.html +6 -6
- package/tests/dropnav.html +100 -100
- package/tests/icon.html +8 -0
- package/tests/index.html +15 -15
- package/tests/lightbox.html +379 -28
- package/tests/margin.html +19 -0
- package/tests/nav.html +21 -21
- package/tests/navbar.html +292 -292
- package/tests/offcanvas.html +27 -27
- package/tests/placeholder.html +2 -2
- package/tests/slider.html +0 -1
- package/tests/slideshow.html +1 -1
- package/tests/sortable.html +5 -5
- package/tests/sticky-navbar.html +114 -114
- package/tests/transition.html +2 -1
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
|
|
24
25
|
/* ========================================================================
|
|
25
26
|
Component: Margin
|
|
26
27
|
========================================================================== */
|
|
@@ -38,6 +39,18 @@
|
|
|
38
39
|
.uk-margin-right { margin-right: $margin-margin !important; }
|
|
39
40
|
|
|
40
41
|
|
|
42
|
+
/* XSmall
|
|
43
|
+
========================================================================== */
|
|
44
|
+
|
|
45
|
+
.uk-margin-xsmall { margin-bottom: $margin-xsmall-margin; }
|
|
46
|
+
* + .uk-margin-xsmall { margin-top: $margin-xsmall-margin !important; }
|
|
47
|
+
|
|
48
|
+
.uk-margin-xsmall-top { margin-top: $margin-xsmall-margin !important; }
|
|
49
|
+
.uk-margin-xsmall-bottom { margin-bottom: $margin-xsmall-margin !important; }
|
|
50
|
+
.uk-margin-xsmall-left { margin-left: $margin-xsmall-margin !important; }
|
|
51
|
+
.uk-margin-xsmall-right { margin-right: $margin-xsmall-margin !important; }
|
|
52
|
+
|
|
53
|
+
|
|
41
54
|
/* Small
|
|
42
55
|
========================================================================== */
|
|
43
56
|
|
|
@@ -185,10 +185,13 @@
|
|
|
185
185
|
* Icon
|
|
186
186
|
*/
|
|
187
187
|
|
|
188
|
-
.uk-search-default .uk-search-icon {
|
|
188
|
+
.uk-search-default .uk-search-icon {
|
|
189
|
+
padding-left: $search-default-padding-horizontal;
|
|
190
|
+
padding-right: $search-default-padding-horizontal;
|
|
191
|
+
}
|
|
189
192
|
|
|
190
|
-
.uk-search-default:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-default-icon-width + $search-default-icon-padding); }
|
|
191
|
-
.uk-search-default:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-default-icon-width + $search-default-icon-padding); }
|
|
193
|
+
.uk-search-default:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-default-icon-width + $search-default-padding-horizontal + $search-default-icon-padding); }
|
|
194
|
+
.uk-search-default:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-default-icon-width + $search-default-padding-horizontal + $search-default-icon-padding); }
|
|
192
195
|
|
|
193
196
|
|
|
194
197
|
/* Navbar modifier
|
|
@@ -218,10 +221,13 @@
|
|
|
218
221
|
* Icon
|
|
219
222
|
*/
|
|
220
223
|
|
|
221
|
-
.uk-search-navbar .uk-search-icon {
|
|
224
|
+
.uk-search-navbar .uk-search-icon {
|
|
225
|
+
padding-left: $search-navbar-padding-horizontal;
|
|
226
|
+
padding-right: $search-navbar-padding-horizontal;
|
|
227
|
+
}
|
|
222
228
|
|
|
223
|
-
.uk-search-navbar:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-navbar-icon-width + $search-navbar-icon-padding); }
|
|
224
|
-
.uk-search-navbar:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-navbar-icon-width + $search-navbar-icon-padding); }
|
|
229
|
+
.uk-search-navbar:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-navbar-icon-width + $search-navbar-padding-horizontal + $search-navbar-icon-padding); }
|
|
230
|
+
.uk-search-navbar:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-navbar-icon-width + $search-navbar-padding-horizontal + $search-navbar-icon-padding); }
|
|
225
231
|
|
|
226
232
|
|
|
227
233
|
/* Medium modifier
|
|
@@ -235,6 +241,8 @@
|
|
|
235
241
|
|
|
236
242
|
.uk-search-medium .uk-search-input {
|
|
237
243
|
height: $search-medium-height;
|
|
244
|
+
padding-left: $search-medium-padding-horizontal;
|
|
245
|
+
padding-right: $search-medium-padding-horizontal;
|
|
238
246
|
background: $search-medium-background;
|
|
239
247
|
font-size: $search-medium-font-size;
|
|
240
248
|
@if(mixin-exists(hook-search-medium-input)) {@include hook-search-medium-input();}
|
|
@@ -242,6 +250,7 @@
|
|
|
242
250
|
|
|
243
251
|
/* Focus */
|
|
244
252
|
.uk-search-medium .uk-search-input:focus {
|
|
253
|
+
background-color: $search-medium-focus-background;
|
|
245
254
|
@if(mixin-exists(hook-search-medium-input-focus)) {@include hook-search-medium-input-focus();}
|
|
246
255
|
}
|
|
247
256
|
|
|
@@ -249,10 +258,13 @@
|
|
|
249
258
|
* Icon
|
|
250
259
|
*/
|
|
251
260
|
|
|
252
|
-
.uk-search-medium .uk-search-icon {
|
|
261
|
+
.uk-search-medium .uk-search-icon {
|
|
262
|
+
padding-left: $search-medium-padding-horizontal;
|
|
263
|
+
padding-right: $search-medium-padding-horizontal;
|
|
264
|
+
}
|
|
253
265
|
|
|
254
|
-
.uk-search-medium:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-medium-icon-width + $search-medium-icon-padding); }
|
|
255
|
-
.uk-search-medium:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-medium-icon-width + $search-medium-icon-padding); }
|
|
266
|
+
.uk-search-medium:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-medium-icon-width + $search-medium-padding-horizontal + $search-medium-icon-padding); }
|
|
267
|
+
.uk-search-medium:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-medium-icon-width + $search-medium-padding-horizontal + $search-medium-icon-padding); }
|
|
256
268
|
|
|
257
269
|
|
|
258
270
|
/* Large modifier
|
|
@@ -266,6 +278,8 @@
|
|
|
266
278
|
|
|
267
279
|
.uk-search-large .uk-search-input {
|
|
268
280
|
height: $search-large-height;
|
|
281
|
+
padding-left: $search-large-padding-horizontal;
|
|
282
|
+
padding-right: $search-large-padding-horizontal;
|
|
269
283
|
background: $search-large-background;
|
|
270
284
|
font-size: $search-large-font-size;
|
|
271
285
|
@if(mixin-exists(hook-search-large-input)) {@include hook-search-large-input();}
|
|
@@ -273,6 +287,7 @@
|
|
|
273
287
|
|
|
274
288
|
/* Focus */
|
|
275
289
|
.uk-search-large .uk-search-input:focus {
|
|
290
|
+
background-color: $search-medium-focus-background;
|
|
276
291
|
@if(mixin-exists(hook-search-large-input-focus)) {@include hook-search-large-input-focus();}
|
|
277
292
|
}
|
|
278
293
|
|
|
@@ -280,10 +295,13 @@
|
|
|
280
295
|
* Icon
|
|
281
296
|
*/
|
|
282
297
|
|
|
283
|
-
.uk-search-large .uk-search-icon {
|
|
298
|
+
.uk-search-large .uk-search-icon {
|
|
299
|
+
padding-left: $search-large-padding-horizontal;
|
|
300
|
+
padding-right: $search-large-padding-horizontal;
|
|
301
|
+
}
|
|
284
302
|
|
|
285
|
-
.uk-search-large:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-large-icon-width + $search-large-icon-padding); }
|
|
286
|
-
.uk-search-large:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-large-icon-width + $search-large-icon-padding); }
|
|
303
|
+
.uk-search-large:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-large-icon-width + $search-large-padding-horizontal + $search-large-icon-padding); }
|
|
304
|
+
.uk-search-large:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-large-icon-width + $search-large-padding-horizontal + $search-large-icon-padding); }
|
|
287
305
|
|
|
288
306
|
|
|
289
307
|
/* Toggle
|
|
@@ -36,16 +36,7 @@
|
|
|
36
36
|
box-sizing: border-box;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
* 1. Force new layer to resolve frame rate issues on devices with lower frame rates
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
.uk-sticky-fixed {
|
|
44
|
-
margin: 0 !important;
|
|
45
|
-
/* 1 */
|
|
46
|
-
-webkit-backface-visibility: hidden;
|
|
47
|
-
backface-visibility: hidden;
|
|
48
|
-
}
|
|
39
|
+
.uk-sticky-fixed { margin: 0 !important; }
|
|
49
40
|
|
|
50
41
|
/*
|
|
51
42
|
* Faster animations
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
.uk-transition-toggle:hover .uk-transition-fade,
|
|
74
74
|
.uk-transition-toggle:focus .uk-transition-fade,
|
|
75
|
-
.uk-transition-toggle .uk-transition-fade
|
|
75
|
+
.uk-transition-toggle:focus-within .uk-transition-fade,
|
|
76
76
|
.uk-transition-active.uk-active .uk-transition-fade { opacity: 1; }
|
|
77
77
|
|
|
78
78
|
/*
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
/* Show */
|
|
96
96
|
.uk-transition-toggle:hover .uk-transition-scale-up,
|
|
97
97
|
.uk-transition-toggle:focus .uk-transition-scale-up,
|
|
98
|
-
.uk-transition-toggle .uk-transition-scale-up
|
|
98
|
+
.uk-transition-toggle:focus-within .uk-transition-scale-up,
|
|
99
99
|
.uk-transition-active.uk-active .uk-transition-scale-up {
|
|
100
100
|
--uk-scale-x: #{$transition-scale};
|
|
101
101
|
--uk-scale-y: #{$transition-scale};
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
.uk-transition-toggle:hover .uk-transition-scale-down,
|
|
106
106
|
.uk-transition-toggle:focus .uk-transition-scale-down,
|
|
107
|
-
.uk-transition-toggle .uk-transition-scale-down
|
|
107
|
+
.uk-transition-toggle:focus-within .uk-transition-scale-down,
|
|
108
108
|
.uk-transition-active.uk-active .uk-transition-scale-down {
|
|
109
109
|
--uk-scale-x: 1;
|
|
110
110
|
--uk-scale-y: 1;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
/* Show */
|
|
134
134
|
.uk-transition-toggle:hover [class*="uk-transition-slide"],
|
|
135
135
|
.uk-transition-toggle:focus [class*="uk-transition-slide"],
|
|
136
|
-
.uk-transition-toggle [class*="uk-transition-slide"]
|
|
136
|
+
.uk-transition-toggle:focus-within [class*="uk-transition-slide"],
|
|
137
137
|
.uk-transition-active.uk-active [class*="uk-transition-slide"] {
|
|
138
138
|
--uk-translate-x: 0;
|
|
139
139
|
--uk-translate-y: 0;
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
[hidden],
|
|
27
|
-
.uk-hidden
|
|
27
|
+
.uk-hidden,
|
|
28
|
+
.uk-hidden-empty:empty { display: none !important; }
|
|
28
29
|
|
|
29
30
|
/* Phone landscape and bigger */
|
|
30
31
|
@media (min-width: $breakpoint-small) {
|
|
@@ -114,7 +115,7 @@
|
|
|
114
115
|
*/
|
|
115
116
|
|
|
116
117
|
.uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
|
|
117
|
-
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-
|
|
118
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-visible):not(:has(:focus-visible)) {
|
|
118
119
|
/* 1 */
|
|
119
120
|
position: absolute !important;
|
|
120
121
|
/* 2 */
|
|
@@ -819,6 +819,47 @@
|
|
|
819
819
|
@mixin hook-form-range-track-focus(){}
|
|
820
820
|
@mixin hook-form-range-thumb(){ border: $form-range-thumb-border-width solid $form-range-thumb-border; }
|
|
821
821
|
@mixin hook-form-range-misc(){}
|
|
822
|
+
@mixin hook-inverse-form-range-track(){}
|
|
823
|
+
@mixin hook-inverse-form-range-track-focus(){}
|
|
824
|
+
@mixin hook-inverse-form-range-thumb(){ border-color: $inverse-form-range-thumb-border; }
|
|
825
|
+
@mixin hook-inverse-component-form-range(){
|
|
826
|
+
|
|
827
|
+
/* Webkit */
|
|
828
|
+
.uk-range::-webkit-slider-runnable-track {
|
|
829
|
+
background: $inverse-form-range-track-background;
|
|
830
|
+
@if(mixin-exists(hook-inverse-form-range-track)) {@include hook-inverse-form-range-track();}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.uk-range:focus::-webkit-slider-runnable-track,
|
|
834
|
+
.uk-range:active::-webkit-slider-runnable-track {
|
|
835
|
+
background: $inverse-form-range-track-focus-background;
|
|
836
|
+
@if(mixin-exists(hook-inverse-form-range-track-focus)) {@include hook-inverse-form-range-track-focus();}
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/* Firefox */
|
|
840
|
+
.uk-range::-moz-range-track {
|
|
841
|
+
background: $inverse-form-range-track-background;
|
|
842
|
+
@if(mixin-exists(hook-inverse-form-range-track)) {@include hook-inverse-form-range-track();}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.uk-range:focus::-moz-range-track {
|
|
846
|
+
background: $inverse-form-range-track-focus-background;
|
|
847
|
+
@if(mixin-exists(hook-inverse-form-range-track-focus)) {@include hook-inverse-form-range-track-focus();}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/* Webkit */
|
|
851
|
+
.uk-range::-webkit-slider-thumb {
|
|
852
|
+
background: $inverse-form-range-thumb-background;
|
|
853
|
+
@if(mixin-exists(hook-inverse-form-range-thumb)) {@include hook-inverse-form-range-thumb();}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/* Firefox */
|
|
857
|
+
.uk-range::-moz-range-thumb {
|
|
858
|
+
background: $inverse-form-range-thumb-background;
|
|
859
|
+
@if(mixin-exists(hook-inverse-form-range-thumb)) {@include hook-inverse-form-range-thumb();}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
}
|
|
822
863
|
@mixin hook-form(){
|
|
823
864
|
border: $form-border-width solid $form-border;
|
|
824
865
|
transition: 0.2s ease-in-out;
|
|
@@ -1160,12 +1201,7 @@
|
|
|
1160
1201
|
}
|
|
1161
1202
|
@mixin hook-lightbox(){}
|
|
1162
1203
|
@mixin hook-lightbox-item(){}
|
|
1163
|
-
@mixin hook-lightbox-
|
|
1164
|
-
@mixin hook-lightbox-toolbar-icon(){}
|
|
1165
|
-
@mixin hook-lightbox-toolbar-icon-hover(){}
|
|
1166
|
-
@mixin hook-lightbox-button(){}
|
|
1167
|
-
@mixin hook-lightbox-button-hover(){}
|
|
1168
|
-
@mixin hook-lightbox-button-active(){}
|
|
1204
|
+
@mixin hook-lightbox-caption(){}
|
|
1169
1205
|
@mixin hook-lightbox-misc(){}
|
|
1170
1206
|
@mixin hook-link-muted(){}
|
|
1171
1207
|
@mixin hook-link-muted-hover(){}
|
|
@@ -1673,10 +1709,10 @@
|
|
|
1673
1709
|
@mixin hook-search-default-input-focus(){ border-color: $search-default-focus-border; }
|
|
1674
1710
|
@mixin hook-search-navbar-input(){ border: $search-navbar-border-width solid $search-navbar-border; }
|
|
1675
1711
|
@mixin hook-search-navbar-input-focus(){ border-color: $search-navbar-focus-border; }
|
|
1676
|
-
@mixin hook-search-medium-input(){}
|
|
1677
|
-
@mixin hook-search-medium-input-focus(){}
|
|
1678
|
-
@mixin hook-search-large-input(){}
|
|
1679
|
-
@mixin hook-search-large-input-focus(){}
|
|
1712
|
+
@mixin hook-search-medium-input(){ border: $search-medium-border-width solid $search-medium-border; }
|
|
1713
|
+
@mixin hook-search-medium-input-focus(){ border-color: $search-medium-focus-border; }
|
|
1714
|
+
@mixin hook-search-large-input(){ border: $search-large-border-width solid $search-large-border; }
|
|
1715
|
+
@mixin hook-search-large-input-focus(){ border-color: $search-large-focus-border; }
|
|
1680
1716
|
@mixin hook-search-toggle(){}
|
|
1681
1717
|
@mixin hook-search-toggle-hover(){}
|
|
1682
1718
|
@mixin hook-search-misc(){}
|
|
@@ -1684,9 +1720,9 @@
|
|
|
1684
1720
|
@mixin hook-inverse-search-default-input-focus(){}
|
|
1685
1721
|
@mixin hook-inverse-search-navbar-input(){ border-color: $inverse-global-border; }
|
|
1686
1722
|
@mixin hook-inverse-search-navbar-input-focus(){}
|
|
1687
|
-
@mixin hook-inverse-search-medium-input(){}
|
|
1723
|
+
@mixin hook-inverse-search-medium-input(){ border-color: $inverse-global-border; }
|
|
1688
1724
|
@mixin hook-inverse-search-medium-input-focus(){}
|
|
1689
|
-
@mixin hook-inverse-search-large-input(){}
|
|
1725
|
+
@mixin hook-inverse-search-large-input(){ border-color: $inverse-global-border; }
|
|
1690
1726
|
@mixin hook-inverse-search-large-input-focus(){}
|
|
1691
1727
|
@mixin hook-inverse-search-toggle(){}
|
|
1692
1728
|
@mixin hook-inverse-search-toggle-hover(){}
|
|
@@ -1737,6 +1773,7 @@
|
|
|
1737
1773
|
}
|
|
1738
1774
|
|
|
1739
1775
|
.uk-search-medium .uk-search-input:focus {
|
|
1776
|
+
background-color: $inverse-search-medium-focus-background;
|
|
1740
1777
|
@if(mixin-exists(hook-inverse-search-medium-input-focus)) {@include hook-inverse-search-medium-input-focus();}
|
|
1741
1778
|
}
|
|
1742
1779
|
|
|
@@ -1746,6 +1783,7 @@
|
|
|
1746
1783
|
}
|
|
1747
1784
|
|
|
1748
1785
|
.uk-search-large .uk-search-input:focus {
|
|
1786
|
+
background-color: $inverse-search-large-focus-background;
|
|
1749
1787
|
@if(mixin-exists(hook-inverse-search-large-input-focus)) {@include hook-inverse-search-large-input-focus();}
|
|
1750
1788
|
}
|
|
1751
1789
|
|
|
@@ -2211,6 +2249,7 @@
|
|
|
2211
2249
|
@include hook-inverse-component-countdown();
|
|
2212
2250
|
@include hook-inverse-component-divider();
|
|
2213
2251
|
@include hook-inverse-component-dotnav();
|
|
2252
|
+
@include hook-inverse-component-form-range();
|
|
2214
2253
|
@include hook-inverse-component-form();
|
|
2215
2254
|
@include hook-inverse-component-grid();
|
|
2216
2255
|
@include hook-inverse-component-heading();
|
package/src/scss/mixins.scss
CHANGED
|
@@ -593,6 +593,47 @@
|
|
|
593
593
|
@mixin hook-form-range-track-focus(){}
|
|
594
594
|
@mixin hook-form-range-thumb(){}
|
|
595
595
|
@mixin hook-form-range-misc(){}
|
|
596
|
+
@mixin hook-inverse-form-range-track(){}
|
|
597
|
+
@mixin hook-inverse-form-range-track-focus(){}
|
|
598
|
+
@mixin hook-inverse-form-range-thumb(){}
|
|
599
|
+
@mixin hook-inverse-component-form-range(){
|
|
600
|
+
|
|
601
|
+
/* Webkit */
|
|
602
|
+
.uk-range::-webkit-slider-runnable-track {
|
|
603
|
+
background: $inverse-form-range-track-background;
|
|
604
|
+
@if(mixin-exists(hook-inverse-form-range-track)) {@include hook-inverse-form-range-track();}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.uk-range:focus::-webkit-slider-runnable-track,
|
|
608
|
+
.uk-range:active::-webkit-slider-runnable-track {
|
|
609
|
+
background: $inverse-form-range-track-focus-background;
|
|
610
|
+
@if(mixin-exists(hook-inverse-form-range-track-focus)) {@include hook-inverse-form-range-track-focus();}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/* Firefox */
|
|
614
|
+
.uk-range::-moz-range-track {
|
|
615
|
+
background: $inverse-form-range-track-background;
|
|
616
|
+
@if(mixin-exists(hook-inverse-form-range-track)) {@include hook-inverse-form-range-track();}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.uk-range:focus::-moz-range-track {
|
|
620
|
+
background: $inverse-form-range-track-focus-background;
|
|
621
|
+
@if(mixin-exists(hook-inverse-form-range-track-focus)) {@include hook-inverse-form-range-track-focus();}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/* Webkit */
|
|
625
|
+
.uk-range::-webkit-slider-thumb {
|
|
626
|
+
background: $inverse-form-range-thumb-background;
|
|
627
|
+
@if(mixin-exists(hook-inverse-form-range-thumb)) {@include hook-inverse-form-range-thumb();}
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/* Firefox */
|
|
631
|
+
.uk-range::-moz-range-thumb {
|
|
632
|
+
background: $inverse-form-range-thumb-background;
|
|
633
|
+
@if(mixin-exists(hook-inverse-form-range-thumb)) {@include hook-inverse-form-range-thumb();}
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
}
|
|
596
637
|
@mixin hook-form(){}
|
|
597
638
|
@mixin hook-form-single-line(){}
|
|
598
639
|
@mixin hook-form-multi-line(){}
|
|
@@ -910,12 +951,7 @@
|
|
|
910
951
|
}
|
|
911
952
|
@mixin hook-lightbox(){}
|
|
912
953
|
@mixin hook-lightbox-item(){}
|
|
913
|
-
@mixin hook-lightbox-
|
|
914
|
-
@mixin hook-lightbox-toolbar-icon(){}
|
|
915
|
-
@mixin hook-lightbox-toolbar-icon-hover(){}
|
|
916
|
-
@mixin hook-lightbox-button(){}
|
|
917
|
-
@mixin hook-lightbox-button-hover(){}
|
|
918
|
-
@mixin hook-lightbox-button-active(){}
|
|
954
|
+
@mixin hook-lightbox-caption(){}
|
|
919
955
|
@mixin hook-lightbox-misc(){}
|
|
920
956
|
@mixin hook-link-muted(){}
|
|
921
957
|
@mixin hook-link-muted-hover(){}
|
|
@@ -1420,6 +1456,7 @@
|
|
|
1420
1456
|
}
|
|
1421
1457
|
|
|
1422
1458
|
.uk-search-medium .uk-search-input:focus {
|
|
1459
|
+
background-color: $inverse-search-medium-focus-background;
|
|
1423
1460
|
@if(mixin-exists(hook-inverse-search-medium-input-focus)) {@include hook-inverse-search-medium-input-focus();}
|
|
1424
1461
|
}
|
|
1425
1462
|
|
|
@@ -1429,6 +1466,7 @@
|
|
|
1429
1466
|
}
|
|
1430
1467
|
|
|
1431
1468
|
.uk-search-large .uk-search-input:focus {
|
|
1469
|
+
background-color: $inverse-search-large-focus-background;
|
|
1432
1470
|
@if(mixin-exists(hook-inverse-search-large-input-focus)) {@include hook-inverse-search-large-input-focus();}
|
|
1433
1471
|
}
|
|
1434
1472
|
|
|
@@ -1813,6 +1851,7 @@
|
|
|
1813
1851
|
@include hook-inverse-component-countdown();
|
|
1814
1852
|
@include hook-inverse-component-divider();
|
|
1815
1853
|
@include hook-inverse-component-dotnav();
|
|
1854
|
+
@include hook-inverse-component-form-range();
|
|
1816
1855
|
@include hook-inverse-component-form();
|
|
1817
1856
|
@include hook-inverse-component-grid();
|
|
1818
1857
|
@include hook-inverse-component-heading();
|
|
@@ -39,3 +39,13 @@
|
|
|
39
39
|
// ========================================================================
|
|
40
40
|
|
|
41
41
|
// @mixin hook-form-range-misc(){}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// Inverse
|
|
45
|
+
// ========================================================================
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
// @mixin hook-inverse-form-range-track(){}
|
|
50
|
+
// @mixin hook-inverse-form-range-track-focus(){}
|
|
51
|
+
|
|
@@ -20,28 +20,10 @@
|
|
|
20
20
|
// @mixin hook-lightbox-item(){}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// Caption
|
|
24
24
|
// ========================================================================
|
|
25
25
|
|
|
26
|
-
// @mixin hook-lightbox-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
// Toolbar Icon
|
|
30
|
-
// ========================================================================
|
|
31
|
-
|
|
32
|
-
// @mixin hook-lightbox-toolbar-icon(){}
|
|
33
|
-
|
|
34
|
-
// @mixin hook-lightbox-toolbar-icon-hover(){}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
// Button
|
|
38
|
-
// ========================================================================
|
|
39
|
-
|
|
40
|
-
// @mixin hook-lightbox-button(){}
|
|
41
|
-
|
|
42
|
-
// @mixin hook-lightbox-button-hover(){}
|
|
43
|
-
|
|
44
|
-
// @mixin hook-lightbox-button-active(){}
|
|
26
|
+
// @mixin hook-lightbox-caption(){}
|
|
45
27
|
|
|
46
28
|
|
|
47
29
|
// Miscellaneous
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
//
|
|
13
15
|
// New
|
|
14
16
|
//
|
|
@@ -49,17 +51,17 @@
|
|
|
49
51
|
// Medium modifiers
|
|
50
52
|
// ========================================================================
|
|
51
53
|
|
|
52
|
-
// @mixin hook-search-medium-input(){}
|
|
53
54
|
|
|
54
|
-
|
|
55
|
+
|
|
56
|
+
|
|
55
57
|
|
|
56
58
|
|
|
57
59
|
// Large modifiers
|
|
58
60
|
// ========================================================================
|
|
59
61
|
|
|
60
|
-
// @mixin hook-search-large-input(){}
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
|
|
64
|
+
|
|
63
65
|
|
|
64
66
|
|
|
65
67
|
// Toggle
|
|
@@ -82,15 +84,17 @@
|
|
|
82
84
|
|
|
83
85
|
|
|
84
86
|
|
|
87
|
+
|
|
88
|
+
|
|
85
89
|
// @mixin hook-inverse-search-default-input-focus(){}
|
|
86
90
|
|
|
87
91
|
|
|
88
92
|
// @mixin hook-inverse-search-navbar-input-focus(){}
|
|
89
93
|
|
|
90
|
-
|
|
94
|
+
|
|
91
95
|
// @mixin hook-inverse-search-medium-input-focus(){}
|
|
92
96
|
|
|
93
|
-
|
|
97
|
+
|
|
94
98
|
// @mixin hook-inverse-search-large-input-focus(){}
|
|
95
99
|
|
|
96
100
|
// @mixin hook-inverse-search-toggle(){}
|
|
@@ -415,6 +415,10 @@ $form-range-thumb-height: 15px !default;
|
|
|
415
415
|
$form-range-thumb-width: $form-range-thumb-height !default;
|
|
416
416
|
$form-range-thumb-border-radius: 500px !default;
|
|
417
417
|
$form-range-thumb-background: $global-background !default;
|
|
418
|
+
$inverse-global-muted-background: rgba($global-inverse-color, 0.1) !default;
|
|
419
|
+
$inverse-form-range-track-background: darken($inverse-global-muted-background; 5%) !default;
|
|
420
|
+
$inverse-form-range-track-focus-background: fade-in($inverse-form-range-track-background, 0.05) !default;
|
|
421
|
+
$inverse-form-range-thumb-background: darken(fade-in($inverse-global-color, 1), 50%) !default;
|
|
418
422
|
$form-height: $global-control-height !default;
|
|
419
423
|
$form-border-width: $global-border-width !default;
|
|
420
424
|
$form-line-height: $form-height - (2* $form-border-width) !default;
|
|
@@ -473,7 +477,6 @@ $internal-form-datalist-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%
|
|
|
473
477
|
$internal-form-radio-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22#000%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
|
|
474
478
|
$internal-form-checkbox-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22#000%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A" !default;
|
|
475
479
|
$internal-form-checkbox-indeterminate-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22#000%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
|
|
476
|
-
$inverse-global-muted-background: rgba($global-inverse-color, 0.1) !default;
|
|
477
480
|
$inverse-form-background: $inverse-global-muted-background !default;
|
|
478
481
|
$inverse-form-color: $inverse-global-color !default;
|
|
479
482
|
$inverse-form-focus-background: fade-in($inverse-form-background, 0.05) !default;
|
|
@@ -604,21 +607,16 @@ $leader-fill-content: unquote('.') !default;
|
|
|
604
607
|
$leader-fill-margin-left: $global-small-gutter !default;
|
|
605
608
|
$lightbox-z-index: $global-z-index + 10 !default;
|
|
606
609
|
$lightbox-background: #000 !default;
|
|
610
|
+
$lightbox-color-mode: light !default;
|
|
607
611
|
$lightbox-focus-outline: rgba(255,255,255,0.7) !default;
|
|
608
|
-
$lightbox-item-color: rgba(255,255,255,0.7) !default;
|
|
609
612
|
$lightbox-item-max-width: 100vw !default;
|
|
610
613
|
$lightbox-item-max-height: 100vh !default;
|
|
611
|
-
$lightbox-
|
|
612
|
-
$lightbox-
|
|
613
|
-
$lightbox-
|
|
614
|
-
$lightbox-
|
|
615
|
-
$lightbox-
|
|
616
|
-
$lightbox-
|
|
617
|
-
$lightbox-toolbar-icon-hover-color: #fff !default;
|
|
618
|
-
$lightbox-button-size: 50px !default;
|
|
619
|
-
$lightbox-button-background: $lightbox-toolbar-background !default;
|
|
620
|
-
$lightbox-button-color: rgba(255,255,255,0.7) !default;
|
|
621
|
-
$lightbox-button-hover-color: #fff !default;
|
|
614
|
+
$lightbox-thumbnav-vertical-width: 100px !default;
|
|
615
|
+
$lightbox-thumbnav-height: 100px !default;
|
|
616
|
+
$lightbox-caption-padding-vertical: 10px !default;
|
|
617
|
+
$lightbox-caption-padding-horizontal: 10px !default;
|
|
618
|
+
$lightbox-caption-background: rgba(0,0,0,0.3) !default;
|
|
619
|
+
$lightbox-caption-color: rgba(255,255,255,0.7) !default;
|
|
622
620
|
$link-muted-color: $global-muted-color !default;
|
|
623
621
|
$link-muted-hover-color: $global-color !default;
|
|
624
622
|
$link-text-hover-color: $global-muted-color !default;
|
|
@@ -655,6 +653,7 @@ $inverse-list-divider-border: $inverse-global-border !default;
|
|
|
655
653
|
$inverse-list-striped-background: $inverse-global-muted-background !default;
|
|
656
654
|
$inverse-list-bullet-icon-color: $inverse-global-color !default;
|
|
657
655
|
$margin-margin: $global-margin !default;
|
|
656
|
+
$margin-xsmall-margin: 5px !default;
|
|
658
657
|
$margin-small-margin: $global-small-margin !default;
|
|
659
658
|
$margin-medium-margin: $global-medium-margin !default;
|
|
660
659
|
$margin-large-margin: $global-medium-margin !default;
|
|
@@ -932,25 +931,29 @@ $search-default-height: $global-control-height !default;
|
|
|
932
931
|
$search-default-padding-horizontal: 10px !default;
|
|
933
932
|
$search-default-background: transparent !default;
|
|
934
933
|
$search-default-focus-background: darken($search-default-background, 2%) !default;
|
|
935
|
-
$search-default-icon-width:
|
|
936
|
-
$search-default-icon-padding:
|
|
934
|
+
$search-default-icon-width: 20px !default;
|
|
935
|
+
$search-default-icon-padding: 10px !default;
|
|
937
936
|
$search-navbar-width: 240px !default;
|
|
938
937
|
$search-navbar-height: $global-control-height !default;
|
|
939
938
|
$search-navbar-padding-horizontal: 10px !default;
|
|
940
939
|
$search-navbar-background: $global-background !default;
|
|
941
940
|
$search-navbar-focus-background: $search-navbar-background !default;
|
|
942
|
-
$search-navbar-icon-width:
|
|
943
|
-
$search-navbar-icon-padding:
|
|
941
|
+
$search-navbar-icon-width: 20px !default;
|
|
942
|
+
$search-navbar-icon-padding: 10px !default;
|
|
944
943
|
$search-medium-width: 400px !default;
|
|
945
|
-
$search-medium-height:
|
|
944
|
+
$search-medium-height: $global-control-large-height !default;
|
|
945
|
+
$search-medium-padding-horizontal: 12px !default;
|
|
946
946
|
$search-medium-background: transparent !default;
|
|
947
947
|
$search-medium-font-size: $global-large-font-size !default;
|
|
948
|
+
$search-medium-focus-background: darken($search-medium-background, 2%) !default;
|
|
948
949
|
$search-medium-icon-width: 24px !default;
|
|
949
|
-
$search-medium-icon-padding:
|
|
950
|
+
$search-medium-icon-padding: 12px !default;
|
|
950
951
|
$search-large-width: 500px !default;
|
|
951
|
-
$search-large-height:
|
|
952
|
+
$search-large-height: 90px !default;
|
|
953
|
+
$search-large-padding-horizontal: 20px !default;
|
|
952
954
|
$search-large-background: transparent !default;
|
|
953
955
|
$search-large-font-size: $global-2xlarge-font-size !default;
|
|
956
|
+
$search-large-focus-background: darken($search-large-background, 2%) !default;
|
|
954
957
|
$search-large-icon-width: 40px !default;
|
|
955
958
|
$search-large-icon-padding: 20px !default;
|
|
956
959
|
$search-toggle-color: $global-muted-color !default;
|
|
@@ -963,7 +966,9 @@ $inverse-search-default-focus-background: fade-in($inverse-search-default-backgr
|
|
|
963
966
|
$inverse-search-navbar-background: transparent !default;
|
|
964
967
|
$inverse-search-navbar-focus-background: fade-in($inverse-search-navbar-background, 0.05) !default;
|
|
965
968
|
$inverse-search-medium-background: transparent !default;
|
|
969
|
+
$inverse-search-medium-focus-background: fade-in($inverse-search-medium-background, 0.05) !default;
|
|
966
970
|
$inverse-search-large-background: transparent !default;
|
|
971
|
+
$inverse-search-large-focus-background: fade-in($inverse-search-large-background, 0.05) !default;
|
|
967
972
|
$inverse-search-toggle-color: $inverse-global-muted-color !default;
|
|
968
973
|
$inverse-search-toggle-hover-color: $inverse-global-color !default;
|
|
969
974
|
$section-padding-vertical: $global-medium-margin !default;
|
|
@@ -1240,6 +1245,7 @@ $dropdown-box-shadow: 0 5px 12px rgba(0,0,0,0.15) !default;
|
|
|
1240
1245
|
$form-range-thumb-border-width: $global-border-width !default;
|
|
1241
1246
|
$form-range-thumb-border: darken($global-border, 10%) !default;
|
|
1242
1247
|
$form-range-track-border-radius: 500px !default;
|
|
1248
|
+
$inverse-form-range-thumb-border: darken(fade-in($inverse-global-border, 1), 10%) !default;
|
|
1243
1249
|
$form-border: $global-border !default;
|
|
1244
1250
|
$form-focus-border: $global-primary-background !default;
|
|
1245
1251
|
$form-disabled-border: $global-border !default;
|
|
@@ -1288,6 +1294,12 @@ $search-default-focus-border: $global-primary-background !default;
|
|
|
1288
1294
|
$search-navbar-border-width: $global-border-width !default;
|
|
1289
1295
|
$search-navbar-border: $global-border !default;
|
|
1290
1296
|
$search-navbar-focus-border: $global-primary-background !default;
|
|
1297
|
+
$search-medium-border-width: $global-border-width !default;
|
|
1298
|
+
$search-medium-border: $global-border !default;
|
|
1299
|
+
$search-medium-focus-border: $global-primary-background !default;
|
|
1300
|
+
$search-large-border-width: $global-border-width !default;
|
|
1301
|
+
$search-large-border: $global-border !default;
|
|
1302
|
+
$search-large-focus-border: $global-primary-background !default;
|
|
1291
1303
|
$subnav-item-text-transform: uppercase !default;
|
|
1292
1304
|
$tab-border-width: $global-border-width !default;
|
|
1293
1305
|
$tab-border: $global-border !default;
|