uikit 3.11.2-dev.44c622843 → 3.11.2-dev.536e1a374
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 +40 -19
- package/dist/css/uikit-core-rtl.css +97 -190
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +97 -190
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +99 -196
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +99 -196
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +24 -51
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +6 -8
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +30 -69
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +31 -71
- 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 +117 -80
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +117 -80
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +87 -58
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +117 -80
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +43 -29
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +5 -7
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +3 -3
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +2 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +600 -508
- 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 +857 -764
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/component.js +2 -11
- package/src/js/api/hooks.js +3 -3
- package/src/js/api/state.js +173 -140
- package/src/js/components/countdown.js +24 -51
- package/src/js/components/filter.js +2 -3
- package/src/js/components/internal/lightbox-animations.js +4 -3
- package/src/js/components/internal/slider-preload.js +9 -0
- package/src/js/components/internal/slideshow-animations.js +4 -3
- package/src/js/components/lightbox-panel.js +34 -58
- package/src/js/components/lightbox.js +1 -2
- package/src/js/components/slider.js +60 -43
- package/src/js/components/slideshow.js +8 -1
- package/src/js/components/sortable.js +1 -1
- package/src/js/components/upload.js +2 -1
- package/src/js/core/accordion.js +6 -1
- package/src/js/core/alert.js +1 -2
- package/src/js/core/core.js +2 -75
- package/src/js/core/cover.js +5 -1
- package/src/js/core/drop.js +3 -1
- package/src/js/core/form-custom.js +2 -2
- package/src/js/core/height-viewport.js +3 -0
- package/src/js/core/icon.js +13 -6
- package/src/js/core/img.js +131 -122
- package/src/js/core/modal.js +1 -2
- package/src/js/core/navbar.js +3 -3
- package/src/js/core/offcanvas.js +2 -1
- package/src/js/core/sticky.js +51 -57
- package/src/js/core/svg.js +10 -6
- package/src/js/core/switcher.js +11 -3
- package/src/js/core/toggle.js +5 -2
- package/src/js/core/video.js +13 -1
- package/src/js/mixin/internal/animate-slide.js +9 -12
- package/src/js/mixin/lazyload.js +20 -0
- package/src/js/mixin/parallax.js +118 -81
- package/src/js/mixin/slider.js +8 -22
- package/src/js/mixin/slideshow.js +2 -6
- package/src/js/mixin/swipe.js +72 -0
- package/src/js/mixin/togglable.js +2 -3
- package/src/js/util/ajax.js +15 -14
- package/src/js/util/animation.js +7 -12
- package/src/js/util/dimensions.js +4 -4
- package/src/js/util/dom.js +22 -33
- package/src/js/util/filter.js +1 -2
- package/src/js/util/index.js +1 -0
- package/src/js/util/lang.js +7 -6
- package/src/js/util/observer.js +36 -0
- package/src/js/util/options.js +2 -11
- package/src/js/util/player.js +5 -4
- package/src/js/util/selector.js +12 -18
- package/src/js/util/style.js +4 -4
- package/src/less/components/base.less +10 -33
- 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/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 +6 -3
- package/src/scss/components/base.scss +10 -33
- 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/leader.scss +0 -1
- 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/components/utility.scss +6 -3
- 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/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/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 +50 -33
- package/tests/video.html +1 -1
- package/tests/width.html +1 -1
- package/src/js/util/promise.js +0 -0
- package/tests/images/animated.gif +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,26 +4,47 @@
|
|
|
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
|
+
- Slider and Switcher remove native `loading="lazy"` attribute from adjacent slides
|
|
22
|
+
- Accordion, Drop, Switcher and Toggle remove native `loading="lazy"` attribute from their children when entering the viewport
|
|
13
23
|
- Improve sticky behavior if sticky content is larger than the viewport
|
|
14
24
|
- Sticky component's `bottom` option checks for bottom padding if sticky element is within referenced element
|
|
25
|
+
- Height Viewport component sets `uk-height-viewport` class to reduce initial layout shifts
|
|
26
|
+
|
|
27
|
+
### Deprecated
|
|
28
|
+
|
|
29
|
+
- Deprecate `uk-img` for `<img>` element: Use native `loading="lazy"` attribute instead
|
|
15
30
|
|
|
16
31
|
## Removed
|
|
17
32
|
|
|
18
|
-
-
|
|
33
|
+
- Remove IE11 support
|
|
34
|
+
- Removed `data-width` and `data-height` for `<img>` element from Image component. Use native attributes instead.
|
|
19
35
|
|
|
20
36
|
### Fixed
|
|
21
37
|
|
|
22
38
|
- Fix infinite sliding in Slider component with equally sized slides
|
|
23
|
-
- Fix
|
|
39
|
+
- Fix Slider component sets calculation
|
|
24
40
|
- Fix dropdowns not closing in Navbar component when hovering dropbar and navigation with keyboard
|
|
25
41
|
- Fix dropdown no longer closes if pointer is still moving towards it
|
|
26
42
|
- Fix `fadein` not transformed correctly to `fade-in` in scss build
|
|
43
|
+
- Fix Sticky component setting wrong margin for placeholder
|
|
44
|
+
- Fix Sticky placeholder sets height with fraction
|
|
45
|
+
- Fix Sticky component does not animate in if scroll position equals top offset
|
|
46
|
+
- Fix Sticky component prevents transition on `selTarget` if forced to hide for recalculation
|
|
47
|
+
- Fix Parallax component initial jump in background image
|
|
27
48
|
|
|
28
49
|
## 3.11.1 (February 7, 2022)
|
|
29
50
|
|
|
@@ -62,7 +83,7 @@
|
|
|
62
83
|
- Fix usage of `data-` prefix for Cover and Responsive component
|
|
63
84
|
- Fix pointer events for iframes in Cover component
|
|
64
85
|
- Fix Slideshow component no longer throws if items list does not exist
|
|
65
|
-
- Fix space key no longer triggers Toggle on
|
|
86
|
+
- Fix space key no longer triggers Toggle on `<input>` element
|
|
66
87
|
|
|
67
88
|
## 3.10.0 (January 12, 2022)
|
|
68
89
|
|
|
@@ -379,7 +400,7 @@
|
|
|
379
400
|
|
|
380
401
|
- Fix component update handling
|
|
381
402
|
- Fix Tooltip position
|
|
382
|
-
- Fix Tooltip component applied to button
|
|
403
|
+
- Fix Tooltip component applied to `<button>` element in iOS
|
|
383
404
|
- Fix regression in Switcher component
|
|
384
405
|
|
|
385
406
|
## 3.6.8 (January 5, 2021)
|
|
@@ -928,7 +949,7 @@
|
|
|
928
949
|
### Fixed
|
|
929
950
|
|
|
930
951
|
- Fix Slideshow invisible after switching tabs in Switcher
|
|
931
|
-
- Fix lazy loading images in
|
|
952
|
+
- Fix lazy loading images in Image component in UC Browser
|
|
932
953
|
- Fix opening Offcanvas/Modal through buttons
|
|
933
954
|
|
|
934
955
|
## 3.1.8 (August 29, 2019)
|
|
@@ -1098,8 +1119,8 @@
|
|
|
1098
1119
|
### Fixed
|
|
1099
1120
|
|
|
1100
1121
|
- Fix touch event detection
|
|
1101
|
-
- Fix background images are shown too large on retina displays in
|
|
1102
|
-
- Fix correctly calculate offsetLeft in
|
|
1122
|
+
- Fix background images are shown too large on retina displays in Image component
|
|
1123
|
+
- Fix correctly calculate offsetLeft in Image component
|
|
1103
1124
|
- Fix autofocus elements not blurring within Toggable on hide
|
|
1104
1125
|
|
|
1105
1126
|
## 3.0.2 (January 15, 2019)
|
|
@@ -1108,7 +1129,7 @@
|
|
|
1108
1129
|
|
|
1109
1130
|
- Fix offcanvas overlay transition
|
|
1110
1131
|
- Fix active state in Switcher component
|
|
1111
|
-
- Fix background images on displays with higher devicePixelRatio in
|
|
1132
|
+
- Fix background images on displays with higher devicePixelRatio in Image component
|
|
1112
1133
|
|
|
1113
1134
|
## 3.0.1 (January 14, 2019)
|
|
1114
1135
|
|
|
@@ -1141,7 +1162,7 @@
|
|
|
1141
1162
|
### Fixed
|
|
1142
1163
|
|
|
1143
1164
|
- Fix visible toggle and its child elements not being focusable through keyboard navigation
|
|
1144
|
-
- Fix
|
|
1165
|
+
- Fix Image component correctly escapes urls on background images
|
|
1145
1166
|
|
|
1146
1167
|
## 3.0.0 rc 26 (January 3, 2019)
|
|
1147
1168
|
|
|
@@ -1160,8 +1181,8 @@
|
|
|
1160
1181
|
- Fix `flex bug` mixin (IE 11)
|
|
1161
1182
|
- Fix properly resolving css custom properties in scss
|
|
1162
1183
|
- 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
|
|
1184
|
+
- Fix background images are shown too large on retina displays in Image component
|
|
1185
|
+
- Fix lazy loading images in Image component in Safari
|
|
1165
1186
|
- Limit positioned element to container width and margin in Position component
|
|
1166
1187
|
|
|
1167
1188
|
## 3.0.0 rc 25 (November 30, 2018)
|
|
@@ -1249,7 +1270,7 @@
|
|
|
1249
1270
|
|
|
1250
1271
|
### Fixed
|
|
1251
1272
|
|
|
1252
|
-
- Fix preserve color not working if class is set on svg element in Icon component
|
|
1273
|
+
- Fix preserve color not working if class is set on `<svg>` element in Icon component
|
|
1253
1274
|
- Fix inverse hover color for accordion title
|
|
1254
1275
|
- Fix close color being overwritten from toolbar in Lightbox component
|
|
1255
1276
|
- Fix Modal not hiding upon being destroyed
|
|
@@ -1493,7 +1514,7 @@
|
|
|
1493
1514
|
|
|
1494
1515
|
### Added
|
|
1495
1516
|
|
|
1496
|
-
- Add
|
|
1517
|
+
- Add Image component to lazy load images
|
|
1497
1518
|
- Add Filter component to filter and sort any kind of layout
|
|
1498
1519
|
- Add `masonry` option to Grid component
|
|
1499
1520
|
- Add inverse style for form icon
|
|
@@ -1656,7 +1677,7 @@
|
|
|
1656
1677
|
|
|
1657
1678
|
### Changed
|
|
1658
1679
|
|
|
1659
|
-
- IMPORTANT: Use
|
|
1680
|
+
- IMPORTANT: Use `<a>` element instead of headings for the accordion title
|
|
1660
1681
|
- Calling a component constructor with data on an already initialized component will reset the component
|
|
1661
1682
|
- Dropbar no longer repositions Dropdowns in DOM upon opening
|
|
1662
1683
|
|
|
@@ -1757,7 +1778,7 @@
|
|
|
1757
1778
|
- Fix slide animations stacking when tab is not focused in Slideshow component
|
|
1758
1779
|
- Fix overlay not showing in Offcanvas component
|
|
1759
1780
|
- Fix Slideshow Parallax in Slideshow component for IE11
|
|
1760
|
-
- Fix default border-radius for button
|
|
1781
|
+
- Fix default border-radius for `<button>` element in Chrome 62.
|
|
1761
1782
|
|
|
1762
1783
|
## 3.0.0 beta 31 (October 20, 2017)
|
|
1763
1784
|
|
|
@@ -1866,7 +1887,7 @@
|
|
|
1866
1887
|
|
|
1867
1888
|
- Offcanvas will keep scroll position if anchor link was clicked
|
|
1868
1889
|
- Fix margin modifier in Position component for IE11
|
|
1869
|
-
- Fix divider-small text alignment for
|
|
1890
|
+
- Fix divider-small text alignment for `<hr>` element Edge and IE
|
|
1870
1891
|
- Fix setting the ratio of Spinner component
|
|
1871
1892
|
- Fix event handling in Sortable component
|
|
1872
1893
|
- Fix grid calculation (Firefox)
|
|
@@ -1902,7 +1923,7 @@
|
|
|
1902
1923
|
|
|
1903
1924
|
### Changed
|
|
1904
1925
|
|
|
1905
|
-
- Make Icon component work with button
|
|
1926
|
+
- Make Icon component work with `<button>` element
|
|
1906
1927
|
|
|
1907
1928
|
### Fixed
|
|
1908
1929
|
|
|
@@ -2232,7 +2253,7 @@
|
|
|
2232
2253
|
|
|
2233
2254
|
### Changed
|
|
2234
2255
|
|
|
2235
|
-
- UIkit observes
|
|
2256
|
+
- UIkit observes `<body>` element too now
|
|
2236
2257
|
- Performance improvements
|
|
2237
2258
|
|
|
2238
2259
|
### Fixed
|
|
@@ -2278,7 +2299,7 @@
|
|
|
2278
2299
|
|
|
2279
2300
|
### Fixed
|
|
2280
2301
|
|
|
2281
|
-
- Fix Icon component on canvas elements (Safari)
|
|
2302
|
+
- Fix Icon component on `<canvas>` elements (Safari)
|
|
2282
2303
|
|
|
2283
2304
|
## 3.0.0 beta 1 (January 09, 2017)
|
|
2284
2305
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/*! UIkit 3.11.2-dev.
|
|
1
|
+
/*! UIkit 3.11.2-dev.536e1a374 | 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
158
|
/*
|
|
168
|
-
*
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
overflow: hidden;
|
|
172
|
-
}
|
|
173
|
-
/*
|
|
174
|
-
* 1. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
|
|
175
|
-
* 2. Hide `alt` text for lazy loading images.
|
|
176
|
-
* Note: Selector for background while loading img[data-src*='.jpg'][src*='data:image'] { background: grey; }
|
|
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
|
|
@@ -454,18 +439,6 @@ template {
|
|
|
454
439
|
/*
|
|
455
440
|
* Breakpoints
|
|
456
441
|
*/
|
|
457
|
-
.uk-breakpoint-s::before {
|
|
458
|
-
content: '640px';
|
|
459
|
-
}
|
|
460
|
-
.uk-breakpoint-m::before {
|
|
461
|
-
content: '960px';
|
|
462
|
-
}
|
|
463
|
-
.uk-breakpoint-l::before {
|
|
464
|
-
content: '1200px';
|
|
465
|
-
}
|
|
466
|
-
.uk-breakpoint-xl::before {
|
|
467
|
-
content: '1600px';
|
|
468
|
-
}
|
|
469
442
|
:root {
|
|
470
443
|
--uk-breakpoint-s: 640px;
|
|
471
444
|
--uk-breakpoint-m: 960px;
|
|
@@ -1214,28 +1187,29 @@ button.uk-icon:not(:disabled) {
|
|
|
1214
1187
|
Component: Form Range
|
|
1215
1188
|
========================================================================== */
|
|
1216
1189
|
/*
|
|
1217
|
-
* 1.
|
|
1218
|
-
* 2.
|
|
1219
|
-
* 3.
|
|
1220
|
-
* 4.
|
|
1221
|
-
* 5.
|
|
1222
|
-
* 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.
|
|
1223
1197
|
*/
|
|
1224
1198
|
.uk-range {
|
|
1225
1199
|
/* 1 */
|
|
1200
|
+
-webkit-appearance: none;
|
|
1201
|
+
/* 2 */
|
|
1226
1202
|
box-sizing: border-box;
|
|
1203
|
+
/* 3 */
|
|
1227
1204
|
margin: 0;
|
|
1205
|
+
/* 4 */
|
|
1228
1206
|
vertical-align: middle;
|
|
1229
|
-
/*
|
|
1207
|
+
/* 5 */
|
|
1230
1208
|
max-width: 100%;
|
|
1231
|
-
/*
|
|
1209
|
+
/* 6 */
|
|
1232
1210
|
width: 100%;
|
|
1233
|
-
/*
|
|
1234
|
-
-webkit-appearance: none;
|
|
1235
|
-
/* 5 */
|
|
1211
|
+
/* 7 */
|
|
1236
1212
|
background: transparent;
|
|
1237
|
-
/* 6 */
|
|
1238
|
-
padding: 0;
|
|
1239
1213
|
}
|
|
1240
1214
|
/* Focus */
|
|
1241
1215
|
.uk-range:focus {
|
|
@@ -1244,13 +1218,6 @@ button.uk-icon:not(:disabled) {
|
|
|
1244
1218
|
.uk-range::-moz-focus-outer {
|
|
1245
1219
|
border: none;
|
|
1246
1220
|
}
|
|
1247
|
-
/* IE11 Reset */
|
|
1248
|
-
.uk-range::-ms-track {
|
|
1249
|
-
height: 15px;
|
|
1250
|
-
background: transparent;
|
|
1251
|
-
border-color: transparent;
|
|
1252
|
-
color: transparent;
|
|
1253
|
-
}
|
|
1254
1221
|
/*
|
|
1255
1222
|
* Improves consistency of cursor style for clickable elements
|
|
1256
1223
|
*/
|
|
@@ -1260,12 +1227,29 @@ button.uk-icon:not(:disabled) {
|
|
|
1260
1227
|
.uk-range:not(:disabled)::-moz-range-thumb {
|
|
1261
1228
|
cursor: pointer;
|
|
1262
1229
|
}
|
|
1263
|
-
|
|
1264
|
-
|
|
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;
|
|
1265
1250
|
}
|
|
1266
|
-
/* Thumb
|
|
1267
|
-
========================================================================== */
|
|
1268
1251
|
/*
|
|
1252
|
+
* Thumb
|
|
1269
1253
|
* 1. Reset
|
|
1270
1254
|
* 2. Style
|
|
1271
1255
|
*/
|
|
@@ -1287,60 +1271,10 @@ button.uk-icon:not(:disabled) {
|
|
|
1287
1271
|
/* 2 */
|
|
1288
1272
|
height: 15px;
|
|
1289
1273
|
width: 15px;
|
|
1274
|
+
margin-top: -7px;
|
|
1290
1275
|
border-radius: 500px;
|
|
1291
1276
|
background: #666;
|
|
1292
1277
|
}
|
|
1293
|
-
/* Edge */
|
|
1294
|
-
.uk-range::-ms-thumb {
|
|
1295
|
-
/* 1 */
|
|
1296
|
-
margin-top: 0;
|
|
1297
|
-
}
|
|
1298
|
-
/* IE11 */
|
|
1299
|
-
.uk-range::-ms-thumb {
|
|
1300
|
-
/* 1 */
|
|
1301
|
-
border: none;
|
|
1302
|
-
/* 2 */
|
|
1303
|
-
height: 15px;
|
|
1304
|
-
width: 15px;
|
|
1305
|
-
border-radius: 500px;
|
|
1306
|
-
background: #666;
|
|
1307
|
-
}
|
|
1308
|
-
/* Edge + IE11 */
|
|
1309
|
-
.uk-range::-ms-tooltip {
|
|
1310
|
-
display: none;
|
|
1311
|
-
}
|
|
1312
|
-
/* Track
|
|
1313
|
-
========================================================================== */
|
|
1314
|
-
/*
|
|
1315
|
-
* 1. Safari doesn't have a focus state. Using active instead.
|
|
1316
|
-
*/
|
|
1317
|
-
/* Webkit */
|
|
1318
|
-
.uk-range::-webkit-slider-runnable-track {
|
|
1319
|
-
height: 3px;
|
|
1320
|
-
background: #ebebeb;
|
|
1321
|
-
}
|
|
1322
|
-
.uk-range:focus::-webkit-slider-runnable-track,
|
|
1323
|
-
.uk-range:active::-webkit-slider-runnable-track {
|
|
1324
|
-
background: #dedede;
|
|
1325
|
-
}
|
|
1326
|
-
/* Firefox */
|
|
1327
|
-
.uk-range::-moz-range-track {
|
|
1328
|
-
height: 3px;
|
|
1329
|
-
background: #ebebeb;
|
|
1330
|
-
}
|
|
1331
|
-
.uk-range:focus::-moz-range-track {
|
|
1332
|
-
background: #dedede;
|
|
1333
|
-
}
|
|
1334
|
-
/* Edge */
|
|
1335
|
-
.uk-range::-ms-fill-lower,
|
|
1336
|
-
.uk-range::-ms-fill-upper {
|
|
1337
|
-
height: 3px;
|
|
1338
|
-
background: #ebebeb;
|
|
1339
|
-
}
|
|
1340
|
-
.uk-range:focus::-ms-fill-lower,
|
|
1341
|
-
.uk-range:focus::-ms-fill-upper {
|
|
1342
|
-
background: #dedede;
|
|
1343
|
-
}
|
|
1344
1278
|
/* ========================================================================
|
|
1345
1279
|
Component: Form
|
|
1346
1280
|
========================================================================== */
|
|
@@ -1665,7 +1599,6 @@ select.uk-form-width-xsmall {
|
|
|
1665
1599
|
display: none !important;
|
|
1666
1600
|
}
|
|
1667
1601
|
/* Radio and checkbox
|
|
1668
|
-
* Note: Does not work in IE11
|
|
1669
1602
|
========================================================================== */
|
|
1670
1603
|
/*
|
|
1671
1604
|
* 1. Style
|
|
@@ -2124,27 +2057,23 @@ select.uk-form-width-xsmall {
|
|
|
2124
2057
|
Component: Progress
|
|
2125
2058
|
========================================================================== */
|
|
2126
2059
|
/*
|
|
2127
|
-
* 1. Add the correct vertical alignment in
|
|
2128
|
-
* 2.
|
|
2129
|
-
* 3.
|
|
2130
|
-
* 4. Remove
|
|
2131
|
-
* 5.
|
|
2132
|
-
* 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
|
|
2133
2065
|
*/
|
|
2134
2066
|
.uk-progress {
|
|
2135
2067
|
/* 1 */
|
|
2136
2068
|
vertical-align: baseline;
|
|
2137
2069
|
/* 2 */
|
|
2138
|
-
-webkit-appearance: none;
|
|
2139
|
-
-moz-appearance: none;
|
|
2140
|
-
/* 3 */
|
|
2141
2070
|
display: block;
|
|
2142
2071
|
width: 100%;
|
|
2143
|
-
/*
|
|
2072
|
+
/* 3 */
|
|
2144
2073
|
border: 0;
|
|
2145
|
-
/*
|
|
2074
|
+
/* 4 */
|
|
2146
2075
|
background-color: #f8f8f8;
|
|
2147
|
-
/*
|
|
2076
|
+
/* 5 */
|
|
2148
2077
|
margin-bottom: 20px;
|
|
2149
2078
|
height: 15px;
|
|
2150
2079
|
}
|
|
@@ -2153,25 +2082,15 @@ select.uk-form-width-xsmall {
|
|
|
2153
2082
|
margin-top: 20px;
|
|
2154
2083
|
}
|
|
2155
2084
|
/*
|
|
2156
|
-
*
|
|
2157
|
-
*/
|
|
2158
|
-
.uk-progress:indeterminate {
|
|
2159
|
-
color: transparent;
|
|
2160
|
-
}
|
|
2161
|
-
/*
|
|
2162
|
-
* Progress container
|
|
2163
|
-
* 2. Remove progress bar for indeterminate state in Firefox
|
|
2085
|
+
* Show background color set on `uk-progress` in Chrome, Safari and Edge.
|
|
2164
2086
|
*/
|
|
2165
2087
|
.uk-progress::-webkit-progress-bar {
|
|
2166
|
-
background-color:
|
|
2167
|
-
}
|
|
2168
|
-
/* 2 */
|
|
2169
|
-
.uk-progress:indeterminate::-moz-progress-bar {
|
|
2170
|
-
width: 0;
|
|
2088
|
+
background-color: transparent;
|
|
2171
2089
|
}
|
|
2172
2090
|
/*
|
|
2173
|
-
* Progress
|
|
2174
|
-
* 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
|
|
2175
2094
|
*/
|
|
2176
2095
|
.uk-progress::-webkit-progress-value {
|
|
2177
2096
|
background-color: #1e87f0;
|
|
@@ -2179,12 +2098,8 @@ select.uk-form-width-xsmall {
|
|
|
2179
2098
|
}
|
|
2180
2099
|
.uk-progress::-moz-progress-bar {
|
|
2181
2100
|
background-color: #1e87f0;
|
|
2182
|
-
}
|
|
2183
|
-
.uk-progress::-ms-fill {
|
|
2184
|
-
background-color: #1e87f0;
|
|
2185
|
-
transition: width 0.6s ease;
|
|
2186
2101
|
/* 1 */
|
|
2187
|
-
|
|
2102
|
+
transition: width 0.6s ease;
|
|
2188
2103
|
}
|
|
2189
2104
|
/* ========================================================================
|
|
2190
2105
|
Component: Section
|
|
@@ -3511,10 +3426,8 @@ select.uk-form-width-xsmall {
|
|
|
3511
3426
|
/*
|
|
3512
3427
|
* 1. Create position context for spinner and close button
|
|
3513
3428
|
* 2. Dimensions
|
|
3514
|
-
* 3.
|
|
3515
|
-
*
|
|
3516
|
-
* 4. Style
|
|
3517
|
-
* 5. Slide-in transition
|
|
3429
|
+
* 3. Style
|
|
3430
|
+
* 4. Slide-in transition
|
|
3518
3431
|
*/
|
|
3519
3432
|
.uk-modal-dialog {
|
|
3520
3433
|
/* 1 */
|
|
@@ -3524,10 +3437,8 @@ select.uk-form-width-xsmall {
|
|
|
3524
3437
|
margin: 0 auto;
|
|
3525
3438
|
width: 600px;
|
|
3526
3439
|
/* 3 */
|
|
3527
|
-
max-width: calc(100% - 0.01px) !important;
|
|
3528
|
-
/* 4 */
|
|
3529
3440
|
background: #fff;
|
|
3530
|
-
/*
|
|
3441
|
+
/* 4 */
|
|
3531
3442
|
opacity: 0;
|
|
3532
3443
|
transform: translateY(-100px);
|
|
3533
3444
|
transition: 0.3s linear;
|
|
@@ -3681,7 +3592,6 @@ select.uk-form-width-xsmall {
|
|
|
3681
3592
|
* 2. Take the full width
|
|
3682
3593
|
* 3. Clip child elements, e.g. for `uk-cover`
|
|
3683
3594
|
* 4. Optimize animation
|
|
3684
|
-
* 5. Disable horizontal panning gestures in IE11 and Edge
|
|
3685
3595
|
*/
|
|
3686
3596
|
.uk-slideshow-items > * {
|
|
3687
3597
|
/* 1 */
|
|
@@ -3695,8 +3605,6 @@ select.uk-form-width-xsmall {
|
|
|
3695
3605
|
overflow: hidden;
|
|
3696
3606
|
/* 4 */
|
|
3697
3607
|
will-change: transform, opacity;
|
|
3698
|
-
/* 5 */
|
|
3699
|
-
touch-action: pan-y;
|
|
3700
3608
|
}
|
|
3701
3609
|
/*
|
|
3702
3610
|
* Hide not active items
|
|
@@ -3763,7 +3671,6 @@ select.uk-form-width-xsmall {
|
|
|
3763
3671
|
* 1. Let items take content dimensions (0 0 auto)
|
|
3764
3672
|
* `max-width` needed to keep image responsiveness and prevent content overflow
|
|
3765
3673
|
* 3. Create position context
|
|
3766
|
-
* 4. Disable horizontal panning gestures in IE11 and Edge
|
|
3767
3674
|
*/
|
|
3768
3675
|
.uk-slider-items > * {
|
|
3769
3676
|
/* 1 */
|
|
@@ -3771,8 +3678,6 @@ select.uk-form-width-xsmall {
|
|
|
3771
3678
|
max-width: 100%;
|
|
3772
3679
|
/* 3 */
|
|
3773
3680
|
position: relative;
|
|
3774
|
-
/* 4 */
|
|
3775
|
-
touch-action: pan-y;
|
|
3776
3681
|
}
|
|
3777
3682
|
/* ========================================================================
|
|
3778
3683
|
Component: Sticky
|
|
@@ -4075,9 +3980,6 @@ select.uk-form-width-xsmall {
|
|
|
4075
3980
|
/*
|
|
4076
3981
|
* Pass fill character to JS
|
|
4077
3982
|
*/
|
|
4078
|
-
.uk-leader-fill-content::before {
|
|
4079
|
-
content: '.';
|
|
4080
|
-
}
|
|
4081
3983
|
:root {
|
|
4082
3984
|
--uk-leader-fill-content: '.';
|
|
4083
3985
|
}
|
|
@@ -5825,7 +5727,6 @@ ul.uk-nav-sub {
|
|
|
5825
5727
|
* 4. Optimize animation
|
|
5826
5728
|
* 5. Responsiveness
|
|
5827
5729
|
* Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
|
|
5828
|
-
* Using `vh` and `vw` to make responsive image work in IE11
|
|
5829
5730
|
*/
|
|
5830
5731
|
.uk-lightbox-items > * {
|
|
5831
5732
|
/* 1 */
|
|
@@ -6745,6 +6646,15 @@ ul.uk-nav-sub {
|
|
|
6745
6646
|
.uk-height-viewport {
|
|
6746
6647
|
min-height: 100vh;
|
|
6747
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
|
+
}
|
|
6748
6658
|
/*
|
|
6749
6659
|
* Pixel
|
|
6750
6660
|
* Useful for `overflow: auto`
|
|
@@ -6860,24 +6770,20 @@ ul.uk-nav-sub {
|
|
|
6860
6770
|
/* Background modifier
|
|
6861
6771
|
========================================================================== */
|
|
6862
6772
|
/*
|
|
6863
|
-
* 1. The background clips to the foreground text. Works in
|
|
6864
|
-
*
|
|
6865
|
-
*
|
|
6866
|
-
*
|
|
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
|
|
6867
6777
|
*/
|
|
6868
6778
|
.uk-text-background {
|
|
6869
6779
|
/* 1 */
|
|
6870
6780
|
-webkit-background-clip: text;
|
|
6871
6781
|
/* 2 */
|
|
6872
|
-
|
|
6782
|
+
color: transparent !important;
|
|
6873
6783
|
/* 3 */
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
.uk-text-background {
|
|
6878
|
-
background-color: #1e87f0;
|
|
6879
|
-
color: transparent !important;
|
|
6880
|
-
}
|
|
6784
|
+
display: inline-block;
|
|
6785
|
+
/* 4 */
|
|
6786
|
+
background-color: #1e87f0;
|
|
6881
6787
|
}
|
|
6882
6788
|
/* Alignment modifiers
|
|
6883
6789
|
========================================================================== */
|
|
@@ -6983,22 +6889,17 @@ td.uk-text-truncate {
|
|
|
6983
6889
|
max-width: 0;
|
|
6984
6890
|
}
|
|
6985
6891
|
/*
|
|
6986
|
-
*
|
|
6987
|
-
*
|
|
6988
|
-
*
|
|
6989
|
-
* Must use `break-all` to support IE11 and Edge
|
|
6990
|
-
* 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.
|
|
6991
6895
|
*/
|
|
6992
6896
|
.uk-text-break {
|
|
6993
|
-
/* 1 */
|
|
6994
6897
|
overflow-wrap: break-word;
|
|
6995
|
-
/* 2 */
|
|
6996
|
-
word-wrap: break-word;
|
|
6997
6898
|
}
|
|
6998
|
-
/*
|
|
6899
|
+
/* 1 */
|
|
6999
6900
|
th.uk-text-break,
|
|
7000
6901
|
td.uk-text-break {
|
|
7001
|
-
word-break: break-
|
|
6902
|
+
word-break: break-word;
|
|
7002
6903
|
}
|
|
7003
6904
|
/* ========================================================================
|
|
7004
6905
|
Component: Column
|
|
@@ -7623,15 +7524,21 @@ iframe[data-uk-cover] {
|
|
|
7623
7524
|
}
|
|
7624
7525
|
/* Object
|
|
7625
7526
|
========================================================================== */
|
|
7626
|
-
.uk-object-
|
|
7627
|
-
object-fit: none;
|
|
7628
|
-
}
|
|
7629
|
-
.uk-object-fit-cover {
|
|
7527
|
+
.uk-object-cover {
|
|
7630
7528
|
object-fit: cover;
|
|
7631
7529
|
}
|
|
7632
|
-
.uk-object-
|
|
7530
|
+
.uk-object-contain {
|
|
7633
7531
|
object-fit: contain;
|
|
7634
7532
|
}
|
|
7533
|
+
.uk-object-fill {
|
|
7534
|
+
object-fit: fill;
|
|
7535
|
+
}
|
|
7536
|
+
.uk-object-none {
|
|
7537
|
+
object-fit: none;
|
|
7538
|
+
}
|
|
7539
|
+
.uk-object-scale-down {
|
|
7540
|
+
object-fit: scale-down;
|
|
7541
|
+
}
|
|
7635
7542
|
/*
|
|
7636
7543
|
* Position
|
|
7637
7544
|
*/
|