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
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
// `uk-object-*`
|
|
17
17
|
// `uk-border-*`
|
|
18
18
|
// `uk-box-shadow-*`
|
|
19
|
+
// `uk-box-shadow-bottom`
|
|
20
|
+
// `uk-dropcap`
|
|
21
|
+
// `uk-logo`
|
|
19
22
|
// `uk-blend-*`
|
|
20
23
|
// `uk-transform-*`
|
|
21
24
|
// `uk-transform-origin-*`
|
|
@@ -37,6 +40,9 @@
|
|
|
37
40
|
|
|
38
41
|
|
|
39
42
|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
40
46
|
/* ========================================================================
|
|
41
47
|
Component: Utility
|
|
42
48
|
========================================================================== */
|
|
@@ -341,6 +347,114 @@
|
|
|
341
347
|
.uk-box-shadow-hover-xlarge:hover { box-shadow: $global-xlarge-box-shadow; }
|
|
342
348
|
|
|
343
349
|
|
|
350
|
+
/* Box-shadow bottom
|
|
351
|
+
========================================================================== */
|
|
352
|
+
|
|
353
|
+
/*
|
|
354
|
+
* 1. Set position.
|
|
355
|
+
* 2. Set style
|
|
356
|
+
* 3. Fix shadow being clipped in Safari if container is animated
|
|
357
|
+
*/
|
|
358
|
+
|
|
359
|
+
@supports (filter: blur(0)) {
|
|
360
|
+
|
|
361
|
+
.uk-box-shadow-bottom {
|
|
362
|
+
display: inline-block;
|
|
363
|
+
position: relative;
|
|
364
|
+
z-index: 0;
|
|
365
|
+
max-width: 100%;
|
|
366
|
+
vertical-align: middle;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.uk-box-shadow-bottom::after {
|
|
370
|
+
content: "";
|
|
371
|
+
/* 1 */
|
|
372
|
+
position: absolute;
|
|
373
|
+
bottom: $box-shadow-bottom-bottom;
|
|
374
|
+
left: 0;
|
|
375
|
+
right: 0;
|
|
376
|
+
z-index: -1;
|
|
377
|
+
/* 2 */
|
|
378
|
+
height: $box-shadow-bottom-height;
|
|
379
|
+
border-radius: $box-shadow-bottom-border-radius;
|
|
380
|
+
background: $box-shadow-bottom-background;
|
|
381
|
+
filter: blur($box-shadow-bottom-blur);
|
|
382
|
+
/* 3 */
|
|
383
|
+
will-change: filter;
|
|
384
|
+
@if(meta.mixin-exists(hook-box-shadow-bottom)) {@include hook-box-shadow-bottom();}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
/* Drop cap
|
|
391
|
+
========================================================================== */
|
|
392
|
+
|
|
393
|
+
/*
|
|
394
|
+
* 1. Firefox doesn't apply `::first-letter` if the first letter is inside child elements
|
|
395
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=214004
|
|
396
|
+
* 2. In Firefox, a floating `::first-letter` doesn't have a line box and there for no `line-height`
|
|
397
|
+
* https://bugzilla.mozilla.org/show_bug.cgi?id=317933
|
|
398
|
+
*/
|
|
399
|
+
|
|
400
|
+
.uk-dropcap::first-letter,
|
|
401
|
+
/* 1 */
|
|
402
|
+
.uk-dropcap > p:first-of-type::first-letter {
|
|
403
|
+
display: block;
|
|
404
|
+
margin-right: $dropcap-margin-right;
|
|
405
|
+
float: left;
|
|
406
|
+
font-size: $dropcap-font-size;
|
|
407
|
+
line-height: $dropcap-line-height;
|
|
408
|
+
@if(meta.mixin-exists(hook-dropcap)) {@include hook-dropcap();}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* 2 */
|
|
412
|
+
@-moz-document url-prefix() {
|
|
413
|
+
|
|
414
|
+
.uk-dropcap::first-letter,
|
|
415
|
+
.uk-dropcap > p:first-of-type::first-letter { margin-top: 1.1%; }
|
|
416
|
+
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
/* Logo
|
|
421
|
+
========================================================================== */
|
|
422
|
+
|
|
423
|
+
/*
|
|
424
|
+
* 1. Style
|
|
425
|
+
* 2. Required for `a`
|
|
426
|
+
* 3. Behave like image but can be overridden through flex utility classes
|
|
427
|
+
*/
|
|
428
|
+
|
|
429
|
+
.uk-logo {
|
|
430
|
+
/* 1 */
|
|
431
|
+
font-size: $logo-font-size;
|
|
432
|
+
font-family: $logo-font-family;
|
|
433
|
+
color: $logo-color;
|
|
434
|
+
/* 2 */
|
|
435
|
+
text-decoration: none;
|
|
436
|
+
@if(meta.mixin-exists(hook-logo)) {@include hook-logo();}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/* 3 */
|
|
440
|
+
:where(.uk-logo) {
|
|
441
|
+
display: inline-block;
|
|
442
|
+
vertical-align: middle;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* Hover */
|
|
446
|
+
.uk-logo:hover {
|
|
447
|
+
color: $logo-hover-color;
|
|
448
|
+
/* 1 */
|
|
449
|
+
text-decoration: none;
|
|
450
|
+
@if(meta.mixin-exists(hook-logo-hover)) {@include hook-logo-hover();}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.uk-logo :where(img, svg, video) { display: block; }
|
|
454
|
+
|
|
455
|
+
.uk-logo-inverse { display: none; }
|
|
456
|
+
|
|
457
|
+
|
|
344
458
|
/* Disabled State
|
|
345
459
|
========================================================================== */
|
|
346
460
|
|
|
@@ -418,4 +532,19 @@
|
|
|
418
532
|
@if(meta.mixin-exists(hook-utility-misc)) {@include hook-utility-misc();}
|
|
419
533
|
|
|
420
534
|
// @mixin hook-panel-scrollable(){}
|
|
535
|
+
// @mixin hook-box-shadow-bottom(){}
|
|
536
|
+
// @mixin hook-dropcap(){}
|
|
537
|
+
// @mixin hook-logo(){}
|
|
538
|
+
// @mixin hook-logo-hover(){}
|
|
421
539
|
// @mixin hook-utility-misc(){}
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
// Inverse
|
|
543
|
+
// ========================================================================
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
// @mixin hook-inverse-dropcap(){}
|
|
549
|
+
// @mixin hook-inverse-logo(){}
|
|
550
|
+
// @mixin hook-inverse-logo-hover(){}
|
|
@@ -116,10 +116,10 @@
|
|
|
116
116
|
* Note: `clip-path` doesn't work with `tabindex` on touch devices.
|
|
117
117
|
*/
|
|
118
118
|
|
|
119
|
-
.uk-hidden-visually:not(:focus
|
|
120
|
-
.uk-visible-toggle:not(:hover
|
|
119
|
+
.uk-hidden-visually:not(:focus):not(:active):not(:focus-within),
|
|
120
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-visible):not(:has(:focus-visible)),
|
|
121
121
|
// Fallback for Safari 18.3 `:not(:has(...)) invalidation` bug. Remove when fixed.
|
|
122
|
-
.uk-visible-toggle:not(:hover
|
|
122
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
|
|
123
123
|
/* 1 */
|
|
124
124
|
position: absolute !important;
|
|
125
125
|
/* 2 */
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
* Note: `clip-path` doesn't work with hover for elements outside of the toggle box.
|
|
138
138
|
*/
|
|
139
139
|
|
|
140
|
-
.uk-visible-toggle:not(:hover
|
|
140
|
+
.uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) { opacity: 0 !important; }
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
/* Based on Hover Capability of the Pointing Device
|
|
@@ -81,6 +81,11 @@
|
|
|
81
81
|
text-decoration: underline;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
.uk-alert a:not([class]):hover {
|
|
85
|
+
color: inherit;
|
|
86
|
+
text-decoration: underline;
|
|
87
|
+
}
|
|
88
|
+
|
|
84
89
|
}
|
|
85
90
|
@mixin hook-align-misc(){}
|
|
86
91
|
@mixin hook-animation-misc(){}
|
|
@@ -819,20 +824,6 @@
|
|
|
819
824
|
@mixin hook-dropbar-left(){ box-shadow: $dropbar-left-box-shadow; }
|
|
820
825
|
@mixin hook-dropbar-right(){ box-shadow: $dropbar-right-box-shadow; }
|
|
821
826
|
@mixin hook-dropbar-misc(){}
|
|
822
|
-
@mixin hook-dropcap(){
|
|
823
|
-
// Prevent line wrap
|
|
824
|
-
margin-bottom: -2px;
|
|
825
|
-
}
|
|
826
|
-
@mixin hook-dropcap-misc(){}
|
|
827
|
-
@mixin hook-inverse-dropcap(){}
|
|
828
|
-
@mixin hook-inverse-component-dropcap(){
|
|
829
|
-
|
|
830
|
-
.uk-dropcap::first-letter,
|
|
831
|
-
.uk-dropcap p:first-of-type::first-letter {
|
|
832
|
-
@if(meta.mixin-exists(hook-inverse-dropcap)) {@include hook-inverse-dropcap();}
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
}
|
|
836
827
|
@mixin hook-dropdown(){ box-shadow: $dropdown-box-shadow; }
|
|
837
828
|
@mixin hook-dropdown-dropbar(){ box-shadow: none; }
|
|
838
829
|
@mixin hook-dropdown-dropbar-large(){}
|
|
@@ -845,8 +836,6 @@
|
|
|
845
836
|
@mixin hook-dropdown-misc(){}
|
|
846
837
|
@mixin hook-dropnav-misc(){}
|
|
847
838
|
@mixin hook-flex-misc(){}
|
|
848
|
-
@mixin hook-floating-shadow(){}
|
|
849
|
-
@mixin hook-floating-shadow-misc(){}
|
|
850
839
|
@mixin hook-form-range(){}
|
|
851
840
|
@mixin hook-form-range-track(){ border-radius: $form-range-track-border-radius; }
|
|
852
841
|
@mixin hook-form-range-track-focus(){}
|
|
@@ -964,7 +953,7 @@
|
|
|
964
953
|
// Select
|
|
965
954
|
//
|
|
966
955
|
|
|
967
|
-
.uk-select:not([multiple]
|
|
956
|
+
.uk-select:not([multiple]):not([size]) { @include svg-fill($internal-form-select-image, "#000", $inverse-form-select-icon-color); }
|
|
968
957
|
|
|
969
958
|
//
|
|
970
959
|
// Datalist
|
|
@@ -1036,7 +1025,7 @@
|
|
|
1036
1025
|
@if(meta.mixin-exists(hook-inverse-grid-divider-horizontal)) {@include hook-inverse-grid-divider-horizontal();}
|
|
1037
1026
|
}
|
|
1038
1027
|
|
|
1039
|
-
.uk-grid-divider.uk-grid-stack >
|
|
1028
|
+
.uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
|
|
1040
1029
|
border-top-color: $inverse-grid-divider-border;
|
|
1041
1030
|
@if(meta.mixin-exists(hook-inverse-grid-divider-vertical)) {@include hook-inverse-grid-divider-vertical();}
|
|
1042
1031
|
}
|
|
@@ -1336,27 +1325,6 @@
|
|
|
1336
1325
|
|
|
1337
1326
|
.uk-list-striped > :nth-of-type(odd) { background-color: $inverse-list-striped-background; }
|
|
1338
1327
|
|
|
1339
|
-
}
|
|
1340
|
-
@mixin hook-logo(){}
|
|
1341
|
-
@mixin hook-logo-hover(){}
|
|
1342
|
-
@mixin hook-logo-misc(){}
|
|
1343
|
-
@mixin hook-inverse-logo(){}
|
|
1344
|
-
@mixin hook-inverse-logo-hover(){}
|
|
1345
|
-
@mixin hook-inverse-component-logo(){
|
|
1346
|
-
|
|
1347
|
-
.uk-logo {
|
|
1348
|
-
color: $inverse-logo-color;
|
|
1349
|
-
@if(meta.mixin-exists(hook-inverse-logo)) {@include hook-inverse-logo();}
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
.uk-logo:hover {
|
|
1353
|
-
color: $inverse-logo-hover-color;
|
|
1354
|
-
@if(meta.mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
.uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse:not([uk-svg])), .uk-logo-inverse, [uk-svg]) { display: none; }
|
|
1358
|
-
.uk-logo-inverse:not([uk-svg]) { display: block; }
|
|
1359
|
-
|
|
1360
1328
|
}
|
|
1361
1329
|
@mixin hook-margin-misc(){}
|
|
1362
1330
|
@mixin hook-marker(){
|
|
@@ -1380,8 +1348,6 @@
|
|
|
1380
1348
|
}
|
|
1381
1349
|
|
|
1382
1350
|
}
|
|
1383
|
-
@mixin hook-marquee(){}
|
|
1384
|
-
@mixin hook-marquee-misc(){}
|
|
1385
1351
|
@mixin hook-modal(){}
|
|
1386
1352
|
@mixin hook-modal-dialog(){}
|
|
1387
1353
|
@mixin hook-modal-full(){}
|
|
@@ -2200,7 +2166,10 @@
|
|
|
2200
2166
|
&::after {
|
|
2201
2167
|
content: "";
|
|
2202
2168
|
position: absolute;
|
|
2203
|
-
|
|
2169
|
+
top: 0;
|
|
2170
|
+
bottom: 0;
|
|
2171
|
+
left: 0;
|
|
2172
|
+
right: 0;
|
|
2204
2173
|
background-image: $thumbnav-item-gradient;
|
|
2205
2174
|
transition: opacity 0.1s ease-in-out;
|
|
2206
2175
|
}
|
|
@@ -2272,7 +2241,38 @@
|
|
|
2272
2241
|
}
|
|
2273
2242
|
@mixin hook-transition-misc(){}
|
|
2274
2243
|
@mixin hook-panel-scrollable(){}
|
|
2244
|
+
@mixin hook-box-shadow-bottom(){}
|
|
2245
|
+
@mixin hook-dropcap(){
|
|
2246
|
+
// Prevent line wrap
|
|
2247
|
+
margin-bottom: -2px;
|
|
2248
|
+
}
|
|
2249
|
+
@mixin hook-logo(){}
|
|
2250
|
+
@mixin hook-logo-hover(){}
|
|
2275
2251
|
@mixin hook-utility-misc(){}
|
|
2252
|
+
@mixin hook-inverse-dropcap(){}
|
|
2253
|
+
@mixin hook-inverse-logo(){}
|
|
2254
|
+
@mixin hook-inverse-logo-hover(){}
|
|
2255
|
+
@mixin hook-inverse-component-utility(){
|
|
2256
|
+
|
|
2257
|
+
.uk-dropcap::first-letter,
|
|
2258
|
+
.uk-dropcap p:first-of-type::first-letter {
|
|
2259
|
+
@if(meta.mixin-exists(hook-inverse-dropcap)) {@include hook-inverse-dropcap();}
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
.uk-logo {
|
|
2263
|
+
color: $inverse-logo-color;
|
|
2264
|
+
@if(meta.mixin-exists(hook-inverse-logo)) {@include hook-inverse-logo();}
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
.uk-logo:hover {
|
|
2268
|
+
color: $inverse-logo-hover-color;
|
|
2269
|
+
@if(meta.mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
.uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
|
|
2273
|
+
.uk-logo-inverse { display: block; }
|
|
2274
|
+
|
|
2275
|
+
}
|
|
2276
2276
|
@mixin hook-visibility-misc(){}
|
|
2277
2277
|
@mixin hook-width-misc(){}
|
|
2278
2278
|
@mixin hook-inverse() {
|
|
@@ -2288,7 +2288,6 @@
|
|
|
2288
2288
|
@include hook-inverse-component-countdown();
|
|
2289
2289
|
@include hook-inverse-component-divider();
|
|
2290
2290
|
@include hook-inverse-component-dotnav();
|
|
2291
|
-
@include hook-inverse-component-dropcap();
|
|
2292
2291
|
@include hook-inverse-component-form-range();
|
|
2293
2292
|
@include hook-inverse-component-form();
|
|
2294
2293
|
@include hook-inverse-component-grid();
|
|
@@ -2299,7 +2298,6 @@
|
|
|
2299
2298
|
@include hook-inverse-component-leader();
|
|
2300
2299
|
@include hook-inverse-component-link();
|
|
2301
2300
|
@include hook-inverse-component-list();
|
|
2302
|
-
@include hook-inverse-component-logo();
|
|
2303
2301
|
@include hook-inverse-component-marker();
|
|
2304
2302
|
@include hook-inverse-component-nav();
|
|
2305
2303
|
@include hook-inverse-component-navbar();
|
|
@@ -2312,4 +2310,5 @@
|
|
|
2312
2310
|
@include hook-inverse-component-text();
|
|
2313
2311
|
@include hook-inverse-component-thumbnav();
|
|
2314
2312
|
@include hook-inverse-component-totop();
|
|
2313
|
+
@include hook-inverse-component-utility();
|
|
2315
2314
|
}
|
package/src/scss/mixins.scss
CHANGED
|
@@ -604,17 +604,6 @@
|
|
|
604
604
|
@mixin hook-dropbar-left(){}
|
|
605
605
|
@mixin hook-dropbar-right(){}
|
|
606
606
|
@mixin hook-dropbar-misc(){}
|
|
607
|
-
@mixin hook-dropcap(){}
|
|
608
|
-
@mixin hook-dropcap-misc(){}
|
|
609
|
-
@mixin hook-inverse-dropcap(){}
|
|
610
|
-
@mixin hook-inverse-component-dropcap(){
|
|
611
|
-
|
|
612
|
-
.uk-dropcap::first-letter,
|
|
613
|
-
.uk-dropcap p:first-of-type::first-letter {
|
|
614
|
-
@if(meta.mixin-exists(hook-inverse-dropcap)) {@include hook-inverse-dropcap();}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
}
|
|
618
607
|
@mixin hook-dropdown(){}
|
|
619
608
|
@mixin hook-dropdown-dropbar(){}
|
|
620
609
|
@mixin hook-dropdown-dropbar-large(){}
|
|
@@ -627,8 +616,6 @@
|
|
|
627
616
|
@mixin hook-dropdown-misc(){}
|
|
628
617
|
@mixin hook-dropnav-misc(){}
|
|
629
618
|
@mixin hook-flex-misc(){}
|
|
630
|
-
@mixin hook-floating-shadow(){}
|
|
631
|
-
@mixin hook-floating-shadow-misc(){}
|
|
632
619
|
@mixin hook-form-range(){}
|
|
633
620
|
@mixin hook-form-range-track(){}
|
|
634
621
|
@mixin hook-form-range-track-focus(){}
|
|
@@ -732,7 +719,7 @@
|
|
|
732
719
|
// Select
|
|
733
720
|
//
|
|
734
721
|
|
|
735
|
-
.uk-select:not([multiple]
|
|
722
|
+
.uk-select:not([multiple]):not([size]) { @include svg-fill($internal-form-select-image, "#000", $inverse-form-select-icon-color); }
|
|
736
723
|
|
|
737
724
|
//
|
|
738
725
|
// Datalist
|
|
@@ -804,7 +791,7 @@
|
|
|
804
791
|
@if(meta.mixin-exists(hook-inverse-grid-divider-horizontal)) {@include hook-inverse-grid-divider-horizontal();}
|
|
805
792
|
}
|
|
806
793
|
|
|
807
|
-
.uk-grid-divider.uk-grid-stack >
|
|
794
|
+
.uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
|
|
808
795
|
border-top-color: $inverse-grid-divider-border;
|
|
809
796
|
@if(meta.mixin-exists(hook-inverse-grid-divider-vertical)) {@include hook-inverse-grid-divider-vertical();}
|
|
810
797
|
}
|
|
@@ -1077,27 +1064,6 @@
|
|
|
1077
1064
|
|
|
1078
1065
|
.uk-list-striped > :nth-of-type(odd) { background-color: $inverse-list-striped-background; }
|
|
1079
1066
|
|
|
1080
|
-
}
|
|
1081
|
-
@mixin hook-logo(){}
|
|
1082
|
-
@mixin hook-logo-hover(){}
|
|
1083
|
-
@mixin hook-logo-misc(){}
|
|
1084
|
-
@mixin hook-inverse-logo(){}
|
|
1085
|
-
@mixin hook-inverse-logo-hover(){}
|
|
1086
|
-
@mixin hook-inverse-component-logo(){
|
|
1087
|
-
|
|
1088
|
-
.uk-logo {
|
|
1089
|
-
color: $inverse-logo-color;
|
|
1090
|
-
@if(meta.mixin-exists(hook-inverse-logo)) {@include hook-inverse-logo();}
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
.uk-logo:hover {
|
|
1094
|
-
color: $inverse-logo-hover-color;
|
|
1095
|
-
@if(meta.mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
.uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse:not([uk-svg])), .uk-logo-inverse, [uk-svg]) { display: none; }
|
|
1099
|
-
.uk-logo-inverse:not([uk-svg]) { display: block; }
|
|
1100
|
-
|
|
1101
1067
|
}
|
|
1102
1068
|
@mixin hook-margin-misc(){}
|
|
1103
1069
|
@mixin hook-marker(){}
|
|
@@ -1119,8 +1085,6 @@
|
|
|
1119
1085
|
}
|
|
1120
1086
|
|
|
1121
1087
|
}
|
|
1122
|
-
@mixin hook-marquee(){}
|
|
1123
|
-
@mixin hook-marquee-misc(){}
|
|
1124
1088
|
@mixin hook-modal(){}
|
|
1125
1089
|
@mixin hook-modal-dialog(){}
|
|
1126
1090
|
@mixin hook-modal-full(){}
|
|
@@ -1885,7 +1849,35 @@
|
|
|
1885
1849
|
}
|
|
1886
1850
|
@mixin hook-transition-misc(){}
|
|
1887
1851
|
@mixin hook-panel-scrollable(){}
|
|
1852
|
+
@mixin hook-box-shadow-bottom(){}
|
|
1853
|
+
@mixin hook-dropcap(){}
|
|
1854
|
+
@mixin hook-logo(){}
|
|
1855
|
+
@mixin hook-logo-hover(){}
|
|
1888
1856
|
@mixin hook-utility-misc(){}
|
|
1857
|
+
@mixin hook-inverse-dropcap(){}
|
|
1858
|
+
@mixin hook-inverse-logo(){}
|
|
1859
|
+
@mixin hook-inverse-logo-hover(){}
|
|
1860
|
+
@mixin hook-inverse-component-utility(){
|
|
1861
|
+
|
|
1862
|
+
.uk-dropcap::first-letter,
|
|
1863
|
+
.uk-dropcap p:first-of-type::first-letter {
|
|
1864
|
+
@if(meta.mixin-exists(hook-inverse-dropcap)) {@include hook-inverse-dropcap();}
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
.uk-logo {
|
|
1868
|
+
color: $inverse-logo-color;
|
|
1869
|
+
@if(meta.mixin-exists(hook-inverse-logo)) {@include hook-inverse-logo();}
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
.uk-logo:hover {
|
|
1873
|
+
color: $inverse-logo-hover-color;
|
|
1874
|
+
@if(meta.mixin-exists(hook-inverse-logo-hover)) {@include hook-inverse-logo-hover();}
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
.uk-logo:has(.uk-logo-inverse) > :not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse) { display: none; }
|
|
1878
|
+
.uk-logo-inverse { display: block; }
|
|
1879
|
+
|
|
1880
|
+
}
|
|
1889
1881
|
@mixin hook-visibility-misc(){}
|
|
1890
1882
|
@mixin hook-width-misc(){}
|
|
1891
1883
|
@mixin hook-inverse() {
|
|
@@ -1901,7 +1893,6 @@
|
|
|
1901
1893
|
@include hook-inverse-component-countdown();
|
|
1902
1894
|
@include hook-inverse-component-divider();
|
|
1903
1895
|
@include hook-inverse-component-dotnav();
|
|
1904
|
-
@include hook-inverse-component-dropcap();
|
|
1905
1896
|
@include hook-inverse-component-form-range();
|
|
1906
1897
|
@include hook-inverse-component-form();
|
|
1907
1898
|
@include hook-inverse-component-grid();
|
|
@@ -1912,7 +1903,6 @@
|
|
|
1912
1903
|
@include hook-inverse-component-leader();
|
|
1913
1904
|
@include hook-inverse-component-link();
|
|
1914
1905
|
@include hook-inverse-component-list();
|
|
1915
|
-
@include hook-inverse-component-logo();
|
|
1916
1906
|
@include hook-inverse-component-marker();
|
|
1917
1907
|
@include hook-inverse-component-nav();
|
|
1918
1908
|
@include hook-inverse-component-navbar();
|
|
@@ -1925,4 +1915,5 @@
|
|
|
1925
1915
|
@include hook-inverse-component-text();
|
|
1926
1916
|
@include hook-inverse-component-thumbnav();
|
|
1927
1917
|
@include hook-inverse-component-totop();
|
|
1918
|
+
@include hook-inverse-component-utility();
|
|
1928
1919
|
}
|
|
@@ -387,9 +387,6 @@ $dropbar-color-mode: dark !default;
|
|
|
387
387
|
$dropbar-focus-outline: $base-focus-outline !default;
|
|
388
388
|
$dropbar-large-padding-top: 40px !default;
|
|
389
389
|
$dropbar-large-padding-bottom: $dropbar-large-padding-top !default;
|
|
390
|
-
$dropcap-margin-right: 10px !default;
|
|
391
|
-
$dropcap-font-size: (($global-line-height * 3) * 1em) !default;
|
|
392
|
-
$dropcap-line-height: 1 !default;
|
|
393
390
|
$dropdown-margin: $global-small-margin !default;
|
|
394
391
|
$dropdown-viewport-margin: 15px !default;
|
|
395
392
|
$dropdown-min-width: 200px !default;
|
|
@@ -416,11 +413,6 @@ $dropdown-nav-divider-border: $global-border !default;
|
|
|
416
413
|
$dropdown-nav-sublist-item-color: $global-muted-color !default;
|
|
417
414
|
$dropdown-nav-sublist-item-hover-color: $global-color !default;
|
|
418
415
|
$dropnav-dropbar-z-index: $global-z-index - 20 !default;
|
|
419
|
-
$floating-shadow-height: 30px !default;
|
|
420
|
-
$floating-shadow-bottom: (-$floating-shadow-height) !default;
|
|
421
|
-
$floating-shadow-border-radius: 100% !default;
|
|
422
|
-
$floating-shadow-background: #444 !default;
|
|
423
|
-
$floating-shadow-blur: 20px !default;
|
|
424
416
|
$form-range-track-height: 3px !default;
|
|
425
417
|
$form-range-track-background: color.adjust($global-muted-background, $lightness: -5%) !default;
|
|
426
418
|
$form-range-track-focus-background: color.adjust($form-range-track-background, $lightness: -5%) !default;
|
|
@@ -663,12 +655,6 @@ $inverse-list-secondary-color: $inverse-global-primary-background !default;
|
|
|
663
655
|
$inverse-list-divider-border: $inverse-global-border !default;
|
|
664
656
|
$inverse-list-striped-background: $inverse-global-muted-background !default;
|
|
665
657
|
$inverse-list-bullet-icon-color: $inverse-global-color !default;
|
|
666
|
-
$logo-font-size: $global-large-font-size !default;
|
|
667
|
-
$logo-font-family: $global-font-family !default;
|
|
668
|
-
$logo-color: $global-emphasis-color !default;
|
|
669
|
-
$logo-hover-color: $global-emphasis-color !default;
|
|
670
|
-
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
|
671
|
-
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
|
672
658
|
$margin-margin: $global-margin !default;
|
|
673
659
|
$margin-xsmall-margin: 5px !default;
|
|
674
660
|
$margin-small-margin: $global-small-margin !default;
|
|
@@ -1172,7 +1158,21 @@ $panel-scrollable-border: $global-border !default;
|
|
|
1172
1158
|
$overflow-fade-size: 100px !default;
|
|
1173
1159
|
$border-rounded-border-radius: 5px !default;
|
|
1174
1160
|
$box-shadow-duration: 0.1s !default;
|
|
1161
|
+
$box-shadow-bottom-height: 30px !default;
|
|
1162
|
+
$box-shadow-bottom-bottom: (-$box-shadow-bottom-height) !default;
|
|
1163
|
+
$box-shadow-bottom-border-radius: 100% !default;
|
|
1164
|
+
$box-shadow-bottom-background: #444 !default;
|
|
1165
|
+
$box-shadow-bottom-blur: 20px !default;
|
|
1166
|
+
$dropcap-margin-right: 10px !default;
|
|
1167
|
+
$dropcap-font-size: (($global-line-height * 3) * 1em) !default;
|
|
1168
|
+
$dropcap-line-height: 1 !default;
|
|
1169
|
+
$logo-font-size: $global-large-font-size !default;
|
|
1170
|
+
$logo-font-family: $global-font-family !default;
|
|
1171
|
+
$logo-color: $global-emphasis-color !default;
|
|
1172
|
+
$logo-hover-color: $global-emphasis-color !default;
|
|
1175
1173
|
$dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3) !default;
|
|
1174
|
+
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
|
1175
|
+
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
|
1176
1176
|
$deprecated: false !default;
|
|
1177
1177
|
$breakpoint-small: 640px !default;
|
|
1178
1178
|
$breakpoint-medium: 960px !default;
|
package/src/scss/variables.scss
CHANGED
|
@@ -386,9 +386,6 @@ $dropbar-color-mode: dark !default;
|
|
|
386
386
|
$dropbar-focus-outline: $base-focus-outline !default;
|
|
387
387
|
$dropbar-large-padding-top: 40px !default;
|
|
388
388
|
$dropbar-large-padding-bottom: $dropbar-large-padding-top !default;
|
|
389
|
-
$dropcap-margin-right: 10px !default;
|
|
390
|
-
$dropcap-font-size: (($global-line-height * 3) * 1em) !default;
|
|
391
|
-
$dropcap-line-height: 1 !default;
|
|
392
389
|
$dropdown-margin: $global-small-margin !default;
|
|
393
390
|
$dropdown-viewport-margin: 15px !default;
|
|
394
391
|
$dropdown-min-width: 200px !default;
|
|
@@ -415,11 +412,6 @@ $dropdown-nav-divider-border: $global-border !default;
|
|
|
415
412
|
$dropdown-nav-sublist-item-color: $global-muted-color !default;
|
|
416
413
|
$dropdown-nav-sublist-item-hover-color: $global-color !default;
|
|
417
414
|
$dropnav-dropbar-z-index: $global-z-index - 20 !default;
|
|
418
|
-
$floating-shadow-height: 30px !default;
|
|
419
|
-
$floating-shadow-bottom: (-$floating-shadow-height) !default;
|
|
420
|
-
$floating-shadow-border-radius: 100% !default;
|
|
421
|
-
$floating-shadow-background: #444 !default;
|
|
422
|
-
$floating-shadow-blur: 20px !default;
|
|
423
415
|
$form-range-track-height: 3px !default;
|
|
424
416
|
$form-range-track-background: color.adjust($global-muted-background, $lightness: -5%) !default;
|
|
425
417
|
$form-range-track-focus-background: color.adjust($form-range-track-background, $lightness: -5%) !default;
|
|
@@ -661,12 +653,6 @@ $inverse-list-secondary-color: $inverse-global-primary-background !default;
|
|
|
661
653
|
$inverse-list-divider-border: $inverse-global-border !default;
|
|
662
654
|
$inverse-list-striped-background: $inverse-global-muted-background !default;
|
|
663
655
|
$inverse-list-bullet-icon-color: $inverse-global-color !default;
|
|
664
|
-
$logo-font-size: $global-large-font-size !default;
|
|
665
|
-
$logo-font-family: $global-font-family !default;
|
|
666
|
-
$logo-color: $global-emphasis-color !default;
|
|
667
|
-
$logo-hover-color: $global-emphasis-color !default;
|
|
668
|
-
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
|
669
|
-
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
|
670
656
|
$margin-margin: $global-margin !default;
|
|
671
657
|
$margin-xsmall-margin: 5px !default;
|
|
672
658
|
$margin-small-margin: $global-small-margin !default;
|
|
@@ -1170,7 +1156,21 @@ $panel-scrollable-border: $global-border !default;
|
|
|
1170
1156
|
$overflow-fade-size: 100px !default;
|
|
1171
1157
|
$border-rounded-border-radius: 5px !default;
|
|
1172
1158
|
$box-shadow-duration: 0.1s !default;
|
|
1159
|
+
$box-shadow-bottom-height: 30px !default;
|
|
1160
|
+
$box-shadow-bottom-bottom: (-$box-shadow-bottom-height) !default;
|
|
1161
|
+
$box-shadow-bottom-border-radius: 100% !default;
|
|
1162
|
+
$box-shadow-bottom-background: #444 !default;
|
|
1163
|
+
$box-shadow-bottom-blur: 20px !default;
|
|
1164
|
+
$dropcap-margin-right: 10px !default;
|
|
1165
|
+
$dropcap-font-size: (($global-line-height * 3) * 1em) !default;
|
|
1166
|
+
$dropcap-line-height: 1 !default;
|
|
1167
|
+
$logo-font-size: $global-large-font-size !default;
|
|
1168
|
+
$logo-font-family: $global-font-family !default;
|
|
1169
|
+
$logo-color: $global-emphasis-color !default;
|
|
1170
|
+
$logo-hover-color: $global-emphasis-color !default;
|
|
1173
1171
|
$dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3) !default;
|
|
1172
|
+
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
|
1173
|
+
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
|
1174
1174
|
$deprecated: false !default;
|
|
1175
1175
|
$breakpoint-small: 640px !default;
|
|
1176
1176
|
$breakpoint-medium: 960px !default;
|