uikit 3.9.5-dev.e48c5e252 → 3.10.1-dev.6b26facf9
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 +24 -8
- package/CONTRIBUTING.md +1 -1
- package/README.md +4 -2
- package/build/.eslintrc.json +10 -1
- package/build/build.js +5 -5
- package/build/less.js +29 -11
- package/build/publishDev.js +2 -1
- package/build/scss.js +1 -1
- package/build/util.js +1 -20
- package/dist/css/uikit-core-rtl.css +24 -13
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +21 -10
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +24 -13
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +21 -10
- 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 +5 -5
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +2 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +2 -2
- 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 +2 -2
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +2 -2
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +2 -2
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +2 -2
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +6 -2
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +6 -6
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +3 -2
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +72 -80
- 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 +85 -88
- package/dist/js/uikit.min.js +1 -1
- package/package.json +9 -11
- package/src/js/api/component.js +3 -3
- package/src/js/api/state.js +3 -3
- package/src/js/components/slideshow.js +4 -0
- package/src/js/components/sortable.js +1 -1
- package/src/js/components/tooltip.js +2 -1
- package/src/js/core/cover.js +1 -2
- package/src/js/core/img.js +40 -57
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/toggle.js +4 -3
- package/src/js/mixin/animate.js +4 -4
- package/src/js/mixin/internal/slideshow-animations.js +1 -1
- package/src/js/mixin/parallax.js +1 -1
- package/src/js/util/dom.js +5 -8
- package/src/js/util/selector.js +4 -2
- package/src/js/util/viewport.js +3 -3
- package/src/less/components/cover.less +5 -4
- package/src/less/components/divider.less +1 -1
- package/src/less/components/list.less +1 -1
- package/src/less/components/search.less +9 -6
- package/src/less/components/utility.less +5 -3
- package/src/less/components/width.less +7 -0
- package/src/scss/components/cover.scss +5 -4
- package/src/scss/components/divider.scss +1 -1
- package/src/scss/components/list.scss +1 -1
- package/src/scss/components/search.scss +9 -6
- package/src/scss/components/utility.scss +5 -3
- package/src/scss/components/width.scss +7 -0
- package/src/scss/variables-theme.scss +4 -0
- package/src/scss/variables.scss +4 -0
- package/tests/base.html +12 -12
- package/tests/button.html +1 -1
- package/tests/cover.html +5 -5
- package/tests/drop.html +2 -2
- package/tests/dropdown.html +1 -1
- package/tests/flex.html +1 -1
- package/tests/grid-masonry.html +1 -1
- package/tests/grid-parallax.html +1 -1
- package/tests/grid.html +1 -1
- package/tests/height.html +2 -2
- package/tests/margin.html +1 -1
- package/tests/modal.html +2 -2
- package/tests/navbar.html +2 -2
- package/tests/padding.html +1 -1
- package/tests/parallax.html +1 -1
- package/tests/search.html +1 -1
- package/tests/slider.html +1 -1
- package/tests/slideshow.html +2 -2
- package/tests/sticky.html +2 -2
- package/tests/switcher.html +1 -1
- package/tests/tab.html +1 -1
- package/tests/utility.html +1 -1
- package/tests/video.html +3 -3
- package/tests/width.html +1 -1
|
@@ -30,6 +30,7 @@ $search-default-background: $global-muted-background !d
|
|
|
30
30
|
$search-default-focus-background: darken($search-default-background, 5%) !default;
|
|
31
31
|
|
|
32
32
|
$search-default-icon-width: $global-control-height !default;
|
|
33
|
+
$search-default-icon-padding: 0 !default;
|
|
33
34
|
|
|
34
35
|
$search-navbar-width: 400px !default;
|
|
35
36
|
$search-navbar-height: 40px !default;
|
|
@@ -37,6 +38,7 @@ $search-navbar-background: transparent !default;
|
|
|
37
38
|
$search-navbar-font-size: $global-large-font-size !default;
|
|
38
39
|
|
|
39
40
|
$search-navbar-icon-width: 40px !default;
|
|
41
|
+
$search-navbar-icon-padding: 0 !default;
|
|
40
42
|
|
|
41
43
|
$search-large-width: 500px !default;
|
|
42
44
|
$search-large-height: 80px !default;
|
|
@@ -44,6 +46,7 @@ $search-large-background: transparent !default;
|
|
|
44
46
|
$search-large-font-size: $global-2xlarge-font-size !default;
|
|
45
47
|
|
|
46
48
|
$search-large-icon-width: 80px !default;
|
|
49
|
+
$search-large-icon-padding: 0 !default;
|
|
47
50
|
|
|
48
51
|
$search-toggle-color: $global-muted-color !default;
|
|
49
52
|
$search-toggle-hover-color: $global-color !default;
|
|
@@ -205,8 +208,8 @@ $search-toggle-hover-color: $global-color !default;
|
|
|
205
208
|
|
|
206
209
|
.uk-search-default .uk-search-icon { width: $search-default-icon-width; }
|
|
207
210
|
|
|
208
|
-
.uk-search-default .uk-search-icon:not(.uk-search-icon-flip) ~ .uk-search-input { padding-left: ($search-default-icon-width); }
|
|
209
|
-
.uk-search-default .uk-search-icon-flip ~ .uk-search-input { padding-right: ($search-default-icon-width); }
|
|
211
|
+
.uk-search-default .uk-search-icon:not(.uk-search-icon-flip) ~ .uk-search-input { padding-left: ($search-default-icon-width + $search-default-icon-padding); }
|
|
212
|
+
.uk-search-default .uk-search-icon-flip ~ .uk-search-input { padding-right: ($search-default-icon-width + $search-default-icon-padding); }
|
|
210
213
|
|
|
211
214
|
|
|
212
215
|
/* Navbar modifier
|
|
@@ -236,8 +239,8 @@ $search-toggle-hover-color: $global-color !default;
|
|
|
236
239
|
|
|
237
240
|
.uk-search-navbar .uk-search-icon { width: $search-navbar-icon-width; }
|
|
238
241
|
|
|
239
|
-
.uk-search-navbar .uk-search-icon:not(.uk-search-icon-flip) ~ .uk-search-input { padding-left: ($search-navbar-icon-width); }
|
|
240
|
-
.uk-search-navbar .uk-search-icon-flip ~ .uk-search-input { padding-right: ($search-navbar-icon-width); }
|
|
242
|
+
.uk-search-navbar .uk-search-icon:not(.uk-search-icon-flip) ~ .uk-search-input { padding-left: ($search-navbar-icon-width + $search-navbar-icon-padding); }
|
|
243
|
+
.uk-search-navbar .uk-search-icon-flip ~ .uk-search-input { padding-right: ($search-navbar-icon-width + $search-navbar-icon-padding); }
|
|
241
244
|
|
|
242
245
|
|
|
243
246
|
/* Large modifier
|
|
@@ -267,8 +270,8 @@ $search-toggle-hover-color: $global-color !default;
|
|
|
267
270
|
|
|
268
271
|
.uk-search-large .uk-search-icon { width: $search-large-icon-width; }
|
|
269
272
|
|
|
270
|
-
.uk-search-large .uk-search-icon:not(.uk-search-icon-flip) ~ .uk-search-input { padding-left: ($search-large-icon-width); }
|
|
271
|
-
.uk-search-large .uk-search-icon-flip ~ .uk-search-input { padding-right: ($search-large-icon-width); }
|
|
273
|
+
.uk-search-large .uk-search-icon:not(.uk-search-icon-flip) ~ .uk-search-input { padding-left: ($search-large-icon-width + $search-large-icon-padding); }
|
|
274
|
+
.uk-search-large .uk-search-icon-flip ~ .uk-search-input { padding-right: ($search-large-icon-width + $search-large-icon-padding); }
|
|
272
275
|
|
|
273
276
|
|
|
274
277
|
/* Toggle
|
|
@@ -40,6 +40,7 @@ $border-rounded-border-radius: 5px !default;
|
|
|
40
40
|
$box-shadow-duration: 0.1s !default;
|
|
41
41
|
|
|
42
42
|
$box-shadow-bottom-height: 30px !default;
|
|
43
|
+
$box-shadow-bottom-bottom: (-$box-shadow-bottom-height) !default;
|
|
43
44
|
$box-shadow-bottom-border-radius: 100% !default;
|
|
44
45
|
$box-shadow-bottom-background: #444 !default;
|
|
45
46
|
$box-shadow-bottom-blur: 20px !default;
|
|
@@ -246,7 +247,8 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
246
247
|
* Fix initial iframe width. Without the viewport is expanded on iOS devices
|
|
247
248
|
*/
|
|
248
249
|
|
|
249
|
-
[uk-responsive]
|
|
250
|
+
[uk-responsive],
|
|
251
|
+
[data-uk-responsive] { max-width: 100%; }
|
|
250
252
|
|
|
251
253
|
|
|
252
254
|
/* Border
|
|
@@ -303,10 +305,10 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
303
305
|
}
|
|
304
306
|
|
|
305
307
|
.uk-box-shadow-bottom::after {
|
|
306
|
-
content:
|
|
308
|
+
content: "";
|
|
307
309
|
/* 1 */
|
|
308
310
|
position: absolute;
|
|
309
|
-
bottom:
|
|
311
|
+
bottom: $box-shadow-bottom-bottom;
|
|
310
312
|
left: 0;
|
|
311
313
|
right: 0;
|
|
312
314
|
z-index: -1;
|
|
@@ -370,6 +370,13 @@ $width-2xlarge-width: 750px !default;
|
|
|
370
370
|
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
+
/* Intrinsic Widths
|
|
374
|
+
========================================================================== */
|
|
375
|
+
|
|
376
|
+
.uk-width-max-content { width: max-content; }
|
|
377
|
+
|
|
378
|
+
.uk-width-min-content { width: min-content; }
|
|
379
|
+
|
|
373
380
|
|
|
374
381
|
// Hooks
|
|
375
382
|
// ========================================================================
|
|
@@ -836,16 +836,19 @@ $search-default-padding-horizontal: 10px !default;
|
|
|
836
836
|
$search-default-background: transparent !default;
|
|
837
837
|
$search-default-focus-background: darken($search-default-background, 5%) !default;
|
|
838
838
|
$search-default-icon-width: $global-control-height !default;
|
|
839
|
+
$search-default-icon-padding: 0 !default;
|
|
839
840
|
$search-navbar-width: 400px !default;
|
|
840
841
|
$search-navbar-height: 40px !default;
|
|
841
842
|
$search-navbar-background: transparent !default;
|
|
842
843
|
$search-navbar-font-size: $global-large-font-size !default;
|
|
843
844
|
$search-navbar-icon-width: 40px !default;
|
|
845
|
+
$search-navbar-icon-padding: 0 !default;
|
|
844
846
|
$search-large-width: 500px !default;
|
|
845
847
|
$search-large-height: 80px !default;
|
|
846
848
|
$search-large-background: transparent !default;
|
|
847
849
|
$search-large-font-size: $global-2xlarge-font-size !default;
|
|
848
850
|
$search-large-icon-width: 80px !default;
|
|
851
|
+
$search-large-icon-padding: 0 !default;
|
|
849
852
|
$search-toggle-color: $global-muted-color !default;
|
|
850
853
|
$search-toggle-hover-color: $global-color !default;
|
|
851
854
|
$inverse-search-color: $inverse-global-color !default;
|
|
@@ -1037,6 +1040,7 @@ $panel-scrollable-border: $global-border !default;
|
|
|
1037
1040
|
$border-rounded-border-radius: 5px !default;
|
|
1038
1041
|
$box-shadow-duration: 0.1s !default;
|
|
1039
1042
|
$box-shadow-bottom-height: 30px !default;
|
|
1043
|
+
$box-shadow-bottom-bottom: (-$box-shadow-bottom-height) !default;
|
|
1040
1044
|
$box-shadow-bottom-border-radius: 100% !default;
|
|
1041
1045
|
$box-shadow-bottom-background: #444 !default;
|
|
1042
1046
|
$box-shadow-bottom-blur: 20px !default;
|
package/src/scss/variables.scss
CHANGED
|
@@ -834,16 +834,19 @@ $search-default-padding-horizontal: 10px !default;
|
|
|
834
834
|
$search-default-background: $global-muted-background !default;
|
|
835
835
|
$search-default-focus-background: darken($search-default-background, 5%) !default;
|
|
836
836
|
$search-default-icon-width: $global-control-height !default;
|
|
837
|
+
$search-default-icon-padding: 0 !default;
|
|
837
838
|
$search-navbar-width: 400px !default;
|
|
838
839
|
$search-navbar-height: 40px !default;
|
|
839
840
|
$search-navbar-background: transparent !default;
|
|
840
841
|
$search-navbar-font-size: $global-large-font-size !default;
|
|
841
842
|
$search-navbar-icon-width: 40px !default;
|
|
843
|
+
$search-navbar-icon-padding: 0 !default;
|
|
842
844
|
$search-large-width: 500px !default;
|
|
843
845
|
$search-large-height: 80px !default;
|
|
844
846
|
$search-large-background: transparent !default;
|
|
845
847
|
$search-large-font-size: $global-2xlarge-font-size !default;
|
|
846
848
|
$search-large-icon-width: 80px !default;
|
|
849
|
+
$search-large-icon-padding: 0 !default;
|
|
847
850
|
$search-toggle-color: $global-muted-color !default;
|
|
848
851
|
$search-toggle-hover-color: $global-color !default;
|
|
849
852
|
$inverse-search-color: $inverse-global-color !default;
|
|
@@ -1035,6 +1038,7 @@ $panel-scrollable-border: $global-border !default;
|
|
|
1035
1038
|
$border-rounded-border-radius: 5px !default;
|
|
1036
1039
|
$box-shadow-duration: 0.1s !default;
|
|
1037
1040
|
$box-shadow-bottom-height: 30px !default;
|
|
1041
|
+
$box-shadow-bottom-bottom: (-$box-shadow-bottom-height) !default;
|
|
1038
1042
|
$box-shadow-bottom-border-radius: 100% !default;
|
|
1039
1043
|
$box-shadow-bottom-background: #444 !default;
|
|
1040
1044
|
$box-shadow-bottom-blur: 20px !default;
|
package/tests/base.html
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
<div uk-grid>
|
|
16
16
|
<div class="uk-width-2-3@m">
|
|
17
17
|
|
|
18
|
-
<h1>
|
|
18
|
+
<h1>this is an H1 heading</h1>
|
|
19
19
|
|
|
20
20
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
21
21
|
|
|
22
22
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
23
23
|
|
|
24
|
-
<h2>
|
|
24
|
+
<h2>this is an H2 heading</h2>
|
|
25
25
|
|
|
26
26
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
38
38
|
|
|
39
|
-
<h3>
|
|
39
|
+
<h3>this is an H3 heading</h3>
|
|
40
40
|
|
|
41
41
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
46
46
|
|
|
47
|
-
<h4>
|
|
47
|
+
<h4>this is an H4 heading</h4>
|
|
48
48
|
|
|
49
49
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
57
57
|
|
|
58
|
-
<h5>
|
|
58
|
+
<h5>this is an H5 heading</h5>
|
|
59
59
|
|
|
60
60
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
61
61
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.</p>
|
|
65
65
|
|
|
66
|
-
<h6>
|
|
66
|
+
<h6>this is an H6 heading</h6>
|
|
67
67
|
|
|
68
68
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.</p>
|
|
69
69
|
|
|
@@ -71,27 +71,27 @@
|
|
|
71
71
|
|
|
72
72
|
<hr>
|
|
73
73
|
|
|
74
|
-
<h1>
|
|
74
|
+
<h1>this is an H1 heading<br>with some more text</h1>
|
|
75
75
|
|
|
76
76
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
77
77
|
|
|
78
|
-
<h2>
|
|
78
|
+
<h2>this is an H2 heading<br>with some more text</h2>
|
|
79
79
|
|
|
80
80
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
81
81
|
|
|
82
|
-
<h3>
|
|
82
|
+
<h3>this is an H3 heading<br>with some more text</h3>
|
|
83
83
|
|
|
84
84
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
85
85
|
|
|
86
|
-
<h4>
|
|
86
|
+
<h4>this is an H4 heading<br>with some more text</h4>
|
|
87
87
|
|
|
88
88
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
89
89
|
|
|
90
|
-
<h5>
|
|
90
|
+
<h5>this is an H5 heading<br>with some more text</h5>
|
|
91
91
|
|
|
92
92
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
93
93
|
|
|
94
|
-
<h6>
|
|
94
|
+
<h6>this is an H6 heading<br>with some more text</h6>
|
|
95
95
|
|
|
96
96
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
97
97
|
|
package/tests/button.html
CHANGED
package/tests/cover.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Cover - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.test-height { height: 300px; }
|
|
12
12
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<h3>Iframe (YouTube)</h3>
|
|
52
52
|
|
|
53
53
|
<div class="test-height uk-cover-container uk-light">
|
|
54
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
54
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
55
55
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
56
56
|
<h1>Heading</h1>
|
|
57
57
|
</div>
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
<h3>Iframe (Vimeo)</h3>
|
|
64
64
|
|
|
65
65
|
<div class="test-height uk-cover-container uk-light">
|
|
66
|
-
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281"
|
|
66
|
+
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281" allowfullscreen uk-cover></iframe>
|
|
67
67
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
68
68
|
<h1>Heading</h1>
|
|
69
69
|
</div>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
<div class="uk-cover-container uk-light">
|
|
96
96
|
<canvas width="600" height="400"></canvas>
|
|
97
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
97
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
98
98
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
99
99
|
<h1>Heading</h1>
|
|
100
100
|
</div>
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
<h3>Iframe (YouTube)</h3>
|
|
124
124
|
|
|
125
125
|
<div class="uk-cover-container uk-light" uk-height-viewport>
|
|
126
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
126
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
127
127
|
<div class="uk-position-cover uk-flex uk-flex-center uk-flex-middle">
|
|
128
128
|
<h1>Heading</h1>
|
|
129
129
|
</div>
|
package/tests/drop.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Drop - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.boundary { border: 1px dashed rgba(0,0,0,0.2); }
|
|
12
12
|
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
<td><code>boundary</code></td>
|
|
382
382
|
<td>CSS selector</td>
|
|
383
383
|
<td>true</td>
|
|
384
|
-
<td>Referenced element to keep Drop's visibility. By default it's the window.</td>
|
|
384
|
+
<td>Referenced element to keep Drop's visibility. By default, it's the window.</td>
|
|
385
385
|
</tr>
|
|
386
386
|
<tr>
|
|
387
387
|
<td><code>boundary-align</code></td>
|
package/tests/dropdown.html
CHANGED
package/tests/flex.html
CHANGED
package/tests/grid-masonry.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Grid Masonry - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
:nth-child(7n-6) > .uk-panel { height: 120px; background: rgba(0,0,0,0.1); }
|
|
12
12
|
:nth-child(7n-5) > .uk-panel { height: 180px; background: rgba(0,0,0,0.15); }
|
package/tests/grid-parallax.html
CHANGED
package/tests/grid.html
CHANGED
package/tests/height.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Height - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
[uk-height-match] > * > .uk-panel {
|
|
12
12
|
padding: 10px;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<td><code>target</code></td>
|
|
87
87
|
<td>CSS selector</td>
|
|
88
88
|
<td><code>> *</code></td>
|
|
89
|
-
<td>Elements that should match. By default the children will match.</td>
|
|
89
|
+
<td>Elements that should match. By default, the children will match.</td>
|
|
90
90
|
</tr>
|
|
91
91
|
<tr>
|
|
92
92
|
<td><code>row</code></td>
|
package/tests/margin.html
CHANGED
package/tests/modal.html
CHANGED
|
@@ -384,14 +384,14 @@
|
|
|
384
384
|
<div id="modal-media-youtube" class="uk-flex-top" uk-modal>
|
|
385
385
|
<div class="uk-modal-dialog uk-width-auto uk-margin-auto-vertical">
|
|
386
386
|
<button class="uk-modal-close-outside" type="button" uk-close></button>
|
|
387
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA" width="1920" height="1080"
|
|
387
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA" width="1920" height="1080" uk-video></iframe>
|
|
388
388
|
</div>
|
|
389
389
|
</div>
|
|
390
390
|
|
|
391
391
|
<div id="modal-media-vimeo" class="uk-flex-top" uk-modal>
|
|
392
392
|
<div class="uk-modal-dialog uk-width-auto uk-margin-auto-vertical">
|
|
393
393
|
<button class="uk-modal-close-outside" type="button" uk-close></button>
|
|
394
|
-
<iframe src="https://player.vimeo.com/video/1084537" width="500" height="281"
|
|
394
|
+
<iframe src="https://player.vimeo.com/video/1084537" width="500" height="281" uk-video></iframe>
|
|
395
395
|
</div>
|
|
396
396
|
</div>
|
|
397
397
|
|
package/tests/navbar.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Navbar - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.test {
|
|
12
12
|
display: block;
|
|
@@ -1956,7 +1956,7 @@
|
|
|
1956
1956
|
<td><code>boundary</code></td>
|
|
1957
1957
|
<td>CSS selector</td>
|
|
1958
1958
|
<td>true</td>
|
|
1959
|
-
<td>Referenced element to keep Drop's visibility. By default it's the navbar component's element.</td>
|
|
1959
|
+
<td>Referenced element to keep Drop's visibility. By default, it's the navbar component's element.</td>
|
|
1960
1960
|
</tr>
|
|
1961
1961
|
<tr>
|
|
1962
1962
|
<td><code>boundary-align</code></td>
|
package/tests/padding.html
CHANGED
package/tests/parallax.html
CHANGED
package/tests/search.html
CHANGED
package/tests/slider.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Slider - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
.test > :nth-child(10n-9) > canvas { background: rgba(0,0,0,0.1); }
|
|
12
12
|
.test > :nth-child(10n-8) > canvas { background: rgba(0,0,0,0.15); }
|
package/tests/slideshow.html
CHANGED
|
@@ -105,14 +105,14 @@
|
|
|
105
105
|
</div>
|
|
106
106
|
</li>
|
|
107
107
|
<li>
|
|
108
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080"
|
|
108
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=1&controls=0&showinfo=0&rel=0&loop=1&modestbranding=1&wmode=transparent&playsinline=1" width="1920" height="1080" allowfullscreen uk-cover></iframe>
|
|
109
109
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
110
110
|
<h2 uk-slideshow-parallax="x: 100,-100">YouTube</h2>
|
|
111
111
|
<p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
|
|
112
112
|
</div>
|
|
113
113
|
</li>
|
|
114
114
|
<li>
|
|
115
|
-
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281"
|
|
115
|
+
<iframe src="https://player.vimeo.com/video/1084537?title=0&byline=0&autoplay=1&loop=1&setVolume=0" width="500" height="281" allowfullscreen uk-cover></iframe>
|
|
116
116
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
117
117
|
<h2 uk-slideshow-parallax="x: 100,-100">Vimeo</h2>
|
|
118
118
|
<p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
|
package/tests/sticky.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<title>Sticky - UIkit tests</title>
|
|
8
8
|
<script src="js/test.js"></script>
|
|
9
|
-
<style
|
|
9
|
+
<style>
|
|
10
10
|
|
|
11
11
|
#viewport { border: 1px dashed rgba(0,0,0,0.2); }
|
|
12
12
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
<td><code>width-element</code></td>
|
|
116
116
|
<td>CSS Selector</td>
|
|
117
117
|
<td>false</td>
|
|
118
|
-
<td>The element the Sticky should get its
|
|
118
|
+
<td>The element the Sticky should get its width from in active mode.</td>
|
|
119
119
|
</tr>
|
|
120
120
|
<tr>
|
|
121
121
|
<td><code>show-on-up</code></td>
|
package/tests/switcher.html
CHANGED
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
<td><code>itemNav</code></td>
|
|
347
347
|
<td>CSS selector</td>
|
|
348
348
|
<td>false</td>
|
|
349
|
-
<td>Related nav container. By default, nav items are found in related
|
|
349
|
+
<td>Related nav container. By default, nav items are found in related item's container only.</td>
|
|
350
350
|
</tr>
|
|
351
351
|
<tr>
|
|
352
352
|
<td><code>active</code></td>
|
package/tests/tab.html
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
<td><code>connect</code></td>
|
|
171
171
|
<td>CSS selector</td>
|
|
172
172
|
<td>false</td>
|
|
173
|
-
<td>Related items container. By default next element with class 'uk-switcher'.</td>
|
|
173
|
+
<td>Related items container. By default, next element with class 'uk-switcher'.</td>
|
|
174
174
|
</tr>
|
|
175
175
|
<tr>
|
|
176
176
|
<td><code>toggle</code></td>
|
package/tests/utility.html
CHANGED
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
<div class="uk-child-width-1-3@s" uk-grid>
|
|
236
236
|
<div>
|
|
237
237
|
<p>JS Responsive Width (Iframe)</p>
|
|
238
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&showinfo=0&rel=0&modestbranding=1" width="1920" height="1080"
|
|
238
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&showinfo=0&rel=0&modestbranding=1" width="1920" height="1080" allowfullscreen uk-responsive></iframe>
|
|
239
239
|
</div>
|
|
240
240
|
<div>
|
|
241
241
|
<p>Responsive Height (Image)</p>
|
package/tests/video.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div>
|
|
19
19
|
|
|
20
20
|
<h3>Autoplay</h3>
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
<button class="uk-button uk-button-default uk-margin-bottom" type="button" uk-toggle="target: +">Toggle Video</button>
|
|
23
23
|
<video src="https://yootheme.com/site/images/media/yootheme-pro.mp4" controls playsinline uk-video="automute: true"></video>
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<h3>Autoplay Inview</h3>
|
|
29
29
|
|
|
30
30
|
<button class="uk-button uk-button-default uk-margin-bottom" type="button" uk-toggle="target: +">Toggle Video</button>
|
|
31
|
-
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&showinfo=0&rel=0&modestbranding=1&playsinline=1" width="1920" height="1080"
|
|
31
|
+
<iframe src="https://www.youtube-nocookie.com/embed/c2pz2mlSfXA?autoplay=0&showinfo=0&rel=0&modestbranding=1&playsinline=1" width="1920" height="1080" allowfullscreen uk-responsive uk-video="automute: true; autoplay: inview"></iframe>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<td><code>autoplay</code></td>
|
|
49
49
|
<td>Boolean|String</td>
|
|
50
50
|
<td><code>true</code></td>
|
|
51
|
-
<td>The video automatically plays/pauses
|
|
51
|
+
<td>The video automatically plays/pauses when visible/hidden on the page. A value of `inview` will delay loading the video and play/pause the video as it enters/leaves the viewport.</td>
|
|
52
52
|
</tr>
|
|
53
53
|
<tr>
|
|
54
54
|
<td><code>automute</code></td>
|