uikit 3.25.20-dev.e4f47fc → 3.25.20
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 +2 -33
- package/build/prefix.js +1 -1
- package/build/publishDev.js +1 -1
- package/build/scope.js +1 -1
- package/build/scss.js +1 -1
- package/dist/css/uikit-core-rtl.css +917 -1045
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +917 -1045
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +936 -1064
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +936 -1064
- 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 +132 -133
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +133 -134
- 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 +12 -8
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +12 -8
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +25 -41
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +12 -8
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +102 -71
- 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 +19 -19
- 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 +262 -752
- 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 +374 -627
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/component.js +3 -2
- package/src/js/api/observables.js +4 -2
- package/src/js/api/options.js +3 -6
- package/src/js/api/props.js +4 -1
- package/src/js/api/state.js +8 -7
- package/src/js/components/index.js +0 -1
- package/src/js/components/internal/lightbox-animations.js +26 -7
- package/src/js/components/internal/slideshow-animations.js +62 -15
- package/src/js/components/lightbox-panel.js +96 -121
- package/src/js/components/lightbox.js +8 -5
- package/src/js/components/tooltip.js +2 -4
- package/src/js/core/accordion.js +29 -78
- package/src/js/core/drop.js +4 -5
- package/src/js/core/dropnav.js +3 -3
- package/src/js/core/grid.js +19 -5
- package/src/js/core/height-match.js +2 -1
- package/src/js/core/margin.js +0 -3
- package/src/js/core/overflow-fade.js +5 -5
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/switcher.js +44 -24
- package/src/js/core/video.js +15 -172
- package/src/js/mixin/internal/slideshow-animations.js +13 -5
- package/src/js/mixin/internal/slideshow-transitioner.js +2 -2
- package/src/js/mixin/modal.js +3 -4
- package/src/js/mixin/parallax.js +4 -1
- package/src/js/mixin/position.js +1 -1
- package/src/js/mixin/slider-nav.js +1 -1
- package/src/js/mixin/slider-parallax.js +38 -9
- package/src/js/mixin/togglable.js +14 -13
- package/src/js/util/attr.js +7 -7
- package/src/js/util/class.js +1 -1
- package/src/js/util/dom.js +4 -3
- package/src/js/util/lang.js +1 -1
- package/src/js/util/player.js +4 -4
- package/src/js/util/style.js +15 -10
- package/src/js/util/viewport.js +25 -22
- package/src/less/components/_import.less +1 -6
- package/src/less/components/base.less +1 -1
- package/src/less/components/button.less +1 -1
- package/src/less/components/form.less +5 -5
- package/src/less/components/grid.less +65 -58
- package/src/less/components/margin.less +124 -155
- package/src/less/components/nav.less +1 -1
- package/src/less/components/padding.less +9 -9
- package/src/less/components/text.less +0 -6
- package/src/less/components/utility.less +163 -0
- package/src/less/theme/_import.less +1 -5
- package/src/less/theme/utility.less +32 -0
- package/src/scss/components/_import.scss +1 -6
- package/src/scss/components/base.scss +1 -1
- package/src/scss/components/button.scss +1 -1
- package/src/scss/components/form.scss +5 -5
- package/src/scss/components/grid.scss +64 -57
- package/src/scss/components/margin.scss +124 -155
- package/src/scss/components/nav.scss +1 -1
- package/src/scss/components/padding.scss +9 -9
- package/src/scss/components/text.scss +0 -6
- package/src/scss/components/utility.scss +129 -0
- package/src/scss/mixins-theme.scss +33 -42
- package/src/scss/mixins.scss +30 -39
- package/src/scss/variables-theme.scss +14 -14
- package/src/scss/variables.scss +14 -14
- package/tests/accordion.html +10 -77
- package/tests/alert.html +1 -1
- package/tests/align.html +5 -5
- package/tests/animation.html +4 -4
- package/tests/article.html +7 -7
- package/tests/background.html +2 -2
- package/tests/badge.html +1 -1
- package/tests/base.html +3 -3
- package/tests/button.html +1 -1
- package/tests/card.html +15 -15
- package/tests/close.html +2 -2
- package/tests/comment.html +9 -9
- package/tests/container.html +2 -2
- package/tests/countdown.html +21 -21
- package/tests/cover.html +6 -6
- package/tests/description-list.html +1 -1
- package/tests/divider.html +3 -3
- package/tests/dotnav.html +1 -1
- package/tests/drop.html +7 -7
- package/tests/dropbar.html +5 -5
- package/tests/dropdown.html +1 -1
- package/tests/dropnav.html +18 -18
- package/tests/filter.html +3 -3
- package/tests/form.html +14 -14
- package/tests/grid.html +47 -41
- package/tests/heading.html +2 -2
- package/tests/height-viewport.html +4 -4
- package/tests/height.html +5 -5
- package/tests/icon.html +8 -8
- package/tests/image.html +6 -6
- package/tests/index.html +13 -13
- package/tests/js/index.js +1 -1
- package/tests/leader.html +5 -5
- package/tests/lightbox.html +14 -14
- package/tests/link.html +1 -1
- package/tests/list.html +4 -4
- package/tests/margin.html +7 -7
- package/tests/marker.html +3 -3
- package/tests/modal.html +4 -4
- package/tests/nav.html +5 -5
- package/tests/navbar.html +27 -27
- package/tests/notification.html +2 -2
- package/tests/offcanvas.html +12 -12
- package/tests/overlay.html +3 -3
- package/tests/padding.html +1 -1
- package/tests/pagination.html +3 -3
- package/tests/parallax.html +1 -1
- package/tests/position.html +6 -6
- package/tests/scrollspy.html +12 -12
- package/tests/search.html +5 -5
- package/tests/section.html +17 -17
- package/tests/slidenav.html +3 -3
- package/tests/slider.html +5 -5
- package/tests/slideshow.html +4 -34
- package/tests/sortable.html +15 -15
- package/tests/sticky-navbar.html +4 -4
- package/tests/sticky-parallax.html +3 -3
- package/tests/sticky.html +3 -3
- package/tests/svg.html +2 -3
- package/tests/switcher.html +6 -6
- package/tests/tab.html +4 -4
- package/tests/text.html +3 -3
- package/tests/tile.html +4 -4
- package/tests/toggle.html +1 -1
- package/tests/tooltip.html +3 -3
- package/tests/totop.html +2 -2
- package/tests/transition.html +1 -1
- package/tests/upload.html +5 -5
- package/tests/utility.html +116 -16
- package/tests/video.html +27 -227
- package/tests/visibility.html +4 -4
- package/tests/width.html +12 -12
- package/dist/js/components/marquee.js +0 -179
- package/dist/js/components/marquee.min.js +0 -1
- package/src/js/components/marquee.js +0 -123
- package/src/js/mixin/connect.js +0 -55
- package/src/js/mixin/scroll-driven.js +0 -57
- package/src/less/components/dropcap.less +0 -71
- package/src/less/components/floating-shadow.less +0 -66
- package/src/less/components/logo.less +0 -94
- package/src/less/components/marquee.less +0 -133
- package/src/less/theme/dropcap.less +0 -29
- package/src/less/theme/floating-shadow.less +0 -20
- package/src/less/theme/logo.less +0 -29
- package/src/less/theme/marquee.less +0 -14
- package/src/scss/components/dropcap.scss +0 -63
- package/src/scss/components/floating-shadow.scss +0 -63
- package/src/scss/components/logo.scss +0 -75
- package/src/scss/components/marquee.scss +0 -136
- package/tests/dropcap.html +0 -26
- package/tests/floating-shadow.html +0 -44
- package/tests/logo.html +0 -84
- package/tests/marquee.html +0 -617
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Component: Marquee
|
|
3
|
-
//
|
|
4
|
-
// ========================================================================
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// Variables
|
|
8
|
-
// ========================================================================
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// Miscellaneous
|
|
12
|
-
// ========================================================================
|
|
13
|
-
|
|
14
|
-
.hook-marquee-misc() {}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
@use "sass:meta";
|
|
2
|
-
|
|
3
|
-
// Name: Dropcap
|
|
4
|
-
// Description: Style for the drop cap
|
|
5
|
-
//
|
|
6
|
-
// Component: `uk-dropcap`
|
|
7
|
-
//
|
|
8
|
-
// ========================================================================
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// Variables
|
|
12
|
-
// ========================================================================
|
|
13
|
-
|
|
14
|
-
/* ========================================================================
|
|
15
|
-
Component: Dropcap
|
|
16
|
-
========================================================================== */
|
|
17
|
-
|
|
18
|
-
/*
|
|
19
|
-
* 1. Firefox doesn't apply `::first-letter` if the first letter is inside child elements
|
|
20
|
-
* https://bugzilla.mozilla.org/show_bug.cgi?id=214004
|
|
21
|
-
* 2. In Firefox, a floating `::first-letter` doesn't have a line box and there for no `line-height`
|
|
22
|
-
* https://bugzilla.mozilla.org/show_bug.cgi?id=317933
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
.uk-dropcap::first-letter,
|
|
26
|
-
/* 1 */
|
|
27
|
-
.uk-dropcap > p:first-of-type::first-letter {
|
|
28
|
-
display: block;
|
|
29
|
-
margin-right: $dropcap-margin-right;
|
|
30
|
-
float: left;
|
|
31
|
-
font-size: $dropcap-font-size;
|
|
32
|
-
line-height: $dropcap-line-height;
|
|
33
|
-
@if(meta.mixin-exists(hook-dropcap)) {@include hook-dropcap();}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* 2 */
|
|
37
|
-
@-moz-document url-prefix() {
|
|
38
|
-
|
|
39
|
-
.uk-dropcap::first-letter,
|
|
40
|
-
.uk-dropcap > p:first-of-type::first-letter { margin-top: 1.1%; }
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
// Misc
|
|
46
|
-
// ========================================================================
|
|
47
|
-
|
|
48
|
-
@if(meta.mixin-exists(hook-dropcap-misc)) {@include hook-dropcap-misc();}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// Hooks
|
|
52
|
-
// ========================================================================
|
|
53
|
-
|
|
54
|
-
// @mixin hook-dropcap(){}
|
|
55
|
-
// @mixin hook-dropcap-misc(){}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
// Inverse
|
|
59
|
-
// ========================================================================
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
// @mixin hook-inverse-dropcap(){}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
@use "sass:meta";
|
|
2
|
-
|
|
3
|
-
// Name: Floating Shadow
|
|
4
|
-
// Description: Component to create floating shadows
|
|
5
|
-
//
|
|
6
|
-
// Component: `uk-floating-shadow`
|
|
7
|
-
//
|
|
8
|
-
// ========================================================================
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// Variables
|
|
12
|
-
// ========================================================================
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/* ========================================================================
|
|
17
|
-
Component: Floating Shadow
|
|
18
|
-
========================================================================== */
|
|
19
|
-
|
|
20
|
-
/*
|
|
21
|
-
* 1. Set position.
|
|
22
|
-
* 2. Set style
|
|
23
|
-
* 3. Fix shadow being clipped in Safari if container is animated
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
.uk-floating-shadow {
|
|
27
|
-
display: inline-block;
|
|
28
|
-
position: relative;
|
|
29
|
-
z-index: 0;
|
|
30
|
-
max-width: 100%;
|
|
31
|
-
vertical-align: middle;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.uk-floating-shadow::after {
|
|
35
|
-
content: "";
|
|
36
|
-
/* 1 */
|
|
37
|
-
position: absolute;
|
|
38
|
-
bottom: $floating-shadow-bottom;
|
|
39
|
-
left: 0;
|
|
40
|
-
right: 0;
|
|
41
|
-
z-index: -1;
|
|
42
|
-
/* 2 */
|
|
43
|
-
height: $floating-shadow-height;
|
|
44
|
-
border-radius: $floating-shadow-border-radius;
|
|
45
|
-
background: $floating-shadow-background;
|
|
46
|
-
filter: blur($floating-shadow-blur);
|
|
47
|
-
/* 3 */
|
|
48
|
-
will-change: filter;
|
|
49
|
-
@if(meta.mixin-exists(hook-floating-shadow)) {@include hook-floating-shadow();}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
// Misc
|
|
54
|
-
// ========================================================================
|
|
55
|
-
|
|
56
|
-
@if(meta.mixin-exists(hook-floating-shadow-misc)) {@include hook-floating-shadow-misc();}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
// Hooks
|
|
60
|
-
// ========================================================================
|
|
61
|
-
|
|
62
|
-
// @mixin hook-floating-shadow(){}
|
|
63
|
-
// @mixin hook-floating-shadow-misc(){}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
@use "sass:meta";
|
|
2
|
-
|
|
3
|
-
// Name: Logo
|
|
4
|
-
// Description: Style for the logo
|
|
5
|
-
//
|
|
6
|
-
// Component: `uk-logo`
|
|
7
|
-
//
|
|
8
|
-
// ========================================================================
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// Variables
|
|
12
|
-
// ========================================================================
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* ========================================================================
|
|
16
|
-
Component: Logo
|
|
17
|
-
========================================================================== */
|
|
18
|
-
|
|
19
|
-
/*
|
|
20
|
-
* 1. Style
|
|
21
|
-
* 2. Required for `a`
|
|
22
|
-
* 3. Behave like image but can be overridden through flex utility classes
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
.uk-logo {
|
|
26
|
-
/* 1 */
|
|
27
|
-
font-size: $logo-font-size;
|
|
28
|
-
font-family: $logo-font-family;
|
|
29
|
-
color: $logo-color;
|
|
30
|
-
/* 2 */
|
|
31
|
-
text-decoration: none;
|
|
32
|
-
@if(meta.mixin-exists(hook-logo)) {@include hook-logo();}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* 3 */
|
|
36
|
-
:where(.uk-logo) {
|
|
37
|
-
display: inline-block;
|
|
38
|
-
vertical-align: middle;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Hover */
|
|
42
|
-
.uk-logo:hover {
|
|
43
|
-
color: $logo-hover-color;
|
|
44
|
-
/* 2 */
|
|
45
|
-
text-decoration: none;
|
|
46
|
-
@if(meta.mixin-exists(hook-logo-hover)) {@include hook-logo-hover();}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.uk-logo :where(img:not([uk-svg]), svg, video) { display: block; }
|
|
50
|
-
|
|
51
|
-
.uk-logo-inverse:where(:not([uk-svg])) { display: none; }
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// Misc
|
|
55
|
-
// ========================================================================
|
|
56
|
-
|
|
57
|
-
@if(meta.mixin-exists(hook-logo-misc)) {@include hook-logo-misc();}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
// Hooks
|
|
61
|
-
// ========================================================================
|
|
62
|
-
|
|
63
|
-
// @mixin hook-logo(){}
|
|
64
|
-
// @mixin hook-logo-hover(){}
|
|
65
|
-
// @mixin hook-logo-misc(){}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
// Inverse
|
|
69
|
-
// ========================================================================
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// @mixin hook-inverse-logo(){}
|
|
75
|
-
// @mixin hook-inverse-logo-hover(){}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
@use "sass:meta";
|
|
2
|
-
@use "sass:string";
|
|
3
|
-
|
|
4
|
-
// Name: Marquee
|
|
5
|
-
// Description: Component to create scrolling areas
|
|
6
|
-
//
|
|
7
|
-
// Component: `uk-marquee`
|
|
8
|
-
//
|
|
9
|
-
// Sub-objects: `uk-marquee-items`
|
|
10
|
-
//
|
|
11
|
-
// Modifiers: `uk-marquee-vertical`
|
|
12
|
-
// `uk-marquee-fade`
|
|
13
|
-
//
|
|
14
|
-
// ========================================================================
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
// Variables
|
|
18
|
-
// ========================================================================
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/* ========================================================================
|
|
22
|
-
Component: Marquee
|
|
23
|
-
========================================================================== */
|
|
24
|
-
|
|
25
|
-
/*
|
|
26
|
-
* 1. Fallback for Safari 15 and older
|
|
27
|
-
* 2. Clip child elements
|
|
28
|
-
* `clip` prevents accidental scrolling through elements in slide getting focused
|
|
29
|
-
* `clip` also works in only one direction
|
|
30
|
-
* 3. Prevent tab highlighting on iOS.
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
.uk-marquee {
|
|
34
|
-
/* 1 */
|
|
35
|
-
overflow-x: hidden;
|
|
36
|
-
/* 2 */
|
|
37
|
-
overflow-x: clip;
|
|
38
|
-
/* 3 */
|
|
39
|
-
-webkit-tap-highlight-color: transparent;
|
|
40
|
-
@if(meta.mixin-exists(hook-marquee)) {@include hook-marquee();}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.uk-marquee-vertical {
|
|
44
|
-
overflow: visible;
|
|
45
|
-
overflow-y: hidden;
|
|
46
|
-
overflow-y: clip;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/*
|
|
50
|
-
* Fade out
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
.uk-marquee-fade {
|
|
54
|
-
--uk-overflow-fade-size: 100px;
|
|
55
|
-
--uk-overflow-fade-direction: right;
|
|
56
|
-
}
|
|
57
|
-
.uk-marquee-fade.uk-marquee-vertical { --uk-overflow-fade-direction: bottom; }
|
|
58
|
-
|
|
59
|
-
.uk-marquee-fade {
|
|
60
|
-
mask-image: linear-gradient(
|
|
61
|
-
to var(--uk-overflow-fade-direction),
|
|
62
|
-
rgba(0, 0, 0, var(--uk-overflow-fade-start-opacity)),
|
|
63
|
-
#000 var(--uk-overflow-fade-size),
|
|
64
|
-
#000 string.unquote('calc(100% - var(--uk-overflow-fade-size))'),
|
|
65
|
-
rgba(0, 0, 0, var(--uk-overflow-fade-end-opacity))
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/* Items
|
|
71
|
-
========================================================================== */
|
|
72
|
-
|
|
73
|
-
/*
|
|
74
|
-
* 1. Create a containing block.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
.uk-marquee-items {
|
|
78
|
-
/* 1 */
|
|
79
|
-
position: relative;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/*
|
|
83
|
-
* 1. Reset list style without interfering with grid
|
|
84
|
-
* 2. Prevent displaying the callout information on iOS.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
.uk-marquee:not(.uk-marquee-vertical) .uk-marquee-items:not(.uk-grid) {
|
|
88
|
-
display: flex;
|
|
89
|
-
/* 1 */
|
|
90
|
-
margin: 0;
|
|
91
|
-
padding: 0;
|
|
92
|
-
list-style: none;
|
|
93
|
-
/* 2 */
|
|
94
|
-
-webkit-touch-callout: none;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.uk-marquee:not(.uk-marquee-vertical) .uk-marquee-items.uk-grid { flex-wrap: nowrap; }
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
/* Item
|
|
101
|
-
========================================================================== */
|
|
102
|
-
|
|
103
|
-
/*
|
|
104
|
-
* 1. Let items take content dimensions (0 0 auto)
|
|
105
|
-
* `max-width` needed to keep image responsiveness and prevent content overflow
|
|
106
|
-
* 2. Create position context
|
|
107
|
-
* 3. Create animation along offset-path
|
|
108
|
-
*/
|
|
109
|
-
|
|
110
|
-
.uk-marquee-items > * {
|
|
111
|
-
/* 1 */
|
|
112
|
-
flex: none !important;
|
|
113
|
-
box-sizing: border-box;
|
|
114
|
-
max-width: 100%;
|
|
115
|
-
/* 2 */
|
|
116
|
-
position: relative;
|
|
117
|
-
/* 3 */
|
|
118
|
-
offset-anchor: 0 0;
|
|
119
|
-
offset-rotate: 0deg;
|
|
120
|
-
offset-path: path(var(--uk-marquee-path));
|
|
121
|
-
animation: var(--uk-marquee-duration) linear calc(var(--uk-marquee-start) / -100 * var(--uk-marquee-duration)) infinite var(--uk-marquee-direction) uk-marquee;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@keyframes uk-marquee {
|
|
125
|
-
0% { offset-distance: 0; }
|
|
126
|
-
100% { offset-distance: 100%; }
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
// Hooks
|
|
131
|
-
// ========================================================================
|
|
132
|
-
|
|
133
|
-
@if(meta.mixin-exists(hook-marquee-misc)) {@include hook-marquee-misc();}
|
|
134
|
-
|
|
135
|
-
// @mixin hook-marquee(){}
|
|
136
|
-
// @mixin hook-marquee-misc(){}
|
package/tests/dropcap.html
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en-gb" dir="ltr">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
<title>Dropcap - UIkit tests</title>
|
|
8
|
-
<script src="js/test.js"></script>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
|
|
13
|
-
<div class="uk-container">
|
|
14
|
-
|
|
15
|
-
<h1>Drop Cap</h1>
|
|
16
|
-
|
|
17
|
-
<p class="uk-text-lead uk-dropcap">Dorem 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. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
|
18
|
-
|
|
19
|
-
<div class="uk-dropcap">
|
|
20
|
-
<p>Torem 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. 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.</p>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
</body>
|
|
26
|
-
</html>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en-gb" dir="ltr">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
<title>Floating Shadow - UIkit tests</title>
|
|
8
|
-
<script src="js/test.js"></script>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
|
|
13
|
-
<div class="uk-container">
|
|
14
|
-
|
|
15
|
-
<h1>Floating Shadow</h1>
|
|
16
|
-
|
|
17
|
-
<div class="uk-grid uk-child-width-1-5@m uk-grid-large">
|
|
18
|
-
<div class="uk-width-1-6@m">
|
|
19
|
-
|
|
20
|
-
<div class="uk-floating-shadow">
|
|
21
|
-
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
</div>
|
|
25
|
-
<div class="uk-width-1-3@m">
|
|
26
|
-
|
|
27
|
-
<div class="uk-floating-shadow">
|
|
28
|
-
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
</div>
|
|
32
|
-
<div class="uk-width-1-2@m">
|
|
33
|
-
|
|
34
|
-
<div class="uk-floating-shadow">
|
|
35
|
-
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
</body>
|
|
44
|
-
</html>
|
package/tests/logo.html
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en-gb" dir="ltr">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
<title>Logo - UIkit tests</title>
|
|
8
|
-
<script src="js/test.js"></script>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
|
|
13
|
-
<div class="uk-container">
|
|
14
|
-
|
|
15
|
-
<h1>Logo</h1>
|
|
16
|
-
|
|
17
|
-
<p>
|
|
18
|
-
<a class="uk-logo" href="#">Text Logo</a>
|
|
19
|
-
</p>
|
|
20
|
-
|
|
21
|
-
<div class="uk-grid uk-child-width-auto uk-grid-small">
|
|
22
|
-
<div>
|
|
23
|
-
<p>Image<br>-</p>
|
|
24
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
25
|
-
<img src="images/photo.jpg" width="150" height="100" alt="">
|
|
26
|
-
</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div>
|
|
29
|
-
<p>Picture<br>-</p>
|
|
30
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
31
|
-
<picture>
|
|
32
|
-
<img src="images/photo.jpg" width="150" height="100" alt="">
|
|
33
|
-
</picture>
|
|
34
|
-
</a>
|
|
35
|
-
</div>
|
|
36
|
-
<div>
|
|
37
|
-
<p>Image<br>Inverse Image</p>
|
|
38
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
39
|
-
<img src="images/photo.jpg" width="150" height="100" alt="">
|
|
40
|
-
<img class="uk-logo-inverse" src="images/dark.jpg" width="150" height="100" alt="">
|
|
41
|
-
</a>
|
|
42
|
-
</div>
|
|
43
|
-
<div>
|
|
44
|
-
<p>Picture<br>Inverse Picture</p>
|
|
45
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
46
|
-
<picture>
|
|
47
|
-
<img src="images/photo.jpg" width="150" height="100" alt="">
|
|
48
|
-
</picture>
|
|
49
|
-
<picture>
|
|
50
|
-
<img class="uk-logo-inverse" src="images/dark.jpg" width="150" height="100" alt="">
|
|
51
|
-
</picture>
|
|
52
|
-
</a>
|
|
53
|
-
</div>
|
|
54
|
-
<div>
|
|
55
|
-
<p>Picture<br>Inverse SVG</p>
|
|
56
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
57
|
-
<picture>
|
|
58
|
-
<img src="images/photo.jpg" width="150" height="100" alt="">
|
|
59
|
-
</picture>
|
|
60
|
-
<img class="uk-logo-inverse" src="images/icons.svg#trash" alt="" uk-svg>
|
|
61
|
-
</a>
|
|
62
|
-
</div>
|
|
63
|
-
<div>
|
|
64
|
-
<p>SVG<br>Inverse Picture</p>
|
|
65
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
66
|
-
<img src="images/icons.svg#table" alt="" uk-svg>
|
|
67
|
-
<picture>
|
|
68
|
-
<img class="uk-logo-inverse" src="images/dark.jpg" width="150" height="100" alt="">
|
|
69
|
-
</picture>
|
|
70
|
-
</a>
|
|
71
|
-
</div>
|
|
72
|
-
<div>
|
|
73
|
-
<p>SVG<br>Inverse SVG</p>
|
|
74
|
-
<a class="uk-logo" href="#" aria-label="Back to Home">
|
|
75
|
-
<img src="images/icons.svg#table" alt="" uk-svg>
|
|
76
|
-
<img class="uk-logo-inverse" src="images/icons.svg#trash" alt="" uk-svg>
|
|
77
|
-
</a>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
</body>
|
|
84
|
-
</html>
|