uikit 3.11.2-dev.fb043abc2 → 3.12.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/.eslintrc.json +4 -49
- package/.prettierignore +14 -0
- package/.prettierrc.json +13 -0
- package/.webstorm.js +3 -3
- package/CHANGELOG.md +51 -20
- package/build/.eslintrc.json +1 -3
- package/build/build.js +26 -28
- package/build/icons.js +7 -11
- package/build/less.js +48 -36
- package/build/package.json +2 -2
- package/build/prefix.js +21 -18
- package/build/publishDev.js +6 -8
- package/build/release.js +20 -17
- package/build/scope.js +21 -11
- package/build/scss.js +72 -39
- package/build/util.js +71 -62
- package/build/wrapper/icons.js +0 -2
- package/dist/css/uikit-core-rtl.css +133 -201
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +133 -201
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +135 -207
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +135 -207
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +66 -138
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +408 -439
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1091 -1319
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1137 -1396
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +94 -114
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +347 -361
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +345 -360
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +749 -843
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +345 -360
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +628 -798
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +587 -620
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +324 -356
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +156 -167
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +5317 -6554
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +7 -9
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +8018 -9698
- package/dist/js/uikit.min.js +1 -1
- package/jsconfig.json +1 -1
- package/package.json +64 -60
- package/src/js/api/boot.js +25 -32
- package/src/js/api/component.js +15 -28
- package/src/js/api/global.js +6 -12
- package/src/js/api/hooks.js +14 -33
- package/src/js/api/instance.js +7 -15
- package/src/js/api/state.js +199 -187
- package/src/js/components/countdown.js +32 -85
- package/src/js/components/filter.js +70 -66
- package/src/js/components/index.js +13 -13
- package/src/js/components/internal/lightbox-animations.js +14 -25
- package/src/js/components/internal/slider-preload.js +9 -0
- package/src/js/components/internal/slider-transitioner.js +66 -45
- package/src/js/components/internal/slideshow-animations.js +46 -64
- package/src/js/components/lightbox-panel.js +107 -105
- package/src/js/components/lightbox.js +17 -39
- package/src/js/components/notification.js +49 -43
- package/src/js/components/parallax.js +16 -30
- package/src/js/components/slider-parallax.js +13 -23
- package/src/js/components/slider.js +117 -89
- package/src/js/components/slideshow-parallax.js +1 -1
- package/src/js/components/slideshow.js +15 -13
- package/src/js/components/sortable.js +125 -106
- package/src/js/components/tooltip.js +41 -31
- package/src/js/components/upload.js +53 -63
- package/src/js/core/accordion.js +58 -48
- package/src/js/core/alert.js +9 -17
- package/src/js/core/core.js +17 -69
- package/src/js/core/cover.js +15 -15
- package/src/js/core/drop.js +110 -94
- package/src/js/core/form-custom.js +22 -27
- package/src/js/core/gif.js +3 -7
- package/src/js/core/grid.js +57 -58
- package/src/js/core/height-match.js +16 -29
- package/src/js/core/height-viewport.js +30 -34
- package/src/js/core/icon.js +47 -52
- package/src/js/core/img.js +153 -143
- package/src/js/core/index.js +39 -39
- package/src/js/core/leader.js +9 -18
- package/src/js/core/margin.js +21 -37
- package/src/js/core/modal.js +49 -36
- package/src/js/core/nav.js +2 -4
- package/src/js/core/navbar.js +113 -85
- package/src/js/core/offcanvas.js +51 -54
- package/src/js/core/overflow-auto.js +13 -17
- package/src/js/core/responsive.js +14 -12
- package/src/js/core/scroll.js +10 -20
- package/src/js/core/scrollspy-nav.js +34 -31
- package/src/js/core/scrollspy.js +37 -54
- package/src/js/core/sticky.js +161 -128
- package/src/js/core/svg.js +68 -83
- package/src/js/core/switcher.js +56 -47
- package/src/js/core/tab.js +7 -10
- package/src/js/core/toggle.js +69 -68
- package/src/js/core/video.js +22 -21
- package/src/js/mixin/animate.js +19 -20
- package/src/js/mixin/class.js +2 -4
- package/src/js/mixin/container.js +7 -11
- package/src/js/mixin/internal/animate-fade.js +73 -30
- package/src/js/mixin/internal/animate-slide.js +58 -41
- package/src/js/mixin/internal/slideshow-animations.js +7 -14
- package/src/js/mixin/internal/slideshow-transitioner.js +10 -17
- package/src/js/mixin/lazyload.js +20 -0
- package/src/js/mixin/media.js +5 -10
- package/src/js/mixin/modal.js +89 -66
- package/src/js/mixin/parallax.js +149 -107
- package/src/js/mixin/position.js +26 -20
- package/src/js/mixin/slider-autoplay.js +12 -21
- package/src/js/mixin/slider-drag.js +64 -65
- package/src/js/mixin/slider-nav.js +26 -35
- package/src/js/mixin/slider-reactive.js +2 -8
- package/src/js/mixin/slider.js +47 -60
- package/src/js/mixin/slideshow.js +12 -22
- package/src/js/mixin/swipe.js +72 -0
- package/src/js/mixin/togglable.js +89 -63
- package/src/js/uikit-core.js +2 -4
- package/src/js/uikit.js +2 -4
- package/src/js/util/ajax.js +25 -40
- package/src/js/util/animation.js +77 -75
- package/src/js/util/attr.js +17 -21
- package/src/js/util/class.js +14 -52
- package/src/js/util/dimensions.js +58 -45
- package/src/js/util/dom.js +37 -66
- package/src/js/util/env.js +7 -12
- package/src/js/util/event.js +60 -59
- package/src/js/util/fastdom.js +1 -6
- package/src/js/util/filter.js +18 -36
- package/src/js/util/index.js +1 -1
- package/src/js/util/lang.js +82 -121
- package/src/js/util/mouse.js +19 -17
- package/src/js/util/observer.js +36 -0
- package/src/js/util/options.js +35 -49
- package/src/js/util/player.js +41 -36
- package/src/js/util/position.js +54 -46
- package/src/js/util/selector.js +43 -58
- package/src/js/util/style.js +39 -49
- package/src/js/util/viewport.js +75 -64
- package/src/less/components/base.less +10 -33
- package/src/less/components/flex.less +0 -9
- package/src/less/components/form-range.less +48 -95
- package/src/less/components/form.less +0 -1
- package/src/less/components/height.less +3 -0
- package/src/less/components/leader.less +0 -1
- package/src/less/components/lightbox.less +0 -1
- package/src/less/components/modal.less +3 -7
- package/src/less/components/navbar.less +0 -7
- package/src/less/components/progress.less +14 -36
- package/src/less/components/slider.less +0 -3
- package/src/less/components/slideshow.less +0 -3
- package/src/less/components/text.less +16 -32
- package/src/less/components/utility.less +25 -0
- package/src/scss/components/base.scss +10 -33
- package/src/scss/components/flex.scss +0 -9
- package/src/scss/components/form-range.scss +48 -95
- package/src/scss/components/form.scss +3 -4
- package/src/scss/components/height.scss +3 -0
- package/src/scss/components/icon.scss +2 -2
- package/src/scss/components/leader.scss +0 -1
- package/src/scss/components/lightbox.scss +0 -1
- package/src/scss/components/modal.scss +3 -7
- package/src/scss/components/navbar.scss +0 -7
- package/src/scss/components/progress.scss +14 -36
- package/src/scss/components/search.scss +1 -1
- package/src/scss/components/slider.scss +0 -3
- package/src/scss/components/slideshow.scss +0 -3
- package/src/scss/components/text.scss +16 -32
- package/src/scss/components/utility.scss +25 -0
- package/src/scss/mixins-theme.scss +1 -1
- package/src/scss/mixins.scss +1 -1
- package/src/scss/variables-theme.scss +9 -9
- package/src/scss/variables.scss +9 -9
- package/tests/align.html +10 -10
- package/tests/animation.html +2 -2
- package/tests/article.html +2 -2
- package/tests/base.html +3 -3
- package/tests/card.html +10 -10
- package/tests/column.html +3 -3
- package/tests/comment.html +9 -9
- package/tests/countdown.html +10 -8
- package/tests/dotnav.html +3 -3
- package/tests/image.html +296 -64
- package/tests/images/image-type.avif +0 -0
- package/tests/images/image-type.jpeg +0 -0
- package/tests/images/image-type.webp +0 -0
- package/tests/index.html +8 -8
- package/tests/js/index.js +114 -85
- package/tests/lightbox.html +10 -10
- package/tests/marker.html +2 -2
- package/tests/modal.html +8 -9
- package/tests/navbar.html +2 -2
- package/tests/overlay.html +7 -7
- package/tests/parallax.html +16 -7
- package/tests/position.html +12 -12
- package/tests/slidenav.html +12 -12
- package/tests/slider.html +20 -20
- package/tests/sortable.html +1 -1
- package/tests/sticky-parallax.html +57 -72
- package/tests/sticky.html +14 -3
- package/tests/svg.html +6 -6
- package/tests/table.html +11 -11
- package/tests/thumbnav.html +12 -12
- package/tests/transition.html +30 -30
- package/tests/utility.html +50 -33
- package/tests/video.html +1 -1
- package/tests/width.html +1 -1
- package/src/js/mixin/flex-bug.js +0 -56
- package/src/js/util/promise.js +0 -191
- package/tests/images/animated.gif +0 -0
package/dist/css/uikit-rtl.css
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/*! UIkit 3.
|
|
1
|
+
/*! UIkit 3.12.0 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
/* ========================================================================
|
|
3
3
|
Component: Base
|
|
4
4
|
========================================================================== */
|
|
5
5
|
/*
|
|
6
6
|
* 1. Set `font-size` to support `rem` units
|
|
7
|
-
* Not using `font` property because a leading hyphen (e.g. -apple-system) causes the font to break in IE11 and Edge
|
|
8
7
|
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
9
8
|
* 3. Style
|
|
10
9
|
*/
|
|
@@ -132,7 +131,7 @@ sub {
|
|
|
132
131
|
/* Embedded content
|
|
133
132
|
========================================================================== */
|
|
134
133
|
/*
|
|
135
|
-
* Remove the gap between
|
|
134
|
+
* Remove the gap between the element and the bottom of its parent container.
|
|
136
135
|
*/
|
|
137
136
|
audio,
|
|
138
137
|
canvas,
|
|
@@ -143,13 +142,13 @@ video {
|
|
|
143
142
|
vertical-align: middle;
|
|
144
143
|
}
|
|
145
144
|
/*
|
|
146
|
-
* 1.
|
|
147
|
-
* 2.
|
|
148
|
-
* 3.
|
|
149
|
-
* 4. Exclude SVGs for IE11 because they don't preserve their aspect ratio.
|
|
145
|
+
* 1. Constrain the element to its parent width.
|
|
146
|
+
* 2. Preserve the intrinsic aspect ratio and auto-scale the height of an image if the `height` attribute is present.
|
|
147
|
+
* 3. Take border and padding into account.
|
|
150
148
|
*/
|
|
151
149
|
canvas,
|
|
152
150
|
img,
|
|
151
|
+
svg,
|
|
153
152
|
video {
|
|
154
153
|
/* 1 */
|
|
155
154
|
max-width: 100%;
|
|
@@ -158,30 +157,16 @@ video {
|
|
|
158
157
|
/* 3 */
|
|
159
158
|
box-sizing: border-box;
|
|
160
159
|
}
|
|
161
|
-
/* 4 */
|
|
162
|
-
@supports (display: block) {
|
|
163
|
-
svg {
|
|
164
|
-
max-width: 100%;
|
|
165
|
-
height: auto;
|
|
166
|
-
box-sizing: border-box;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
160
|
/*
|
|
170
|
-
*
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
overflow: hidden;
|
|
174
|
-
}
|
|
175
|
-
/*
|
|
176
|
-
* 1. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
|
|
177
|
-
* 2. Hide `alt` text for lazy loading images.
|
|
178
|
-
* Note: Selector for background while loading img[data-src*='.jpg'][src*='data:image'] { background: grey; }
|
|
161
|
+
* Deprecated: only needed for `img` elements with `uk-img`
|
|
162
|
+
* 1. Hide `alt` text for lazy load images.
|
|
163
|
+
* 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
|
|
179
164
|
*/
|
|
180
165
|
img:not([src]) {
|
|
181
166
|
/* 1 */
|
|
182
|
-
min-width: 1px;
|
|
183
|
-
/* 2 */
|
|
184
167
|
visibility: hidden;
|
|
168
|
+
/* 2 */
|
|
169
|
+
min-width: 1px;
|
|
185
170
|
}
|
|
186
171
|
/*
|
|
187
172
|
* Iframe
|
|
@@ -465,18 +450,6 @@ template {
|
|
|
465
450
|
/*
|
|
466
451
|
* Breakpoints
|
|
467
452
|
*/
|
|
468
|
-
.uk-breakpoint-s::before {
|
|
469
|
-
content: '640px';
|
|
470
|
-
}
|
|
471
|
-
.uk-breakpoint-m::before {
|
|
472
|
-
content: '960px';
|
|
473
|
-
}
|
|
474
|
-
.uk-breakpoint-l::before {
|
|
475
|
-
content: '1200px';
|
|
476
|
-
}
|
|
477
|
-
.uk-breakpoint-xl::before {
|
|
478
|
-
content: '1600px';
|
|
479
|
-
}
|
|
480
453
|
:root {
|
|
481
454
|
--uk-breakpoint-s: 640px;
|
|
482
455
|
--uk-breakpoint-m: 960px;
|
|
@@ -1244,28 +1217,29 @@ button.uk-icon:not(:disabled) {
|
|
|
1244
1217
|
Component: Form Range
|
|
1245
1218
|
========================================================================== */
|
|
1246
1219
|
/*
|
|
1247
|
-
* 1.
|
|
1248
|
-
* 2.
|
|
1249
|
-
* 3.
|
|
1250
|
-
* 4.
|
|
1251
|
-
* 5.
|
|
1252
|
-
* 6.
|
|
1220
|
+
* 1. Remove default style.
|
|
1221
|
+
* 2. Define consistent box sizing.
|
|
1222
|
+
* 3. Remove `margin` in all browsers.
|
|
1223
|
+
* 4. Align to the center of the line box.
|
|
1224
|
+
* 5. Prevent content overflow if a fixed width is used.
|
|
1225
|
+
* 6. Take the full width.
|
|
1226
|
+
* 7. Remove white background in Chrome.
|
|
1253
1227
|
*/
|
|
1254
1228
|
.uk-range {
|
|
1255
1229
|
/* 1 */
|
|
1230
|
+
-webkit-appearance: none;
|
|
1231
|
+
/* 2 */
|
|
1256
1232
|
box-sizing: border-box;
|
|
1233
|
+
/* 3 */
|
|
1257
1234
|
margin: 0;
|
|
1235
|
+
/* 4 */
|
|
1258
1236
|
vertical-align: middle;
|
|
1259
|
-
/*
|
|
1237
|
+
/* 5 */
|
|
1260
1238
|
max-width: 100%;
|
|
1261
|
-
/*
|
|
1239
|
+
/* 6 */
|
|
1262
1240
|
width: 100%;
|
|
1263
|
-
/*
|
|
1264
|
-
-webkit-appearance: none;
|
|
1265
|
-
/* 5 */
|
|
1241
|
+
/* 7 */
|
|
1266
1242
|
background: transparent;
|
|
1267
|
-
/* 6 */
|
|
1268
|
-
padding: 0;
|
|
1269
1243
|
}
|
|
1270
1244
|
/* Focus */
|
|
1271
1245
|
.uk-range:focus {
|
|
@@ -1274,13 +1248,6 @@ button.uk-icon:not(:disabled) {
|
|
|
1274
1248
|
.uk-range::-moz-focus-outer {
|
|
1275
1249
|
border: none;
|
|
1276
1250
|
}
|
|
1277
|
-
/* IE11 Reset */
|
|
1278
|
-
.uk-range::-ms-track {
|
|
1279
|
-
height: 15px;
|
|
1280
|
-
background: transparent;
|
|
1281
|
-
border-color: transparent;
|
|
1282
|
-
color: transparent;
|
|
1283
|
-
}
|
|
1284
1251
|
/*
|
|
1285
1252
|
* Improves consistency of cursor style for clickable elements
|
|
1286
1253
|
*/
|
|
@@ -1290,12 +1257,31 @@ button.uk-icon:not(:disabled) {
|
|
|
1290
1257
|
.uk-range:not(:disabled)::-moz-range-thumb {
|
|
1291
1258
|
cursor: pointer;
|
|
1292
1259
|
}
|
|
1293
|
-
|
|
1294
|
-
|
|
1260
|
+
/*
|
|
1261
|
+
* Track
|
|
1262
|
+
* 1. Safari doesn't have a focus state. Using active instead.
|
|
1263
|
+
*/
|
|
1264
|
+
/* Webkit */
|
|
1265
|
+
.uk-range::-webkit-slider-runnable-track {
|
|
1266
|
+
height: 3px;
|
|
1267
|
+
background: #ebebeb;
|
|
1268
|
+
border-radius: 500px;
|
|
1269
|
+
}
|
|
1270
|
+
.uk-range:focus::-webkit-slider-runnable-track,
|
|
1271
|
+
.uk-range:active::-webkit-slider-runnable-track {
|
|
1272
|
+
background: #dedede;
|
|
1273
|
+
}
|
|
1274
|
+
/* Firefox */
|
|
1275
|
+
.uk-range::-moz-range-track {
|
|
1276
|
+
height: 3px;
|
|
1277
|
+
background: #ebebeb;
|
|
1278
|
+
border-radius: 500px;
|
|
1279
|
+
}
|
|
1280
|
+
.uk-range:focus::-moz-range-track {
|
|
1281
|
+
background: #dedede;
|
|
1295
1282
|
}
|
|
1296
|
-
/* Thumb
|
|
1297
|
-
========================================================================== */
|
|
1298
1283
|
/*
|
|
1284
|
+
* Thumb
|
|
1299
1285
|
* 1. Reset
|
|
1300
1286
|
* 2. Style
|
|
1301
1287
|
*/
|
|
@@ -1318,65 +1304,11 @@ button.uk-icon:not(:disabled) {
|
|
|
1318
1304
|
/* 2 */
|
|
1319
1305
|
height: 15px;
|
|
1320
1306
|
width: 15px;
|
|
1307
|
+
margin-top: -7px;
|
|
1321
1308
|
border-radius: 500px;
|
|
1322
1309
|
background: #fff;
|
|
1323
1310
|
border: 1px solid #cccccc;
|
|
1324
1311
|
}
|
|
1325
|
-
/* Edge */
|
|
1326
|
-
.uk-range::-ms-thumb {
|
|
1327
|
-
/* 1 */
|
|
1328
|
-
margin-top: 0;
|
|
1329
|
-
}
|
|
1330
|
-
/* IE11 */
|
|
1331
|
-
.uk-range::-ms-thumb {
|
|
1332
|
-
/* 1 */
|
|
1333
|
-
border: none;
|
|
1334
|
-
/* 2 */
|
|
1335
|
-
height: 15px;
|
|
1336
|
-
width: 15px;
|
|
1337
|
-
border-radius: 500px;
|
|
1338
|
-
background: #fff;
|
|
1339
|
-
border: 1px solid #cccccc;
|
|
1340
|
-
}
|
|
1341
|
-
/* Edge + IE11 */
|
|
1342
|
-
.uk-range::-ms-tooltip {
|
|
1343
|
-
display: none;
|
|
1344
|
-
}
|
|
1345
|
-
/* Track
|
|
1346
|
-
========================================================================== */
|
|
1347
|
-
/*
|
|
1348
|
-
* 1. Safari doesn't have a focus state. Using active instead.
|
|
1349
|
-
*/
|
|
1350
|
-
/* Webkit */
|
|
1351
|
-
.uk-range::-webkit-slider-runnable-track {
|
|
1352
|
-
height: 3px;
|
|
1353
|
-
background: #ebebeb;
|
|
1354
|
-
border-radius: 500px;
|
|
1355
|
-
}
|
|
1356
|
-
.uk-range:focus::-webkit-slider-runnable-track,
|
|
1357
|
-
.uk-range:active::-webkit-slider-runnable-track {
|
|
1358
|
-
background: #dedede;
|
|
1359
|
-
}
|
|
1360
|
-
/* Firefox */
|
|
1361
|
-
.uk-range::-moz-range-track {
|
|
1362
|
-
height: 3px;
|
|
1363
|
-
background: #ebebeb;
|
|
1364
|
-
border-radius: 500px;
|
|
1365
|
-
}
|
|
1366
|
-
.uk-range:focus::-moz-range-track {
|
|
1367
|
-
background: #dedede;
|
|
1368
|
-
}
|
|
1369
|
-
/* Edge */
|
|
1370
|
-
.uk-range::-ms-fill-lower,
|
|
1371
|
-
.uk-range::-ms-fill-upper {
|
|
1372
|
-
height: 3px;
|
|
1373
|
-
background: #ebebeb;
|
|
1374
|
-
border-radius: 500px;
|
|
1375
|
-
}
|
|
1376
|
-
.uk-range:focus::-ms-fill-lower,
|
|
1377
|
-
.uk-range:focus::-ms-fill-upper {
|
|
1378
|
-
background: #dedede;
|
|
1379
|
-
}
|
|
1380
1312
|
/* ========================================================================
|
|
1381
1313
|
Component: Form
|
|
1382
1314
|
========================================================================== */
|
|
@@ -1713,7 +1645,6 @@ select.uk-form-width-xsmall {
|
|
|
1713
1645
|
display: none !important;
|
|
1714
1646
|
}
|
|
1715
1647
|
/* Radio and checkbox
|
|
1716
|
-
* Note: Does not work in IE11
|
|
1717
1648
|
========================================================================== */
|
|
1718
1649
|
/*
|
|
1719
1650
|
* 1. Style
|
|
@@ -2229,27 +2160,23 @@ select.uk-form-width-xsmall {
|
|
|
2229
2160
|
Component: Progress
|
|
2230
2161
|
========================================================================== */
|
|
2231
2162
|
/*
|
|
2232
|
-
* 1. Add the correct vertical alignment in
|
|
2233
|
-
* 2.
|
|
2234
|
-
* 3.
|
|
2235
|
-
* 4. Remove
|
|
2236
|
-
* 5.
|
|
2237
|
-
* 6. Style
|
|
2163
|
+
* 1. Add the correct vertical alignment in all browsers.
|
|
2164
|
+
* 2. Behave like a block element.
|
|
2165
|
+
* 3. Remove borders in Firefox.
|
|
2166
|
+
* 4. Remove default style in Chrome, Safari and Edge.
|
|
2167
|
+
* 5. Style
|
|
2238
2168
|
*/
|
|
2239
2169
|
.uk-progress {
|
|
2240
2170
|
/* 1 */
|
|
2241
2171
|
vertical-align: baseline;
|
|
2242
2172
|
/* 2 */
|
|
2243
|
-
-webkit-appearance: none;
|
|
2244
|
-
-moz-appearance: none;
|
|
2245
|
-
/* 3 */
|
|
2246
2173
|
display: block;
|
|
2247
2174
|
width: 100%;
|
|
2248
|
-
/*
|
|
2175
|
+
/* 3 */
|
|
2249
2176
|
border: 0;
|
|
2250
|
-
/*
|
|
2177
|
+
/* 4 */
|
|
2251
2178
|
background-color: #f8f8f8;
|
|
2252
|
-
/*
|
|
2179
|
+
/* 5 */
|
|
2253
2180
|
margin-bottom: 20px;
|
|
2254
2181
|
height: 15px;
|
|
2255
2182
|
border-radius: 500px;
|
|
@@ -2260,27 +2187,15 @@ select.uk-form-width-xsmall {
|
|
|
2260
2187
|
margin-top: 20px;
|
|
2261
2188
|
}
|
|
2262
2189
|
/*
|
|
2263
|
-
*
|
|
2264
|
-
*/
|
|
2265
|
-
.uk-progress:indeterminate {
|
|
2266
|
-
color: transparent;
|
|
2267
|
-
}
|
|
2268
|
-
/*
|
|
2269
|
-
* Progress container
|
|
2270
|
-
* 2. Remove progress bar for indeterminate state in Firefox
|
|
2190
|
+
* Show background color set on `uk-progress` in Chrome, Safari and Edge.
|
|
2271
2191
|
*/
|
|
2272
2192
|
.uk-progress::-webkit-progress-bar {
|
|
2273
|
-
background-color:
|
|
2274
|
-
border-radius: 500px;
|
|
2275
|
-
overflow: hidden;
|
|
2276
|
-
}
|
|
2277
|
-
/* 2 */
|
|
2278
|
-
.uk-progress:indeterminate::-moz-progress-bar {
|
|
2279
|
-
width: 0;
|
|
2193
|
+
background-color: transparent;
|
|
2280
2194
|
}
|
|
2281
2195
|
/*
|
|
2282
|
-
* Progress
|
|
2283
|
-
* 1.
|
|
2196
|
+
* Progress Bar
|
|
2197
|
+
* 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet.
|
|
2198
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=662351
|
|
2284
2199
|
*/
|
|
2285
2200
|
.uk-progress::-webkit-progress-value {
|
|
2286
2201
|
background-color: #1e87f0;
|
|
@@ -2288,12 +2203,8 @@ select.uk-form-width-xsmall {
|
|
|
2288
2203
|
}
|
|
2289
2204
|
.uk-progress::-moz-progress-bar {
|
|
2290
2205
|
background-color: #1e87f0;
|
|
2291
|
-
}
|
|
2292
|
-
.uk-progress::-ms-fill {
|
|
2293
|
-
background-color: #1e87f0;
|
|
2294
|
-
transition: width 0.6s ease;
|
|
2295
2206
|
/* 1 */
|
|
2296
|
-
|
|
2207
|
+
transition: width 0.6s ease;
|
|
2297
2208
|
}
|
|
2298
2209
|
/* ========================================================================
|
|
2299
2210
|
Component: Section
|
|
@@ -3778,10 +3689,8 @@ select.uk-form-width-xsmall {
|
|
|
3778
3689
|
/*
|
|
3779
3690
|
* 1. Create position context for spinner and close button
|
|
3780
3691
|
* 2. Dimensions
|
|
3781
|
-
* 3.
|
|
3782
|
-
*
|
|
3783
|
-
* 4. Style
|
|
3784
|
-
* 5. Slide-in transition
|
|
3692
|
+
* 3. Style
|
|
3693
|
+
* 4. Slide-in transition
|
|
3785
3694
|
*/
|
|
3786
3695
|
.uk-modal-dialog {
|
|
3787
3696
|
/* 1 */
|
|
@@ -3791,10 +3700,8 @@ select.uk-form-width-xsmall {
|
|
|
3791
3700
|
margin: 0 auto;
|
|
3792
3701
|
width: 600px;
|
|
3793
3702
|
/* 3 */
|
|
3794
|
-
max-width: calc(100% - 0.01px) !important;
|
|
3795
|
-
/* 4 */
|
|
3796
3703
|
background: #fff;
|
|
3797
|
-
/*
|
|
3704
|
+
/* 4 */
|
|
3798
3705
|
opacity: 0;
|
|
3799
3706
|
transform: translateY(-100px);
|
|
3800
3707
|
transition: 0.3s linear;
|
|
@@ -3956,7 +3863,6 @@ select.uk-form-width-xsmall {
|
|
|
3956
3863
|
* 2. Take the full width
|
|
3957
3864
|
* 3. Clip child elements, e.g. for `uk-cover`
|
|
3958
3865
|
* 4. Optimize animation
|
|
3959
|
-
* 5. Disable horizontal panning gestures in IE11 and Edge
|
|
3960
3866
|
*/
|
|
3961
3867
|
.uk-slideshow-items > * {
|
|
3962
3868
|
/* 1 */
|
|
@@ -3970,8 +3876,6 @@ select.uk-form-width-xsmall {
|
|
|
3970
3876
|
overflow: hidden;
|
|
3971
3877
|
/* 4 */
|
|
3972
3878
|
will-change: transform, opacity;
|
|
3973
|
-
/* 5 */
|
|
3974
|
-
touch-action: pan-y;
|
|
3975
3879
|
}
|
|
3976
3880
|
/*
|
|
3977
3881
|
* Hide not active items
|
|
@@ -4038,7 +3942,6 @@ select.uk-form-width-xsmall {
|
|
|
4038
3942
|
* 1. Let items take content dimensions (0 0 auto)
|
|
4039
3943
|
* `max-width` needed to keep image responsiveness and prevent content overflow
|
|
4040
3944
|
* 3. Create position context
|
|
4041
|
-
* 4. Disable horizontal panning gestures in IE11 and Edge
|
|
4042
3945
|
*/
|
|
4043
3946
|
.uk-slider-items > * {
|
|
4044
3947
|
/* 1 */
|
|
@@ -4046,8 +3949,6 @@ select.uk-form-width-xsmall {
|
|
|
4046
3949
|
max-width: 100%;
|
|
4047
3950
|
/* 3 */
|
|
4048
3951
|
position: relative;
|
|
4049
|
-
/* 4 */
|
|
4050
|
-
touch-action: pan-y;
|
|
4051
3952
|
}
|
|
4052
3953
|
/* ========================================================================
|
|
4053
3954
|
Component: Sticky
|
|
@@ -4350,9 +4251,6 @@ select.uk-form-width-xsmall {
|
|
|
4350
4251
|
/*
|
|
4351
4252
|
* Pass fill character to JS
|
|
4352
4253
|
*/
|
|
4353
|
-
.uk-leader-fill-content::before {
|
|
4354
|
-
content: '.';
|
|
4355
|
-
}
|
|
4356
4254
|
:root {
|
|
4357
4255
|
--uk-leader-fill-content: '.';
|
|
4358
4256
|
}
|
|
@@ -5177,13 +5075,6 @@ ul.uk-nav-sub {
|
|
|
5177
5075
|
.uk-navbar-container:not(.uk-navbar-transparent) {
|
|
5178
5076
|
background: #f8f8f8;
|
|
5179
5077
|
}
|
|
5180
|
-
/*
|
|
5181
|
-
* Remove pseudo elements created by micro clearfix as precaution (if Container component is used)
|
|
5182
|
-
*/
|
|
5183
|
-
.uk-navbar-container > ::before,
|
|
5184
|
-
.uk-navbar-container > ::after {
|
|
5185
|
-
display: none !important;
|
|
5186
|
-
}
|
|
5187
5078
|
/* Groups
|
|
5188
5079
|
========================================================================== */
|
|
5189
5080
|
/*
|
|
@@ -6229,7 +6120,6 @@ ul.uk-nav-sub {
|
|
|
6229
6120
|
* 4. Optimize animation
|
|
6230
6121
|
* 5. Responsiveness
|
|
6231
6122
|
* Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
|
|
6232
|
-
* Using `vh` and `vw` to make responsive image work in IE11
|
|
6233
6123
|
*/
|
|
6234
6124
|
.uk-lightbox-items > * {
|
|
6235
6125
|
/* 1 */
|
|
@@ -7149,6 +7039,15 @@ ul.uk-nav-sub {
|
|
|
7149
7039
|
.uk-height-viewport {
|
|
7150
7040
|
min-height: 100vh;
|
|
7151
7041
|
}
|
|
7042
|
+
.uk-height-viewport-2 {
|
|
7043
|
+
min-height: 200vh;
|
|
7044
|
+
}
|
|
7045
|
+
.uk-height-viewport-3 {
|
|
7046
|
+
min-height: 300vh;
|
|
7047
|
+
}
|
|
7048
|
+
.uk-height-viewport-4 {
|
|
7049
|
+
min-height: 400vh;
|
|
7050
|
+
}
|
|
7152
7051
|
/*
|
|
7153
7052
|
* Pixel
|
|
7154
7053
|
* Useful for `overflow: auto`
|
|
@@ -7271,24 +7170,20 @@ ul.uk-nav-sub {
|
|
|
7271
7170
|
/* Background modifier
|
|
7272
7171
|
========================================================================== */
|
|
7273
7172
|
/*
|
|
7274
|
-
* 1. The background clips to the foreground text. Works in
|
|
7275
|
-
*
|
|
7276
|
-
*
|
|
7277
|
-
*
|
|
7173
|
+
* 1. The background clips to the foreground text. Works in all browsers.
|
|
7174
|
+
* 2. Default color is set to transparent.
|
|
7175
|
+
* 3. Container fits the text
|
|
7176
|
+
* 4. Style
|
|
7278
7177
|
*/
|
|
7279
7178
|
.uk-text-background {
|
|
7280
7179
|
/* 1 */
|
|
7281
7180
|
-webkit-background-clip: text;
|
|
7282
7181
|
/* 2 */
|
|
7283
|
-
|
|
7182
|
+
color: transparent !important;
|
|
7284
7183
|
/* 3 */
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
.uk-text-background {
|
|
7289
|
-
background-color: #1e87f0;
|
|
7290
|
-
color: transparent !important;
|
|
7291
|
-
}
|
|
7184
|
+
display: inline-block;
|
|
7185
|
+
/* 4 */
|
|
7186
|
+
background-color: #1e87f0;
|
|
7292
7187
|
}
|
|
7293
7188
|
/* Alignment modifiers
|
|
7294
7189
|
========================================================================== */
|
|
@@ -7394,22 +7289,17 @@ td.uk-text-truncate {
|
|
|
7394
7289
|
max-width: 0;
|
|
7395
7290
|
}
|
|
7396
7291
|
/*
|
|
7397
|
-
*
|
|
7398
|
-
*
|
|
7399
|
-
*
|
|
7400
|
-
* Must use `break-all` to support IE11 and Edge
|
|
7401
|
-
* Note: Not using `hyphens: auto;` because it hyphenates text even if not needed
|
|
7292
|
+
* Wrap long words onto the next line and break them if they are too long to fit.
|
|
7293
|
+
* 1. Make it work with table cells in all browsers.
|
|
7294
|
+
* Note: Not using `hyphens: auto` because it hyphenates text even if not needed.
|
|
7402
7295
|
*/
|
|
7403
7296
|
.uk-text-break {
|
|
7404
|
-
/* 1 */
|
|
7405
7297
|
overflow-wrap: break-word;
|
|
7406
|
-
/* 2 */
|
|
7407
|
-
word-wrap: break-word;
|
|
7408
7298
|
}
|
|
7409
|
-
/*
|
|
7299
|
+
/* 1 */
|
|
7410
7300
|
th.uk-text-break,
|
|
7411
7301
|
td.uk-text-break {
|
|
7412
|
-
word-break: break-
|
|
7302
|
+
word-break: break-word;
|
|
7413
7303
|
}
|
|
7414
7304
|
/* ========================================================================
|
|
7415
7305
|
Component: Column
|
|
@@ -8032,6 +7922,53 @@ iframe[data-uk-cover] {
|
|
|
8032
7922
|
[data-uk-responsive] {
|
|
8033
7923
|
max-width: 100%;
|
|
8034
7924
|
}
|
|
7925
|
+
/* Object
|
|
7926
|
+
========================================================================== */
|
|
7927
|
+
.uk-object-cover {
|
|
7928
|
+
object-fit: cover;
|
|
7929
|
+
}
|
|
7930
|
+
.uk-object-contain {
|
|
7931
|
+
object-fit: contain;
|
|
7932
|
+
}
|
|
7933
|
+
.uk-object-fill {
|
|
7934
|
+
object-fit: fill;
|
|
7935
|
+
}
|
|
7936
|
+
.uk-object-none {
|
|
7937
|
+
object-fit: none;
|
|
7938
|
+
}
|
|
7939
|
+
.uk-object-scale-down {
|
|
7940
|
+
object-fit: scale-down;
|
|
7941
|
+
}
|
|
7942
|
+
/*
|
|
7943
|
+
* Position
|
|
7944
|
+
*/
|
|
7945
|
+
.uk-object-top-right {
|
|
7946
|
+
object-position: 100% 0;
|
|
7947
|
+
}
|
|
7948
|
+
.uk-object-top-center {
|
|
7949
|
+
object-position: 50% 0;
|
|
7950
|
+
}
|
|
7951
|
+
.uk-object-top-left {
|
|
7952
|
+
object-position: 0% 0;
|
|
7953
|
+
}
|
|
7954
|
+
.uk-object-center-right {
|
|
7955
|
+
object-position: 100% 50%;
|
|
7956
|
+
}
|
|
7957
|
+
.uk-object-center-center {
|
|
7958
|
+
object-position: 50% 50%;
|
|
7959
|
+
}
|
|
7960
|
+
.uk-object-center-left {
|
|
7961
|
+
object-position: 0% 50%;
|
|
7962
|
+
}
|
|
7963
|
+
.uk-object-bottom-right {
|
|
7964
|
+
object-position: 100% 100%;
|
|
7965
|
+
}
|
|
7966
|
+
.uk-object-bottom-center {
|
|
7967
|
+
object-position: 50% 100%;
|
|
7968
|
+
}
|
|
7969
|
+
.uk-object-bottom-left {
|
|
7970
|
+
object-position: 0% 100%;
|
|
7971
|
+
}
|
|
8035
7972
|
/* Border
|
|
8036
7973
|
========================================================================== */
|
|
8037
7974
|
.uk-border-circle {
|
|
@@ -8283,15 +8220,6 @@ iframe[data-uk-cover] {
|
|
|
8283
8220
|
.uk-flex-inline {
|
|
8284
8221
|
display: inline-flex;
|
|
8285
8222
|
}
|
|
8286
|
-
/*
|
|
8287
|
-
* Remove pseudo elements created by micro clearfix as precaution
|
|
8288
|
-
*/
|
|
8289
|
-
.uk-flex::before,
|
|
8290
|
-
.uk-flex::after,
|
|
8291
|
-
.uk-flex-inline::before,
|
|
8292
|
-
.uk-flex-inline::after {
|
|
8293
|
-
display: none;
|
|
8294
|
-
}
|
|
8295
8223
|
/* Alignment
|
|
8296
8224
|
========================================================================== */
|
|
8297
8225
|
/*
|