uikit 3.17.12-dev.f1425d280 → 3.18.1-dev.0856bd8a6
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 +31 -0
- package/dist/css/uikit-core-rtl.css +577 -504
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +577 -504
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +600 -527
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +600 -527
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +2 -4
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +96 -60
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +96 -60
- 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 +11 -6
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +8 -3
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +735 -37
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +8 -3
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +792 -129
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +7 -7
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +2 -8
- 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 +299 -273
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +9 -4
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +505 -365
- package/dist/js/uikit.min.js +1 -1
- package/package.json +3 -3
- package/src/images/components/navbar-toggle-icon.svg +1 -1
- package/src/images/icons/arrow-up-right.svg +4 -0
- package/src/images/icons/git-branch.svg +4 -4
- package/src/images/icons/git-fork.svg +4 -4
- package/src/images/icons/link-external.svg +5 -0
- package/src/images/icons/signal.svg +3 -0
- package/src/images/icons/telegram.svg +3 -0
- package/src/images/icons/threads.svg +3 -0
- package/src/images/icons/x.svg +3 -0
- package/src/js/components/countdown.js +1 -3
- package/src/js/components/internal/slider-preload.js +6 -0
- package/src/js/components/lightbox-panel.js +2 -6
- package/src/js/components/parallax.js +1 -20
- package/src/js/components/slider.js +38 -18
- package/src/js/components/slideshow.js +14 -46
- package/src/js/components/sortable.js +7 -6
- package/src/js/components/tooltip.js +1 -7
- package/src/js/core/accordion.js +1 -1
- package/src/js/core/drop.js +3 -5
- package/src/js/core/dropnav.js +24 -20
- package/src/js/core/height-match.js +7 -3
- package/src/js/core/height-placeholder.js +32 -0
- package/src/js/core/icon.js +12 -5
- package/src/js/core/index.js +2 -0
- package/src/js/core/inverse.js +103 -0
- package/src/js/core/modal.js +13 -0
- package/src/js/core/navbar.js +32 -172
- package/src/js/core/responsive.js +2 -29
- package/src/js/core/sticky.js +45 -29
- package/src/js/core/video.js +5 -1
- package/src/js/mixin/modal.js +1 -1
- package/src/js/mixin/parallax.js +19 -0
- package/src/js/mixin/slider-autoplay.js +1 -3
- package/src/js/mixin/slider-drag.js +22 -19
- package/src/js/mixin/slider-nav.js +10 -1
- package/src/js/mixin/slider-parallax.js +138 -0
- package/src/js/mixin/slider-reactive.js +1 -1
- package/src/js/mixin/slider.js +25 -3
- package/src/js/util/animation.js +14 -14
- package/src/js/util/dom.js +2 -2
- package/src/js/util/mouse.js +8 -11
- package/src/js/util/scroll.js +58 -0
- package/src/js/util/selector.js +4 -2
- package/src/js/util/style.js +3 -3
- package/src/js/util/viewport.js +8 -4
- package/src/less/components/align.less +2 -2
- package/src/less/components/animation.less +2 -2
- package/src/less/components/article.less +2 -2
- package/src/less/components/base.less +3 -3
- package/src/less/components/card.less +13 -6
- package/src/less/components/column.less +3 -3
- package/src/less/components/container.less +3 -3
- package/src/less/components/divider.less +2 -2
- package/src/less/components/dropbar.less +1 -1
- package/src/less/components/dropdown.less +1 -1
- package/src/less/components/dropnav.less +1 -1
- package/src/less/components/form.less +1 -1
- package/src/less/components/grid.less +3 -3
- package/src/less/components/height.less +1 -1
- package/src/less/components/icon.less +3 -3
- package/src/less/components/inverse.less +12 -0
- package/src/less/components/link.less +1 -1
- package/src/less/components/modal.less +3 -3
- package/src/less/components/nav.less +66 -0
- package/src/less/components/navbar.less +7 -11
- package/src/less/components/overlay.less +5 -0
- package/src/less/components/position.less +7 -7
- package/src/less/components/section.less +6 -5
- package/src/less/components/sticky.less +1 -1
- package/src/less/components/svg.less +3 -3
- package/src/less/components/tile.less +10 -0
- package/src/less/components/transition.less +9 -9
- package/src/less/components/utility.less +4 -4
- package/src/less/components/width.less +7 -7
- package/src/less/theme/alert.less +1 -1
- package/src/less/theme/align.less +1 -1
- package/src/less/theme/animation.less +1 -1
- package/src/less/theme/article.less +1 -1
- package/src/less/theme/background.less +1 -1
- package/src/less/theme/badge.less +1 -1
- package/src/less/theme/base.less +1 -1
- package/src/less/theme/breadcrumb.less +1 -1
- package/src/less/theme/button.less +1 -1
- package/src/less/theme/card.less +1 -1
- package/src/less/theme/close.less +1 -1
- package/src/less/theme/column.less +1 -1
- package/src/less/theme/comment.less +1 -1
- package/src/less/theme/container.less +1 -1
- package/src/less/theme/description-list.less +1 -1
- package/src/less/theme/divider.less +1 -1
- package/src/less/theme/dotnav.less +1 -1
- package/src/less/theme/drop.less +1 -1
- package/src/less/theme/dropbar.less +1 -1
- package/src/less/theme/dropdown.less +1 -1
- package/src/less/theme/form-range.less +1 -1
- package/src/less/theme/height.less +1 -1
- package/src/less/theme/icon.less +1 -1
- package/src/less/theme/iconnav.less +1 -1
- package/src/less/theme/inverse.less +1 -1
- package/src/less/theme/label.less +1 -1
- package/src/less/theme/leader.less +1 -1
- package/src/less/theme/lightbox.less +1 -1
- package/src/less/theme/margin.less +1 -1
- package/src/less/theme/modal.less +1 -1
- package/src/less/theme/nav.less +1 -1
- package/src/less/theme/navbar.less +3 -3
- package/src/less/theme/notification.less +1 -1
- package/src/less/theme/offcanvas.less +1 -1
- package/src/less/theme/overlay.less +1 -1
- package/src/less/theme/padding.less +1 -1
- package/src/less/theme/pagination.less +1 -1
- package/src/less/theme/position.less +1 -1
- package/src/less/theme/search.less +1 -1
- package/src/less/theme/spinner.less +1 -1
- package/src/less/theme/sticky.less +1 -1
- package/src/less/theme/tab.less +2 -2
- package/src/less/theme/table.less +1 -1
- package/src/less/theme/thumbnav.less +1 -1
- package/src/less/theme/tile.less +1 -1
- package/src/less/theme/tooltip.less +1 -1
- package/src/less/theme/totop.less +1 -1
- package/src/less/theme/transition.less +1 -1
- package/src/less/theme/utility.less +1 -1
- package/src/less/theme/variables.less +1 -1
- package/src/less/theme/width.less +1 -1
- package/src/less/uikit.less +1 -1
- package/src/scss/components/align.scss +2 -2
- package/src/scss/components/animation.scss +2 -2
- package/src/scss/components/base.scss +2 -2
- package/src/scss/components/card.scss +12 -6
- package/src/scss/components/column.scss +3 -3
- package/src/scss/components/container.scss +3 -3
- package/src/scss/components/divider.scss +2 -2
- package/src/scss/components/dropnav.scss +1 -1
- package/src/scss/components/form.scss +1 -1
- package/src/scss/components/grid.scss +3 -3
- package/src/scss/components/height.scss +1 -1
- package/src/scss/components/icon.scss +3 -3
- package/src/scss/components/inverse.scss +12 -0
- package/src/scss/components/modal.scss +3 -3
- package/src/scss/components/nav.scss +63 -0
- package/src/scss/components/navbar.scss +5 -8
- package/src/scss/components/overlay.scss +4 -0
- package/src/scss/components/position.scss +7 -7
- package/src/scss/components/section.scss +6 -5
- package/src/scss/components/sticky.scss +1 -1
- package/src/scss/components/svg.scss +3 -3
- package/src/scss/components/tile.scss +8 -0
- package/src/scss/components/transition.scss +9 -9
- package/src/scss/components/utility.scss +4 -4
- package/src/scss/components/width.scss +7 -7
- package/src/scss/mixins-theme.scss +10 -7
- package/src/scss/mixins.scss +7 -4
- package/src/scss/theme/alert.scss +1 -0
- package/src/scss/theme/align.scss +1 -1
- package/src/scss/theme/animation.scss +1 -1
- package/src/scss/theme/article.scss +1 -1
- package/src/scss/theme/background.scss +1 -1
- package/src/scss/theme/badge.scss +1 -1
- package/src/scss/theme/base.scss +1 -1
- package/src/scss/theme/breadcrumb.scss +1 -1
- package/src/scss/theme/button.scss +1 -1
- package/src/scss/theme/card.scss +1 -0
- package/src/scss/theme/close.scss +1 -1
- package/src/scss/theme/column.scss +1 -1
- package/src/scss/theme/comment.scss +1 -1
- package/src/scss/theme/container.scss +1 -1
- package/src/scss/theme/description-list.scss +1 -1
- package/src/scss/theme/divider.scss +1 -1
- package/src/scss/theme/dotnav.scss +1 -0
- package/src/scss/theme/drop.scss +1 -1
- package/src/scss/theme/dropbar.scss +1 -1
- package/src/scss/theme/dropdown.scss +1 -1
- package/src/scss/theme/form-range.scss +1 -1
- package/src/scss/theme/height.scss +1 -1
- package/src/scss/theme/icon.scss +1 -1
- package/src/scss/theme/iconnav.scss +1 -1
- package/src/scss/theme/inverse.scss +1 -1
- package/src/scss/theme/label.scss +1 -1
- package/src/scss/theme/leader.scss +1 -1
- package/src/scss/theme/lightbox.scss +1 -1
- package/src/scss/theme/margin.scss +1 -1
- package/src/scss/theme/modal.scss +1 -0
- package/src/scss/theme/nav.scss +1 -1
- package/src/scss/theme/navbar.scss +1 -1
- package/src/scss/theme/notification.scss +1 -1
- package/src/scss/theme/offcanvas.scss +1 -1
- package/src/scss/theme/overlay.scss +1 -1
- package/src/scss/theme/padding.scss +1 -1
- package/src/scss/theme/pagination.scss +1 -1
- package/src/scss/theme/position.scss +1 -1
- package/src/scss/theme/search.scss +1 -1
- package/src/scss/theme/spinner.scss +1 -1
- package/src/scss/theme/sticky.scss +1 -1
- package/src/scss/theme/tab.scss +1 -1
- package/src/scss/theme/table.scss +1 -0
- package/src/scss/theme/thumbnav.scss +1 -1
- package/src/scss/theme/tile.scss +1 -1
- package/src/scss/theme/tooltip.scss +1 -1
- package/src/scss/theme/totop.scss +1 -1
- package/src/scss/theme/transition.scss +1 -1
- package/src/scss/theme/utility.scss +1 -1
- package/src/scss/theme/variables.scss +1 -1
- package/src/scss/theme/width.scss +1 -1
- package/src/scss/uikit.scss +1 -1
- package/src/scss/variables-theme.scss +20 -5
- package/src/scss/variables.scss +20 -5
- package/tests/height.html +58 -1
- package/tests/icon.html +38 -10
- package/tests/nav.html +42 -0
- package/tests/navbar.html +1 -1
- package/tests/offcanvas.html +8 -8
- package/tests/search.html +300 -202
- package/tests/slider.html +58 -0
- package/tests/slideshow.html +66 -0
- package/tests/sticky-navbar.html +381 -23
- package/src/images/icons/pagekit.svg +0 -3
- package/src/js/mixin/internal/scroll.js +0 -39
package/src/less/theme/tab.less
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
|
|
117
117
|
.hook-tab-misc() {
|
|
118
118
|
|
|
119
|
-
.uk-tab .uk-dropdown { margin-left: (@tab-margin-horizontal + @tab-item-padding-horizontal) }
|
|
119
|
+
.uk-tab .uk-dropdown { margin-left: (@tab-margin-horizontal + @tab-item-padding-horizontal); }
|
|
120
120
|
|
|
121
121
|
}
|
|
122
122
|
|
|
@@ -135,4 +135,4 @@
|
|
|
135
135
|
.hook-inverse-tab-item() {}
|
|
136
136
|
.hook-inverse-tab-item-hover() {}
|
|
137
137
|
.hook-inverse-tab-item-active() { border-color: @inverse-global-primary-background; }
|
|
138
|
-
.hook-inverse-tab-item-disabled() {}
|
|
138
|
+
.hook-inverse-tab-item-disabled() {}
|
package/src/less/theme/tile.less
CHANGED
package/src/less/uikit.less
CHANGED
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
* Default
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
[class*=
|
|
25
|
+
[class*="uk-align"] {
|
|
26
26
|
display: block;
|
|
27
27
|
margin-bottom: $align-margin-vertical;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
* + [class*=
|
|
30
|
+
* + [class*="uk-align"] { margin-top: $align-margin-vertical; }
|
|
31
31
|
|
|
32
32
|
/*
|
|
33
33
|
* Center
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
Component: Animation
|
|
34
34
|
========================================================================== */
|
|
35
35
|
|
|
36
|
-
[class*=
|
|
36
|
+
[class*="uk-animation-"] { animation: $animation-duration ease-out both; }
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
/* Animations
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
/* Toggle animation based on the State of the Parent Element
|
|
132
132
|
========================================================================== */
|
|
133
133
|
|
|
134
|
-
.uk-animation-toggle:not(:hover):not(:focus) [class*=
|
|
134
|
+
.uk-animation-toggle:not(:hover):not(:focus) [class*="uk-animation-"] { animation-name: none; }
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
/* Keyframes used by animation classes
|
|
@@ -384,7 +384,7 @@ hr, .uk-hr {
|
|
|
384
384
|
|
|
385
385
|
/* Add margin if adjacent element */
|
|
386
386
|
* + hr,
|
|
387
|
-
* + .uk-hr { margin-top: $base-hr-margin-vertical }
|
|
387
|
+
* + .uk-hr { margin-top: $base-hr-margin-vertical; }
|
|
388
388
|
|
|
389
389
|
|
|
390
390
|
/* Address
|
|
@@ -414,7 +414,7 @@ blockquote {
|
|
|
414
414
|
blockquote p:last-of-type { margin-bottom: 0; }
|
|
415
415
|
|
|
416
416
|
blockquote footer {
|
|
417
|
-
margin-top:
|
|
417
|
+
margin-top: $base-blockquote-footer-margin-top;
|
|
418
418
|
font-size: $base-blockquote-footer-font-size;
|
|
419
419
|
line-height: $base-blockquote-footer-line-height;
|
|
420
420
|
@if(mixin-exists(hook-base-blockquote-footer)) {@include hook-base-blockquote-footer();}
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
* Implemented by the theme
|
|
101
101
|
*/
|
|
102
102
|
|
|
103
|
-
[class*=
|
|
103
|
+
[class*="uk-card-media"] {
|
|
104
104
|
@if(mixin-exists(hook-card-media)) {@include hook-card-media();}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.uk-card-media-top,
|
|
108
108
|
.uk-grid-stack > .uk-card-media-left,
|
|
109
|
-
.uk-grid-stack > .uk-card-media-right
|
|
109
|
+
.uk-grid-stack > .uk-card-media-right {
|
|
110
110
|
@if(mixin-exists(hook-card-media-top)) {@include hook-card-media-top();}
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -212,6 +212,12 @@
|
|
|
212
212
|
@if(mixin-exists(hook-card-default-footer)) {@include hook-card-default-footer();}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
+
// Color Mode
|
|
216
|
+
@if ( $card-default-color-mode == light ) { .uk-card-default.uk-card-body { @extend .uk-light !optional;} }
|
|
217
|
+
@if ( $card-default-color-mode == light ) { .uk-card-default > :not([class*="uk-card-media"]) { @extend .uk-light !optional;} }
|
|
218
|
+
@if ( $card-default-color-mode == dark ) { .uk-card-default.uk-card-body { @extend .uk-dark !optional;} }
|
|
219
|
+
@if ( $card-default-color-mode == dark ) { .uk-card-default > :not([class*="uk-card-media"]) { @extend .uk-dark !optional;} }
|
|
220
|
+
|
|
215
221
|
/*
|
|
216
222
|
* Primary
|
|
217
223
|
*/
|
|
@@ -234,9 +240,9 @@
|
|
|
234
240
|
|
|
235
241
|
// Color Mode
|
|
236
242
|
@if ( $card-primary-color-mode == light ) { .uk-card-primary.uk-card-body { @extend .uk-light !optional;} }
|
|
237
|
-
@if ( $card-primary-color-mode == light ) { .uk-card-primary > :not([class*=
|
|
243
|
+
@if ( $card-primary-color-mode == light ) { .uk-card-primary > :not([class*="uk-card-media"]) { @extend .uk-light !optional;} }
|
|
238
244
|
@if ( $card-primary-color-mode == dark ) { .uk-card-primary.uk-card-body { @extend .uk-dark !optional;} }
|
|
239
|
-
@if ( $card-primary-color-mode == dark ) { .uk-card-primary > :not([class*=
|
|
245
|
+
@if ( $card-primary-color-mode == dark ) { .uk-card-primary > :not([class*="uk-card-media"]) { @extend .uk-dark !optional;} }
|
|
240
246
|
|
|
241
247
|
/*
|
|
242
248
|
* Secondary
|
|
@@ -260,9 +266,9 @@
|
|
|
260
266
|
|
|
261
267
|
// Color Mode
|
|
262
268
|
@if ( $card-secondary-color-mode == light ) { .uk-card-secondary.uk-card-body { @extend .uk-light !optional;} }
|
|
263
|
-
@if ( $card-secondary-color-mode == light ) { .uk-card-secondary > :not([class*=
|
|
269
|
+
@if ( $card-secondary-color-mode == light ) { .uk-card-secondary > :not([class*="uk-card-media"]) { @extend .uk-light !optional;} }
|
|
264
270
|
@if ( $card-secondary-color-mode == dark ) { .uk-card-secondary.uk-card-body { @extend .uk-dark !optional;} }
|
|
265
|
-
@if ( $card-secondary-color-mode == dark ) { .uk-card-secondary > :not([class*=
|
|
271
|
+
@if ( $card-secondary-color-mode == dark ) { .uk-card-secondary > :not([class*="uk-card-media"]) { @extend .uk-dark !optional;} }
|
|
266
272
|
|
|
267
273
|
|
|
268
274
|
/* Size modifier
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
Component: Column
|
|
21
21
|
========================================================================== */
|
|
22
22
|
|
|
23
|
-
[class*=
|
|
23
|
+
[class*="uk-column-"] { column-gap: $column-gutter; }
|
|
24
24
|
|
|
25
25
|
/* Desktop and bigger */
|
|
26
26
|
@media (min-width: $breakpoint-large) {
|
|
27
27
|
|
|
28
|
-
[class*=
|
|
28
|
+
[class*="uk-column-"] { column-gap: $column-gutter-l; }
|
|
29
29
|
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* Fix image 1px line wrapping into the next column in Chrome
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
[class*=
|
|
36
|
+
[class*="uk-column-"] img { transform: translate3d(0, 0, 0); }
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
/* Divider
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
*/
|
|
142
142
|
|
|
143
143
|
.uk-container-item-padding-remove-left,
|
|
144
|
-
.uk-container-item-padding-remove-right { width: unquote('calc(100% + #{$container-padding-horizontal})') }
|
|
144
|
+
.uk-container-item-padding-remove-right { width: unquote('calc(100% + #{$container-padding-horizontal})'); }
|
|
145
145
|
|
|
146
146
|
.uk-container-item-padding-remove-left { margin-left: (-$container-padding-horizontal); }
|
|
147
147
|
.uk-container-item-padding-remove-right { margin-right: (-$container-padding-horizontal); }
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
@media (min-width: $breakpoint-small) {
|
|
151
151
|
|
|
152
152
|
.uk-container-item-padding-remove-left,
|
|
153
|
-
.uk-container-item-padding-remove-right { width: unquote('calc(100% + #{$container-padding-horizontal-s})') }
|
|
153
|
+
.uk-container-item-padding-remove-right { width: unquote('calc(100% + #{$container-padding-horizontal-s})'); }
|
|
154
154
|
|
|
155
155
|
.uk-container-item-padding-remove-left { margin-left: (-$container-padding-horizontal-s); }
|
|
156
156
|
.uk-container-item-padding-remove-right { margin-right: (-$container-padding-horizontal-s); }
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
@media (min-width: $breakpoint-medium) {
|
|
162
162
|
|
|
163
163
|
.uk-container-item-padding-remove-left,
|
|
164
|
-
.uk-container-item-padding-remove-right { width: unquote('calc(100% + #{$container-padding-horizontal-m})') }
|
|
164
|
+
.uk-container-item-padding-remove-right { width: unquote('calc(100% + #{$container-padding-horizontal-m})'); }
|
|
165
165
|
|
|
166
166
|
.uk-container-item-padding-remove-left { margin-left: (-$container-padding-horizontal-m); }
|
|
167
167
|
.uk-container-item-padding-remove-right { margin-right: (-$container-padding-horizontal-m); }
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* 2. Set margin if a `div` is used for semantical reason
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
|
-
[class*=
|
|
29
|
+
[class*="uk-divider"] {
|
|
30
30
|
/* 1 */
|
|
31
31
|
border: none;
|
|
32
32
|
/* 2 */
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* Add margin if adjacent element */
|
|
37
|
-
* + [class*=
|
|
37
|
+
* + [class*="uk-divider"] { margin-top: $divider-margin-vertical; }
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
/* Icon
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
.uk-grid-small,
|
|
105
105
|
.uk-grid-column-small { margin-left: (-$grid-small-gutter-horizontal); }
|
|
106
106
|
.uk-grid-small > *,
|
|
107
|
-
.uk-grid-column-small > *
|
|
107
|
+
.uk-grid-column-small > * { padding-left: $grid-small-gutter-horizontal; }
|
|
108
108
|
|
|
109
109
|
/* Vertical */
|
|
110
110
|
.uk-grid + .uk-grid-small,
|
|
@@ -362,8 +362,8 @@
|
|
|
362
362
|
flex-wrap: wrap;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
.uk-grid-match > * > :not([class*=
|
|
366
|
-
.uk-grid-item-match > :not([class*=
|
|
365
|
+
.uk-grid-match > * > :not([class*="uk-width"]),
|
|
366
|
+
.uk-grid-item-match > :not([class*="uk-width"]) {
|
|
367
367
|
/* 2 */
|
|
368
368
|
box-sizing: border-box;
|
|
369
369
|
width: 100%;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Component: Height
|
|
16
16
|
========================================================================== */
|
|
17
17
|
|
|
18
|
-
[class*=
|
|
18
|
+
[class*="uk-height"] { box-sizing: border-box; }
|
|
19
19
|
|
|
20
20
|
/*
|
|
21
21
|
* Only works if parent element has a height set
|
|
@@ -80,14 +80,14 @@ button.uk-icon:not(:disabled) { cursor: pointer; }
|
|
|
80
80
|
* Set the fill and stroke color of all SVG elements to the current text color
|
|
81
81
|
*/
|
|
82
82
|
|
|
83
|
-
.uk-icon:not(.uk-preserve) [fill*=
|
|
84
|
-
.uk-icon:not(.uk-preserve) [stroke*=
|
|
83
|
+
.uk-icon:not(.uk-preserve) [fill*="#"]:not(.uk-preserve) { fill: currentcolor; }
|
|
84
|
+
.uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) { stroke: currentcolor; }
|
|
85
85
|
|
|
86
86
|
/*
|
|
87
87
|
* Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
.uk-icon > * { transform: translate(0,0); }
|
|
90
|
+
.uk-icon > * { transform: translate(0, 0); }
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
/* Image modifier
|
|
@@ -30,6 +30,18 @@
|
|
|
30
30
|
|
|
31
31
|
@if ($inverse-global-color-mode == dark) { .uk-dark { @if (mixin-exists(hook-inverse)) {@include hook-inverse();}}}
|
|
32
32
|
|
|
33
|
+
/*
|
|
34
|
+
* Pass dropbar behind color to JS
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
* { --uk-inverse: initial; }
|
|
38
|
+
|
|
39
|
+
.uk-light { --uk-inverse: light; }
|
|
40
|
+
.uk-dark { --uk-inverse: dark; }
|
|
41
|
+
|
|
42
|
+
.uk-inverse-light { --uk-inverse: light !important; }
|
|
43
|
+
.uk-inverse-dark { --uk-inverse: dark !important; }
|
|
44
|
+
|
|
33
45
|
|
|
34
46
|
// Hooks
|
|
35
47
|
// ========================================================================
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
* Adopts `uk-close`
|
|
234
234
|
========================================================================== */
|
|
235
235
|
|
|
236
|
-
[class*=
|
|
236
|
+
[class*="uk-modal-close-"] {
|
|
237
237
|
position: absolute;
|
|
238
238
|
z-index: $modal-z-index;
|
|
239
239
|
top: $modal-close-position;
|
|
@@ -246,13 +246,13 @@
|
|
|
246
246
|
* Remove margin from adjacent element
|
|
247
247
|
*/
|
|
248
248
|
|
|
249
|
-
[class*=
|
|
249
|
+
[class*="uk-modal-close-"]:first-child + * { margin-top: 0; }
|
|
250
250
|
|
|
251
251
|
/*
|
|
252
252
|
* Hover
|
|
253
253
|
*/
|
|
254
254
|
|
|
255
|
-
[class*=
|
|
255
|
+
[class*="uk-modal-close-"]:hover {
|
|
256
256
|
@if(mixin-exists(hook-modal-close-hover)) {@include hook-modal-close-hover();}
|
|
257
257
|
}
|
|
258
258
|
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
//
|
|
12
12
|
// Modifiers: `uk-nav-default`
|
|
13
13
|
// `uk-nav-primary`
|
|
14
|
+
// `uk-nav-secondary`
|
|
15
|
+
// `uk-nav-medium`
|
|
16
|
+
// `uk-nav-large`
|
|
17
|
+
// `uk-nav-xlarge`
|
|
14
18
|
// `uk-nav-center`,
|
|
15
19
|
// `uk-nav-divider`
|
|
16
20
|
//
|
|
@@ -33,6 +37,18 @@
|
|
|
33
37
|
|
|
34
38
|
|
|
35
39
|
|
|
40
|
+
$nav-medium-font-size: $nav-medium-font-size-m * 0.825 !default; // 40px 0.714
|
|
41
|
+
$nav-medium-font-size-m: $nav-medium-font-size-l * 0.875 !default; // 3.5rem / 56px
|
|
42
|
+
$nav-medium-font-size-l: 4rem !default; // 64px
|
|
43
|
+
|
|
44
|
+
$nav-large-font-size: $nav-large-font-size-m * 0.85 !default; // 50px 0.78
|
|
45
|
+
$nav-large-font-size-m: 4rem !default; // 64px
|
|
46
|
+
$nav-large-font-size-l: 6rem !default; // 96px
|
|
47
|
+
|
|
48
|
+
$nav-xlarge-font-size: 4rem !default; // 64px
|
|
49
|
+
$nav-xlarge-font-size-m: 6rem !default; // 96px
|
|
50
|
+
$nav-xlarge-font-size-l: 8rem !default; // 128px
|
|
51
|
+
|
|
36
52
|
|
|
37
53
|
|
|
38
54
|
/* ========================================================================
|
|
@@ -366,6 +382,50 @@ ul.uk-nav-sub {
|
|
|
366
382
|
.uk-nav-secondary .uk-nav-sub li.uk-active > a { color: $nav-secondary-sublist-item-active-color; }
|
|
367
383
|
|
|
368
384
|
|
|
385
|
+
/* Size modifier
|
|
386
|
+
========================================================================== */
|
|
387
|
+
|
|
388
|
+
/*
|
|
389
|
+
* Medium
|
|
390
|
+
*/
|
|
391
|
+
|
|
392
|
+
.uk-nav-medium {
|
|
393
|
+
font-size: $nav-medium-font-size;
|
|
394
|
+
line-height: $nav-medium-line-height;
|
|
395
|
+
@if(mixin-exists(hook-nav-medium)) {@include hook-nav-medium();}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.uk-nav-large {
|
|
399
|
+
font-size: $nav-large-font-size;
|
|
400
|
+
line-height: $nav-large-line-height;
|
|
401
|
+
@if(mixin-exists(hook-nav-large)) {@include hook-nav-large();}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.uk-nav-xlarge {
|
|
405
|
+
font-size: $nav-xlarge-font-size;
|
|
406
|
+
line-height: $nav-xlarge-line-height;
|
|
407
|
+
@if(mixin-exists(hook-nav-xlarge)) {@include hook-nav-xlarge();}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/* Tablet Landscape and bigger */
|
|
411
|
+
@media (min-width: $breakpoint-medium) {
|
|
412
|
+
|
|
413
|
+
.uk-nav-medium { font-size: $nav-medium-font-size-m; }
|
|
414
|
+
.uk-nav-large { font-size: $nav-large-font-size-m; }
|
|
415
|
+
.uk-nav-xlarge { font-size: $nav-xlarge-font-size-m; }
|
|
416
|
+
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* Laptop and bigger */
|
|
420
|
+
@media (min-width: $breakpoint-large) {
|
|
421
|
+
|
|
422
|
+
.uk-nav-medium { font-size: $nav-medium-font-size-l; }
|
|
423
|
+
.uk-nav-large { font-size: $nav-large-font-size-l; }
|
|
424
|
+
.uk-nav-xlarge { font-size: $nav-xlarge-font-size-l; }
|
|
425
|
+
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
|
|
369
429
|
/* Alignment modifier
|
|
370
430
|
========================================================================== */
|
|
371
431
|
|
|
@@ -434,6 +494,9 @@ ul.uk-nav-sub {
|
|
|
434
494
|
// @mixin hook-nav-secondary-subtitle-active(){}
|
|
435
495
|
// @mixin hook-nav-secondary-header(){}
|
|
436
496
|
// @mixin hook-nav-secondary-divider(){}
|
|
497
|
+
// @mixin hook-nav-medium(){}
|
|
498
|
+
// @mixin hook-nav-large(){}
|
|
499
|
+
// @mixin hook-nav-xlarge(){}
|
|
437
500
|
// @mixin hook-nav-dividers(){}
|
|
438
501
|
// @mixin hook-nav-misc(){}
|
|
439
502
|
|
|
@@ -49,25 +49,22 @@ $navbar-nav-gap: 0px !default; // Must have a un
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
|
|
53
52
|
/* ========================================================================
|
|
54
53
|
Component: Navbar
|
|
55
54
|
========================================================================== */
|
|
56
55
|
|
|
57
56
|
/*
|
|
58
57
|
* 1. Create position context to center navbar group
|
|
59
|
-
* 2. Pass dropbar behind color to JS
|
|
60
58
|
*/
|
|
61
59
|
|
|
62
60
|
.uk-navbar {
|
|
63
61
|
display: flex;
|
|
64
62
|
/* 1 */
|
|
65
63
|
position: relative;
|
|
66
|
-
/* 2 */
|
|
67
|
-
--uk-navbar-dropbar-behind-color: #{$navbar-dropbar-behind-color-mode};
|
|
68
64
|
@if(mixin-exists(hook-navbar)) {@include hook-navbar();}
|
|
69
65
|
}
|
|
70
66
|
|
|
67
|
+
|
|
71
68
|
/* Container
|
|
72
69
|
========================================================================== */
|
|
73
70
|
|
|
@@ -90,7 +87,7 @@ $navbar-nav-gap: 0px !default; // Must have a un
|
|
|
90
87
|
|
|
91
88
|
.uk-navbar-left,
|
|
92
89
|
.uk-navbar-right,
|
|
93
|
-
[class*=
|
|
90
|
+
[class*="uk-navbar-center"] {
|
|
94
91
|
display: flex;
|
|
95
92
|
gap: $navbar-gap;
|
|
96
93
|
/* 1 */
|
|
@@ -119,7 +116,7 @@ $navbar-nav-gap: 0px !default; // Must have a un
|
|
|
119
116
|
position: absolute;
|
|
120
117
|
top: 50%;
|
|
121
118
|
left: 50%;
|
|
122
|
-
transform: translate(-50
|
|
119
|
+
transform: translate(-50%, -50%);
|
|
123
120
|
/* 2 */
|
|
124
121
|
width: max-content;
|
|
125
122
|
box-sizing: border-box;
|
|
@@ -134,10 +131,10 @@ $navbar-nav-gap: 0px !default; // Must have a un
|
|
|
134
131
|
top: 0;
|
|
135
132
|
}
|
|
136
133
|
|
|
137
|
-
.uk-navbar-center-left { right:
|
|
134
|
+
.uk-navbar-center-left { right: unquote('calc(100% + #{$navbar-gap})'); }
|
|
138
135
|
.uk-navbar-center-right { left: unquote('calc(100% + #{$navbar-gap})'); }
|
|
139
136
|
|
|
140
|
-
[class*=
|
|
137
|
+
[class*="uk-navbar-center-"] {
|
|
141
138
|
width: max-content;
|
|
142
139
|
box-sizing: border-box;
|
|
143
140
|
}
|
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
@if(mixin-exists(hook-overlay-default)) {@include hook-overlay-default();}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
// Color Mode
|
|
58
|
+
@if ( $overlay-default-color-mode == light ) { .uk-overlay-default { @extend .uk-light !optional;} }
|
|
59
|
+
@if ( $overlay-default-color-mode == dark ) { .uk-overlay-default { @extend .uk-dark !optional;} }
|
|
60
|
+
|
|
57
61
|
/*
|
|
58
62
|
* Primary
|
|
59
63
|
*/
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
* 1. Prevent content overflow.
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
|
-
[class*=
|
|
49
|
-
[class*=
|
|
50
|
-
[class*=
|
|
51
|
-
[class*=
|
|
52
|
-
[class*=
|
|
48
|
+
[class*="uk-position-top"],
|
|
49
|
+
[class*="uk-position-bottom"],
|
|
50
|
+
[class*="uk-position-left"],
|
|
51
|
+
[class*="uk-position-right"],
|
|
52
|
+
[class*="uk-position-center"] {
|
|
53
53
|
position: absolute !important;
|
|
54
54
|
/* 1 */
|
|
55
55
|
max-width: unquote('calc(100% - (var(--uk-position-margin-offset) * 2))');
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/* Vertical */
|
|
129
|
-
[class*=
|
|
130
|
-
[class*=
|
|
129
|
+
[class*="uk-position-center-left"],
|
|
130
|
+
[class*="uk-position-center-right"] {
|
|
131
131
|
top: unquote('calc(50% - var(--uk-position-margin-offset))');
|
|
132
132
|
--uk-position-translate-y: -50%;
|
|
133
133
|
transform: translate(0, var(--uk-position-translate-y));
|
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
108
107
|
/*
|
|
109
108
|
* XLarge
|
|
110
109
|
*/
|
|
@@ -134,27 +133,30 @@
|
|
|
134
133
|
|
|
135
134
|
.uk-section-default {
|
|
136
135
|
background: $section-default-background;
|
|
137
|
-
--uk-navbar-color: #{$section-default-color-mode};
|
|
138
136
|
@if(mixin-exists(hook-section-default)) {@include hook-section-default();}
|
|
139
137
|
}
|
|
140
138
|
|
|
139
|
+
@if ( $section-default-color-mode == light ) { .uk-section-default:not(.uk-preserve-color) { @extend .uk-light !optional;} }
|
|
140
|
+
@if ( $section-default-color-mode == dark ) { .uk-section-default:not(.uk-preserve-color) { @extend .uk-dark !optional;} }
|
|
141
|
+
|
|
141
142
|
/*
|
|
142
143
|
* Muted
|
|
143
144
|
*/
|
|
144
145
|
|
|
145
146
|
.uk-section-muted {
|
|
146
147
|
background: $section-muted-background;
|
|
147
|
-
--uk-navbar-color: #{$section-muted-color-mode};
|
|
148
148
|
@if(mixin-exists(hook-section-muted)) {@include hook-section-muted();}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
+
@if ( $section-muted-color-mode == light ) { .uk-section-muted:not(.uk-preserve-color) { @extend .uk-light !optional;} }
|
|
152
|
+
@if ( $section-muted-color-mode == dark ) { .uk-section-muted:not(.uk-preserve-color) { @extend .uk-dark !optional;} }
|
|
153
|
+
|
|
151
154
|
/*
|
|
152
155
|
* Primary
|
|
153
156
|
*/
|
|
154
157
|
|
|
155
158
|
.uk-section-primary {
|
|
156
159
|
background: $section-primary-background;
|
|
157
|
-
--uk-navbar-color: #{$section-primary-color-mode};
|
|
158
160
|
@if(mixin-exists(hook-section-primary)) {@include hook-section-primary();}
|
|
159
161
|
}
|
|
160
162
|
|
|
@@ -167,7 +169,6 @@
|
|
|
167
169
|
|
|
168
170
|
.uk-section-secondary {
|
|
169
171
|
background: $section-secondary-background;
|
|
170
|
-
--uk-navbar-color: #{$section-secondary-color-mode};
|
|
171
172
|
@if(mixin-exists(hook-section-secondary)) {@include hook-section-secondary();}
|
|
172
173
|
}
|
|
173
174
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
* Faster animations
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
|
-
.uk-sticky[class*=
|
|
54
|
+
.uk-sticky[class*="uk-animation-"] { animation-duration: $sticky-animation-duration; }
|
|
55
55
|
|
|
56
56
|
.uk-sticky.uk-animation-reverse { animation-duration: $sticky-reverse-animation-duration; }
|
|
57
57
|
|