uikit 3.7.6 → 3.8.0
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 +23 -6
- package/build/prefix.js +2 -2
- package/build/release.js +12 -16
- package/build/scope.js +14 -19
- package/build/util.js +1 -1
- package/dist/css/uikit-core-rtl.css +327 -835
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +327 -835
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +359 -843
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +359 -843
- 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 +2 -18
- package/dist/js/components/lightbox-panel.min.js +2 -2
- package/dist/js/components/lightbox.js +2 -18
- package/dist/js/components/lightbox.min.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +8 -21
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +8 -21
- package/dist/js/uikit.min.js +2 -2
- package/package.json +6 -6
- package/src/js/core/sticky.js +5 -2
- package/src/js/mixin/modal.js +1 -17
- package/src/less/components/accordion.less +3 -6
- package/src/less/components/alert.less +2 -3
- package/src/less/components/animation.less +69 -216
- package/src/less/components/badge.less +2 -5
- package/src/less/components/base.less +39 -11
- package/src/less/components/breadcrumb.less +3 -5
- package/src/less/components/button.less +17 -36
- package/src/less/components/close.less +3 -6
- package/src/less/components/cover.less +11 -6
- package/src/less/components/dotnav.less +3 -6
- package/src/less/components/dropdown.less +1 -3
- package/src/less/components/icon.less +5 -11
- package/src/less/components/iconnav.less +3 -6
- package/src/less/components/lightbox.less +11 -7
- package/src/less/components/link.less +6 -14
- package/src/less/components/marker.less +3 -6
- package/src/less/components/nav.less +10 -24
- package/src/less/components/navbar.less +6 -15
- package/src/less/components/pagination.less +3 -5
- package/src/less/components/position.less +45 -82
- package/src/less/components/search.less +3 -11
- package/src/less/components/slidenav.less +3 -6
- package/src/less/components/slider.less +0 -4
- package/src/less/components/slideshow.less +0 -4
- package/src/less/components/subnav.less +6 -11
- package/src/less/components/tab.less +3 -5
- package/src/less/components/thumbnav.less +3 -6
- package/src/less/components/totop.less +3 -6
- package/src/less/components/transition.less +48 -40
- package/src/less/components/utility.less +3 -6
- package/src/less/components/visibility.less +16 -45
- package/src/less/theme/button.less +0 -3
- package/src/less/theme/form.less +1 -1
- package/src/less/theme/table.less +9 -1
- package/src/scss/components/accordion.scss +2 -4
- package/src/scss/components/alert.scss +2 -3
- package/src/scss/components/animation.scss +69 -216
- package/src/scss/components/badge.scss +1 -3
- package/src/scss/components/base.scss +31 -9
- package/src/scss/components/breadcrumb.scss +2 -3
- package/src/scss/components/button.scss +12 -25
- package/src/scss/components/close.scss +2 -4
- package/src/scss/components/cover.scss +11 -6
- package/src/scss/components/dotnav.scss +2 -4
- package/src/scss/components/dropdown.scss +1 -3
- package/src/scss/components/icon.scss +3 -7
- package/src/scss/components/iconnav.scss +2 -4
- package/src/scss/components/lightbox.scss +11 -7
- package/src/scss/components/link.scss +3 -8
- package/src/scss/components/marker.scss +2 -4
- package/src/scss/components/nav.scss +6 -16
- package/src/scss/components/navbar.scss +6 -13
- package/src/scss/components/pagination.scss +2 -3
- package/src/scss/components/position.scss +45 -82
- package/src/scss/components/search.scss +2 -9
- package/src/scss/components/slidenav.scss +2 -4
- package/src/scss/components/slider.scss +0 -4
- package/src/scss/components/slideshow.scss +0 -4
- package/src/scss/components/subnav.scss +4 -7
- package/src/scss/components/tab.scss +2 -3
- package/src/scss/components/thumbnav.scss +2 -4
- package/src/scss/components/totop.scss +2 -4
- package/src/scss/components/transition.scss +48 -40
- package/src/scss/components/utility.scss +2 -4
- package/src/scss/components/visibility.scss +16 -45
- package/src/scss/mixins-theme.scss +42 -101
- package/src/scss/mixins.scss +38 -66
- package/src/scss/theme/button.scss +0 -2
- package/src/scss/theme/form.scss +1 -1
- package/src/scss/theme/table.scss +2 -1
- package/src/scss/variables-theme.scss +4 -1
- package/src/scss/variables.scss +3 -0
- package/tests/transition.html +4 -10
|
@@ -51,8 +51,6 @@
|
|
|
51
51
|
|
|
52
52
|
.hook-button-hover() {}
|
|
53
53
|
|
|
54
|
-
.hook-button-focus() {}
|
|
55
|
-
|
|
56
54
|
.hook-button-active() {}
|
|
57
55
|
|
|
58
56
|
|
|
@@ -171,7 +169,6 @@
|
|
|
171
169
|
*/
|
|
172
170
|
|
|
173
171
|
.uk-button-group .uk-button:hover,
|
|
174
|
-
.uk-button-group .uk-button:focus,
|
|
175
172
|
.uk-button-group .uk-button:active,
|
|
176
173
|
.uk-button-group .uk-button.uk-active {
|
|
177
174
|
position: relative;
|
package/src/less/theme/form.less
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@form-success-border: @global-success-background;
|
|
35
35
|
|
|
36
36
|
@form-blank-focus-border: @global-border;
|
|
37
|
-
@form-blank-focus-border-style:
|
|
37
|
+
@form-blank-focus-border-style: solid;
|
|
38
38
|
|
|
39
39
|
@form-radio-border-width: @global-border-width;
|
|
40
40
|
@form-radio-border: darken(@global-border, 10%);
|
|
@@ -61,6 +61,9 @@
|
|
|
61
61
|
|
|
62
62
|
.uk-table tbody tr { transition: background-color 0.1s linear; }
|
|
63
63
|
|
|
64
|
+
.uk-table-striped > tr:nth-of-type(even):last-child,
|
|
65
|
+
.uk-table-striped tbody tr:nth-of-type(even):last-child { border-bottom: @table-striped-border-width solid @table-striped-border; }
|
|
66
|
+
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
|
|
@@ -75,4 +78,9 @@
|
|
|
75
78
|
border-top-color: @inverse-global-border;
|
|
76
79
|
border-bottom-color: @inverse-global-border;
|
|
77
80
|
}
|
|
78
|
-
.hook-inverse-table-hover() {}
|
|
81
|
+
.hook-inverse-table-hover() {}
|
|
82
|
+
|
|
83
|
+
.hook-inverse() {
|
|
84
|
+
.uk-table-striped > tr:nth-of-type(even):last-child,
|
|
85
|
+
.uk-table-striped tbody tr:nth-of-type(even):last-child { border-bottom-color: @inverse-global-border; }
|
|
86
|
+
}
|
|
@@ -55,12 +55,10 @@ $accordion-content-margin-top: $global-margin !default;
|
|
|
55
55
|
@if(mixin-exists(hook-accordion-title)) {@include hook-accordion-title();}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
/* Hover
|
|
59
|
-
.uk-accordion-title:hover
|
|
60
|
-
.uk-accordion-title:focus {
|
|
58
|
+
/* Hover */
|
|
59
|
+
.uk-accordion-title:hover {
|
|
61
60
|
color: $accordion-title-hover-color;
|
|
62
61
|
text-decoration: none;
|
|
63
|
-
outline: none;
|
|
64
62
|
@if(mixin-exists(hook-accordion-title-hover)) {@include hook-accordion-title-hover();}
|
|
65
63
|
}
|
|
66
64
|
|
|
@@ -79,11 +79,10 @@ $alert-danger-color: $global-danger-background !defa
|
|
|
79
79
|
.uk-alert-close:first-child + * { margin-top: 0; }
|
|
80
80
|
|
|
81
81
|
/*
|
|
82
|
-
* Hover
|
|
82
|
+
* Hover
|
|
83
83
|
*/
|
|
84
84
|
|
|
85
|
-
.uk-alert-close:hover
|
|
86
|
-
.uk-alert-close:focus {
|
|
85
|
+
.uk-alert-close:hover {
|
|
87
86
|
@if(mixin-exists(hook-alert-close-hover)) {@include hook-alert-close-hover();}
|
|
88
87
|
}
|
|
89
88
|
|
|
@@ -40,11 +40,7 @@ $animation-slide-medium-translate: 50px !default;
|
|
|
40
40
|
Component: Animation
|
|
41
41
|
========================================================================== */
|
|
42
42
|
|
|
43
|
-
[class*='uk-animation-'] {
|
|
44
|
-
animation-duration: $animation-duration;
|
|
45
|
-
animation-timing-function: ease-out;
|
|
46
|
-
animation-fill-mode: both;
|
|
47
|
-
}
|
|
43
|
+
[class*='uk-animation-'] { animation: $animation-duration ease-out both; }
|
|
48
44
|
|
|
49
45
|
|
|
50
46
|
/* Animations
|
|
@@ -64,42 +60,42 @@ $animation-slide-medium-translate: 50px !default;
|
|
|
64
60
|
* Scale
|
|
65
61
|
*/
|
|
66
62
|
|
|
67
|
-
.uk-animation-scale-up { animation-name: uk-fade-scale-
|
|
68
|
-
.uk-animation-scale-down { animation-name: uk-fade-scale-
|
|
63
|
+
.uk-animation-scale-up { animation-name: uk-fade, uk-scale-up; }
|
|
64
|
+
.uk-animation-scale-down { animation-name: uk-fade, uk-scale-down; }
|
|
69
65
|
|
|
70
66
|
/*
|
|
71
67
|
* Slide
|
|
72
68
|
*/
|
|
73
69
|
|
|
74
|
-
.uk-animation-slide-top { animation-name: uk-fade-top; }
|
|
75
|
-
.uk-animation-slide-bottom { animation-name: uk-fade-bottom; }
|
|
76
|
-
.uk-animation-slide-left { animation-name: uk-fade-left; }
|
|
77
|
-
.uk-animation-slide-right { animation-name: uk-fade-right; }
|
|
70
|
+
.uk-animation-slide-top { animation-name: uk-fade, uk-slide-top; }
|
|
71
|
+
.uk-animation-slide-bottom { animation-name: uk-fade, uk-slide-bottom; }
|
|
72
|
+
.uk-animation-slide-left { animation-name: uk-fade, uk-slide-left; }
|
|
73
|
+
.uk-animation-slide-right { animation-name: uk-fade, uk-slide-right; }
|
|
78
74
|
|
|
79
75
|
/*
|
|
80
76
|
* Slide Small
|
|
81
77
|
*/
|
|
82
78
|
|
|
83
|
-
.uk-animation-slide-top-small { animation-name: uk-fade-top-small; }
|
|
84
|
-
.uk-animation-slide-bottom-small { animation-name: uk-fade-bottom-small; }
|
|
85
|
-
.uk-animation-slide-left-small { animation-name: uk-fade-left-small; }
|
|
86
|
-
.uk-animation-slide-right-small { animation-name: uk-fade-right-small; }
|
|
79
|
+
.uk-animation-slide-top-small { animation-name: uk-fade, uk-slide-top-small; }
|
|
80
|
+
.uk-animation-slide-bottom-small { animation-name: uk-fade, uk-slide-bottom-small; }
|
|
81
|
+
.uk-animation-slide-left-small { animation-name: uk-fade, uk-slide-left-small; }
|
|
82
|
+
.uk-animation-slide-right-small { animation-name: uk-fade, uk-slide-right-small; }
|
|
87
83
|
|
|
88
84
|
/*
|
|
89
85
|
* Slide Medium
|
|
90
86
|
*/
|
|
91
|
-
|
|
92
|
-
.uk-animation-slide-top-medium { animation-name: uk-fade-top-medium; }
|
|
93
|
-
.uk-animation-slide-bottom-medium { animation-name: uk-fade-bottom-medium; }
|
|
94
|
-
.uk-animation-slide-left-medium { animation-name: uk-fade-left-medium; }
|
|
95
|
-
.uk-animation-slide-right-medium { animation-name: uk-fade-right-medium; }
|
|
87
|
+
|
|
88
|
+
.uk-animation-slide-top-medium { animation-name: uk-fade, uk-slide-top-medium; }
|
|
89
|
+
.uk-animation-slide-bottom-medium { animation-name: uk-fade, uk-slide-bottom-medium; }
|
|
90
|
+
.uk-animation-slide-left-medium { animation-name: uk-fade, uk-slide-left-medium; }
|
|
91
|
+
.uk-animation-slide-right-medium { animation-name: uk-fade, uk-slide-right-medium; }
|
|
96
92
|
|
|
97
93
|
/*
|
|
98
94
|
* Kenburns
|
|
99
95
|
*/
|
|
100
96
|
|
|
101
97
|
.uk-animation-kenburns {
|
|
102
|
-
animation-name: uk-
|
|
98
|
+
animation-name: uk-kenburns;
|
|
103
99
|
animation-duration: $animation-kenburns-duration;
|
|
104
100
|
}
|
|
105
101
|
|
|
@@ -119,15 +115,15 @@ $animation-slide-medium-translate: 50px !default;
|
|
|
119
115
|
|
|
120
116
|
.uk-animation-stroke {
|
|
121
117
|
animation-name: uk-stroke;
|
|
122
|
-
stroke-dasharray: var(--uk-animation-stroke);
|
|
123
118
|
animation-duration: $animation-stroke-duration;
|
|
119
|
+
stroke-dasharray: var(--uk-animation-stroke);
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
|
|
127
123
|
/* Direction modifier
|
|
128
124
|
========================================================================== */
|
|
129
125
|
|
|
130
|
-
|
|
126
|
+
.uk-animation-reverse {
|
|
131
127
|
animation-direction: reverse;
|
|
132
128
|
animation-timing-function: ease-in;
|
|
133
129
|
}
|
|
@@ -136,33 +132,14 @@ $animation-slide-medium-translate: 50px !default;
|
|
|
136
132
|
/* Duration modifier
|
|
137
133
|
========================================================================== */
|
|
138
134
|
|
|
139
|
-
|
|
135
|
+
.uk-animation-fast { animation-duration: $animation-fast-duration; }
|
|
140
136
|
|
|
141
137
|
|
|
142
|
-
/* Toggle
|
|
143
|
-
========================================================================== */
|
|
144
|
-
|
|
145
|
-
/*
|
|
146
|
-
* The toggle is triggered on touch devices using `:focus` and tabindex
|
|
147
|
-
*/
|
|
138
|
+
/* Toggle animation based on the State of the Parent Element
|
|
139
|
+
========================================================================== */
|
|
148
140
|
|
|
149
141
|
.uk-animation-toggle:not(:hover):not(:focus) [class*='uk-animation-'] { animation-name: none; }
|
|
150
142
|
|
|
151
|
-
/*
|
|
152
|
-
* 1. Prevent tab highlighting on iOS.
|
|
153
|
-
*/
|
|
154
|
-
|
|
155
|
-
.uk-animation-toggle {
|
|
156
|
-
/* 1 */
|
|
157
|
-
-webkit-tap-highlight-color: transparent;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/*
|
|
161
|
-
* Remove outline for `tabindex`
|
|
162
|
-
*/
|
|
163
|
-
|
|
164
|
-
.uk-animation-toggle:focus { outline: none; }
|
|
165
|
-
|
|
166
143
|
|
|
167
144
|
/* Keyframes used by animation classes
|
|
168
145
|
========================================================================== */
|
|
@@ -177,220 +154,96 @@ $animation-slide-medium-translate: 50px !default;
|
|
|
177
154
|
}
|
|
178
155
|
|
|
179
156
|
/*
|
|
180
|
-
*
|
|
157
|
+
* Scale
|
|
181
158
|
*/
|
|
182
159
|
|
|
183
|
-
@keyframes uk-
|
|
184
|
-
0% {
|
|
185
|
-
|
|
186
|
-
transform: translateY(-100%);
|
|
187
|
-
}
|
|
188
|
-
100% {
|
|
189
|
-
opacity: 1;
|
|
190
|
-
transform: translateY(0);
|
|
191
|
-
}
|
|
160
|
+
@keyframes uk-scale-up {
|
|
161
|
+
0% { transform: scale(0.9); }
|
|
162
|
+
100% { transform: scale(1); }
|
|
192
163
|
}
|
|
193
164
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
@keyframes uk-fade-bottom {
|
|
199
|
-
0% {
|
|
200
|
-
opacity: 0;
|
|
201
|
-
transform: translateY(100%);
|
|
202
|
-
}
|
|
203
|
-
100% {
|
|
204
|
-
opacity: 1;
|
|
205
|
-
transform: translateY(0);
|
|
206
|
-
}
|
|
165
|
+
@keyframes uk-scale-down {
|
|
166
|
+
0% { transform: scale(1.1); }
|
|
167
|
+
100% { transform: scale(1); }
|
|
207
168
|
}
|
|
208
169
|
|
|
209
170
|
/*
|
|
210
|
-
* Slide
|
|
171
|
+
* Slide
|
|
211
172
|
*/
|
|
212
173
|
|
|
213
|
-
@keyframes uk-
|
|
214
|
-
0% {
|
|
215
|
-
|
|
216
|
-
transform: translateX(-100%);
|
|
217
|
-
}
|
|
218
|
-
100% {
|
|
219
|
-
opacity: 1;
|
|
220
|
-
transform: translateX(0);
|
|
221
|
-
}
|
|
174
|
+
@keyframes uk-slide-top {
|
|
175
|
+
0% { transform: translateY(-100%); }
|
|
176
|
+
100% { transform: translateY(0); }
|
|
222
177
|
}
|
|
223
178
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
@keyframes uk-fade-right {
|
|
229
|
-
0% {
|
|
230
|
-
opacity: 0;
|
|
231
|
-
transform: translateX(100%);
|
|
232
|
-
}
|
|
233
|
-
100% {
|
|
234
|
-
opacity: 1;
|
|
235
|
-
transform: translateX(0);
|
|
236
|
-
}
|
|
179
|
+
@keyframes uk-slide-bottom {
|
|
180
|
+
0% { transform: translateY(100%); }
|
|
181
|
+
100% { transform: translateY(0); }
|
|
237
182
|
}
|
|
238
183
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
@keyframes uk-fade-top-small {
|
|
244
|
-
0% {
|
|
245
|
-
opacity: 0;
|
|
246
|
-
transform: translateY(-$animation-slide-small-translate);
|
|
247
|
-
}
|
|
248
|
-
100% {
|
|
249
|
-
opacity: 1;
|
|
250
|
-
transform: translateY(0);
|
|
251
|
-
}
|
|
184
|
+
@keyframes uk-slide-left {
|
|
185
|
+
0% { transform: translateX(-100%); }
|
|
186
|
+
100% { transform: translateX(0); }
|
|
252
187
|
}
|
|
253
188
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
@keyframes uk-fade-bottom-small {
|
|
259
|
-
0% {
|
|
260
|
-
opacity: 0;
|
|
261
|
-
transform: translateY($animation-slide-small-translate);
|
|
262
|
-
}
|
|
263
|
-
100% {
|
|
264
|
-
opacity: 1;
|
|
265
|
-
transform: translateY(0);
|
|
266
|
-
}
|
|
189
|
+
@keyframes uk-slide-right {
|
|
190
|
+
0% { transform: translateX(100%); }
|
|
191
|
+
100% { transform: translateX(0); }
|
|
267
192
|
}
|
|
268
193
|
|
|
269
194
|
/*
|
|
270
|
-
* Slide
|
|
195
|
+
* Slide Small
|
|
271
196
|
*/
|
|
272
197
|
|
|
273
|
-
@keyframes uk-
|
|
274
|
-
0% {
|
|
275
|
-
|
|
276
|
-
transform: translateX(-$animation-slide-small-translate);
|
|
277
|
-
}
|
|
278
|
-
100% {
|
|
279
|
-
opacity: 1;
|
|
280
|
-
transform: translateX(0);
|
|
281
|
-
}
|
|
198
|
+
@keyframes uk-slide-top-small {
|
|
199
|
+
0% { transform: translateY(-$animation-slide-small-translate); }
|
|
200
|
+
100% { transform: translateY(0); }
|
|
282
201
|
}
|
|
283
202
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
@keyframes uk-fade-right-small {
|
|
289
|
-
0% {
|
|
290
|
-
opacity: 0;
|
|
291
|
-
transform: translateX($animation-slide-small-translate);
|
|
292
|
-
}
|
|
293
|
-
100% {
|
|
294
|
-
opacity: 1;
|
|
295
|
-
transform: translateX(0);
|
|
296
|
-
}
|
|
203
|
+
@keyframes uk-slide-bottom-small {
|
|
204
|
+
0% { transform: translateY($animation-slide-small-translate); }
|
|
205
|
+
100% { transform: translateY(0); }
|
|
297
206
|
}
|
|
298
207
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
@keyframes uk-fade-top-medium {
|
|
304
|
-
0% {
|
|
305
|
-
opacity: 0;
|
|
306
|
-
transform: translateY(-$animation-slide-medium-translate);
|
|
307
|
-
}
|
|
308
|
-
100% {
|
|
309
|
-
opacity: 1;
|
|
310
|
-
transform: translateY(0);
|
|
311
|
-
}
|
|
208
|
+
@keyframes uk-slide-left-small {
|
|
209
|
+
0% { transform: translateX(-$animation-slide-small-translate); }
|
|
210
|
+
100% { transform: translateX(0); }
|
|
312
211
|
}
|
|
313
212
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
@keyframes uk-fade-bottom-medium {
|
|
319
|
-
0% {
|
|
320
|
-
opacity: 0;
|
|
321
|
-
transform: translateY($animation-slide-medium-translate);
|
|
322
|
-
}
|
|
323
|
-
100% {
|
|
324
|
-
opacity: 1;
|
|
325
|
-
transform: translateY(0);
|
|
326
|
-
}
|
|
213
|
+
@keyframes uk-slide-right-small {
|
|
214
|
+
0% { transform: translateX($animation-slide-small-translate); }
|
|
215
|
+
100% { transform: translateX(0); }
|
|
327
216
|
}
|
|
328
217
|
|
|
329
218
|
/*
|
|
330
|
-
* Slide
|
|
219
|
+
* Slide Medium
|
|
331
220
|
*/
|
|
332
221
|
|
|
333
|
-
@keyframes uk-
|
|
334
|
-
0% {
|
|
335
|
-
|
|
336
|
-
transform: translateX(-$animation-slide-medium-translate);
|
|
337
|
-
}
|
|
338
|
-
100% {
|
|
339
|
-
opacity: 1;
|
|
340
|
-
transform: translateX(0);
|
|
341
|
-
}
|
|
222
|
+
@keyframes uk-slide-top-medium {
|
|
223
|
+
0% { transform: translateY(-$animation-slide-medium-translate); }
|
|
224
|
+
100% { transform: translateY(0); }
|
|
342
225
|
}
|
|
343
226
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
@keyframes uk-fade-right-medium {
|
|
349
|
-
0% {
|
|
350
|
-
opacity: 0;
|
|
351
|
-
transform: translateX($animation-slide-medium-translate);
|
|
352
|
-
}
|
|
353
|
-
100% {
|
|
354
|
-
opacity: 1;
|
|
355
|
-
transform: translateX(0);
|
|
356
|
-
}
|
|
227
|
+
@keyframes uk-slide-bottom-medium {
|
|
228
|
+
0% { transform: translateY($animation-slide-medium-translate); }
|
|
229
|
+
100% { transform: translateY(0); }
|
|
357
230
|
}
|
|
358
231
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
@keyframes uk-fade-scale-02 {
|
|
364
|
-
0% {
|
|
365
|
-
opacity: 0;
|
|
366
|
-
transform: scale(0.2);
|
|
367
|
-
}
|
|
368
|
-
100% {
|
|
369
|
-
opacity: 1;
|
|
370
|
-
transform: scale(1);
|
|
371
|
-
}
|
|
232
|
+
@keyframes uk-slide-left-medium {
|
|
233
|
+
0% { transform: translateX(-$animation-slide-medium-translate); }
|
|
234
|
+
100% { transform: translateX(0); }
|
|
372
235
|
}
|
|
373
236
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
@keyframes uk-fade-scale-18 {
|
|
379
|
-
0% {
|
|
380
|
-
opacity: 0;
|
|
381
|
-
transform: scale(1.8);
|
|
382
|
-
}
|
|
383
|
-
100% {
|
|
384
|
-
opacity: 1;
|
|
385
|
-
transform: scale(1);
|
|
386
|
-
}
|
|
237
|
+
@keyframes uk-slide-right-medium {
|
|
238
|
+
0% { transform: translateX($animation-slide-medium-translate); }
|
|
239
|
+
100% { transform: translateX(0); }
|
|
387
240
|
}
|
|
388
241
|
|
|
389
242
|
/*
|
|
390
243
|
* Kenburns
|
|
391
244
|
*/
|
|
392
245
|
|
|
393
|
-
@keyframes uk-
|
|
246
|
+
@keyframes uk-kenburns {
|
|
394
247
|
0% { transform: scale(1); }
|
|
395
248
|
100% { transform: scale(1.2); }
|
|
396
249
|
}
|
|
@@ -76,6 +76,8 @@ $base-pre-line-height: 1.5 !default;
|
|
|
76
76
|
$base-pre-font-family: $base-code-font-family !default;
|
|
77
77
|
$base-pre-color: $global-color !default;
|
|
78
78
|
|
|
79
|
+
$base-focus-outline: $global-emphasis-color !default;
|
|
80
|
+
|
|
79
81
|
$base-selection-background: #39f !default;
|
|
80
82
|
$base-selection-color: $global-inverse-color !default;
|
|
81
83
|
|
|
@@ -115,13 +117,6 @@ body { margin: 0; }
|
|
|
115
117
|
/* Links
|
|
116
118
|
========================================================================== */
|
|
117
119
|
|
|
118
|
-
/*
|
|
119
|
-
* Remove the outline on focused links when they are also active or hovered
|
|
120
|
-
*/
|
|
121
|
-
|
|
122
|
-
a:active,
|
|
123
|
-
a:hover { outline: none; }
|
|
124
|
-
|
|
125
120
|
/*
|
|
126
121
|
* Style
|
|
127
122
|
*/
|
|
@@ -136,8 +131,7 @@ a,
|
|
|
136
131
|
|
|
137
132
|
a:hover,
|
|
138
133
|
.uk-link:hover,
|
|
139
|
-
.uk-link-toggle:hover .uk-link
|
|
140
|
-
.uk-link-toggle:focus .uk-link {
|
|
134
|
+
.uk-link-toggle:hover .uk-link {
|
|
141
135
|
color: $base-link-hover-color;
|
|
142
136
|
text-decoration: $base-link-hover-text-decoration;
|
|
143
137
|
@if(mixin-exists(hook-base-link-hover)) {@include hook-base-link-hover();}
|
|
@@ -522,6 +516,33 @@ pre {
|
|
|
522
516
|
pre code { font-family: $base-pre-font-family; }
|
|
523
517
|
|
|
524
518
|
|
|
519
|
+
/* Focus
|
|
520
|
+
========================================================================== */
|
|
521
|
+
|
|
522
|
+
/*
|
|
523
|
+
* Safari doesn't support `:focus-visible` yet. It also doesn't set focus if clicking a button or anchor.
|
|
524
|
+
* 1. Fallback: Remove `:focus` for a negative tabindexes.
|
|
525
|
+
* 2. Fallback: Set `:focus` style but not for negative tabindexes.
|
|
526
|
+
* 3. Fallback: Remove `:focus` style for browsers which support `:focus-visible`.
|
|
527
|
+
* 4. Set `:focus-visible` style for browsers which support it.
|
|
528
|
+
*/
|
|
529
|
+
|
|
530
|
+
/* 1 */
|
|
531
|
+
:focus { outline: none; }
|
|
532
|
+
|
|
533
|
+
/* 2 */
|
|
534
|
+
:focus:not([tabindex^='-']) {
|
|
535
|
+
outline: 2px dotted $base-focus-outline;
|
|
536
|
+
outline-offset: 1px;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/* 3 */
|
|
540
|
+
:focus:not(:focus-visible) { outline: none; }
|
|
541
|
+
|
|
542
|
+
/* 4 */
|
|
543
|
+
:focus-visible { outline: 2px dotted $base-focus-outline; }
|
|
544
|
+
|
|
545
|
+
|
|
525
546
|
/* Selection pseudo-element
|
|
526
547
|
========================================================================== */
|
|
527
548
|
|
|
@@ -610,6 +631,7 @@ $inverse-base-code-color: $inverse-global-color !default;
|
|
|
610
631
|
$inverse-base-em-color: $inverse-global-emphasis-color !default;
|
|
611
632
|
$inverse-base-heading-color: $inverse-global-emphasis-color !default;
|
|
612
633
|
$inverse-base-hr-border: $inverse-global-border !default;
|
|
634
|
+
$inverse-base-focus-outline: $inverse-global-emphasis-color !default;
|
|
613
635
|
|
|
614
636
|
|
|
615
637
|
|
|
@@ -53,9 +53,8 @@ $breadcrumb-divider-color: $global-muted-color !defaul
|
|
|
53
53
|
@if(mixin-exists(hook-breadcrumb-item)) {@include hook-breadcrumb-item();}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
/* Hover
|
|
57
|
-
.uk-breadcrumb > * > :hover
|
|
58
|
-
.uk-breadcrumb > * > :focus {
|
|
56
|
+
/* Hover */
|
|
57
|
+
.uk-breadcrumb > * > :hover {
|
|
59
58
|
color: $breadcrumb-item-hover-color;
|
|
60
59
|
text-decoration: $breadcrumb-item-hover-text-decoration;
|
|
61
60
|
@if(mixin-exists(hook-breadcrumb-item-hover)) {@include hook-breadcrumb-item-hover();}
|
|
@@ -143,12 +143,6 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
143
143
|
@if(mixin-exists(hook-button-hover)) {@include hook-button-hover();}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
/* Focus */
|
|
147
|
-
.uk-button:focus {
|
|
148
|
-
outline: none;
|
|
149
|
-
@if(mixin-exists(hook-button-focus)) {@include hook-button-focus();}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
146
|
/* OnClick + Active */
|
|
153
147
|
.uk-button:active,
|
|
154
148
|
.uk-button.uk-active {
|
|
@@ -169,9 +163,8 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
169
163
|
@if(mixin-exists(hook-button-default)) {@include hook-button-default();}
|
|
170
164
|
}
|
|
171
165
|
|
|
172
|
-
/* Hover
|
|
173
|
-
.uk-button-default:hover
|
|
174
|
-
.uk-button-default:focus {
|
|
166
|
+
/* Hover */
|
|
167
|
+
.uk-button-default:hover {
|
|
175
168
|
background-color: $button-default-hover-background;
|
|
176
169
|
color: $button-default-hover-color;
|
|
177
170
|
@if(mixin-exists(hook-button-default-hover)) {@include hook-button-default-hover();}
|
|
@@ -195,9 +188,8 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
195
188
|
@if(mixin-exists(hook-button-primary)) {@include hook-button-primary();}
|
|
196
189
|
}
|
|
197
190
|
|
|
198
|
-
/* Hover
|
|
199
|
-
.uk-button-primary:hover
|
|
200
|
-
.uk-button-primary:focus {
|
|
191
|
+
/* Hover */
|
|
192
|
+
.uk-button-primary:hover {
|
|
201
193
|
background-color: $button-primary-hover-background;
|
|
202
194
|
color: $button-primary-hover-color;
|
|
203
195
|
@if(mixin-exists(hook-button-primary-hover)) {@include hook-button-primary-hover();}
|
|
@@ -221,9 +213,8 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
221
213
|
@if(mixin-exists(hook-button-secondary)) {@include hook-button-secondary();}
|
|
222
214
|
}
|
|
223
215
|
|
|
224
|
-
/* Hover
|
|
225
|
-
.uk-button-secondary:hover
|
|
226
|
-
.uk-button-secondary:focus {
|
|
216
|
+
/* Hover */
|
|
217
|
+
.uk-button-secondary:hover {
|
|
227
218
|
background-color: $button-secondary-hover-background;
|
|
228
219
|
color: $button-secondary-hover-color;
|
|
229
220
|
@if(mixin-exists(hook-button-secondary-hover)) {@include hook-button-secondary-hover();}
|
|
@@ -247,9 +238,8 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
247
238
|
@if(mixin-exists(hook-button-danger)) {@include hook-button-danger();}
|
|
248
239
|
}
|
|
249
240
|
|
|
250
|
-
/* Hover
|
|
251
|
-
.uk-button-danger:hover
|
|
252
|
-
.uk-button-danger:focus {
|
|
241
|
+
/* Hover */
|
|
242
|
+
.uk-button-danger:hover {
|
|
253
243
|
background-color: $button-danger-hover-background;
|
|
254
244
|
color: $button-danger-hover-color;
|
|
255
245
|
@if(mixin-exists(hook-button-danger-hover)) {@include hook-button-danger-hover();}
|
|
@@ -315,9 +305,8 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
315
305
|
@if(mixin-exists(hook-button-text)) {@include hook-button-text();}
|
|
316
306
|
}
|
|
317
307
|
|
|
318
|
-
/* Hover
|
|
319
|
-
.uk-button-text:hover
|
|
320
|
-
.uk-button-text:focus {
|
|
308
|
+
/* Hover */
|
|
309
|
+
.uk-button-text:hover {
|
|
321
310
|
color: $button-text-hover-color;
|
|
322
311
|
@if(mixin-exists(hook-button-text-hover)) {@include hook-button-text-hover();}
|
|
323
312
|
}
|
|
@@ -344,9 +333,8 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
344
333
|
@if(mixin-exists(hook-button-link)) {@include hook-button-link();}
|
|
345
334
|
}
|
|
346
335
|
|
|
347
|
-
/* Hover
|
|
348
|
-
.uk-button-link:hover
|
|
349
|
-
.uk-button-link:focus {
|
|
336
|
+
/* Hover */
|
|
337
|
+
.uk-button-link:hover {
|
|
350
338
|
color: $button-link-hover-color;
|
|
351
339
|
text-decoration: $button-link-hover-text-decoration;
|
|
352
340
|
}
|
|
@@ -384,7 +372,6 @@ $button-link-disabled-color: $global-muted-color !default;
|
|
|
384
372
|
|
|
385
373
|
// @mixin hook-button(){}
|
|
386
374
|
// @mixin hook-button-hover(){}
|
|
387
|
-
// @mixin hook-button-focus(){}
|
|
388
375
|
// @mixin hook-button-active(){}
|
|
389
376
|
// @mixin hook-button-default(){}
|
|
390
377
|
// @mixin hook-button-default-hover(){}
|
|
@@ -26,11 +26,9 @@ $close-hover-color: $global-color !default;
|
|
|
26
26
|
@if(mixin-exists(hook-close)) {@include hook-close();}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/* Hover
|
|
30
|
-
.uk-close:hover
|
|
31
|
-
.uk-close:focus {
|
|
29
|
+
/* Hover */
|
|
30
|
+
.uk-close:hover {
|
|
32
31
|
color: $close-hover-color;
|
|
33
|
-
outline: none;
|
|
34
32
|
@if(mixin-exists(hook-close-hover)) {@include hook-close-hover();}
|
|
35
33
|
}
|
|
36
34
|
|