uikit 3.25.27-dev.9e97c1f → 3.25.27
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 -34
- 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 +1569 -1692
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1569 -1692
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1210 -1326
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1210 -1326
- 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 +135 -134
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +136 -135
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +6 -8
- 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 -51
- 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 -81
- 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 +17 -15
- 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 +313 -856
- 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 +377 -711
- package/dist/js/uikit.min.js +1 -1
- package/package.json +2 -2
- package/src/js/api/component.js +3 -2
- package/src/js/api/observables.js +4 -16
- package/src/js/api/options.js +3 -6
- package/src/js/api/props.js +3 -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/slider-preload.js +0 -1
- 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/notification.js +5 -7
- package/src/js/core/accordion.js +31 -62
- package/src/js/core/drop.js +3 -4
- package/src/js/core/dropnav.js +3 -3
- package/src/js/core/grid.js +19 -5
- package/src/js/core/margin.js +0 -3
- package/src/js/core/scroll.js +11 -0
- package/src/js/core/sticky.js +1 -1
- package/src/js/core/switcher.js +49 -12
- package/src/js/core/video.js +21 -236
- package/src/js/mixin/internal/slideshow-animations.js +13 -5
- package/src/js/mixin/internal/slideshow-transitioner.js +2 -2
- package/src/js/mixin/parallax.js +4 -1
- package/src/js/mixin/position.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/dom.js +4 -3
- package/src/js/util/lang.js +2 -2
- package/src/js/util/player.js +2 -4
- package/src/js/util/style.js +13 -12
- package/src/js/util/viewport.js +25 -22
- package/src/less/components/_import.less +3 -8
- package/src/less/components/animation.less +1 -1
- package/src/less/components/base.less +1 -1
- package/src/less/components/button.less +1 -1
- package/src/less/components/card.less +8 -8
- package/src/less/components/form.less +15 -15
- package/src/less/components/grid.less +65 -58
- package/src/less/components/lightbox.less +8 -2
- package/src/less/components/margin.less +124 -155
- package/src/less/components/modal.less +4 -1
- package/src/less/components/nav.less +1 -1
- package/src/less/components/navbar.less +1 -1
- package/src/less/components/padding.less +9 -9
- package/src/less/components/position.less +4 -9
- package/src/less/components/search.less +1 -1
- package/src/less/components/slideshow.less +4 -1
- package/src/less/components/switcher.less +2 -5
- package/src/less/components/table.less +4 -4
- package/src/less/components/text.less +4 -10
- package/src/less/components/utility.less +163 -0
- package/src/less/components/visibility.less +4 -4
- package/src/less/theme/_import.less +2 -6
- package/src/less/theme/alert.less +5 -0
- package/src/less/theme/thumbnav.less +4 -1
- package/src/less/theme/utility.less +32 -0
- package/src/scss/components/_import.scss +3 -8
- package/src/scss/components/animation.scss +1 -1
- package/src/scss/components/base.scss +1 -1
- package/src/scss/components/button.scss +1 -1
- package/src/scss/components/card.scss +8 -8
- package/src/scss/components/form.scss +14 -14
- package/src/scss/components/grid.scss +64 -57
- package/src/scss/components/lightbox.scss +8 -2
- package/src/scss/components/margin.scss +124 -155
- package/src/scss/components/modal.scss +4 -1
- package/src/scss/components/nav.scss +1 -1
- package/src/scss/components/navbar.scss +1 -1
- package/src/scss/components/padding.scss +9 -9
- package/src/scss/components/position.scss +4 -9
- package/src/scss/components/search.scss +1 -1
- package/src/scss/components/slideshow.scss +4 -1
- package/src/scss/components/switcher.scss +2 -5
- package/src/scss/components/table.scss +4 -4
- package/src/scss/components/text.scss +4 -10
- package/src/scss/components/utility.scss +129 -0
- package/src/scss/components/visibility.scss +4 -4
- package/src/scss/mixins-theme.scss +43 -44
- package/src/scss/mixins.scss +31 -40
- 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 +2 -2
- 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 +3 -3
- 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 +6 -6
- package/tests/link.html +1 -1
- package/tests/list.html +4 -4
- package/tests/margin.html +7 -59
- package/tests/marker.html +3 -3
- package/tests/modal.html +3 -3
- package/tests/nav.html +5 -5
- package/tests/navbar.html +27 -27
- package/tests/notification.html +2 -8
- 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 +13 -13
- 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 +3 -33
- 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 +7 -7
- package/tests/tab.html +5 -5
- package/tests/text.html +3 -9
- 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 +24 -224
- package/tests/visibility.html +4 -4
- package/tests/width.html +12 -12
- package/dist/js/components/marquee.js +0 -215
- package/dist/js/components/marquee.min.js +0 -1
- package/src/js/components/marquee.js +0 -156
- package/src/js/mixin/connect.js +0 -90
- 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
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
// `uk-object-*`
|
|
14
14
|
// `uk-border-*`
|
|
15
15
|
// `uk-box-shadow-*`
|
|
16
|
+
// `uk-box-shadow-bottom`
|
|
17
|
+
// `uk-dropcap`
|
|
18
|
+
// `uk-logo`
|
|
16
19
|
// `uk-blend-*`
|
|
17
20
|
// `uk-transform-*`
|
|
18
21
|
// `uk-transform-origin-*`
|
|
@@ -39,6 +42,21 @@
|
|
|
39
42
|
|
|
40
43
|
@box-shadow-duration: 0.1s;
|
|
41
44
|
|
|
45
|
+
@box-shadow-bottom-height: 30px;
|
|
46
|
+
@box-shadow-bottom-bottom: -@box-shadow-bottom-height;
|
|
47
|
+
@box-shadow-bottom-border-radius: 100%;
|
|
48
|
+
@box-shadow-bottom-background: #444;
|
|
49
|
+
@box-shadow-bottom-blur: 20px;
|
|
50
|
+
|
|
51
|
+
@dropcap-margin-right: 10px;
|
|
52
|
+
@dropcap-font-size: ((@global-line-height * 3) * 1em);
|
|
53
|
+
@dropcap-line-height: 1;
|
|
54
|
+
|
|
55
|
+
@logo-font-size: @global-large-font-size;
|
|
56
|
+
@logo-font-family: @global-font-family;
|
|
57
|
+
@logo-color: @global-emphasis-color;
|
|
58
|
+
@logo-hover-color: @global-emphasis-color;
|
|
59
|
+
|
|
42
60
|
@dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3);
|
|
43
61
|
|
|
44
62
|
|
|
@@ -346,6 +364,114 @@
|
|
|
346
364
|
.uk-box-shadow-hover-xlarge:hover { box-shadow: @global-xlarge-box-shadow; }
|
|
347
365
|
|
|
348
366
|
|
|
367
|
+
/* Box-shadow bottom
|
|
368
|
+
========================================================================== */
|
|
369
|
+
|
|
370
|
+
/*
|
|
371
|
+
* 1. Set position.
|
|
372
|
+
* 2. Set style
|
|
373
|
+
* 3. Fix shadow being clipped in Safari if container is animated
|
|
374
|
+
*/
|
|
375
|
+
|
|
376
|
+
@supports (filter: blur(0)) {
|
|
377
|
+
|
|
378
|
+
.uk-box-shadow-bottom {
|
|
379
|
+
display: inline-block;
|
|
380
|
+
position: relative;
|
|
381
|
+
z-index: 0;
|
|
382
|
+
max-width: 100%;
|
|
383
|
+
vertical-align: middle;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.uk-box-shadow-bottom::after {
|
|
387
|
+
content: "";
|
|
388
|
+
/* 1 */
|
|
389
|
+
position: absolute;
|
|
390
|
+
bottom: @box-shadow-bottom-bottom;
|
|
391
|
+
left: 0;
|
|
392
|
+
right: 0;
|
|
393
|
+
z-index: -1;
|
|
394
|
+
/* 2 */
|
|
395
|
+
height: @box-shadow-bottom-height;
|
|
396
|
+
border-radius: @box-shadow-bottom-border-radius;
|
|
397
|
+
background: @box-shadow-bottom-background;
|
|
398
|
+
filter: blur(@box-shadow-bottom-blur);
|
|
399
|
+
/* 3 */
|
|
400
|
+
will-change: filter;
|
|
401
|
+
.hook-box-shadow-bottom();
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
/* Drop cap
|
|
408
|
+
========================================================================== */
|
|
409
|
+
|
|
410
|
+
/*
|
|
411
|
+
* 1. Firefox doesn't apply `::first-letter` if the first letter is inside child elements
|
|
412
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=214004
|
|
413
|
+
* 2. In Firefox, a floating `::first-letter` doesn't have a line box and there for no `line-height`
|
|
414
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=317933
|
|
415
|
+
*/
|
|
416
|
+
|
|
417
|
+
.uk-dropcap::first-letter,
|
|
418
|
+
/* 1 */
|
|
419
|
+
.uk-dropcap > p:first-of-type::first-letter {
|
|
420
|
+
display: block;
|
|
421
|
+
margin-right: @dropcap-margin-right;
|
|
422
|
+
float: left;
|
|
423
|
+
font-size: @dropcap-font-size;
|
|
424
|
+
line-height: @dropcap-line-height;
|
|
425
|
+
.hook-dropcap();
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/* 2 */
|
|
429
|
+
@-moz-document url-prefix() {
|
|
430
|
+
|
|
431
|
+
.uk-dropcap::first-letter,
|
|
432
|
+
.uk-dropcap > p:first-of-type::first-letter { margin-top: 1.1%; }
|
|
433
|
+
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
/* Logo
|
|
438
|
+
========================================================================== */
|
|
439
|
+
|
|
440
|
+
/*
|
|
441
|
+
* 1. Style
|
|
442
|
+
* 2. Required for `a`
|
|
443
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
|
444
|
+
*/
|
|
445
|
+
|
|
446
|
+
.uk-logo {
|
|
447
|
+
/* 1 */
|
|
448
|
+
font-size: @logo-font-size;
|
|
449
|
+
font-family: @logo-font-family;
|
|
450
|
+
color: @logo-color;
|
|
451
|
+
/* 2 */
|
|
452
|
+
text-decoration: none;
|
|
453
|
+
.hook-logo();
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/* 3 */
|
|
457
|
+
:where(.uk-logo) {
|
|
458
|
+
display: inline-block;
|
|
459
|
+
vertical-align: middle;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/* Hover */
|
|
463
|
+
.uk-logo:hover {
|
|
464
|
+
color: @logo-hover-color;
|
|
465
|
+
/* 1 */
|
|
466
|
+
text-decoration: none;
|
|
467
|
+
.hook-logo-hover();
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.uk-logo :where(img, svg, video) { display: block; }
|
|
471
|
+
|
|
472
|
+
.uk-logo-inverse { display: none; }
|
|
473
|
+
|
|
474
|
+
|
|
349
475
|
/* Disabled State
|
|
350
476
|
========================================================================== */
|
|
351
477
|
|
|
@@ -423,4 +549,41 @@
|
|
|
423
549
|
.hook-utility-misc();
|
|
424
550
|
|
|
425
551
|
.hook-panel-scrollable() {}
|
|
552
|
+
.hook-box-shadow-bottom() {}
|
|
553
|
+
.hook-dropcap() {}
|
|
554
|
+
.hook-logo() {}
|
|
555
|
+
.hook-logo-hover() {}
|
|
426
556
|
.hook-utility-misc() {}
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
// Inverse
|
|
560
|
+
// ========================================================================
|
|
561
|
+
|
|
562
|
+
@inverse-logo-color: @inverse-global-emphasis-color;
|
|
563
|
+
@inverse-logo-hover-color: @inverse-global-emphasis-color;
|
|
564
|
+
|
|
565
|
+
.hook-inverse() {
|
|
566
|
+
|
|
567
|
+
.uk-dropcap::first-letter,
|
|
568
|
+
.uk-dropcap p:first-of-type::first-letter {
|
|
569
|
+
.hook-inverse-dropcap();
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.uk-logo {
|
|
573
|
+
color: @inverse-logo-color;
|
|
574
|
+
.hook-inverse-logo();
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.uk-logo:hover {
|
|
578
|
+
color: @inverse-logo-hover-color;
|
|
579
|
+
.hook-inverse-logo-hover();
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
|
|
583
|
+
.uk-logo-inverse { display: block; }
|
|
584
|
+
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.hook-inverse-dropcap() {}
|
|
588
|
+
.hook-inverse-logo() {}
|
|
589
|
+
.hook-inverse-logo-hover() {}
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
* Note: `clip-path` doesn't work with `tabindex` on touch devices.
|
|
115
115
|
*/
|
|
116
116
|
|
|
117
|
-
.uk-hidden-visually:not(:focus
|
|
118
|
-
.uk-visible-toggle:not(:hover
|
|
117
|
+
.uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
|
|
118
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-visible):not(:has(:focus-visible)),
|
|
119
119
|
// Fallback for Safari 18.3 `:not(:has(...)) invalidation` bug. Remove when fixed.
|
|
120
|
-
.uk-visible-toggle:not(:hover
|
|
120
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
|
|
121
121
|
/* 1 */
|
|
122
122
|
position: absolute !important;
|
|
123
123
|
/* 2 */
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
* Note: `clip-path` doesn't work with hover for elements outside of the toggle box.
|
|
136
136
|
*/
|
|
137
137
|
|
|
138
|
-
.uk-visible-toggle:not(:hover
|
|
138
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) { opacity: 0 !important; }
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
/* Based on Hover Capability of the Pointing Device
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
@import "icon.less";
|
|
13
13
|
@import "form-range.less";
|
|
14
14
|
@import "form.less";
|
|
15
|
-
@import "search.less";
|
|
16
15
|
@import "button.less";
|
|
17
16
|
@import "progress.less";
|
|
18
17
|
|
|
@@ -31,11 +30,10 @@
|
|
|
31
30
|
@import "placeholder.less";
|
|
32
31
|
@import "badge.less";
|
|
33
32
|
@import "label.less";
|
|
34
|
-
@import "dropcap.less";
|
|
35
|
-
@import "floating-shadow.less";
|
|
36
33
|
@import "overlay.less";
|
|
37
34
|
@import "article.less";
|
|
38
35
|
@import "comment.less";
|
|
36
|
+
@import "search.less";
|
|
39
37
|
|
|
40
38
|
// JavaScript
|
|
41
39
|
@import "accordion.less";
|
|
@@ -43,7 +41,6 @@
|
|
|
43
41
|
@import "dropbar.less";
|
|
44
42
|
@import "modal.less";
|
|
45
43
|
@import "slider.less";
|
|
46
|
-
@import "marquee.less";
|
|
47
44
|
@import "sticky.less";
|
|
48
45
|
@import "offcanvas.less";
|
|
49
46
|
@import "leader.less";
|
|
@@ -68,7 +65,6 @@
|
|
|
68
65
|
|
|
69
66
|
@import "dropdown.less";
|
|
70
67
|
@import "lightbox.less";
|
|
71
|
-
@import "logo.less";
|
|
72
68
|
|
|
73
69
|
// Utilities
|
|
74
70
|
@import "animation.less";
|
|
@@ -79,8 +75,8 @@
|
|
|
79
75
|
@import "background.less";
|
|
80
76
|
@import "align.less";
|
|
81
77
|
@import "utility.less";
|
|
82
|
-
@import "position.less";
|
|
83
78
|
@import "margin.less";
|
|
84
79
|
@import "padding.less";
|
|
80
|
+
@import "position.less";
|
|
85
81
|
@import "transition.less";
|
|
86
82
|
@import "inverse.less";
|
|
@@ -14,7 +14,39 @@
|
|
|
14
14
|
.hook-panel-scrollable() {}
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
// Box-shadow bottom
|
|
18
|
+
// ========================================================================
|
|
19
|
+
|
|
20
|
+
.hook-box-shadow-bottom() {}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Drop cap
|
|
24
|
+
// ========================================================================
|
|
25
|
+
|
|
26
|
+
.hook-dropcap() {
|
|
27
|
+
// Prevent line wrap
|
|
28
|
+
margin-bottom: -2px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
// Logo
|
|
33
|
+
// ========================================================================
|
|
34
|
+
|
|
35
|
+
.hook-logo() {}
|
|
36
|
+
|
|
37
|
+
.hook-logo-hover() {}
|
|
38
|
+
|
|
39
|
+
|
|
17
40
|
// Miscellaneous
|
|
18
41
|
// ========================================================================
|
|
19
42
|
|
|
20
43
|
.hook-utility-misc() {}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
// Inverse
|
|
47
|
+
// ========================================================================
|
|
48
|
+
|
|
49
|
+
.hook-inverse-dropcap() {}
|
|
50
|
+
|
|
51
|
+
.hook-inverse-logo() {}
|
|
52
|
+
.hook-inverse-logo-hover() {}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
@import "icon.scss";
|
|
14
14
|
@import "form-range.scss";
|
|
15
15
|
@import "form.scss"; // After: Icon, Form Range
|
|
16
|
-
@import "search.scss"; // After: Icon
|
|
17
16
|
@import "button.scss";
|
|
18
17
|
@import "progress.scss";
|
|
19
18
|
|
|
@@ -32,11 +31,10 @@
|
|
|
32
31
|
@import "placeholder.scss";
|
|
33
32
|
@import "badge.scss";
|
|
34
33
|
@import "label.scss";
|
|
35
|
-
@import "dropcap.scss";
|
|
36
|
-
@import "floating-shadow.scss";
|
|
37
34
|
@import "overlay.scss"; // After: Icon
|
|
38
35
|
@import "article.scss";
|
|
39
36
|
@import "comment.scss";
|
|
37
|
+
@import "search.scss"; // After: Icon
|
|
40
38
|
|
|
41
39
|
// JavaScript
|
|
42
40
|
@import "accordion.scss";
|
|
@@ -46,7 +44,6 @@
|
|
|
46
44
|
@import "modal.scss"; // After: Close
|
|
47
45
|
@import "slideshow.scss";
|
|
48
46
|
@import "slider.scss";
|
|
49
|
-
@import "marquee.scss";
|
|
50
47
|
@import "sticky.scss";
|
|
51
48
|
@import "offcanvas.scss";
|
|
52
49
|
@import "switcher.scss";
|
|
@@ -73,10 +70,8 @@
|
|
|
73
70
|
@import "tab.scss";
|
|
74
71
|
@import "slidenav.scss"; // After: Icon
|
|
75
72
|
@import "dotnav.scss";
|
|
76
|
-
|
|
77
73
|
@import "dropdown.scss"; // After: Card, Nav
|
|
78
74
|
@import "lightbox.scss"; // After: Close, Slidenav
|
|
79
|
-
@import "logo.scss"; // After: Navbar
|
|
80
75
|
|
|
81
76
|
// Utilities
|
|
82
77
|
@import "animation.scss";
|
|
@@ -90,9 +85,9 @@
|
|
|
90
85
|
@import "svg.scss";
|
|
91
86
|
@import "utility.scss";
|
|
92
87
|
@import "flex.scss"; // After: Utility
|
|
93
|
-
@import "
|
|
94
|
-
@import "margin.scss"; // After: Position
|
|
88
|
+
@import "margin.scss";
|
|
95
89
|
@import "padding.scss";
|
|
90
|
+
@import "position.scss";
|
|
96
91
|
@import "transition.scss";
|
|
97
92
|
@import "visibility.scss";
|
|
98
93
|
@import "inverse.scss";
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
/* Toggle animation based on the State of the Parent Element
|
|
134
134
|
========================================================================== */
|
|
135
135
|
|
|
136
|
-
.uk-animation-toggle:not(:hover
|
|
136
|
+
.uk-animation-toggle:not(:hover):not(:focus) [class*="uk-animation-"] { animation-name: none; }
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
/* Keyframes used by animation classes
|
|
@@ -314,11 +314,11 @@
|
|
|
314
314
|
* Small
|
|
315
315
|
*/
|
|
316
316
|
|
|
317
|
-
.uk-card-small
|
|
318
|
-
.uk-card-small
|
|
317
|
+
.uk-card-small.uk-card-body,
|
|
318
|
+
.uk-card-small .uk-card-body { padding: $card-small-body-padding-vertical $card-small-body-padding-horizontal; }
|
|
319
319
|
|
|
320
|
-
.uk-card-small
|
|
321
|
-
.uk-card-small
|
|
320
|
+
.uk-card-small .uk-card-header { padding: $card-small-header-padding-vertical $card-small-header-padding-horizontal; }
|
|
321
|
+
.uk-card-small .uk-card-footer { padding: $card-small-footer-padding-vertical $card-small-footer-padding-horizontal; }
|
|
322
322
|
|
|
323
323
|
/*
|
|
324
324
|
* Large
|
|
@@ -327,11 +327,11 @@
|
|
|
327
327
|
/* Desktop and bigger */
|
|
328
328
|
@media (min-width: $breakpoint-large) {
|
|
329
329
|
|
|
330
|
-
.uk-card-large
|
|
331
|
-
.uk-card-large
|
|
330
|
+
.uk-card-large.uk-card-body,
|
|
331
|
+
.uk-card-large .uk-card-body { padding: $card-large-body-padding-vertical-l $card-large-body-padding-horizontal-l; }
|
|
332
332
|
|
|
333
|
-
.uk-card-large
|
|
334
|
-
.uk-card-large
|
|
333
|
+
.uk-card-large .uk-card-header { padding: $card-large-header-padding-vertical-l $card-large-header-padding-horizontal-l; }
|
|
334
|
+
.uk-card-large .uk-card-footer { padding: $card-large-footer-padding-vertical-l $card-large-footer-padding-horizontal-l; }
|
|
335
335
|
|
|
336
336
|
}
|
|
337
337
|
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
*/
|
|
212
212
|
|
|
213
213
|
.uk-input,
|
|
214
|
-
.uk-select:not([multiple]
|
|
214
|
+
.uk-select:not([multiple]):not([size]) {
|
|
215
215
|
height: $form-height;
|
|
216
216
|
vertical-align: middle;
|
|
217
217
|
@if(meta.mixin-exists(hook-form-single-line)) {@include hook-form-single-line();}
|
|
@@ -343,7 +343,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
343
343
|
* 3. Set `color` for options in the select dropdown, because the inherited `color` might be too light.
|
|
344
344
|
*/
|
|
345
345
|
|
|
346
|
-
.uk-select:not([multiple]
|
|
346
|
+
.uk-select:not([multiple]):not([size]) {
|
|
347
347
|
/* 1 */
|
|
348
348
|
-webkit-appearance: none;
|
|
349
349
|
-moz-appearance: none;
|
|
@@ -355,13 +355,13 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
/* 3 */
|
|
358
|
-
.uk-select:not([multiple]
|
|
358
|
+
.uk-select:not([multiple]):not([size]) option { color: $form-select-option-color; }
|
|
359
359
|
|
|
360
360
|
/*
|
|
361
361
|
* Disabled
|
|
362
362
|
*/
|
|
363
363
|
|
|
364
|
-
.uk-select:not([multiple]
|
|
364
|
+
.uk-select:not([multiple]):not([size]):disabled { @include svg-fill($internal-form-select-image, "#000", $form-select-disabled-icon-color); }
|
|
365
365
|
|
|
366
366
|
|
|
367
367
|
/* Datalist
|
|
@@ -479,7 +479,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
479
479
|
.uk-form-small:is(.uk-input, .uk-search-input, .uk-select, .uk-textarea) { font-size: $form-small-font-size; }
|
|
480
480
|
|
|
481
481
|
/* Single-line */
|
|
482
|
-
.uk-form-small:is(.uk-input, .uk-search-input, .uk-select:not([multiple]
|
|
482
|
+
.uk-form-small:is(.uk-input, .uk-search-input, .uk-select:not([multiple]):not([size])) {
|
|
483
483
|
height: $form-small-height;
|
|
484
484
|
padding-left: $form-small-padding-horizontal;
|
|
485
485
|
padding-right: $form-small-padding-horizontal;
|
|
@@ -489,7 +489,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
489
489
|
.uk-form-small:is(.uk-select[multiple], .uk-select[size], .uk-textarea) { padding: $form-small-multi-line-padding-vertical $form-small-multi-line-padding-horizontal; }
|
|
490
490
|
|
|
491
491
|
/* Any element */
|
|
492
|
-
.uk-form-small:not(select
|
|
492
|
+
.uk-form-small:not(select):not(input):not(textarea):not([type="radio"]):not([type="checkbox"]) { line-height: $form-small-line-height; }
|
|
493
493
|
|
|
494
494
|
/* Radio + Checkbox */
|
|
495
495
|
.uk-form-small:is(.uk-radio, .uk-checkbox) {
|
|
@@ -504,7 +504,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
504
504
|
.uk-form-large:is(.uk-input, .uk-search-input, .uk-select, .uk-textarea) { font-size: $form-large-font-size; }
|
|
505
505
|
|
|
506
506
|
/* Single-line */
|
|
507
|
-
.uk-form-large:is(.uk-input, .uk-search-input, .uk-select:not([multiple]
|
|
507
|
+
.uk-form-large:is(.uk-input, .uk-search-input, .uk-select:not([multiple]):not([size])) {
|
|
508
508
|
height: $form-large-height;
|
|
509
509
|
padding-left: $form-large-padding-horizontal;
|
|
510
510
|
padding-right: $form-large-padding-horizontal;
|
|
@@ -514,7 +514,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
514
514
|
.uk-form-large:is(.uk-select[multiple], .uk-select[size], .uk-textarea) { padding: $form-large-multi-line-padding-vertical $form-large-multi-line-padding-horizontal; }
|
|
515
515
|
|
|
516
516
|
/* Any element */
|
|
517
|
-
.uk-form-large:not(select
|
|
517
|
+
.uk-form-large:not(select):not(input):not(textarea):not([type="radio"]):not([type="checkbox"]) { line-height: $form-large-line-height; }
|
|
518
518
|
|
|
519
519
|
/* Radio + Checkbox */
|
|
520
520
|
.uk-form-large:is(.uk-radio, .uk-checkbox) {
|
|
@@ -618,7 +618,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
618
618
|
* Stacked
|
|
619
619
|
*/
|
|
620
620
|
|
|
621
|
-
.uk-form-stacked
|
|
621
|
+
.uk-form-stacked .uk-form-label {
|
|
622
622
|
display: block;
|
|
623
623
|
margin-bottom: $form-stacked-margin-bottom;
|
|
624
624
|
@if(meta.mixin-exists(hook-form-stacked-label)) {@include hook-form-stacked-label();}
|
|
@@ -632,7 +632,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
632
632
|
@media (max-width: $breakpoint-small-max) {
|
|
633
633
|
|
|
634
634
|
/* Behave like `uk-form-stacked` */
|
|
635
|
-
.uk-form-horizontal
|
|
635
|
+
.uk-form-horizontal .uk-form-label {
|
|
636
636
|
display: block;
|
|
637
637
|
margin-bottom: $form-stacked-margin-bottom;
|
|
638
638
|
@if(meta.mixin-exists(hook-form-stacked-label)) {@include hook-form-stacked-label();}
|
|
@@ -643,17 +643,17 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
643
643
|
/* Tablet landscape and bigger */
|
|
644
644
|
@media (min-width: $breakpoint-medium) {
|
|
645
645
|
|
|
646
|
-
.uk-form-horizontal
|
|
646
|
+
.uk-form-horizontal .uk-form-label {
|
|
647
647
|
width: $form-horizontal-label-width;
|
|
648
648
|
margin-top: $form-horizontal-label-margin-top;
|
|
649
649
|
float: left;
|
|
650
650
|
@if(meta.mixin-exists(hook-form-horizontal-label)) {@include hook-form-horizontal-label();}
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
.uk-form-horizontal
|
|
653
|
+
.uk-form-horizontal .uk-form-controls { margin-left: $form-horizontal-controls-margin-left; }
|
|
654
654
|
|
|
655
655
|
/* Better vertical alignment if controls are checkboxes and radio buttons with text */
|
|
656
|
-
.uk-form-horizontal
|
|
656
|
+
.uk-form-horizontal .uk-form-controls-text { padding-top: $form-horizontal-controls-text-padding-top; }
|
|
657
657
|
|
|
658
658
|
}
|
|
659
659
|
|
|
@@ -695,7 +695,7 @@ select.uk-form-width-xsmall { width: ($form-width-xsmall + 25px); }
|
|
|
695
695
|
* Make `input` element clickable through icon, e.g. if it's a `span`
|
|
696
696
|
*/
|
|
697
697
|
|
|
698
|
-
.uk-form-icon:not(a
|
|
698
|
+
.uk-form-icon:not(a):not(button):not(input) { pointer-events: none; }
|
|
699
699
|
|
|
700
700
|
/*
|
|
701
701
|
* Input padding
|