uikit 3.21.17 → 3.21.18-dev.1d04a2a78
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 +33 -0
- package/dist/css/uikit-core-rtl.css +243 -69
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +243 -69
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +247 -65
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +247 -65
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +13 -8
- 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 +334 -103
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +351 -108
- 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 +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +3 -7
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +3 -7
- 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 +7 -2
- 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 +102 -98
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +20 -17
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +389 -267
- package/dist/js/uikit.min.js +1 -1
- package/package.json +3 -3
- package/src/images/icons/arrow-down-arrow-up.svg +6 -0
- package/src/images/icons/arrow-down.svg +3 -3
- package/src/images/icons/arrow-left.svg +3 -3
- package/src/images/icons/arrow-right.svg +3 -3
- package/src/images/icons/arrow-up-right.svg +3 -3
- package/src/images/icons/arrow-up.svg +3 -3
- package/src/images/icons/close-circle.svg +5 -0
- package/src/images/icons/cloud-download.svg +4 -4
- package/src/images/icons/cloud-upload.svg +4 -4
- package/src/images/icons/download.svg +4 -4
- package/src/images/icons/expand.svg +5 -5
- package/src/images/icons/link-external.svg +4 -4
- package/src/images/icons/pull.svg +4 -4
- package/src/images/icons/push.svg +3 -3
- package/src/images/icons/shrink.svg +5 -5
- package/src/images/icons/sign-in.svg +4 -3
- package/src/images/icons/sign-out.svg +4 -3
- package/src/images/icons/sorting.svg +6 -0
- package/src/images/icons/upload.svg +4 -4
- package/src/js/components/countdown.js +10 -5
- package/src/js/components/lightbox-panel.js +181 -45
- package/src/js/components/lightbox.js +59 -6
- package/src/js/core/height-placeholder.js +1 -1
- package/src/js/core/img.js +3 -5
- package/src/js/core/navbar.js +3 -6
- package/src/js/core/sticky.js +8 -2
- package/src/js/mixin/modal.js +1 -4
- package/src/js/mixin/slider-drag.js +3 -6
- package/src/js/mixin/slider-nav.js +1 -1
- package/src/js/mixin/togglable.js +7 -2
- package/src/js/util/dimensions.js +2 -2
- package/src/js/util/dom.js +3 -1
- package/src/less/components/breadcrumb.less +6 -2
- package/src/less/components/button.less +1 -1
- package/src/less/components/form-range.less +52 -0
- package/src/less/components/form.less +1 -1
- package/src/less/components/lightbox.less +57 -89
- package/src/less/components/margin.less +14 -0
- package/src/less/components/search.less +49 -23
- package/src/less/components/subnav.less +8 -0
- package/src/less/components/text.less +11 -0
- package/src/less/components/totop.less +1 -1
- package/src/less/components/utility.less +2 -1
- package/src/less/components/visibility.less +2 -1
- package/src/less/theme/form-range.less +20 -8
- package/src/less/theme/lightbox.less +2 -20
- package/src/less/theme/search.less +24 -10
- package/src/scss/components/breadcrumb.scss +6 -2
- package/src/scss/components/button.scss +1 -1
- package/src/scss/components/form-range.scss +12 -0
- package/src/scss/components/form.scss +1 -1
- package/src/scss/components/lightbox.scss +50 -77
- package/src/scss/components/margin.scss +13 -0
- package/src/scss/components/search.scss +30 -12
- package/src/scss/components/subnav.scss +7 -0
- package/src/scss/components/text.scss +10 -0
- package/src/scss/components/totop.scss +1 -1
- package/src/scss/components/utility.scss +1 -1
- package/src/scss/components/visibility.scss +2 -1
- package/src/scss/mixins-theme.scss +51 -12
- package/src/scss/mixins.scss +45 -6
- package/src/scss/theme/form-range.scss +14 -4
- package/src/scss/theme/lightbox.scss +2 -20
- package/src/scss/theme/search.scss +10 -6
- package/src/scss/variables-theme.scss +36 -21
- package/src/scss/variables.scss +32 -24
- package/tests/badge.html +2 -2
- package/tests/base.html +1 -1
- package/tests/breadcrumb.html +23 -5
- package/tests/card.html +24 -24
- package/tests/countdown.html +6 -0
- package/tests/dropbar.html +15 -15
- package/tests/dropdown.html +6 -6
- package/tests/dropnav.html +100 -100
- package/tests/icon.html +8 -0
- package/tests/index.html +15 -15
- package/tests/lightbox.html +379 -28
- package/tests/margin.html +19 -0
- package/tests/nav.html +21 -21
- package/tests/navbar.html +273 -273
- package/tests/offcanvas.html +27 -27
- package/tests/placeholder.html +2 -2
- package/tests/sortable.html +5 -5
- package/tests/sticky-navbar.html +114 -114
- package/tests/sticky.html +7 -1
- package/tests/text.html +8 -0
|
@@ -20,28 +20,10 @@
|
|
|
20
20
|
.hook-lightbox-item() {}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// Caption
|
|
24
24
|
// ========================================================================
|
|
25
25
|
|
|
26
|
-
.hook-lightbox-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
// Toolbar Icon
|
|
30
|
-
// ========================================================================
|
|
31
|
-
|
|
32
|
-
.hook-lightbox-toolbar-icon() {}
|
|
33
|
-
|
|
34
|
-
.hook-lightbox-toolbar-icon-hover() {}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
// Button
|
|
38
|
-
// ========================================================================
|
|
39
|
-
|
|
40
|
-
.hook-lightbox-button() {}
|
|
41
|
-
|
|
42
|
-
.hook-lightbox-button-hover() {}
|
|
43
|
-
|
|
44
|
-
.hook-lightbox-button-active() {}
|
|
26
|
+
.hook-lightbox-caption() {}
|
|
45
27
|
|
|
46
28
|
|
|
47
29
|
// Miscellaneous
|
|
@@ -11,20 +11,30 @@
|
|
|
11
11
|
|
|
12
12
|
@search-navbar-focus-background: @search-navbar-background;
|
|
13
13
|
|
|
14
|
+
@search-medium-background: transparent;
|
|
15
|
+
|
|
16
|
+
@search-large-background: transparent;
|
|
17
|
+
|
|
14
18
|
//
|
|
15
19
|
// New
|
|
16
20
|
//
|
|
17
21
|
|
|
18
22
|
@search-default-border-width: @global-border-width;
|
|
19
23
|
@search-default-border: @global-border;
|
|
20
|
-
|
|
21
24
|
@search-default-focus-border: @global-primary-background;
|
|
22
25
|
|
|
23
26
|
@search-navbar-border-width: @global-border-width;
|
|
24
27
|
@search-navbar-border: @global-border;
|
|
25
|
-
|
|
26
28
|
@search-navbar-focus-border: @global-primary-background;
|
|
27
29
|
|
|
30
|
+
@search-medium-border-width: @global-border-width;
|
|
31
|
+
@search-medium-border: @global-border;
|
|
32
|
+
@search-medium-focus-border: @global-primary-background;
|
|
33
|
+
|
|
34
|
+
@search-large-border-width: @global-border-width;
|
|
35
|
+
@search-large-border: @global-border;
|
|
36
|
+
@search-large-focus-border: @global-primary-background;
|
|
37
|
+
|
|
28
38
|
|
|
29
39
|
// Component
|
|
30
40
|
// ========================================================================
|
|
@@ -57,17 +67,17 @@
|
|
|
57
67
|
// Medium modifiers
|
|
58
68
|
// ========================================================================
|
|
59
69
|
|
|
60
|
-
.hook-search-medium-input() {}
|
|
70
|
+
.hook-search-medium-input() { border: @search-medium-border-width solid @search-medium-border; }
|
|
61
71
|
|
|
62
|
-
.hook-search-medium-input-focus() {}
|
|
72
|
+
.hook-search-medium-input-focus() { border-color: @search-medium-focus-border; }
|
|
63
73
|
|
|
64
74
|
|
|
65
75
|
// Large modifiers
|
|
66
76
|
// ========================================================================
|
|
67
77
|
|
|
68
|
-
.hook-search-large-input() {}
|
|
78
|
+
.hook-search-large-input() { border: @search-large-border-width solid @search-large-border; }
|
|
69
79
|
|
|
70
|
-
.hook-search-large-input-focus() {}
|
|
80
|
+
.hook-search-large-input-focus() { border-color: @search-large-focus-border; }
|
|
71
81
|
|
|
72
82
|
|
|
73
83
|
// Toggle
|
|
@@ -87,9 +97,13 @@
|
|
|
87
97
|
// Inverse
|
|
88
98
|
// ========================================================================
|
|
89
99
|
|
|
90
|
-
@inverse-search-default-background:
|
|
100
|
+
@inverse-search-default-background: transparent;
|
|
101
|
+
|
|
102
|
+
@inverse-search-navbar-background: transparent;
|
|
103
|
+
|
|
104
|
+
@inverse-search-medium-background: transparent;
|
|
91
105
|
|
|
92
|
-
@inverse-search-
|
|
106
|
+
@inverse-search-large-background: transparent;
|
|
93
107
|
|
|
94
108
|
.hook-inverse-search-default-input() { border-color: @inverse-global-border; }
|
|
95
109
|
.hook-inverse-search-default-input-focus() {}
|
|
@@ -97,10 +111,10 @@
|
|
|
97
111
|
.hook-inverse-search-navbar-input() { border-color: @inverse-global-border; }
|
|
98
112
|
.hook-inverse-search-navbar-input-focus() {}
|
|
99
113
|
|
|
100
|
-
.hook-inverse-search-medium-input() {}
|
|
114
|
+
.hook-inverse-search-medium-input() { border-color: @inverse-global-border; }
|
|
101
115
|
.hook-inverse-search-medium-input-focus() {}
|
|
102
116
|
|
|
103
|
-
.hook-inverse-search-large-input() {}
|
|
117
|
+
.hook-inverse-search-large-input() { border-color: @inverse-global-border; }
|
|
104
118
|
.hook-inverse-search-large-input-focus() {}
|
|
105
119
|
|
|
106
120
|
.hook-inverse-search-toggle() {}
|
|
@@ -19,12 +19,16 @@
|
|
|
19
19
|
========================================================================== */
|
|
20
20
|
|
|
21
21
|
/*
|
|
22
|
-
* Reset list
|
|
22
|
+
* 1. Reset list
|
|
23
|
+
* 2. Remove space between elements
|
|
23
24
|
*/
|
|
24
25
|
|
|
25
26
|
.uk-breadcrumb {
|
|
27
|
+
/* 1 */
|
|
26
28
|
padding: 0;
|
|
27
29
|
list-style: none;
|
|
30
|
+
/* 2 */
|
|
31
|
+
font-size: 0;
|
|
28
32
|
@if(mixin-exists(hook-breadcrumb)) {@include hook-breadcrumb();}
|
|
29
33
|
}
|
|
30
34
|
|
|
@@ -74,7 +78,7 @@
|
|
|
74
78
|
content: $breadcrumb-divider;
|
|
75
79
|
display: inline-block;
|
|
76
80
|
/* 1 */
|
|
77
|
-
margin: 0 $breadcrumb-divider-margin-horizontal
|
|
81
|
+
margin: 0 $breadcrumb-divider-margin-horizontal;
|
|
78
82
|
/* 2 */
|
|
79
83
|
font-size: $breadcrumb-divider-font-size;
|
|
80
84
|
color: $breadcrumb-divider-color;
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
========================================================================== */
|
|
307
307
|
|
|
308
308
|
/*
|
|
309
|
-
* 1. Using `flex` instead of `inline-block` to prevent whitespace
|
|
309
|
+
* 1. Using `flex` instead of `inline-block` to prevent whitespace between child elements
|
|
310
310
|
* 2. Behave like button
|
|
311
311
|
* 3. Create position context
|
|
312
312
|
*/
|
|
@@ -130,3 +130,15 @@
|
|
|
130
130
|
// @mixin hook-form-range-track-focus(){}
|
|
131
131
|
// @mixin hook-form-range-thumb(){}
|
|
132
132
|
// @mixin hook-form-range-misc(){}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
// Inverse
|
|
136
|
+
// ========================================================================
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
// @mixin hook-inverse-form-range-track(){}
|
|
143
|
+
// @mixin hook-inverse-form-range-track-focus(){}
|
|
144
|
+
// @mixin hook-inverse-form-range-thumb(){}
|
|
@@ -547,7 +547,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
547
547
|
* 1. Position and resize the form control to always cover its container
|
|
548
548
|
* 2. Required for Firefox for positioning to the left
|
|
549
549
|
* 3. Required for Webkit to make `height` work
|
|
550
|
-
* 4. Hide
|
|
550
|
+
* 4. Hide controls and show cursor
|
|
551
551
|
* 5. Needed for the cursor
|
|
552
552
|
* 6. Clip height caused by 5. Needed for Webkit only
|
|
553
553
|
*/
|
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
//
|
|
6
6
|
// Sub-objects: `uk-lightbox-page`
|
|
7
7
|
// `uk-lightbox-items`
|
|
8
|
-
// `uk-lightbox-
|
|
9
|
-
// `uk-lightbox-
|
|
10
|
-
// `uk-lightbox-
|
|
8
|
+
// `uk-lightbox-items-fit`
|
|
9
|
+
// `uk-lightbox-thumbnav`
|
|
10
|
+
// `uk-lightbox-thumbnav-vertical`
|
|
11
|
+
// `uk-lightbox-dotnav`
|
|
11
12
|
// `uk-lightbox-caption`
|
|
13
|
+
// `uk-lightbox-counter`
|
|
12
14
|
// `uk-lightbox-iframe`
|
|
15
|
+
// `uk-lightbox-zoom`
|
|
13
16
|
//
|
|
14
17
|
// States: `uk-open`
|
|
15
18
|
//
|
|
@@ -25,9 +28,6 @@
|
|
|
25
28
|
|
|
26
29
|
|
|
27
30
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
31
|
/* ========================================================================
|
|
32
32
|
Component: Lightbox
|
|
33
33
|
========================================================================== */
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
45
|
.uk-lightbox {
|
|
46
|
+
--uk-inverse: #{$lightbox-color-mode};
|
|
46
47
|
/* 1 */
|
|
47
48
|
display: none;
|
|
48
49
|
/* 2 */
|
|
@@ -91,15 +92,24 @@
|
|
|
91
92
|
.uk-lightbox-page { overflow: hidden; }
|
|
92
93
|
|
|
93
94
|
|
|
94
|
-
/*
|
|
95
|
+
/* Items
|
|
95
96
|
========================================================================== */
|
|
96
97
|
|
|
98
|
+
/*
|
|
99
|
+
* Reset list
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
.uk-lightbox-items {
|
|
103
|
+
margin: 0;
|
|
104
|
+
padding: 0;
|
|
105
|
+
list-style: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
97
108
|
/*
|
|
98
109
|
* 1. Center child within the viewport
|
|
99
110
|
* 2. Not visible by default
|
|
100
|
-
* 3.
|
|
101
|
-
* 4.
|
|
102
|
-
* 5. Responsiveness
|
|
111
|
+
* 3. Optimize animation
|
|
112
|
+
* 4. Responsiveness
|
|
103
113
|
* Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
|
|
104
114
|
*/
|
|
105
115
|
|
|
@@ -113,96 +123,64 @@
|
|
|
113
123
|
/* 2 */
|
|
114
124
|
display: none;
|
|
115
125
|
justify-content: center;
|
|
116
|
-
align-items:
|
|
126
|
+
align-items: flex-start;
|
|
117
127
|
/* 3 */
|
|
118
|
-
color: $lightbox-item-color;
|
|
119
|
-
/* 4 */
|
|
120
128
|
will-change: transform, opacity;
|
|
129
|
+
/* 4 */
|
|
130
|
+
overflow: auto;
|
|
121
131
|
@if(mixin-exists(hook-lightbox-item)) {@include hook-lightbox-item();}
|
|
122
132
|
}
|
|
123
133
|
|
|
124
|
-
/*
|
|
125
|
-
.uk-lightbox-items >
|
|
134
|
+
/* 2 */
|
|
135
|
+
.uk-lightbox-items > .uk-active { display: flex; }
|
|
136
|
+
|
|
137
|
+
.uk-lightbox-items-fit > * { align-items: center; }
|
|
138
|
+
|
|
139
|
+
/* 4 */
|
|
140
|
+
.uk-lightbox-items-fit > * > * {
|
|
126
141
|
max-width: $lightbox-item-max-width;
|
|
127
142
|
max-height: $lightbox-item-max-height;
|
|
128
143
|
}
|
|
129
144
|
|
|
130
|
-
.uk-lightbox-items > * > :not(iframe) {
|
|
145
|
+
.uk-lightbox-items-fit > * > :not(iframe) {
|
|
131
146
|
width: auto;
|
|
132
147
|
height: auto;
|
|
133
148
|
}
|
|
134
149
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
========================================================================== */
|
|
139
|
-
|
|
140
|
-
.uk-lightbox-toolbar {
|
|
141
|
-
padding: $lightbox-toolbar-padding-vertical $lightbox-toolbar-padding-horizontal;
|
|
142
|
-
background: $lightbox-toolbar-background;
|
|
143
|
-
color: $lightbox-toolbar-color;
|
|
144
|
-
@if(mixin-exists(hook-lightbox-toolbar)) {@include hook-lightbox-toolbar();}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.uk-lightbox-toolbar > * { color: $lightbox-toolbar-color; }
|
|
150
|
+
/* Zoom Cursor */
|
|
151
|
+
.uk-lightbox-items.uk-lightbox-items-fit .uk-lightbox-zoom:hover { cursor: zoom-in; }
|
|
152
|
+
.uk-lightbox-items:not(.uk-lightbox-items-fit) .uk-lightbox-zoom:hover { cursor: zoom-out; }
|
|
148
153
|
|
|
149
154
|
|
|
150
|
-
/*
|
|
155
|
+
/* Navs
|
|
151
156
|
========================================================================== */
|
|
152
157
|
|
|
153
|
-
.uk-lightbox-
|
|
154
|
-
|
|
155
|
-
color: $lightbox-toolbar-icon-color;
|
|
156
|
-
@if(mixin-exists(hook-lightbox-toolbar-icon)) {@include hook-lightbox-toolbar-icon();}
|
|
157
|
-
}
|
|
158
|
+
.uk-lightbox-thumbnav-vertical :where(img, video) { max-width: $lightbox-thumbnav-vertical-width; }
|
|
159
|
+
.uk-lightbox-thumbnav:not(.uk-lightbox-thumbnav-vertical) :where(img, video) { max-height: $lightbox-thumbnav-height; }
|
|
158
160
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
*/
|
|
161
|
+
.uk-lightbox-thumbnav:empty,
|
|
162
|
+
.uk-lightbox-dotnav:empty { display: none; }
|
|
162
163
|
|
|
163
|
-
.uk-lightbox-toolbar-icon:hover {
|
|
164
|
-
color: $lightbox-toolbar-icon-hover-color;
|
|
165
|
-
@if(mixin-exists(hook-lightbox-toolbar-icon-hover)) {@include hook-lightbox-toolbar-icon-hover();}
|
|
166
|
-
}
|
|
167
164
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
/* Button (Slidenav)
|
|
165
|
+
/* Caption
|
|
171
166
|
========================================================================== */
|
|
172
167
|
|
|
173
|
-
|
|
174
|
-
* 1. Center icon vertically and horizontally
|
|
175
|
-
*/
|
|
176
|
-
|
|
177
|
-
.uk-lightbox-button {
|
|
178
|
-
box-sizing: border-box;
|
|
179
|
-
width: $lightbox-button-size;
|
|
180
|
-
height: $lightbox-button-size;
|
|
181
|
-
background: $lightbox-button-background;
|
|
182
|
-
color: $lightbox-button-color;
|
|
183
|
-
/* 1 */
|
|
184
|
-
display: inline-flex;
|
|
185
|
-
justify-content: center;
|
|
186
|
-
align-items: center;
|
|
187
|
-
@if(mixin-exists(hook-lightbox-button)) {@include hook-lightbox-button();}
|
|
188
|
-
}
|
|
168
|
+
.uk-lightbox-caption:empty { display: none; }
|
|
189
169
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
170
|
+
.uk-lightbox-caption {
|
|
171
|
+
padding: $lightbox-caption-padding-vertical $lightbox-caption-padding-horizontal;
|
|
172
|
+
background: $lightbox-caption-background;
|
|
173
|
+
color: $lightbox-caption-color;
|
|
174
|
+
@if(mixin-exists(hook-lightbox-caption)) {@include hook-lightbox-caption();}
|
|
194
175
|
}
|
|
195
176
|
|
|
196
|
-
|
|
197
|
-
.uk-lightbox-button:active {
|
|
198
|
-
@if(mixin-exists(hook-lightbox-button-active)) {@include hook-lightbox-button-active();}
|
|
199
|
-
}
|
|
177
|
+
.uk-lightbox-caption > * { color: $lightbox-caption-color; }
|
|
200
178
|
|
|
201
179
|
|
|
202
|
-
/*
|
|
180
|
+
/* Counter
|
|
203
181
|
========================================================================== */
|
|
204
182
|
|
|
205
|
-
.uk-lightbox-
|
|
183
|
+
.uk-lightbox-counter:empty { display: none; }
|
|
206
184
|
|
|
207
185
|
|
|
208
186
|
/* Iframe
|
|
@@ -221,10 +199,5 @@
|
|
|
221
199
|
|
|
222
200
|
// @mixin hook-lightbox(){}
|
|
223
201
|
// @mixin hook-lightbox-item(){}
|
|
224
|
-
// @mixin hook-lightbox-
|
|
225
|
-
// @mixin hook-lightbox-toolbar-icon(){}
|
|
226
|
-
// @mixin hook-lightbox-toolbar-icon-hover(){}
|
|
227
|
-
// @mixin hook-lightbox-button(){}
|
|
228
|
-
// @mixin hook-lightbox-button-hover(){}
|
|
229
|
-
// @mixin hook-lightbox-button-active(){}
|
|
202
|
+
// @mixin hook-lightbox-caption(){}
|
|
230
203
|
// @mixin hook-lightbox-misc(){}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
|
|
24
25
|
/* ========================================================================
|
|
25
26
|
Component: Margin
|
|
26
27
|
========================================================================== */
|
|
@@ -38,6 +39,18 @@
|
|
|
38
39
|
.uk-margin-right { margin-right: $margin-margin !important; }
|
|
39
40
|
|
|
40
41
|
|
|
42
|
+
/* XSmall
|
|
43
|
+
========================================================================== */
|
|
44
|
+
|
|
45
|
+
.uk-margin-xsmall { margin-bottom: $margin-xsmall-margin; }
|
|
46
|
+
* + .uk-margin-xsmall { margin-top: $margin-xsmall-margin !important; }
|
|
47
|
+
|
|
48
|
+
.uk-margin-xsmall-top { margin-top: $margin-xsmall-margin !important; }
|
|
49
|
+
.uk-margin-xsmall-bottom { margin-bottom: $margin-xsmall-margin !important; }
|
|
50
|
+
.uk-margin-xsmall-left { margin-left: $margin-xsmall-margin !important; }
|
|
51
|
+
.uk-margin-xsmall-right { margin-right: $margin-xsmall-margin !important; }
|
|
52
|
+
|
|
53
|
+
|
|
41
54
|
/* Small
|
|
42
55
|
========================================================================== */
|
|
43
56
|
|
|
@@ -185,10 +185,13 @@
|
|
|
185
185
|
* Icon
|
|
186
186
|
*/
|
|
187
187
|
|
|
188
|
-
.uk-search-default .uk-search-icon {
|
|
188
|
+
.uk-search-default .uk-search-icon {
|
|
189
|
+
padding-left: $search-default-padding-horizontal;
|
|
190
|
+
padding-right: $search-default-padding-horizontal;
|
|
191
|
+
}
|
|
189
192
|
|
|
190
|
-
.uk-search-default:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-default-icon-width + $search-default-icon-padding); }
|
|
191
|
-
.uk-search-default:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-default-icon-width + $search-default-icon-padding); }
|
|
193
|
+
.uk-search-default:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-default-icon-width + $search-default-padding-horizontal + $search-default-icon-padding); }
|
|
194
|
+
.uk-search-default:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-default-icon-width + $search-default-padding-horizontal + $search-default-icon-padding); }
|
|
192
195
|
|
|
193
196
|
|
|
194
197
|
/* Navbar modifier
|
|
@@ -218,10 +221,13 @@
|
|
|
218
221
|
* Icon
|
|
219
222
|
*/
|
|
220
223
|
|
|
221
|
-
.uk-search-navbar .uk-search-icon {
|
|
224
|
+
.uk-search-navbar .uk-search-icon {
|
|
225
|
+
padding-left: $search-navbar-padding-horizontal;
|
|
226
|
+
padding-right: $search-navbar-padding-horizontal;
|
|
227
|
+
}
|
|
222
228
|
|
|
223
|
-
.uk-search-navbar:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-navbar-icon-width + $search-navbar-icon-padding); }
|
|
224
|
-
.uk-search-navbar:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-navbar-icon-width + $search-navbar-icon-padding); }
|
|
229
|
+
.uk-search-navbar:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-navbar-icon-width + $search-navbar-padding-horizontal + $search-navbar-icon-padding); }
|
|
230
|
+
.uk-search-navbar:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-navbar-icon-width + $search-navbar-padding-horizontal + $search-navbar-icon-padding); }
|
|
225
231
|
|
|
226
232
|
|
|
227
233
|
/* Medium modifier
|
|
@@ -235,6 +241,8 @@
|
|
|
235
241
|
|
|
236
242
|
.uk-search-medium .uk-search-input {
|
|
237
243
|
height: $search-medium-height;
|
|
244
|
+
padding-left: $search-medium-padding-horizontal;
|
|
245
|
+
padding-right: $search-medium-padding-horizontal;
|
|
238
246
|
background: $search-medium-background;
|
|
239
247
|
font-size: $search-medium-font-size;
|
|
240
248
|
@if(mixin-exists(hook-search-medium-input)) {@include hook-search-medium-input();}
|
|
@@ -242,6 +250,7 @@
|
|
|
242
250
|
|
|
243
251
|
/* Focus */
|
|
244
252
|
.uk-search-medium .uk-search-input:focus {
|
|
253
|
+
background-color: $search-medium-focus-background;
|
|
245
254
|
@if(mixin-exists(hook-search-medium-input-focus)) {@include hook-search-medium-input-focus();}
|
|
246
255
|
}
|
|
247
256
|
|
|
@@ -249,10 +258,13 @@
|
|
|
249
258
|
* Icon
|
|
250
259
|
*/
|
|
251
260
|
|
|
252
|
-
.uk-search-medium .uk-search-icon {
|
|
261
|
+
.uk-search-medium .uk-search-icon {
|
|
262
|
+
padding-left: $search-medium-padding-horizontal;
|
|
263
|
+
padding-right: $search-medium-padding-horizontal;
|
|
264
|
+
}
|
|
253
265
|
|
|
254
|
-
.uk-search-medium:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-medium-icon-width + $search-medium-icon-padding); }
|
|
255
|
-
.uk-search-medium:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-medium-icon-width + $search-medium-icon-padding); }
|
|
266
|
+
.uk-search-medium:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-medium-icon-width + $search-medium-padding-horizontal + $search-medium-icon-padding); }
|
|
267
|
+
.uk-search-medium:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-medium-icon-width + $search-medium-padding-horizontal + $search-medium-icon-padding); }
|
|
256
268
|
|
|
257
269
|
|
|
258
270
|
/* Large modifier
|
|
@@ -266,6 +278,8 @@
|
|
|
266
278
|
|
|
267
279
|
.uk-search-large .uk-search-input {
|
|
268
280
|
height: $search-large-height;
|
|
281
|
+
padding-left: $search-large-padding-horizontal;
|
|
282
|
+
padding-right: $search-large-padding-horizontal;
|
|
269
283
|
background: $search-large-background;
|
|
270
284
|
font-size: $search-large-font-size;
|
|
271
285
|
@if(mixin-exists(hook-search-large-input)) {@include hook-search-large-input();}
|
|
@@ -273,6 +287,7 @@
|
|
|
273
287
|
|
|
274
288
|
/* Focus */
|
|
275
289
|
.uk-search-large .uk-search-input:focus {
|
|
290
|
+
background-color: $search-medium-focus-background;
|
|
276
291
|
@if(mixin-exists(hook-search-large-input-focus)) {@include hook-search-large-input-focus();}
|
|
277
292
|
}
|
|
278
293
|
|
|
@@ -280,10 +295,13 @@
|
|
|
280
295
|
* Icon
|
|
281
296
|
*/
|
|
282
297
|
|
|
283
|
-
.uk-search-large .uk-search-icon {
|
|
298
|
+
.uk-search-large .uk-search-icon {
|
|
299
|
+
padding-left: $search-large-padding-horizontal;
|
|
300
|
+
padding-right: $search-large-padding-horizontal;
|
|
301
|
+
}
|
|
284
302
|
|
|
285
|
-
.uk-search-large:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-large-icon-width + $search-large-icon-padding); }
|
|
286
|
-
.uk-search-large:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-large-icon-width + $search-large-icon-padding); }
|
|
303
|
+
.uk-search-large:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: ($search-large-icon-width + $search-large-padding-horizontal + $search-large-icon-padding); }
|
|
304
|
+
.uk-search-large:has(.uk-search-icon-flip) .uk-search-input { padding-right: ($search-large-icon-width + $search-large-padding-horizontal + $search-large-icon-padding); }
|
|
287
305
|
|
|
288
306
|
|
|
289
307
|
/* Toggle
|
|
@@ -139,6 +139,13 @@
|
|
|
139
139
|
/* Pill modifier
|
|
140
140
|
========================================================================== */
|
|
141
141
|
|
|
142
|
+
/*
|
|
143
|
+
* Gutter
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
.uk-subnav-pill { margin-left: (-$subnav-pill-margin-horizontal); }
|
|
147
|
+
.uk-subnav-pill > * { padding-left: $subnav-pill-margin-horizontal; }
|
|
148
|
+
|
|
142
149
|
.uk-subnav-pill > * > :first-child {
|
|
143
150
|
padding: $subnav-pill-item-padding-vertical $subnav-pill-item-padding-horizontal;
|
|
144
151
|
background: $subnav-pill-item-background;
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
/* ========================================================================
|
|
20
21
|
Component: Text
|
|
21
22
|
========================================================================== */
|
|
@@ -221,6 +222,15 @@ td.uk-text-truncate { max-width: 0; }
|
|
|
221
222
|
td.uk-text-break { word-break: break-word; }
|
|
222
223
|
|
|
223
224
|
|
|
225
|
+
/* Stroke modifiers
|
|
226
|
+
========================================================================== */
|
|
227
|
+
|
|
228
|
+
.uk-text-stroke {
|
|
229
|
+
-webkit-text-stroke: $text-stroke-text-stroke;
|
|
230
|
+
-webkit-text-fill-color: transparent;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
224
234
|
// Hooks
|
|
225
235
|
// ========================================================================
|
|
226
236
|
|