uikit 3.23.7 → 3.23.8-dev.ff7a25595
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/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 +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- 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 +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 +3 -2
- 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 +3 -2
- 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 +4 -3
- 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 +4 -3
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- 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: Iconnav
|
|
2
4
|
// Description: Component to create icon navigations
|
|
3
5
|
//
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
list-style: none;
|
|
39
41
|
/* 3 */
|
|
40
42
|
margin-left: (-$iconnav-margin-horizontal);
|
|
41
|
-
@if(mixin-exists(hook-iconnav)) {@include hook-iconnav();}
|
|
43
|
+
@if(meta.mixin-exists(hook-iconnav)) {@include hook-iconnav();}
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
/*
|
|
@@ -76,19 +78,19 @@
|
|
|
76
78
|
color: $iconnav-item-color;
|
|
77
79
|
/* 5 */
|
|
78
80
|
text-decoration: none;
|
|
79
|
-
@if(mixin-exists(hook-iconnav-item)) {@include hook-iconnav-item();}
|
|
81
|
+
@if(meta.mixin-exists(hook-iconnav-item)) {@include hook-iconnav-item();}
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
/* Hover */
|
|
83
85
|
.uk-iconnav > * > a:hover {
|
|
84
86
|
color: $iconnav-item-hover-color;
|
|
85
|
-
@if(mixin-exists(hook-iconnav-item-hover)) {@include hook-iconnav-item-hover();}
|
|
87
|
+
@if(meta.mixin-exists(hook-iconnav-item-hover)) {@include hook-iconnav-item-hover();}
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
/* Active */
|
|
89
91
|
.uk-iconnav > .uk-active > a {
|
|
90
92
|
color: $iconnav-item-active-color;
|
|
91
|
-
@if(mixin-exists(hook-iconnav-item-active)) {@include hook-iconnav-item-active();}
|
|
93
|
+
@if(meta.mixin-exists(hook-iconnav-item-active)) {@include hook-iconnav-item-active();}
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
|
|
@@ -118,7 +120,7 @@
|
|
|
118
120
|
// Hooks
|
|
119
121
|
// ========================================================================
|
|
120
122
|
|
|
121
|
-
@if(mixin-exists(hook-iconnav-misc)) {@include hook-iconnav-misc();}
|
|
123
|
+
@if(meta.mixin-exists(hook-iconnav-misc)) {@include hook-iconnav-misc();}
|
|
122
124
|
|
|
123
125
|
// @mixin hook-iconnav(){}
|
|
124
126
|
// @mixin hook-iconnav-item(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Inverse
|
|
2
4
|
// Description: Inverse component style for light or dark backgrounds
|
|
3
5
|
//
|
|
@@ -26,9 +28,9 @@
|
|
|
26
28
|
* `uk-dark` is or dark colors on light backgrounds
|
|
27
29
|
*/
|
|
28
30
|
|
|
29
|
-
@if ($inverse-global-color-mode == light) { .uk-light { @if (mixin-exists(hook-inverse)) {@include hook-inverse();}}}
|
|
31
|
+
@if ($inverse-global-color-mode == light) { .uk-light { @if (meta.mixin-exists(hook-inverse)) {@include hook-inverse();}}}
|
|
30
32
|
|
|
31
|
-
@if ($inverse-global-color-mode == dark) { .uk-dark { @if (mixin-exists(hook-inverse)) {@include hook-inverse();}}}
|
|
33
|
+
@if ($inverse-global-color-mode == dark) { .uk-dark { @if (meta.mixin-exists(hook-inverse)) {@include hook-inverse();}}}
|
|
32
34
|
|
|
33
35
|
/*
|
|
34
36
|
* Pass dropbar behind color to JS
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Label
|
|
2
4
|
// Description: Component to indicate important notes
|
|
3
5
|
//
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
color: $label-color;
|
|
30
32
|
vertical-align: middle;
|
|
31
33
|
white-space: nowrap;
|
|
32
|
-
@if(mixin-exists(hook-label)) {@include hook-label();}
|
|
34
|
+
@if(meta.mixin-exists(hook-label)) {@include hook-label();}
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
|
|
@@ -43,7 +45,7 @@
|
|
|
43
45
|
.uk-label-success {
|
|
44
46
|
background-color: $label-success-background;
|
|
45
47
|
color: $label-success-color;
|
|
46
|
-
@if(mixin-exists(hook-label-success)) {@include hook-label-success();}
|
|
48
|
+
@if(meta.mixin-exists(hook-label-success)) {@include hook-label-success();}
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
/*
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
.uk-label-warning {
|
|
54
56
|
background-color: $label-warning-background;
|
|
55
57
|
color: $label-warning-color;
|
|
56
|
-
@if(mixin-exists(hook-label-warning)) {@include hook-label-warning();}
|
|
58
|
+
@if(meta.mixin-exists(hook-label-warning)) {@include hook-label-warning();}
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
/*
|
|
@@ -63,14 +65,14 @@
|
|
|
63
65
|
.uk-label-danger {
|
|
64
66
|
background-color: $label-danger-background;
|
|
65
67
|
color: $label-danger-color;
|
|
66
|
-
@if(mixin-exists(hook-label-danger)) {@include hook-label-danger();}
|
|
68
|
+
@if(meta.mixin-exists(hook-label-danger)) {@include hook-label-danger();}
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
// Hooks
|
|
71
73
|
// ========================================================================
|
|
72
74
|
|
|
73
|
-
@if(mixin-exists(hook-label-misc)) {@include hook-label-misc();}
|
|
75
|
+
@if(meta.mixin-exists(hook-label-misc)) {@include hook-label-misc();}
|
|
74
76
|
|
|
75
77
|
// @mixin hook-label(){}
|
|
76
78
|
// @mixin hook-label-success(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Leader
|
|
2
4
|
// Description: Component to create dot leaders
|
|
3
5
|
//
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
content: attr(data-fill);
|
|
35
37
|
/* 4 */
|
|
36
38
|
white-space: nowrap;
|
|
37
|
-
@if(mixin-exists(hook-leader)) {@include hook-leader();}
|
|
39
|
+
@if(meta.mixin-exists(hook-leader)) {@include hook-leader();}
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
/*
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
// Hooks
|
|
54
56
|
// ========================================================================
|
|
55
57
|
|
|
56
|
-
@if(mixin-exists(hook-leader-misc)) {@include hook-leader-misc();}
|
|
58
|
+
@if(meta.mixin-exists(hook-leader-misc)) {@include hook-leader-misc();}
|
|
57
59
|
|
|
58
60
|
// @mixin hook-leader(){}
|
|
59
61
|
// @mixin hook-leader-misc(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Lightbox
|
|
2
4
|
// Description: Component to create an lightbox image gallery
|
|
3
5
|
//
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
transition: opacity 0.15s linear;
|
|
61
63
|
/* 7 */
|
|
62
64
|
touch-action: pinch-zoom;
|
|
63
|
-
@if(mixin-exists(hook-lightbox)) {@include hook-lightbox();}
|
|
65
|
+
@if(meta.mixin-exists(hook-lightbox)) {@include hook-lightbox();}
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
/*
|
|
@@ -128,7 +130,7 @@
|
|
|
128
130
|
will-change: transform, opacity;
|
|
129
131
|
/* 4 */
|
|
130
132
|
overflow: auto;
|
|
131
|
-
@if(mixin-exists(hook-lightbox-item)) {@include hook-lightbox-item();}
|
|
133
|
+
@if(meta.mixin-exists(hook-lightbox-item)) {@include hook-lightbox-item();}
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
/* 2 */
|
|
@@ -171,7 +173,7 @@
|
|
|
171
173
|
padding: $lightbox-caption-padding-vertical $lightbox-caption-padding-horizontal;
|
|
172
174
|
background: $lightbox-caption-background;
|
|
173
175
|
color: $lightbox-caption-color;
|
|
174
|
-
@if(mixin-exists(hook-lightbox-caption)) {@include hook-lightbox-caption();}
|
|
176
|
+
@if(meta.mixin-exists(hook-lightbox-caption)) {@include hook-lightbox-caption();}
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
.uk-lightbox-caption > * { color: $lightbox-caption-color; }
|
|
@@ -195,7 +197,7 @@
|
|
|
195
197
|
// Hooks
|
|
196
198
|
// ========================================================================
|
|
197
199
|
|
|
198
|
-
@if(mixin-exists(hook-lightbox-misc)) {@include hook-lightbox-misc();}
|
|
200
|
+
@if(meta.mixin-exists(hook-lightbox-misc)) {@include hook-lightbox-misc();}
|
|
199
201
|
|
|
200
202
|
// @mixin hook-lightbox(){}
|
|
201
203
|
// @mixin hook-lightbox-item(){}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
// Name: Link
|
|
2
4
|
// Description: Styles for links
|
|
3
5
|
//
|
|
@@ -30,14 +32,14 @@ a.uk-link-muted,
|
|
|
30
32
|
.uk-link-muted a,
|
|
31
33
|
.uk-link-toggle .uk-link-muted {
|
|
32
34
|
color: $link-muted-color;
|
|
33
|
-
@if(mixin-exists(hook-link-muted)) {@include hook-link-muted();}
|
|
35
|
+
@if(meta.mixin-exists(hook-link-muted)) {@include hook-link-muted();}
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
a.uk-link-muted:hover,
|
|
37
39
|
.uk-link-muted a:hover,
|
|
38
40
|
.uk-link-toggle:hover .uk-link-muted {
|
|
39
41
|
color: $link-muted-hover-color;
|
|
40
|
-
@if(mixin-exists(hook-link-muted-hover)) {@include hook-link-muted-hover();}
|
|
42
|
+
@if(meta.mixin-exists(hook-link-muted-hover)) {@include hook-link-muted-hover();}
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
|
|
@@ -48,14 +50,14 @@ a.uk-link-text,
|
|
|
48
50
|
.uk-link-text a,
|
|
49
51
|
.uk-link-toggle .uk-link-text {
|
|
50
52
|
color: inherit;
|
|
51
|
-
@if(mixin-exists(hook-link-text)) {@include hook-link-text();}
|
|
53
|
+
@if(meta.mixin-exists(hook-link-text)) {@include hook-link-text();}
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
a.uk-link-text:hover,
|
|
55
57
|
.uk-link-text a:hover,
|
|
56
58
|
.uk-link-toggle:hover .uk-link-text {
|
|
57
59
|
color: $link-text-hover-color;
|
|
58
|
-
@if(mixin-exists(hook-link-text-hover)) {@include hook-link-text-hover();}
|
|
60
|
+
@if(meta.mixin-exists(hook-link-text-hover)) {@include hook-link-text-hover();}
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
|
|
@@ -66,7 +68,7 @@ a.uk-link-heading,
|
|
|
66
68
|
.uk-link-heading a,
|
|
67
69
|
.uk-link-toggle .uk-link-heading {
|
|
68
70
|
color: inherit;
|
|
69
|
-
@if(mixin-exists(hook-link-heading)) {@include hook-link-heading();}
|
|
71
|
+
@if(meta.mixin-exists(hook-link-heading)) {@include hook-link-heading();}
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
a.uk-link-heading:hover,
|
|
@@ -74,7 +76,7 @@ a.uk-link-heading:hover,
|
|
|
74
76
|
.uk-link-toggle:hover .uk-link-heading {
|
|
75
77
|
color: $link-heading-hover-color;
|
|
76
78
|
text-decoration: $link-heading-hover-text-decoration;
|
|
77
|
-
@if(mixin-exists(hook-link-heading-hover)) {@include hook-link-heading-hover();}
|
|
79
|
+
@if(meta.mixin-exists(hook-link-heading-hover)) {@include hook-link-heading-hover();}
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
|
|
@@ -89,7 +91,7 @@ a.uk-link-reset,
|
|
|
89
91
|
.uk-link-reset a {
|
|
90
92
|
color: inherit !important;
|
|
91
93
|
text-decoration: none !important;
|
|
92
|
-
@if(mixin-exists(hook-link-reset)) {@include hook-link-reset();}
|
|
94
|
+
@if(meta.mixin-exists(hook-link-reset)) {@include hook-link-reset();}
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
|
|
@@ -105,7 +107,7 @@ a.uk-link-reset,
|
|
|
105
107
|
// Hooks
|
|
106
108
|
// ========================================================================
|
|
107
109
|
|
|
108
|
-
@if(mixin-exists(hook-link-misc)) {@include hook-link-misc();}
|
|
110
|
+
@if(meta.mixin-exists(hook-link-misc)) {@include hook-link-misc();}
|
|
109
111
|
|
|
110
112
|
// @mixin hook-link-muted(){}
|
|
111
113
|
// @mixin hook-link-muted-hover(){}
|
|
@@ -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(){}
|