uikit 3.23.7-dev.ea33b1a06 → 3.23.8-dev.13605ee50
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 +6 -0
- package/build/release.js +1 -1
- package/build/scss.js +49 -12
- package/build/util.js +2 -0
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- 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 +3 -3
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +18 -6
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +18 -6
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +3 -3
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +3 -2
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +3 -2
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +5 -4
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +3 -2
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +5 -4
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- 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 +27 -14
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +31 -18
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/filter.js +2 -2
- package/src/js/components/lightbox-panel.js +1 -1
- package/src/js/components/notification.js +2 -2
- package/src/js/core/accordion.js +2 -2
- package/src/js/core/alert.js +2 -2
- package/src/js/core/drop.js +5 -4
- package/src/js/core/switcher.js +3 -3
- package/src/js/mixin/event.js +1 -1
- package/src/js/mixin/modal.js +20 -3
- package/src/js/mixin/slider-nav.js +2 -2
- package/src/js/mixin/svg.js +0 -2
- package/src/js/util/selector.js +1 -1
- package/src/scss/components/accordion.scss +8 -6
- package/src/scss/components/alert.scss +10 -8
- package/src/scss/components/align.scss +3 -1
- package/src/scss/components/animation.scss +3 -1
- package/src/scss/components/article.scss +7 -5
- package/src/scss/components/background.scss +3 -1
- package/src/scss/components/badge.scss +5 -3
- package/src/scss/components/base.scss +20 -17
- package/src/scss/components/breadcrumb.scss +9 -7
- package/src/scss/components/button.scss +25 -23
- package/src/scss/components/card.scss +26 -24
- package/src/scss/components/close.scss +5 -3
- package/src/scss/components/column.scss +3 -1
- package/src/scss/components/comment.scss +13 -11
- package/src/scss/components/container.scss +14 -11
- package/src/scss/components/countdown.scss +8 -6
- package/src/scss/components/cover.scss +3 -1
- package/src/scss/components/description-list.scss +6 -4
- package/src/scss/components/divider.scss +13 -10
- package/src/scss/components/dotnav.scss +8 -6
- package/src/scss/components/drop.scss +3 -1
- package/src/scss/components/dropbar.scss +8 -6
- package/src/scss/components/dropdown.scss +12 -10
- package/src/scss/components/dropnav.scss +3 -1
- package/src/scss/components/flex.scss +3 -1
- package/src/scss/components/form-range.scss +13 -10
- package/src/scss/components/form.scss +23 -21
- package/src/scss/components/grid.scss +5 -3
- package/src/scss/components/heading.scss +16 -13
- package/src/scss/components/height.scss +3 -1
- package/src/scss/components/icon.scss +9 -7
- package/src/scss/components/iconnav.scss +7 -5
- package/src/scss/components/inverse.scss +4 -2
- package/src/scss/components/label.scss +7 -5
- package/src/scss/components/leader.scss +4 -2
- package/src/scss/components/lightbox.scss +6 -4
- package/src/scss/components/link.scss +10 -8
- package/src/scss/components/list.scss +5 -3
- package/src/scss/components/margin.scss +3 -1
- package/src/scss/components/marker.scss +5 -3
- package/src/scss/components/mixin.scss +6 -4
- package/src/scss/components/modal.scss +18 -16
- package/src/scss/components/nav.scss +33 -31
- package/src/scss/components/navbar.scss +33 -30
- package/src/scss/components/notification.scss +10 -8
- package/src/scss/components/offcanvas.scss +6 -4
- package/src/scss/components/overlay.scss +7 -5
- package/src/scss/components/padding.scss +3 -1
- package/src/scss/components/pagination.scss +8 -6
- package/src/scss/components/placeholder.scss +4 -2
- package/src/scss/components/position.scss +9 -6
- package/src/scss/components/print.scss +3 -1
- package/src/scss/components/progress.scss +6 -4
- package/src/scss/components/search.scss +15 -13
- package/src/scss/components/section.scss +9 -7
- package/src/scss/components/slidenav.scss +10 -8
- package/src/scss/components/slider.scss +4 -2
- package/src/scss/components/slideshow.scss +4 -2
- package/src/scss/components/sortable.scss +7 -5
- package/src/scss/components/spinner.scss +6 -3
- package/src/scss/components/sticky.scss +3 -1
- package/src/scss/components/subnav.scss +13 -11
- package/src/scss/components/svg.scss +3 -1
- package/src/scss/components/switcher.scss +3 -1
- package/src/scss/components/tab.scss +14 -12
- package/src/scss/components/table.scss +17 -14
- package/src/scss/components/text.scss +8 -6
- package/src/scss/components/thumbnav.scss +7 -5
- package/src/scss/components/tile.scss +12 -10
- package/src/scss/components/tooltip.scss +4 -2
- package/src/scss/components/totop.scss +6 -4
- package/src/scss/components/transition.scss +3 -1
- package/src/scss/components/utility.scss +8 -6
- package/src/scss/components/visibility.scss +3 -1
- package/src/scss/components/width.scss +34 -31
- package/src/scss/mixins-theme.scss +169 -168
- package/src/scss/mixins.scss +175 -175
- package/src/scss/uikit-theme.scss +0 -1
- package/src/scss/variables-theme.scss +70 -66
- package/src/scss/variables.scss +74 -70
- package/src/scss/theme/_import.scss +0 -82
- package/src/scss/theme/accordion.scss +0 -55
- package/src/scss/theme/alert.scss +0 -45
- package/src/scss/theme/align.scss +0 -14
- package/src/scss/theme/animation.scss +0 -14
- package/src/scss/theme/article.scss +0 -49
- package/src/scss/theme/background.scss +0 -14
- package/src/scss/theme/badge.scss +0 -29
- package/src/scss/theme/base.scss +0 -104
- package/src/scss/theme/breadcrumb.scss +0 -45
- package/src/scss/theme/button.scss +0 -132
- package/src/scss/theme/card.scss +0 -111
- package/src/scss/theme/close.scss +0 -29
- package/src/scss/theme/column.scss +0 -14
- package/src/scss/theme/comment.scss +0 -67
- package/src/scss/theme/container.scss +0 -14
- package/src/scss/theme/countdown.scss +0 -53
- package/src/scss/theme/description-list.scss +0 -29
- package/src/scss/theme/divider.scss +0 -49
- package/src/scss/theme/dotnav.scss +0 -46
- package/src/scss/theme/drop.scss +0 -14
- package/src/scss/theme/dropbar.scss +0 -38
- package/src/scss/theme/dropdown.scss +0 -53
- package/src/scss/theme/form-range.scss +0 -51
- package/src/scss/theme/form.scss +0 -117
- package/src/scss/theme/grid.scss +0 -28
- package/src/scss/theme/heading.scss +0 -71
- package/src/scss/theme/height.scss +0 -14
- package/src/scss/theme/icon.scss +0 -50
- package/src/scss/theme/iconnav.scss +0 -39
- package/src/scss/theme/inverse.scss +0 -14
- package/src/scss/theme/label.scss +0 -41
- package/src/scss/theme/leader.scss +0 -26
- package/src/scss/theme/lightbox.scss +0 -32
- package/src/scss/theme/link.scss +0 -55
- package/src/scss/theme/list.scss +0 -34
- package/src/scss/theme/margin.scss +0 -14
- package/src/scss/theme/marker.scss +0 -29
- package/src/scss/theme/modal.scss +0 -77
- package/src/scss/theme/nav.scss +0 -131
- package/src/scss/theme/navbar.scss +0 -135
- package/src/scss/theme/notification.scss +0 -44
- package/src/scss/theme/offcanvas.scss +0 -32
- package/src/scss/theme/overlay.scss +0 -33
- package/src/scss/theme/padding.scss +0 -14
- package/src/scss/theme/pagination.scss +0 -41
- package/src/scss/theme/placeholder.scss +0 -26
- package/src/scss/theme/position.scss +0 -14
- package/src/scss/theme/progress.scss +0 -23
- package/src/scss/theme/search.scss +0 -101
- package/src/scss/theme/section.scss +0 -32
- package/src/scss/theme/slidenav.scss +0 -52
- package/src/scss/theme/slider.scss +0 -14
- package/src/scss/theme/sortable.scss +0 -38
- package/src/scss/theme/spinner.scss +0 -14
- package/src/scss/theme/sticky.scss +0 -14
- package/src/scss/theme/subnav.scss +0 -72
- package/src/scss/theme/tab.scss +0 -67
- package/src/scss/theme/table.scss +0 -65
- package/src/scss/theme/text.scss +0 -49
- package/src/scss/theme/thumbnav.scss +0 -40
- package/src/scss/theme/tile.scss +0 -52
- package/src/scss/theme/tooltip.scss +0 -20
- package/src/scss/theme/totop.scss +0 -32
- package/src/scss/theme/transition.scss +0 -14
- package/src/scss/theme/utility.scss +0 -49
- package/src/scss/theme/variables.scss +0 -36
- package/src/scss/theme/width.scss +0 -14
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: List
|
|
2
4
|
// Description: Styles for lists
|
|
3
5
|
//
|
|
@@ -120,7 +122,7 @@
|
|
|
120
122
|
margin-top: $list-divider-margin-top;
|
|
121
123
|
padding-top: $list-divider-margin-top;
|
|
122
124
|
border-top: $list-divider-border-width solid $list-divider-border;
|
|
123
|
-
@if(mixin-exists(hook-list-divider)) {@include hook-list-divider();}
|
|
125
|
+
@if(meta.mixin-exists(hook-list-divider)) {@include hook-list-divider();}
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
/*
|
|
@@ -129,7 +131,7 @@
|
|
|
129
131
|
|
|
130
132
|
.uk-list-striped > * {
|
|
131
133
|
padding: $list-striped-padding-vertical $list-striped-padding-horizontal;
|
|
132
|
-
@if(mixin-exists(hook-list-striped)) {@include hook-list-striped();}
|
|
134
|
+
@if(meta.mixin-exists(hook-list-striped)) {@include hook-list-striped();}
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
.uk-list-striped > :nth-of-type(odd) { background: $list-striped-background; }
|
|
@@ -178,7 +180,7 @@
|
|
|
178
180
|
// Hooks
|
|
179
181
|
// ========================================================================
|
|
180
182
|
|
|
181
|
-
@if(mixin-exists(hook-list-misc)) {@include hook-list-misc();}
|
|
183
|
+
@if(meta.mixin-exists(hook-list-misc)) {@include hook-list-misc();}
|
|
182
184
|
|
|
183
185
|
// @mixin hook-list-divider(){}
|
|
184
186
|
// @mixin hook-list-striped(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Margin
|
|
2
4
|
// Description: Utilities for margins
|
|
3
5
|
//
|
|
@@ -250,6 +252,6 @@
|
|
|
250
252
|
// Hooks
|
|
251
253
|
// ========================================================================
|
|
252
254
|
|
|
253
|
-
@if(mixin-exists(hook-margin-misc)) {@include hook-margin-misc();}
|
|
255
|
+
@if(meta.mixin-exists(hook-margin-misc)) {@include hook-margin-misc();}
|
|
254
256
|
|
|
255
257
|
// @mixin hook-margin-misc(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Marker
|
|
2
4
|
// Description: Component to create a marker icon
|
|
3
5
|
//
|
|
@@ -24,20 +26,20 @@
|
|
|
24
26
|
padding: $marker-padding;
|
|
25
27
|
background: $marker-background;
|
|
26
28
|
color: $marker-color;
|
|
27
|
-
@if(mixin-exists(hook-marker)) {@include hook-marker();}
|
|
29
|
+
@if(meta.mixin-exists(hook-marker)) {@include hook-marker();}
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
/* Hover */
|
|
31
33
|
.uk-marker:hover {
|
|
32
34
|
color: $marker-hover-color;
|
|
33
|
-
@if(mixin-exists(hook-marker-hover)) {@include hook-marker-hover();}
|
|
35
|
+
@if(meta.mixin-exists(hook-marker-hover)) {@include hook-marker-hover();}
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
// Hooks
|
|
38
40
|
// ========================================================================
|
|
39
41
|
|
|
40
|
-
@if(mixin-exists(hook-marker-misc)) {@include hook-marker-misc();}
|
|
42
|
+
@if(meta.mixin-exists(hook-marker-misc)) {@include hook-marker-misc();}
|
|
41
43
|
|
|
42
44
|
// @mixin hook-marker(){}
|
|
43
45
|
// @mixin hook-marker-hover(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:string";
|
|
2
|
+
|
|
1
3
|
//
|
|
2
4
|
// Component: Mixin
|
|
3
5
|
// Description: Defines mixins which are used across all components
|
|
@@ -14,11 +16,11 @@
|
|
|
14
16
|
/// @param {String} $replace ('') - New value
|
|
15
17
|
/// @return {String} - Updated string
|
|
16
18
|
@function str-replace($string, $search, $replace: '') {
|
|
17
|
-
$index:
|
|
19
|
+
$index: string.index($string, $search);
|
|
18
20
|
|
|
19
21
|
@if $index {
|
|
20
|
-
@return
|
|
21
|
-
str-replace(
|
|
22
|
+
@return string.slice($string, 1, $index - 1) + $replace +
|
|
23
|
+
str-replace(string.slice($string, $index + string.length($search)), $search, $replace);
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
@return $string;
|
|
@@ -27,6 +29,6 @@
|
|
|
27
29
|
@mixin svg-fill($src, $color-default, $color-new) {
|
|
28
30
|
$replace-src: str-replace($src, $color-default, $color-new) !default;
|
|
29
31
|
$replace-src: str-replace($replace-src, '#', '%23');
|
|
30
|
-
$replace-src: quote($replace-src);
|
|
32
|
+
$replace-src: string.quote($replace-src);
|
|
31
33
|
background-image: url($replace-src);
|
|
32
34
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Modal
|
|
2
4
|
// Description: Component to create modal dialogs
|
|
3
5
|
//
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
/* 6 */
|
|
70
72
|
opacity: 0;
|
|
71
73
|
transition: opacity 0.15s linear;
|
|
72
|
-
@if(mixin-exists(hook-modal)) {@include hook-modal();}
|
|
74
|
+
@if(meta.mixin-exists(hook-modal)) {@include hook-modal();}
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
/* Phone landscape and bigger */
|
|
@@ -133,7 +135,7 @@
|
|
|
133
135
|
transform: translateY(-100px);
|
|
134
136
|
transition: 0.3s linear;
|
|
135
137
|
transition-property: opacity, transform;
|
|
136
|
-
@if(mixin-exists(hook-modal-dialog)) {@include hook-modal-dialog();}
|
|
138
|
+
@if(meta.mixin-exists(hook-modal-dialog)) {@include hook-modal-dialog();}
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
/*
|
|
@@ -174,7 +176,7 @@
|
|
|
174
176
|
width: 100%;
|
|
175
177
|
max-width: 100%;
|
|
176
178
|
transform: translateY(0);
|
|
177
|
-
@if(mixin-exists(hook-modal-full)) {@include hook-modal-full();}
|
|
179
|
+
@if(meta.mixin-exists(hook-modal-full)) {@include hook-modal-full();}
|
|
178
180
|
}
|
|
179
181
|
|
|
180
182
|
|
|
@@ -184,21 +186,21 @@
|
|
|
184
186
|
.uk-modal-body {
|
|
185
187
|
display: flow-root;
|
|
186
188
|
padding: $modal-body-padding-vertical $modal-body-padding-horizontal;
|
|
187
|
-
@if(mixin-exists(hook-modal-body)) {@include hook-modal-body();}
|
|
189
|
+
@if(meta.mixin-exists(hook-modal-body)) {@include hook-modal-body();}
|
|
188
190
|
}
|
|
189
191
|
|
|
190
192
|
.uk-modal-header {
|
|
191
193
|
display: flow-root;
|
|
192
194
|
padding: $modal-header-padding-vertical $modal-header-padding-horizontal;
|
|
193
195
|
background: $modal-header-background;
|
|
194
|
-
@if(mixin-exists(hook-modal-header)) {@include hook-modal-header();}
|
|
196
|
+
@if(meta.mixin-exists(hook-modal-header)) {@include hook-modal-header();}
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
.uk-modal-footer {
|
|
198
200
|
display: flow-root;
|
|
199
201
|
padding: $modal-footer-padding-vertical $modal-footer-padding-horizontal;
|
|
200
202
|
background: $modal-footer-background;
|
|
201
|
-
@if(mixin-exists(hook-modal-footer)) {@include hook-modal-footer();}
|
|
203
|
+
@if(meta.mixin-exists(hook-modal-footer)) {@include hook-modal-footer();}
|
|
202
204
|
}
|
|
203
205
|
|
|
204
206
|
/* Phone landscape and bigger */
|
|
@@ -225,7 +227,7 @@
|
|
|
225
227
|
.uk-modal-title {
|
|
226
228
|
font-size: $modal-title-font-size;
|
|
227
229
|
line-height: $modal-title-line-height;
|
|
228
|
-
@if(mixin-exists(hook-modal-title)) {@include hook-modal-title();}
|
|
230
|
+
@if(meta.mixin-exists(hook-modal-title)) {@include hook-modal-title();}
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
|
|
@@ -239,7 +241,7 @@
|
|
|
239
241
|
top: $modal-close-position;
|
|
240
242
|
right: $modal-close-position;
|
|
241
243
|
padding: $modal-close-padding;
|
|
242
|
-
@if(mixin-exists(hook-modal-close)) {@include hook-modal-close();}
|
|
244
|
+
@if(meta.mixin-exists(hook-modal-close)) {@include hook-modal-close();}
|
|
243
245
|
}
|
|
244
246
|
|
|
245
247
|
/*
|
|
@@ -253,7 +255,7 @@
|
|
|
253
255
|
*/
|
|
254
256
|
|
|
255
257
|
[class*="uk-modal-close-"]:hover {
|
|
256
|
-
@if(mixin-exists(hook-modal-close-hover)) {@include hook-modal-close-hover();}
|
|
258
|
+
@if(meta.mixin-exists(hook-modal-close-hover)) {@include hook-modal-close-hover();}
|
|
257
259
|
}
|
|
258
260
|
|
|
259
261
|
/*
|
|
@@ -261,11 +263,11 @@
|
|
|
261
263
|
*/
|
|
262
264
|
|
|
263
265
|
.uk-modal-close-default {
|
|
264
|
-
@if(mixin-exists(hook-modal-close-default)) {@include hook-modal-close-default();}
|
|
266
|
+
@if(meta.mixin-exists(hook-modal-close-default)) {@include hook-modal-close-default();}
|
|
265
267
|
}
|
|
266
268
|
|
|
267
269
|
.uk-modal-close-default:hover {
|
|
268
|
-
@if(mixin-exists(hook-modal-close-default-hover)) {@include hook-modal-close-default-hover();}
|
|
270
|
+
@if(meta.mixin-exists(hook-modal-close-default-hover)) {@include hook-modal-close-default-hover();}
|
|
269
271
|
}
|
|
270
272
|
|
|
271
273
|
/*
|
|
@@ -279,12 +281,12 @@
|
|
|
279
281
|
right: (-$modal-close-padding);
|
|
280
282
|
transform: translate(0, -($modal-close-outside-translate));
|
|
281
283
|
color: $modal-close-outside-color;
|
|
282
|
-
@if(mixin-exists(hook-modal-close-outside)) {@include hook-modal-close-outside();}
|
|
284
|
+
@if(meta.mixin-exists(hook-modal-close-outside)) {@include hook-modal-close-outside();}
|
|
283
285
|
}
|
|
284
286
|
|
|
285
287
|
.uk-modal-close-outside:hover {
|
|
286
288
|
color: $modal-close-outside-hover-color;
|
|
287
|
-
@if(mixin-exists(hook-modal-close-outside-hover)) {@include hook-modal-close-outside-hover();}
|
|
289
|
+
@if(meta.mixin-exists(hook-modal-close-outside-hover)) {@include hook-modal-close-outside-hover();}
|
|
288
290
|
}
|
|
289
291
|
|
|
290
292
|
/* Tablet landscape and bigger */
|
|
@@ -303,18 +305,18 @@
|
|
|
303
305
|
*/
|
|
304
306
|
|
|
305
307
|
.uk-modal-close-full {
|
|
306
|
-
@if(mixin-exists(hook-modal-close-full)) {@include hook-modal-close-full();}
|
|
308
|
+
@if(meta.mixin-exists(hook-modal-close-full)) {@include hook-modal-close-full();}
|
|
307
309
|
}
|
|
308
310
|
|
|
309
311
|
.uk-modal-close-full:hover {
|
|
310
|
-
@if(mixin-exists(hook-modal-close-full-hover)) {@include hook-modal-close-full-hover();}
|
|
312
|
+
@if(meta.mixin-exists(hook-modal-close-full-hover)) {@include hook-modal-close-full-hover();}
|
|
311
313
|
}
|
|
312
314
|
|
|
313
315
|
|
|
314
316
|
// Hooks
|
|
315
317
|
// ========================================================================
|
|
316
318
|
|
|
317
|
-
@if(mixin-exists(hook-modal-misc)) {@include hook-modal-misc();}
|
|
319
|
+
@if(meta.mixin-exists(hook-modal-misc)) {@include hook-modal-misc();}
|
|
318
320
|
|
|
319
321
|
// @mixin hook-modal(){}
|
|
320
322
|
// @mixin hook-modal-dialog(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Nav
|
|
2
4
|
// Description: Defines styles for list navigations
|
|
3
5
|
//
|
|
@@ -100,7 +102,7 @@ $nav-xlarge-font-size-l: 8rem !default; // 128px
|
|
|
100
102
|
|
|
101
103
|
ul.uk-nav-sub {
|
|
102
104
|
padding: $nav-sublist-padding-vertical 0 $nav-sublist-padding-vertical $nav-sublist-padding-left;
|
|
103
|
-
@if(mixin-exists(hook-nav-sub)) {@include hook-nav-sub();}
|
|
105
|
+
@if(meta.mixin-exists(hook-nav-sub)) {@include hook-nav-sub();}
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
/*
|
|
@@ -134,7 +136,7 @@ ul.uk-nav-sub {
|
|
|
134
136
|
padding: $nav-header-padding-vertical $nav-header-padding-horizontal;
|
|
135
137
|
text-transform: $nav-header-text-transform;
|
|
136
138
|
font-size: $nav-header-font-size;
|
|
137
|
-
@if(mixin-exists(hook-nav-header)) {@include hook-nav-header();}
|
|
139
|
+
@if(meta.mixin-exists(hook-nav-header)) {@include hook-nav-header();}
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
.uk-nav-header:not(:first-child) { margin-top: $nav-header-margin-top; }
|
|
@@ -145,7 +147,7 @@ ul.uk-nav-sub {
|
|
|
145
147
|
|
|
146
148
|
.uk-nav .uk-nav-divider {
|
|
147
149
|
margin: $nav-divider-margin-vertical $nav-divider-margin-horizontal;
|
|
148
|
-
@if(mixin-exists(hook-nav-divider)) {@include hook-nav-divider();}
|
|
150
|
+
@if(meta.mixin-exists(hook-nav-divider)) {@include hook-nav-divider();}
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
|
|
@@ -155,7 +157,7 @@ ul.uk-nav-sub {
|
|
|
155
157
|
.uk-nav-default {
|
|
156
158
|
font-size: $nav-default-font-size;
|
|
157
159
|
line-height: $nav-default-line-height;
|
|
158
|
-
@if(mixin-exists(hook-nav-default)) {@include hook-nav-default();}
|
|
160
|
+
@if(meta.mixin-exists(hook-nav-default)) {@include hook-nav-default();}
|
|
159
161
|
}
|
|
160
162
|
|
|
161
163
|
/*
|
|
@@ -164,19 +166,19 @@ ul.uk-nav-sub {
|
|
|
164
166
|
|
|
165
167
|
.uk-nav-default > li > a {
|
|
166
168
|
color: $nav-default-item-color;
|
|
167
|
-
@if(mixin-exists(hook-nav-default-item)) {@include hook-nav-default-item();}
|
|
169
|
+
@if(meta.mixin-exists(hook-nav-default-item)) {@include hook-nav-default-item();}
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
/* Hover */
|
|
171
173
|
.uk-nav-default > li > a:hover {
|
|
172
174
|
color: $nav-default-item-hover-color;
|
|
173
|
-
@if(mixin-exists(hook-nav-default-item-hover)) {@include hook-nav-default-item-hover();}
|
|
175
|
+
@if(meta.mixin-exists(hook-nav-default-item-hover)) {@include hook-nav-default-item-hover();}
|
|
174
176
|
}
|
|
175
177
|
|
|
176
178
|
/* Active */
|
|
177
179
|
.uk-nav-default > li.uk-active > a {
|
|
178
180
|
color: $nav-default-item-active-color;
|
|
179
|
-
@if(mixin-exists(hook-nav-default-item-active)) {@include hook-nav-default-item-active();}
|
|
181
|
+
@if(meta.mixin-exists(hook-nav-default-item-active)) {@include hook-nav-default-item-active();}
|
|
180
182
|
}
|
|
181
183
|
|
|
182
184
|
/*
|
|
@@ -185,7 +187,7 @@ ul.uk-nav-sub {
|
|
|
185
187
|
|
|
186
188
|
.uk-nav-default .uk-nav-subtitle {
|
|
187
189
|
font-size: $nav-default-subtitle-font-size;
|
|
188
|
-
@if(mixin-exists(hook-nav-default-subtitle)) {@include hook-nav-default-subtitle();}
|
|
190
|
+
@if(meta.mixin-exists(hook-nav-default-subtitle)) {@include hook-nav-default-subtitle();}
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
/*
|
|
@@ -194,7 +196,7 @@ ul.uk-nav-sub {
|
|
|
194
196
|
|
|
195
197
|
.uk-nav-default .uk-nav-header {
|
|
196
198
|
color: $nav-default-header-color;
|
|
197
|
-
@if(mixin-exists(hook-nav-default-header)) {@include hook-nav-default-header();}
|
|
199
|
+
@if(meta.mixin-exists(hook-nav-default-header)) {@include hook-nav-default-header();}
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
/*
|
|
@@ -203,7 +205,7 @@ ul.uk-nav-sub {
|
|
|
203
205
|
|
|
204
206
|
.uk-nav-default .uk-nav-divider {
|
|
205
207
|
border-top: $nav-default-divider-border-width solid $nav-default-divider-border;
|
|
206
|
-
@if(mixin-exists(hook-nav-default-divider)) {@include hook-nav-default-divider();}
|
|
208
|
+
@if(meta.mixin-exists(hook-nav-default-divider)) {@include hook-nav-default-divider();}
|
|
207
209
|
}
|
|
208
210
|
|
|
209
211
|
/*
|
|
@@ -228,7 +230,7 @@ ul.uk-nav-sub {
|
|
|
228
230
|
.uk-nav-primary {
|
|
229
231
|
font-size: $nav-primary-font-size;
|
|
230
232
|
line-height: $nav-primary-line-height;
|
|
231
|
-
@if(mixin-exists(hook-nav-primary)) {@include hook-nav-primary();}
|
|
233
|
+
@if(meta.mixin-exists(hook-nav-primary)) {@include hook-nav-primary();}
|
|
232
234
|
}
|
|
233
235
|
|
|
234
236
|
/*
|
|
@@ -237,19 +239,19 @@ ul.uk-nav-sub {
|
|
|
237
239
|
|
|
238
240
|
.uk-nav-primary > li > a {
|
|
239
241
|
color: $nav-primary-item-color;
|
|
240
|
-
@if(mixin-exists(hook-nav-primary-item)) {@include hook-nav-primary-item();}
|
|
242
|
+
@if(meta.mixin-exists(hook-nav-primary-item)) {@include hook-nav-primary-item();}
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
/* Hover */
|
|
244
246
|
.uk-nav-primary > li > a:hover {
|
|
245
247
|
color: $nav-primary-item-hover-color;
|
|
246
|
-
@if(mixin-exists(hook-nav-primary-item-hover)) {@include hook-nav-primary-item-hover();}
|
|
248
|
+
@if(meta.mixin-exists(hook-nav-primary-item-hover)) {@include hook-nav-primary-item-hover();}
|
|
247
249
|
}
|
|
248
250
|
|
|
249
251
|
/* Active */
|
|
250
252
|
.uk-nav-primary > li.uk-active > a {
|
|
251
253
|
color: $nav-primary-item-active-color;
|
|
252
|
-
@if(mixin-exists(hook-nav-primary-item-active)) {@include hook-nav-primary-item-active();}
|
|
254
|
+
@if(meta.mixin-exists(hook-nav-primary-item-active)) {@include hook-nav-primary-item-active();}
|
|
253
255
|
}
|
|
254
256
|
|
|
255
257
|
/*
|
|
@@ -258,7 +260,7 @@ ul.uk-nav-sub {
|
|
|
258
260
|
|
|
259
261
|
.uk-nav-primary .uk-nav-subtitle {
|
|
260
262
|
font-size: $nav-primary-subtitle-font-size;
|
|
261
|
-
@if(mixin-exists(hook-nav-primary-subtitle)) {@include hook-nav-primary-subtitle();}
|
|
263
|
+
@if(meta.mixin-exists(hook-nav-primary-subtitle)) {@include hook-nav-primary-subtitle();}
|
|
262
264
|
}
|
|
263
265
|
|
|
264
266
|
/*
|
|
@@ -267,7 +269,7 @@ ul.uk-nav-sub {
|
|
|
267
269
|
|
|
268
270
|
.uk-nav-primary .uk-nav-header {
|
|
269
271
|
color: $nav-primary-header-color;
|
|
270
|
-
@if(mixin-exists(hook-nav-primary-header)) {@include hook-nav-primary-header();}
|
|
272
|
+
@if(meta.mixin-exists(hook-nav-primary-header)) {@include hook-nav-primary-header();}
|
|
271
273
|
}
|
|
272
274
|
|
|
273
275
|
/*
|
|
@@ -276,7 +278,7 @@ ul.uk-nav-sub {
|
|
|
276
278
|
|
|
277
279
|
.uk-nav-primary .uk-nav-divider {
|
|
278
280
|
border-top: $nav-primary-divider-border-width solid $nav-primary-divider-border;
|
|
279
|
-
@if(mixin-exists(hook-nav-primary-divider)) {@include hook-nav-primary-divider();}
|
|
281
|
+
@if(meta.mixin-exists(hook-nav-primary-divider)) {@include hook-nav-primary-divider();}
|
|
280
282
|
}
|
|
281
283
|
|
|
282
284
|
/*
|
|
@@ -301,7 +303,7 @@ ul.uk-nav-sub {
|
|
|
301
303
|
.uk-nav-secondary {
|
|
302
304
|
font-size: $nav-secondary-font-size;
|
|
303
305
|
line-height: $nav-secondary-line-height;
|
|
304
|
-
@if(mixin-exists(hook-nav-secondary)) {@include hook-nav-secondary();}
|
|
306
|
+
@if(meta.mixin-exists(hook-nav-secondary)) {@include hook-nav-secondary();}
|
|
305
307
|
}
|
|
306
308
|
|
|
307
309
|
/*
|
|
@@ -311,19 +313,19 @@ ul.uk-nav-sub {
|
|
|
311
313
|
.uk-nav-secondary > li > a {
|
|
312
314
|
|
|
313
315
|
color: $nav-secondary-item-color;
|
|
314
|
-
@if(mixin-exists(hook-nav-secondary-item)) {@include hook-nav-secondary-item();}
|
|
316
|
+
@if(meta.mixin-exists(hook-nav-secondary-item)) {@include hook-nav-secondary-item();}
|
|
315
317
|
}
|
|
316
318
|
|
|
317
319
|
/* Hover */
|
|
318
320
|
.uk-nav-secondary > li > a:hover {
|
|
319
321
|
color: $nav-secondary-item-hover-color;
|
|
320
|
-
@if(mixin-exists(hook-nav-secondary-item-hover)) {@include hook-nav-secondary-item-hover();}
|
|
322
|
+
@if(meta.mixin-exists(hook-nav-secondary-item-hover)) {@include hook-nav-secondary-item-hover();}
|
|
321
323
|
}
|
|
322
324
|
|
|
323
325
|
/* Active */
|
|
324
326
|
.uk-nav-secondary > li.uk-active > a {
|
|
325
327
|
color: $nav-secondary-item-active-color;
|
|
326
|
-
@if(mixin-exists(hook-nav-secondary-item-active)) {@include hook-nav-secondary-item-active();}
|
|
328
|
+
@if(meta.mixin-exists(hook-nav-secondary-item-active)) {@include hook-nav-secondary-item-active();}
|
|
327
329
|
}
|
|
328
330
|
|
|
329
331
|
/*
|
|
@@ -333,19 +335,19 @@ ul.uk-nav-sub {
|
|
|
333
335
|
.uk-nav-secondary .uk-nav-subtitle {
|
|
334
336
|
font-size: $nav-secondary-subtitle-font-size;
|
|
335
337
|
color: $nav-secondary-subtitle-color;
|
|
336
|
-
@if(mixin-exists(hook-nav-secondary-subtitle)) {@include hook-nav-secondary-subtitle();}
|
|
338
|
+
@if(meta.mixin-exists(hook-nav-secondary-subtitle)) {@include hook-nav-secondary-subtitle();}
|
|
337
339
|
}
|
|
338
340
|
|
|
339
341
|
/* Hover */
|
|
340
342
|
.uk-nav-secondary > li > a:hover .uk-nav-subtitle {
|
|
341
343
|
color: $nav-secondary-subtitle-hover-color;
|
|
342
|
-
@if(mixin-exists(hook-nav-secondary-subtitle-hover)) {@include hook-nav-secondary-subtitle-hover();}
|
|
344
|
+
@if(meta.mixin-exists(hook-nav-secondary-subtitle-hover)) {@include hook-nav-secondary-subtitle-hover();}
|
|
343
345
|
}
|
|
344
346
|
|
|
345
347
|
/* Active */
|
|
346
348
|
.uk-nav-secondary > li.uk-active > a .uk-nav-subtitle {
|
|
347
349
|
color: $nav-secondary-subtitle-active-color;
|
|
348
|
-
@if(mixin-exists(hook-nav-secondary-subtitle-active)) {@include hook-nav-secondary-subtitle-active();}
|
|
350
|
+
@if(meta.mixin-exists(hook-nav-secondary-subtitle-active)) {@include hook-nav-secondary-subtitle-active();}
|
|
349
351
|
}
|
|
350
352
|
|
|
351
353
|
/*
|
|
@@ -354,7 +356,7 @@ ul.uk-nav-sub {
|
|
|
354
356
|
|
|
355
357
|
.uk-nav-secondary .uk-nav-header {
|
|
356
358
|
color: $nav-secondary-header-color;
|
|
357
|
-
@if(mixin-exists(hook-nav-secondary-header)) {@include hook-nav-secondary-header();}
|
|
359
|
+
@if(meta.mixin-exists(hook-nav-secondary-header)) {@include hook-nav-secondary-header();}
|
|
358
360
|
}
|
|
359
361
|
|
|
360
362
|
/*
|
|
@@ -363,7 +365,7 @@ ul.uk-nav-sub {
|
|
|
363
365
|
|
|
364
366
|
.uk-nav-secondary .uk-nav-divider {
|
|
365
367
|
border-top: $nav-secondary-divider-border-width solid $nav-secondary-divider-border;
|
|
366
|
-
@if(mixin-exists(hook-nav-secondary-divider)) {@include hook-nav-secondary-divider();}
|
|
368
|
+
@if(meta.mixin-exists(hook-nav-secondary-divider)) {@include hook-nav-secondary-divider();}
|
|
367
369
|
}
|
|
368
370
|
|
|
369
371
|
/*
|
|
@@ -392,19 +394,19 @@ ul.uk-nav-sub {
|
|
|
392
394
|
.uk-nav-medium {
|
|
393
395
|
font-size: $nav-medium-font-size;
|
|
394
396
|
line-height: $nav-medium-line-height;
|
|
395
|
-
@if(mixin-exists(hook-nav-medium)) {@include hook-nav-medium();}
|
|
397
|
+
@if(meta.mixin-exists(hook-nav-medium)) {@include hook-nav-medium();}
|
|
396
398
|
}
|
|
397
399
|
|
|
398
400
|
.uk-nav-large {
|
|
399
401
|
font-size: $nav-large-font-size;
|
|
400
402
|
line-height: $nav-large-line-height;
|
|
401
|
-
@if(mixin-exists(hook-nav-large)) {@include hook-nav-large();}
|
|
403
|
+
@if(meta.mixin-exists(hook-nav-large)) {@include hook-nav-large();}
|
|
402
404
|
}
|
|
403
405
|
|
|
404
406
|
.uk-nav-xlarge {
|
|
405
407
|
font-size: $nav-xlarge-font-size;
|
|
406
408
|
line-height: $nav-xlarge-line-height;
|
|
407
|
-
@if(mixin-exists(hook-nav-xlarge)) {@include hook-nav-xlarge();}
|
|
409
|
+
@if(meta.mixin-exists(hook-nav-xlarge)) {@include hook-nav-xlarge();}
|
|
408
410
|
}
|
|
409
411
|
|
|
410
412
|
/* Tablet Landscape and bigger */
|
|
@@ -459,14 +461,14 @@ ul.uk-nav-sub {
|
|
|
459
461
|
margin-top: $nav-dividers-margin-top;
|
|
460
462
|
padding-top: $nav-dividers-margin-top;
|
|
461
463
|
border-top: $nav-dividers-border-width solid $nav-dividers-border;
|
|
462
|
-
@if(mixin-exists(hook-nav-dividers)) {@include hook-nav-dividers();}
|
|
464
|
+
@if(meta.mixin-exists(hook-nav-dividers)) {@include hook-nav-dividers();}
|
|
463
465
|
}
|
|
464
466
|
|
|
465
467
|
|
|
466
468
|
// Hooks
|
|
467
469
|
// ========================================================================
|
|
468
470
|
|
|
469
|
-
@if(mixin-exists(hook-nav-misc)) {@include hook-nav-misc();}
|
|
471
|
+
@if(meta.mixin-exists(hook-nav-misc)) {@include hook-nav-misc();}
|
|
470
472
|
|
|
471
473
|
// @mixin hook-nav-sub(){}
|
|
472
474
|
// @mixin hook-nav-header(){}
|