uikit 3.11.2-dev.72dbb9a19 → 3.11.2-dev.76734f785
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 +39 -19
- package/dist/css/uikit-core-rtl.css +86 -170
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +86 -170
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +88 -176
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +88 -176
- 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 +115 -78
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +115 -78
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +79 -33
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +115 -78
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +45 -3
- 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 +259 -234
- 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 +461 -347
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/components/internal/slider-preload.js +37 -0
- package/src/js/components/slider.js +43 -34
- package/src/js/components/slideshow.js +8 -1
- package/src/js/core/height-viewport.js +3 -0
- package/src/js/core/icon.js +13 -6
- package/src/js/core/img.js +131 -114
- package/src/js/core/sticky.js +51 -57
- package/src/js/core/svg.js +10 -6
- package/src/js/core/toggle.js +2 -1
- package/src/js/mixin/parallax.js +116 -79
- package/src/js/util/ajax.js +6 -2
- package/src/js/util/dimensions.js +4 -4
- package/src/js/util/dom.js +37 -31
- package/src/js/util/lang.js +6 -5
- package/src/js/util/player.js +3 -2
- package/src/js/util/style.js +4 -4
- package/src/less/components/base.less +10 -28
- 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/lightbox.less +0 -1
- package/src/less/components/modal.less +3 -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/scss/components/base.scss +10 -28
- package/src/scss/components/form-range.scss +48 -95
- package/src/scss/components/form.scss +0 -1
- package/src/scss/components/height.scss +3 -0
- package/src/scss/components/lightbox.scss +0 -1
- package/src/scss/components/modal.scss +3 -7
- package/src/scss/components/progress.scss +14 -36
- 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/mixins-theme.scss +1 -1
- package/src/scss/mixins.scss +1 -1
- package/src/scss/variables-theme.scss +3 -3
- package/src/scss/variables.scss +3 -3
- 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/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/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 +56 -71
- 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 +33 -33
- package/tests/video.html +1 -1
- package/tests/width.html +1 -1
- package/tests/images/animated.gif +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,26 +4,46 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
+
- Add support for `<picture>` element to Image component
|
|
8
|
+
- Add `sources` option to emulate `<picture>` element for background images to Image component
|
|
9
|
+
- Add `loading` option to avoid lazy loading background images in first visible viewport to Image component
|
|
10
|
+
- Add support for `loading="lazy"` attribute to SVG component
|
|
7
11
|
- Add `position` option with `top`, `bottom` and `auto` values to Sticky component
|
|
8
12
|
- Add support for basic math operands in `offset` option of Sticky component
|
|
13
|
+
- Add animation stop positions to Parallax component
|
|
9
14
|
- Add object fit and position classes to Utility component
|
|
15
|
+
- Add height viewport classes to Height component
|
|
10
16
|
|
|
11
17
|
### Changed
|
|
12
18
|
|
|
19
|
+
- Image elements need `width` and `height` attributes to prevent layout shifts
|
|
20
|
+
- Image component no longer relies on session storage to check for cached images to immediately show an image
|
|
21
|
+
- Slideshow and Slider remove native `loading="lazy"` attribute from adjacent slides
|
|
13
22
|
- Improve sticky behavior if sticky content is larger than the viewport
|
|
14
23
|
- Sticky component's `bottom` option checks for bottom padding if sticky element is within referenced element
|
|
24
|
+
- Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
25
|
+
|
|
26
|
+
### Deprecated
|
|
27
|
+
|
|
28
|
+
- Deprecate `uk-img` for `<img>` element: Use native `loading="lazy"` attribute instead
|
|
15
29
|
|
|
16
30
|
## Removed
|
|
17
31
|
|
|
18
|
-
-
|
|
32
|
+
- Remove IE11 support
|
|
33
|
+
- Removed `data-width` and `data-height` for `<img>` element from Image component. Use native attributes instead.
|
|
19
34
|
|
|
20
35
|
### Fixed
|
|
21
36
|
|
|
22
37
|
- Fix infinite sliding in Slider component with equally sized slides
|
|
23
|
-
- Fix
|
|
38
|
+
- Fix Slider component sets calculation
|
|
24
39
|
- Fix dropdowns not closing in Navbar component when hovering dropbar and navigation with keyboard
|
|
25
40
|
- Fix dropdown no longer closes if pointer is still moving towards it
|
|
26
41
|
- Fix `fadein` not transformed correctly to `fade-in` in scss build
|
|
42
|
+
- Fix Sticky component setting wrong margin for placeholder
|
|
43
|
+
- Fix Sticky placeholder sets height with fraction
|
|
44
|
+
- Fix Sticky component does not animate in if scroll position equals top offset
|
|
45
|
+
- Fix Sticky component prevents transition on `selTarget` if forced to hide for recalculation
|
|
46
|
+
- Fix Parallax component initial jump in background image
|
|
27
47
|
|
|
28
48
|
## 3.11.1 (February 7, 2022)
|
|
29
49
|
|
|
@@ -62,7 +82,7 @@
|
|
|
62
82
|
- Fix usage of `data-` prefix for Cover and Responsive component
|
|
63
83
|
- Fix pointer events for iframes in Cover component
|
|
64
84
|
- Fix Slideshow component no longer throws if items list does not exist
|
|
65
|
-
- Fix space key no longer triggers Toggle on
|
|
85
|
+
- Fix space key no longer triggers Toggle on `<input>` element
|
|
66
86
|
|
|
67
87
|
## 3.10.0 (January 12, 2022)
|
|
68
88
|
|
|
@@ -379,7 +399,7 @@
|
|
|
379
399
|
|
|
380
400
|
- Fix component update handling
|
|
381
401
|
- Fix Tooltip position
|
|
382
|
-
- Fix Tooltip component applied to button
|
|
402
|
+
- Fix Tooltip component applied to `<button>` element in iOS
|
|
383
403
|
- Fix regression in Switcher component
|
|
384
404
|
|
|
385
405
|
## 3.6.8 (January 5, 2021)
|
|
@@ -928,7 +948,7 @@
|
|
|
928
948
|
### Fixed
|
|
929
949
|
|
|
930
950
|
- Fix Slideshow invisible after switching tabs in Switcher
|
|
931
|
-
- Fix lazy loading images in
|
|
951
|
+
- Fix lazy loading images in Image component in UC Browser
|
|
932
952
|
- Fix opening Offcanvas/Modal through buttons
|
|
933
953
|
|
|
934
954
|
## 3.1.8 (August 29, 2019)
|
|
@@ -1098,8 +1118,8 @@
|
|
|
1098
1118
|
### Fixed
|
|
1099
1119
|
|
|
1100
1120
|
- Fix touch event detection
|
|
1101
|
-
- Fix background images are shown too large on retina displays in
|
|
1102
|
-
- Fix correctly calculate offsetLeft in
|
|
1121
|
+
- Fix background images are shown too large on retina displays in Image component
|
|
1122
|
+
- Fix correctly calculate offsetLeft in Image component
|
|
1103
1123
|
- Fix autofocus elements not blurring within Toggable on hide
|
|
1104
1124
|
|
|
1105
1125
|
## 3.0.2 (January 15, 2019)
|
|
@@ -1108,7 +1128,7 @@
|
|
|
1108
1128
|
|
|
1109
1129
|
- Fix offcanvas overlay transition
|
|
1110
1130
|
- Fix active state in Switcher component
|
|
1111
|
-
- Fix background images on displays with higher devicePixelRatio in
|
|
1131
|
+
- Fix background images on displays with higher devicePixelRatio in Image component
|
|
1112
1132
|
|
|
1113
1133
|
## 3.0.1 (January 14, 2019)
|
|
1114
1134
|
|
|
@@ -1141,7 +1161,7 @@
|
|
|
1141
1161
|
### Fixed
|
|
1142
1162
|
|
|
1143
1163
|
- Fix visible toggle and its child elements not being focusable through keyboard navigation
|
|
1144
|
-
- Fix
|
|
1164
|
+
- Fix Image component correctly escapes urls on background images
|
|
1145
1165
|
|
|
1146
1166
|
## 3.0.0 rc 26 (January 3, 2019)
|
|
1147
1167
|
|
|
@@ -1160,8 +1180,8 @@
|
|
|
1160
1180
|
- Fix `flex bug` mixin (IE 11)
|
|
1161
1181
|
- Fix properly resolving css custom properties in scss
|
|
1162
1182
|
- Fix order of variable assignments in scss
|
|
1163
|
-
- Fix background images are shown too large on retina displays in
|
|
1164
|
-
- Fix lazy loading images in
|
|
1183
|
+
- Fix background images are shown too large on retina displays in Image component
|
|
1184
|
+
- Fix lazy loading images in Image component in Safari
|
|
1165
1185
|
- Limit positioned element to container width and margin in Position component
|
|
1166
1186
|
|
|
1167
1187
|
## 3.0.0 rc 25 (November 30, 2018)
|
|
@@ -1249,7 +1269,7 @@
|
|
|
1249
1269
|
|
|
1250
1270
|
### Fixed
|
|
1251
1271
|
|
|
1252
|
-
- Fix preserve color not working if class is set on svg element in Icon component
|
|
1272
|
+
- Fix preserve color not working if class is set on `<svg>` element in Icon component
|
|
1253
1273
|
- Fix inverse hover color for accordion title
|
|
1254
1274
|
- Fix close color being overwritten from toolbar in Lightbox component
|
|
1255
1275
|
- Fix Modal not hiding upon being destroyed
|
|
@@ -1493,7 +1513,7 @@
|
|
|
1493
1513
|
|
|
1494
1514
|
### Added
|
|
1495
1515
|
|
|
1496
|
-
- Add
|
|
1516
|
+
- Add Image component to lazy load images
|
|
1497
1517
|
- Add Filter component to filter and sort any kind of layout
|
|
1498
1518
|
- Add `masonry` option to Grid component
|
|
1499
1519
|
- Add inverse style for form icon
|
|
@@ -1656,7 +1676,7 @@
|
|
|
1656
1676
|
|
|
1657
1677
|
### Changed
|
|
1658
1678
|
|
|
1659
|
-
- IMPORTANT: Use
|
|
1679
|
+
- IMPORTANT: Use `<a>` element instead of headings for the accordion title
|
|
1660
1680
|
- Calling a component constructor with data on an already initialized component will reset the component
|
|
1661
1681
|
- Dropbar no longer repositions Dropdowns in DOM upon opening
|
|
1662
1682
|
|
|
@@ -1757,7 +1777,7 @@
|
|
|
1757
1777
|
- Fix slide animations stacking when tab is not focused in Slideshow component
|
|
1758
1778
|
- Fix overlay not showing in Offcanvas component
|
|
1759
1779
|
- Fix Slideshow Parallax in Slideshow component for IE11
|
|
1760
|
-
- Fix default border-radius for button
|
|
1780
|
+
- Fix default border-radius for `<button>` element in Chrome 62.
|
|
1761
1781
|
|
|
1762
1782
|
## 3.0.0 beta 31 (October 20, 2017)
|
|
1763
1783
|
|
|
@@ -1866,7 +1886,7 @@
|
|
|
1866
1886
|
|
|
1867
1887
|
- Offcanvas will keep scroll position if anchor link was clicked
|
|
1868
1888
|
- Fix margin modifier in Position component for IE11
|
|
1869
|
-
- Fix divider-small text alignment for
|
|
1889
|
+
- Fix divider-small text alignment for `<hr>` element Edge and IE
|
|
1870
1890
|
- Fix setting the ratio of Spinner component
|
|
1871
1891
|
- Fix event handling in Sortable component
|
|
1872
1892
|
- Fix grid calculation (Firefox)
|
|
@@ -1902,7 +1922,7 @@
|
|
|
1902
1922
|
|
|
1903
1923
|
### Changed
|
|
1904
1924
|
|
|
1905
|
-
- Make Icon component work with button
|
|
1925
|
+
- Make Icon component work with `<button>` element
|
|
1906
1926
|
|
|
1907
1927
|
### Fixed
|
|
1908
1928
|
|
|
@@ -2232,7 +2252,7 @@
|
|
|
2232
2252
|
|
|
2233
2253
|
### Changed
|
|
2234
2254
|
|
|
2235
|
-
- UIkit observes
|
|
2255
|
+
- UIkit observes `<body>` element too now
|
|
2236
2256
|
- Performance improvements
|
|
2237
2257
|
|
|
2238
2258
|
### Fixed
|
|
@@ -2278,7 +2298,7 @@
|
|
|
2278
2298
|
|
|
2279
2299
|
### Fixed
|
|
2280
2300
|
|
|
2281
|
-
- Fix Icon component on canvas elements (Safari)
|
|
2301
|
+
- Fix Icon component on `<canvas>` elements (Safari)
|
|
2282
2302
|
|
|
2283
2303
|
## 3.0.0 beta 1 (January 09, 2017)
|
|
2284
2304
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/*! UIkit 3.11.2-dev.
|
|
1
|
+
/*! UIkit 3.11.2-dev.76734f785 | 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
|
*/
|
|
@@ -130,7 +129,7 @@ sub {
|
|
|
130
129
|
/* Embedded content
|
|
131
130
|
========================================================================== */
|
|
132
131
|
/*
|
|
133
|
-
* Remove the gap between
|
|
132
|
+
* Remove the gap between the element and the bottom of its parent container.
|
|
134
133
|
*/
|
|
135
134
|
audio,
|
|
136
135
|
canvas,
|
|
@@ -141,13 +140,13 @@ video {
|
|
|
141
140
|
vertical-align: middle;
|
|
142
141
|
}
|
|
143
142
|
/*
|
|
144
|
-
* 1.
|
|
145
|
-
* 2.
|
|
146
|
-
* 3.
|
|
147
|
-
* 4. Exclude SVGs for IE11 because they don't preserve their aspect ratio.
|
|
143
|
+
* 1. Constrain the element to its parent width.
|
|
144
|
+
* 2. Preserve the intrinsic aspect ratio and auto-scale the height of an image if the `height` attribute is present.
|
|
145
|
+
* 3. Take border and padding into account.
|
|
148
146
|
*/
|
|
149
147
|
canvas,
|
|
150
148
|
img,
|
|
149
|
+
svg,
|
|
151
150
|
video {
|
|
152
151
|
/* 1 */
|
|
153
152
|
max-width: 100%;
|
|
@@ -156,30 +155,16 @@ video {
|
|
|
156
155
|
/* 3 */
|
|
157
156
|
box-sizing: border-box;
|
|
158
157
|
}
|
|
159
|
-
/* 4 */
|
|
160
|
-
@supports (display: block) {
|
|
161
|
-
svg {
|
|
162
|
-
max-width: 100%;
|
|
163
|
-
height: auto;
|
|
164
|
-
box-sizing: border-box;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
/*
|
|
168
|
-
* Hide the overflow in IE.
|
|
169
|
-
*/
|
|
170
|
-
svg:not(:root) {
|
|
171
|
-
overflow: hidden;
|
|
172
|
-
}
|
|
173
158
|
/*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
159
|
+
* Deprecated: only needed for `img` elements with `uk-img`
|
|
160
|
+
* 1. Hide `alt` text for lazy load images.
|
|
161
|
+
* 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
|
|
177
162
|
*/
|
|
178
163
|
img:not([src]) {
|
|
179
164
|
/* 1 */
|
|
180
|
-
min-width: 1px;
|
|
181
|
-
/* 2 */
|
|
182
165
|
visibility: hidden;
|
|
166
|
+
/* 2 */
|
|
167
|
+
min-width: 1px;
|
|
183
168
|
}
|
|
184
169
|
/*
|
|
185
170
|
* Iframe
|
|
@@ -1202,28 +1187,29 @@ button.uk-icon:not(:disabled) {
|
|
|
1202
1187
|
Component: Form Range
|
|
1203
1188
|
========================================================================== */
|
|
1204
1189
|
/*
|
|
1205
|
-
* 1.
|
|
1206
|
-
* 2.
|
|
1207
|
-
* 3.
|
|
1208
|
-
* 4.
|
|
1209
|
-
* 5.
|
|
1210
|
-
* 6.
|
|
1190
|
+
* 1. Remove default style.
|
|
1191
|
+
* 2. Define consistent box sizing.
|
|
1192
|
+
* 3. Remove `margin` in all browsers.
|
|
1193
|
+
* 4. Align to the center of the line box.
|
|
1194
|
+
* 5. Prevent content overflow if a fixed width is used.
|
|
1195
|
+
* 6. Take the full width.
|
|
1196
|
+
* 7. Remove white background in Chrome.
|
|
1211
1197
|
*/
|
|
1212
1198
|
.uk-range {
|
|
1213
1199
|
/* 1 */
|
|
1200
|
+
-webkit-appearance: none;
|
|
1201
|
+
/* 2 */
|
|
1214
1202
|
box-sizing: border-box;
|
|
1203
|
+
/* 3 */
|
|
1215
1204
|
margin: 0;
|
|
1205
|
+
/* 4 */
|
|
1216
1206
|
vertical-align: middle;
|
|
1217
|
-
/*
|
|
1207
|
+
/* 5 */
|
|
1218
1208
|
max-width: 100%;
|
|
1219
|
-
/*
|
|
1209
|
+
/* 6 */
|
|
1220
1210
|
width: 100%;
|
|
1221
|
-
/*
|
|
1222
|
-
-webkit-appearance: none;
|
|
1223
|
-
/* 5 */
|
|
1211
|
+
/* 7 */
|
|
1224
1212
|
background: transparent;
|
|
1225
|
-
/* 6 */
|
|
1226
|
-
padding: 0;
|
|
1227
1213
|
}
|
|
1228
1214
|
/* Focus */
|
|
1229
1215
|
.uk-range:focus {
|
|
@@ -1232,13 +1218,6 @@ button.uk-icon:not(:disabled) {
|
|
|
1232
1218
|
.uk-range::-moz-focus-outer {
|
|
1233
1219
|
border: none;
|
|
1234
1220
|
}
|
|
1235
|
-
/* IE11 Reset */
|
|
1236
|
-
.uk-range::-ms-track {
|
|
1237
|
-
height: 15px;
|
|
1238
|
-
background: transparent;
|
|
1239
|
-
border-color: transparent;
|
|
1240
|
-
color: transparent;
|
|
1241
|
-
}
|
|
1242
1221
|
/*
|
|
1243
1222
|
* Improves consistency of cursor style for clickable elements
|
|
1244
1223
|
*/
|
|
@@ -1248,12 +1227,29 @@ button.uk-icon:not(:disabled) {
|
|
|
1248
1227
|
.uk-range:not(:disabled)::-moz-range-thumb {
|
|
1249
1228
|
cursor: pointer;
|
|
1250
1229
|
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1230
|
+
/*
|
|
1231
|
+
* Track
|
|
1232
|
+
* 1. Safari doesn't have a focus state. Using active instead.
|
|
1233
|
+
*/
|
|
1234
|
+
/* Webkit */
|
|
1235
|
+
.uk-range::-webkit-slider-runnable-track {
|
|
1236
|
+
height: 3px;
|
|
1237
|
+
background: #ebebeb;
|
|
1238
|
+
}
|
|
1239
|
+
.uk-range:focus::-webkit-slider-runnable-track,
|
|
1240
|
+
.uk-range:active::-webkit-slider-runnable-track {
|
|
1241
|
+
background: #dedede;
|
|
1242
|
+
}
|
|
1243
|
+
/* Firefox */
|
|
1244
|
+
.uk-range::-moz-range-track {
|
|
1245
|
+
height: 3px;
|
|
1246
|
+
background: #ebebeb;
|
|
1247
|
+
}
|
|
1248
|
+
.uk-range:focus::-moz-range-track {
|
|
1249
|
+
background: #dedede;
|
|
1253
1250
|
}
|
|
1254
|
-
/* Thumb
|
|
1255
|
-
========================================================================== */
|
|
1256
1251
|
/*
|
|
1252
|
+
* Thumb
|
|
1257
1253
|
* 1. Reset
|
|
1258
1254
|
* 2. Style
|
|
1259
1255
|
*/
|
|
@@ -1275,60 +1271,10 @@ button.uk-icon:not(:disabled) {
|
|
|
1275
1271
|
/* 2 */
|
|
1276
1272
|
height: 15px;
|
|
1277
1273
|
width: 15px;
|
|
1274
|
+
margin-top: -7px;
|
|
1278
1275
|
border-radius: 500px;
|
|
1279
1276
|
background: #666;
|
|
1280
1277
|
}
|
|
1281
|
-
/* Edge */
|
|
1282
|
-
.uk-range::-ms-thumb {
|
|
1283
|
-
/* 1 */
|
|
1284
|
-
margin-top: 0;
|
|
1285
|
-
}
|
|
1286
|
-
/* IE11 */
|
|
1287
|
-
.uk-range::-ms-thumb {
|
|
1288
|
-
/* 1 */
|
|
1289
|
-
border: none;
|
|
1290
|
-
/* 2 */
|
|
1291
|
-
height: 15px;
|
|
1292
|
-
width: 15px;
|
|
1293
|
-
border-radius: 500px;
|
|
1294
|
-
background: #666;
|
|
1295
|
-
}
|
|
1296
|
-
/* Edge + IE11 */
|
|
1297
|
-
.uk-range::-ms-tooltip {
|
|
1298
|
-
display: none;
|
|
1299
|
-
}
|
|
1300
|
-
/* Track
|
|
1301
|
-
========================================================================== */
|
|
1302
|
-
/*
|
|
1303
|
-
* 1. Safari doesn't have a focus state. Using active instead.
|
|
1304
|
-
*/
|
|
1305
|
-
/* Webkit */
|
|
1306
|
-
.uk-range::-webkit-slider-runnable-track {
|
|
1307
|
-
height: 3px;
|
|
1308
|
-
background: #ebebeb;
|
|
1309
|
-
}
|
|
1310
|
-
.uk-range:focus::-webkit-slider-runnable-track,
|
|
1311
|
-
.uk-range:active::-webkit-slider-runnable-track {
|
|
1312
|
-
background: #dedede;
|
|
1313
|
-
}
|
|
1314
|
-
/* Firefox */
|
|
1315
|
-
.uk-range::-moz-range-track {
|
|
1316
|
-
height: 3px;
|
|
1317
|
-
background: #ebebeb;
|
|
1318
|
-
}
|
|
1319
|
-
.uk-range:focus::-moz-range-track {
|
|
1320
|
-
background: #dedede;
|
|
1321
|
-
}
|
|
1322
|
-
/* Edge */
|
|
1323
|
-
.uk-range::-ms-fill-lower,
|
|
1324
|
-
.uk-range::-ms-fill-upper {
|
|
1325
|
-
height: 3px;
|
|
1326
|
-
background: #ebebeb;
|
|
1327
|
-
}
|
|
1328
|
-
.uk-range:focus::-ms-fill-lower,
|
|
1329
|
-
.uk-range:focus::-ms-fill-upper {
|
|
1330
|
-
background: #dedede;
|
|
1331
|
-
}
|
|
1332
1278
|
/* ========================================================================
|
|
1333
1279
|
Component: Form
|
|
1334
1280
|
========================================================================== */
|
|
@@ -1653,7 +1599,6 @@ select.uk-form-width-xsmall {
|
|
|
1653
1599
|
display: none !important;
|
|
1654
1600
|
}
|
|
1655
1601
|
/* Radio and checkbox
|
|
1656
|
-
* Note: Does not work in IE11
|
|
1657
1602
|
========================================================================== */
|
|
1658
1603
|
/*
|
|
1659
1604
|
* 1. Style
|
|
@@ -2112,27 +2057,23 @@ select.uk-form-width-xsmall {
|
|
|
2112
2057
|
Component: Progress
|
|
2113
2058
|
========================================================================== */
|
|
2114
2059
|
/*
|
|
2115
|
-
* 1. Add the correct vertical alignment in
|
|
2116
|
-
* 2.
|
|
2117
|
-
* 3.
|
|
2118
|
-
* 4. Remove
|
|
2119
|
-
* 5.
|
|
2120
|
-
* 6. Style
|
|
2060
|
+
* 1. Add the correct vertical alignment in all browsers.
|
|
2061
|
+
* 2. Behave like a block element.
|
|
2062
|
+
* 3. Remove borders in Firefox.
|
|
2063
|
+
* 4. Remove default style in Chrome, Safari and Edge.
|
|
2064
|
+
* 5. Style
|
|
2121
2065
|
*/
|
|
2122
2066
|
.uk-progress {
|
|
2123
2067
|
/* 1 */
|
|
2124
2068
|
vertical-align: baseline;
|
|
2125
2069
|
/* 2 */
|
|
2126
|
-
-webkit-appearance: none;
|
|
2127
|
-
-moz-appearance: none;
|
|
2128
|
-
/* 3 */
|
|
2129
2070
|
display: block;
|
|
2130
2071
|
width: 100%;
|
|
2131
|
-
/*
|
|
2072
|
+
/* 3 */
|
|
2132
2073
|
border: 0;
|
|
2133
|
-
/*
|
|
2074
|
+
/* 4 */
|
|
2134
2075
|
background-color: #f8f8f8;
|
|
2135
|
-
/*
|
|
2076
|
+
/* 5 */
|
|
2136
2077
|
margin-bottom: 20px;
|
|
2137
2078
|
height: 15px;
|
|
2138
2079
|
}
|
|
@@ -2141,25 +2082,15 @@ select.uk-form-width-xsmall {
|
|
|
2141
2082
|
margin-top: 20px;
|
|
2142
2083
|
}
|
|
2143
2084
|
/*
|
|
2144
|
-
*
|
|
2145
|
-
*/
|
|
2146
|
-
.uk-progress:indeterminate {
|
|
2147
|
-
color: transparent;
|
|
2148
|
-
}
|
|
2149
|
-
/*
|
|
2150
|
-
* Progress container
|
|
2151
|
-
* 2. Remove progress bar for indeterminate state in Firefox
|
|
2085
|
+
* Show background color set on `uk-progress` in Chrome, Safari and Edge.
|
|
2152
2086
|
*/
|
|
2153
2087
|
.uk-progress::-webkit-progress-bar {
|
|
2154
|
-
background-color:
|
|
2155
|
-
}
|
|
2156
|
-
/* 2 */
|
|
2157
|
-
.uk-progress:indeterminate::-moz-progress-bar {
|
|
2158
|
-
width: 0;
|
|
2088
|
+
background-color: transparent;
|
|
2159
2089
|
}
|
|
2160
2090
|
/*
|
|
2161
|
-
* Progress
|
|
2162
|
-
* 1.
|
|
2091
|
+
* Progress Bar
|
|
2092
|
+
* 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet.
|
|
2093
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=662351
|
|
2163
2094
|
*/
|
|
2164
2095
|
.uk-progress::-webkit-progress-value {
|
|
2165
2096
|
background-color: #1e87f0;
|
|
@@ -2167,12 +2098,8 @@ select.uk-form-width-xsmall {
|
|
|
2167
2098
|
}
|
|
2168
2099
|
.uk-progress::-moz-progress-bar {
|
|
2169
2100
|
background-color: #1e87f0;
|
|
2170
|
-
}
|
|
2171
|
-
.uk-progress::-ms-fill {
|
|
2172
|
-
background-color: #1e87f0;
|
|
2173
|
-
transition: width 0.6s ease;
|
|
2174
2101
|
/* 1 */
|
|
2175
|
-
|
|
2102
|
+
transition: width 0.6s ease;
|
|
2176
2103
|
}
|
|
2177
2104
|
/* ========================================================================
|
|
2178
2105
|
Component: Section
|
|
@@ -3499,10 +3426,8 @@ select.uk-form-width-xsmall {
|
|
|
3499
3426
|
/*
|
|
3500
3427
|
* 1. Create position context for spinner and close button
|
|
3501
3428
|
* 2. Dimensions
|
|
3502
|
-
* 3.
|
|
3503
|
-
*
|
|
3504
|
-
* 4. Style
|
|
3505
|
-
* 5. Slide-in transition
|
|
3429
|
+
* 3. Style
|
|
3430
|
+
* 4. Slide-in transition
|
|
3506
3431
|
*/
|
|
3507
3432
|
.uk-modal-dialog {
|
|
3508
3433
|
/* 1 */
|
|
@@ -3512,10 +3437,8 @@ select.uk-form-width-xsmall {
|
|
|
3512
3437
|
margin: 0 auto;
|
|
3513
3438
|
width: 600px;
|
|
3514
3439
|
/* 3 */
|
|
3515
|
-
max-width: calc(100% - 0.01px) !important;
|
|
3516
|
-
/* 4 */
|
|
3517
3440
|
background: #fff;
|
|
3518
|
-
/*
|
|
3441
|
+
/* 4 */
|
|
3519
3442
|
opacity: 0;
|
|
3520
3443
|
transform: translateY(-100px);
|
|
3521
3444
|
transition: 0.3s linear;
|
|
@@ -3669,7 +3592,6 @@ select.uk-form-width-xsmall {
|
|
|
3669
3592
|
* 2. Take the full width
|
|
3670
3593
|
* 3. Clip child elements, e.g. for `uk-cover`
|
|
3671
3594
|
* 4. Optimize animation
|
|
3672
|
-
* 5. Disable horizontal panning gestures in IE11 and Edge
|
|
3673
3595
|
*/
|
|
3674
3596
|
.uk-slideshow-items > * {
|
|
3675
3597
|
/* 1 */
|
|
@@ -3683,8 +3605,6 @@ select.uk-form-width-xsmall {
|
|
|
3683
3605
|
overflow: hidden;
|
|
3684
3606
|
/* 4 */
|
|
3685
3607
|
will-change: transform, opacity;
|
|
3686
|
-
/* 5 */
|
|
3687
|
-
touch-action: pan-y;
|
|
3688
3608
|
}
|
|
3689
3609
|
/*
|
|
3690
3610
|
* Hide not active items
|
|
@@ -3751,7 +3671,6 @@ select.uk-form-width-xsmall {
|
|
|
3751
3671
|
* 1. Let items take content dimensions (0 0 auto)
|
|
3752
3672
|
* `max-width` needed to keep image responsiveness and prevent content overflow
|
|
3753
3673
|
* 3. Create position context
|
|
3754
|
-
* 4. Disable horizontal panning gestures in IE11 and Edge
|
|
3755
3674
|
*/
|
|
3756
3675
|
.uk-slider-items > * {
|
|
3757
3676
|
/* 1 */
|
|
@@ -3759,8 +3678,6 @@ select.uk-form-width-xsmall {
|
|
|
3759
3678
|
max-width: 100%;
|
|
3760
3679
|
/* 3 */
|
|
3761
3680
|
position: relative;
|
|
3762
|
-
/* 4 */
|
|
3763
|
-
touch-action: pan-y;
|
|
3764
3681
|
}
|
|
3765
3682
|
/* ========================================================================
|
|
3766
3683
|
Component: Sticky
|
|
@@ -5810,7 +5727,6 @@ ul.uk-nav-sub {
|
|
|
5810
5727
|
* 4. Optimize animation
|
|
5811
5728
|
* 5. Responsiveness
|
|
5812
5729
|
* Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
|
|
5813
|
-
* Using `vh` and `vw` to make responsive image work in IE11
|
|
5814
5730
|
*/
|
|
5815
5731
|
.uk-lightbox-items > * {
|
|
5816
5732
|
/* 1 */
|
|
@@ -6730,6 +6646,15 @@ ul.uk-nav-sub {
|
|
|
6730
6646
|
.uk-height-viewport {
|
|
6731
6647
|
min-height: 100vh;
|
|
6732
6648
|
}
|
|
6649
|
+
.uk-height-viewport-2 {
|
|
6650
|
+
min-height: 200vh;
|
|
6651
|
+
}
|
|
6652
|
+
.uk-height-viewport-3 {
|
|
6653
|
+
min-height: 300vh;
|
|
6654
|
+
}
|
|
6655
|
+
.uk-height-viewport-4 {
|
|
6656
|
+
min-height: 400vh;
|
|
6657
|
+
}
|
|
6733
6658
|
/*
|
|
6734
6659
|
* Pixel
|
|
6735
6660
|
* Useful for `overflow: auto`
|
|
@@ -6845,24 +6770,20 @@ ul.uk-nav-sub {
|
|
|
6845
6770
|
/* Background modifier
|
|
6846
6771
|
========================================================================== */
|
|
6847
6772
|
/*
|
|
6848
|
-
* 1. The background clips to the foreground text. Works in
|
|
6849
|
-
*
|
|
6850
|
-
*
|
|
6851
|
-
*
|
|
6773
|
+
* 1. The background clips to the foreground text. Works in all browsers.
|
|
6774
|
+
* 2. Default color is set to transparent.
|
|
6775
|
+
* 3. Container fits the text
|
|
6776
|
+
* 4. Style
|
|
6852
6777
|
*/
|
|
6853
6778
|
.uk-text-background {
|
|
6854
6779
|
/* 1 */
|
|
6855
6780
|
-webkit-background-clip: text;
|
|
6856
6781
|
/* 2 */
|
|
6857
|
-
|
|
6782
|
+
color: transparent !important;
|
|
6858
6783
|
/* 3 */
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
.uk-text-background {
|
|
6863
|
-
background-color: #1e87f0;
|
|
6864
|
-
color: transparent !important;
|
|
6865
|
-
}
|
|
6784
|
+
display: inline-block;
|
|
6785
|
+
/* 4 */
|
|
6786
|
+
background-color: #1e87f0;
|
|
6866
6787
|
}
|
|
6867
6788
|
/* Alignment modifiers
|
|
6868
6789
|
========================================================================== */
|
|
@@ -6968,22 +6889,17 @@ td.uk-text-truncate {
|
|
|
6968
6889
|
max-width: 0;
|
|
6969
6890
|
}
|
|
6970
6891
|
/*
|
|
6971
|
-
*
|
|
6972
|
-
*
|
|
6973
|
-
*
|
|
6974
|
-
* Must use `break-all` to support IE11 and Edge
|
|
6975
|
-
* Note: Not using `hyphens: auto;` because it hyphenates text even if not needed
|
|
6892
|
+
* Wrap long words onto the next line and break them if they are too long to fit.
|
|
6893
|
+
* 1. Make it work with table cells in all browsers.
|
|
6894
|
+
* Note: Not using `hyphens: auto` because it hyphenates text even if not needed.
|
|
6976
6895
|
*/
|
|
6977
6896
|
.uk-text-break {
|
|
6978
|
-
/* 1 */
|
|
6979
6897
|
overflow-wrap: break-word;
|
|
6980
|
-
/* 2 */
|
|
6981
|
-
word-wrap: break-word;
|
|
6982
6898
|
}
|
|
6983
|
-
/*
|
|
6899
|
+
/* 1 */
|
|
6984
6900
|
th.uk-text-break,
|
|
6985
6901
|
td.uk-text-break {
|
|
6986
|
-
word-break: break-
|
|
6902
|
+
word-break: break-word;
|
|
6987
6903
|
}
|
|
6988
6904
|
/* ========================================================================
|
|
6989
6905
|
Component: Column
|