uikit 3.8.0 → 3.9.0
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/{.eslintrc.js → .eslintrc.json} +5 -5
- package/CHANGELOG.md +21 -0
- package/build/{.eslintrc.js → .eslintrc.json} +5 -5
- package/build/build.js +59 -80
- package/build/icons.js +2 -11
- package/build/less.js +23 -38
- package/build/package.json +4 -0
- package/build/prefix.js +38 -94
- package/build/publishDev.js +11 -18
- package/build/release.js +34 -60
- package/build/scope.js +49 -84
- package/build/scss.js +14 -16
- package/build/util.js +107 -81
- package/dist/css/uikit-core-rtl.css +10 -10
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +10 -10
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +10 -10
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +10 -10
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- 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 +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- 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 +1 -1
- 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 +23 -14
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +23 -14
- package/dist/js/uikit.min.js +2 -2
- package/package.json +15 -14
- package/src/js/util/event.js +7 -7
- package/src/js/util/viewport.js +13 -7
- package/src/less/components/base.less +7 -4
- package/src/less/components/card.less +7 -7
- package/src/less/components/form-range.less +1 -1
- package/src/less/components/notification.less +1 -1
- package/src/less/components/padding.less +1 -1
- package/src/less/components/spinner.less +2 -2
- package/src/less/components/table.less +3 -3
- package/src/less/components/transition.less +4 -4
- package/src/less/components/utility.less +4 -4
- package/src/scss/components/base.scss +7 -4
- package/src/scss/components/card.scss +7 -7
- package/src/scss/components/form-range.scss +1 -1
- package/src/scss/components/notification.scss +1 -1
- package/src/scss/components/padding.scss +1 -1
- package/src/scss/components/spinner.scss +2 -2
- package/src/scss/components/table.scss +3 -3
- package/src/scss/components/transition.scss +4 -4
- package/src/scss/components/utility.scss +4 -4
- package/src/scss/variables-theme.scss +16 -13
- package/src/scss/variables.scss +16 -13
- package/tests/scroll.html +65 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.9.0",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
|
@@ -34,26 +34,27 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://getuikit.com",
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@rollup/plugin-alias": "^3.1.
|
|
37
|
+
"@rollup/plugin-alias": "^3.1.8",
|
|
38
38
|
"@rollup/plugin-buble": "^0.21.3",
|
|
39
|
-
"@rollup/plugin-replace": "^
|
|
40
|
-
"archiver": "5.3.0",
|
|
39
|
+
"@rollup/plugin-replace": "^3.0.0",
|
|
40
|
+
"archiver": "^5.3.0",
|
|
41
41
|
"camelcase": "^6.2.0",
|
|
42
|
-
"clean-css": "^5.
|
|
43
|
-
"dateformat": "^
|
|
44
|
-
"eslint": "8.0
|
|
42
|
+
"clean-css": "^5.2.2",
|
|
43
|
+
"dateformat": "^5.0.2",
|
|
44
|
+
"eslint": "^8.2.0",
|
|
45
|
+
"fs-extra": "^10.0.0",
|
|
45
46
|
"glob": "^7.2.0",
|
|
46
|
-
"inquirer": "8.2.0",
|
|
47
|
-
"less": "^
|
|
47
|
+
"inquirer": "^8.2.0",
|
|
48
|
+
"less": "^4.1.2",
|
|
48
49
|
"minimist": "^1.2.5",
|
|
49
50
|
"npm-watch": "github:dasdeck/npm-watch#46a8a36c61cfd998ed53d27f62eaf79e11c395b4",
|
|
50
|
-
"postcss": "8.3.
|
|
51
|
-
"rollup": "^2.
|
|
51
|
+
"postcss": "^8.3.11",
|
|
52
|
+
"rollup": "^2.59.0",
|
|
52
53
|
"rollup-plugin-html": "^0.2.1",
|
|
53
|
-
"rtlcss": "^3.
|
|
54
|
+
"rtlcss": "^3.5.0",
|
|
54
55
|
"semver": "^7.3.2",
|
|
55
|
-
"svgo": "^
|
|
56
|
-
"uglify-js": "^3.14.
|
|
56
|
+
"svgo": "^2.8.0",
|
|
57
|
+
"uglify-js": "^3.14.3"
|
|
57
58
|
},
|
|
58
59
|
"watch": {
|
|
59
60
|
"compile-js": "src/js/**/*.js",
|
package/src/js/util/event.js
CHANGED
|
@@ -57,7 +57,7 @@ export function once(...args) {
|
|
|
57
57
|
|
|
58
58
|
export function trigger(targets, event, detail) {
|
|
59
59
|
return toEventTargets(targets).reduce((notCanceled, target) =>
|
|
60
|
-
|
|
60
|
+
notCanceled && target.dispatchEvent(createEvent(event, true, true, detail))
|
|
61
61
|
, true);
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -121,12 +121,12 @@ function toEventTarget(target) {
|
|
|
121
121
|
|
|
122
122
|
export function toEventTargets(target) {
|
|
123
123
|
return isArray(target)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
? target.map(toEventTarget).filter(Boolean)
|
|
125
|
+
: isString(target)
|
|
126
|
+
? findAll(target)
|
|
127
|
+
: isEventTarget(target)
|
|
128
|
+
? [target]
|
|
129
|
+
: toNodes(target);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
export function isTouch(e) {
|
package/src/js/util/viewport.js
CHANGED
|
@@ -37,25 +37,31 @@ export function scrollTop(element, top) {
|
|
|
37
37
|
export function scrollIntoView(element, {offset: offsetBy = 0} = {}) {
|
|
38
38
|
|
|
39
39
|
const parents = isVisible(element) ? scrollParents(element) : [];
|
|
40
|
-
let diff = 0;
|
|
41
40
|
return parents.reduce((fn, scrollElement, i) => {
|
|
42
41
|
|
|
43
|
-
const {scrollTop, scrollHeight} = scrollElement;
|
|
42
|
+
const {scrollTop, scrollHeight, offsetHeight} = scrollElement;
|
|
44
43
|
const maxScroll = scrollHeight - getViewportClientHeight(scrollElement);
|
|
44
|
+
const {height: elHeight, top: elTop} = offset(parents[i - 1] || element);
|
|
45
45
|
|
|
46
46
|
let top = Math.ceil(
|
|
47
|
-
|
|
47
|
+
elTop
|
|
48
48
|
- offset(getViewport(scrollElement)).top
|
|
49
49
|
- offsetBy
|
|
50
|
-
+ diff
|
|
51
50
|
+ scrollTop
|
|
52
51
|
);
|
|
53
52
|
|
|
53
|
+
if (offsetBy > 0 && offsetHeight < elHeight + offsetBy) {
|
|
54
|
+
top += offsetBy;
|
|
55
|
+
} else {
|
|
56
|
+
offsetBy = 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
54
59
|
if (top > maxScroll) {
|
|
55
|
-
|
|
60
|
+
offsetBy -= top - maxScroll;
|
|
56
61
|
top = maxScroll;
|
|
57
|
-
} else {
|
|
58
|
-
|
|
62
|
+
} else if (top < 0) {
|
|
63
|
+
offsetBy -= top;
|
|
64
|
+
top = 0;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
return () => scrollTo(scrollElement, top - scrollTop).then(fn);
|
|
@@ -76,7 +76,10 @@
|
|
|
76
76
|
@base-pre-font-family: @base-code-font-family;
|
|
77
77
|
@base-pre-color: @global-color;
|
|
78
78
|
|
|
79
|
-
@base-focus-outline:
|
|
79
|
+
@base-focus-outline-width: 2px;
|
|
80
|
+
@base-focus-outline-style: dotted;
|
|
81
|
+
@base-focus-outline: @global-emphasis-color;
|
|
82
|
+
@base-focus-outline-offset: 1px;
|
|
80
83
|
|
|
81
84
|
@base-selection-background: #39f;
|
|
82
85
|
@base-selection-color: @global-inverse-color;
|
|
@@ -532,15 +535,15 @@ pre code { font-family: @base-pre-font-family; }
|
|
|
532
535
|
|
|
533
536
|
/* 2 */
|
|
534
537
|
:focus:not([tabindex^='-']) {
|
|
535
|
-
outline:
|
|
536
|
-
outline-offset:
|
|
538
|
+
outline: @base-focus-outline-width @base-focus-outline-style @base-focus-outline;
|
|
539
|
+
outline-offset: @base-focus-outline-offset;
|
|
537
540
|
}
|
|
538
541
|
|
|
539
542
|
/* 3 */
|
|
540
543
|
:focus:not(:focus-visible) { outline: none; }
|
|
541
544
|
|
|
542
545
|
/* 4 */
|
|
543
|
-
:focus-visible { outline:
|
|
546
|
+
:focus-visible { outline: @base-focus-outline-width @base-focus-outline-style @base-focus-outline; }
|
|
544
547
|
|
|
545
548
|
|
|
546
549
|
/* Selection pseudo-element
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
@card-body-padding-vertical-l: @global-medium-gutter;
|
|
33
33
|
|
|
34
34
|
@card-header-padding-horizontal: @global-gutter;
|
|
35
|
-
@card-header-padding-vertical: round(@global-gutter / 2);
|
|
35
|
+
@card-header-padding-vertical: round((@global-gutter / 2));
|
|
36
36
|
|
|
37
37
|
@card-header-padding-horizontal-l: @global-medium-gutter;
|
|
38
|
-
@card-header-padding-vertical-l: round(@global-medium-gutter / 2);
|
|
38
|
+
@card-header-padding-vertical-l: round((@global-medium-gutter / 2));
|
|
39
39
|
|
|
40
40
|
@card-footer-padding-horizontal: @global-gutter;
|
|
41
41
|
@card-footer-padding-vertical: (@global-gutter / 2);
|
|
42
42
|
|
|
43
43
|
@card-footer-padding-horizontal-l: @global-medium-gutter;
|
|
44
|
-
@card-footer-padding-vertical-l: round(@global-medium-gutter / 2);
|
|
44
|
+
@card-footer-padding-vertical-l: round((@global-medium-gutter / 2));
|
|
45
45
|
|
|
46
46
|
@card-title-font-size: @global-large-font-size;
|
|
47
47
|
@card-title-line-height: 1.4;
|
|
@@ -76,16 +76,16 @@
|
|
|
76
76
|
@card-small-body-padding-horizontal: @global-margin;
|
|
77
77
|
@card-small-body-padding-vertical: @global-margin;
|
|
78
78
|
@card-small-header-padding-horizontal: @global-margin;
|
|
79
|
-
@card-small-header-padding-vertical: round(@global-margin / 1.5);
|
|
79
|
+
@card-small-header-padding-vertical: round((@global-margin / 1.5));
|
|
80
80
|
@card-small-footer-padding-horizontal: @global-margin;
|
|
81
|
-
@card-small-footer-padding-vertical: round(@global-margin / 1.5);
|
|
81
|
+
@card-small-footer-padding-vertical: round((@global-margin / 1.5));
|
|
82
82
|
|
|
83
83
|
@card-large-body-padding-horizontal-l: @global-large-gutter;
|
|
84
84
|
@card-large-body-padding-vertical-l: @global-large-gutter;
|
|
85
85
|
@card-large-header-padding-horizontal-l: @global-large-gutter;
|
|
86
|
-
@card-large-header-padding-vertical-l: round(@global-large-gutter / 2);
|
|
86
|
+
@card-large-header-padding-vertical-l: round((@global-large-gutter / 2));
|
|
87
87
|
@card-large-footer-padding-horizontal-l: @global-large-gutter;
|
|
88
|
-
@card-large-footer-padding-vertical-l: round(@global-large-gutter / 2);
|
|
88
|
+
@card-large-footer-padding-vertical-l: round((@global-large-gutter / 2));
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
/* ========================================================================
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
.uk-range::-webkit-slider-thumb {
|
|
84
84
|
/* 1 */
|
|
85
85
|
-webkit-appearance: none;
|
|
86
|
-
margin-top: (floor(@form-range-thumb-height / 2) * -1);
|
|
86
|
+
margin-top: (floor((@form-range-thumb-height / 2)) * -1);
|
|
87
87
|
/* 2 */
|
|
88
88
|
height: @form-range-thumb-height;
|
|
89
89
|
width: @form-range-thumb-width;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
@spinner-size: 30px;
|
|
13
13
|
@spinner-stroke-width: 1;
|
|
14
|
-
@spinner-radius: floor((@spinner-size - @spinner-stroke-width) / 2); // Minus stroke width to prevent overflow clipping
|
|
14
|
+
@spinner-radius: floor(((@spinner-size - @spinner-stroke-width) / 2)); // Minus stroke width to prevent overflow clipping
|
|
15
15
|
@spinner-circumference: round(2 * 3.141 * @spinner-radius);
|
|
16
16
|
@spinner-duration: 1.4s;
|
|
17
17
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
@keyframes uk-spinner-dash {
|
|
56
56
|
0% { stroke-dashoffset: @spinner-circumference; }
|
|
57
57
|
50% {
|
|
58
|
-
stroke-dashoffset: @spinner-circumference/4;
|
|
58
|
+
stroke-dashoffset: (@spinner-circumference / 4);
|
|
59
59
|
transform:rotate(135deg);
|
|
60
60
|
}
|
|
61
61
|
100% {
|
|
@@ -261,11 +261,11 @@
|
|
|
261
261
|
|
|
262
262
|
.uk-table-responsive th:not(:first-child):not(.uk-table-link),
|
|
263
263
|
.uk-table-responsive td:not(:first-child):not(.uk-table-link),
|
|
264
|
-
.uk-table-responsive .uk-table-link:not(:first-child) > a { padding-top: round(@table-cell-padding-vertical / 3) !important; }
|
|
264
|
+
.uk-table-responsive .uk-table-link:not(:first-child) > a { padding-top: round((@table-cell-padding-vertical / 3)) !important; }
|
|
265
265
|
|
|
266
266
|
.uk-table-responsive th:not(:last-child):not(.uk-table-link),
|
|
267
267
|
.uk-table-responsive td:not(:last-child):not(.uk-table-link),
|
|
268
|
-
.uk-table-responsive .uk-table-link:not(:last-child) > a { padding-bottom: round(@table-cell-padding-vertical / 3) !important; }
|
|
268
|
+
.uk-table-responsive .uk-table-link:not(:last-child) > a { padding-bottom: round((@table-cell-padding-vertical / 3)) !important; }
|
|
269
269
|
|
|
270
270
|
.uk-table-justify.uk-table-responsive th,
|
|
271
271
|
.uk-table-justify.uk-table-responsive td {
|
|
@@ -349,4 +349,4 @@
|
|
|
349
349
|
.hook-inverse-table-row-active() {}
|
|
350
350
|
.hook-inverse-table-divider() {}
|
|
351
351
|
.hook-inverse-table-striped() {}
|
|
352
|
-
.hook-inverse-table-hover() {}
|
|
352
|
+
.hook-inverse-table-hover() {}
|
|
@@ -124,14 +124,14 @@
|
|
|
124
124
|
.uk-transition-slide-left { --uk-translate-x: -100%; }
|
|
125
125
|
.uk-transition-slide-right { --uk-translate-x: 100%; }
|
|
126
126
|
|
|
127
|
-
.uk-transition-slide-top-small { --uk-translate-y:
|
|
127
|
+
.uk-transition-slide-top-small { --uk-translate-y: ~'calc(-1 * @{transition-slide-small-translate})'; }
|
|
128
128
|
.uk-transition-slide-bottom-small { --uk-translate-y: @transition-slide-small-translate; }
|
|
129
|
-
.uk-transition-slide-left-small { --uk-translate-x:
|
|
129
|
+
.uk-transition-slide-left-small { --uk-translate-x: ~'calc(-1 * @{transition-slide-small-translate})'; }
|
|
130
130
|
.uk-transition-slide-right-small { --uk-translate-x: @transition-slide-small-translate; }
|
|
131
131
|
|
|
132
|
-
.uk-transition-slide-top-medium { --uk-translate-y:
|
|
132
|
+
.uk-transition-slide-top-medium { --uk-translate-y: ~'calc(-1 * @{transition-slide-medium-translate})'; }
|
|
133
133
|
.uk-transition-slide-bottom-medium { --uk-translate-y: @transition-slide-medium-translate; }
|
|
134
|
-
.uk-transition-slide-left-medium { --uk-translate-x:
|
|
134
|
+
.uk-transition-slide-left-medium { --uk-translate-x: ~'calc(-1 * @{transition-slide-medium-translate})'; }
|
|
135
135
|
.uk-transition-slide-right-medium { --uk-translate-x: @transition-slide-medium-translate; }
|
|
136
136
|
|
|
137
137
|
/* Show */
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
|
|
50
50
|
@logo-font-size: @global-large-font-size;
|
|
51
51
|
@logo-font-family: @global-font-family;
|
|
52
|
-
@logo-color: @global-color;
|
|
53
|
-
@logo-hover-color: @global-color;
|
|
52
|
+
@logo-color: @global-emphasis-color;
|
|
53
|
+
@logo-hover-color: @global-emphasis-color;
|
|
54
54
|
|
|
55
55
|
@dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3);
|
|
56
56
|
|
|
@@ -470,8 +470,8 @@
|
|
|
470
470
|
// Inverse
|
|
471
471
|
// ========================================================================
|
|
472
472
|
|
|
473
|
-
@inverse-logo-color: @inverse-global-color;
|
|
474
|
-
@inverse-logo-hover-color: @inverse-global-color;
|
|
473
|
+
@inverse-logo-color: @inverse-global-emphasis-color;
|
|
474
|
+
@inverse-logo-hover-color: @inverse-global-emphasis-color;
|
|
475
475
|
|
|
476
476
|
.hook-inverse() {
|
|
477
477
|
|
|
@@ -76,7 +76,10 @@ $base-pre-line-height: 1.5 !default;
|
|
|
76
76
|
$base-pre-font-family: $base-code-font-family !default;
|
|
77
77
|
$base-pre-color: $global-color !default;
|
|
78
78
|
|
|
79
|
-
$base-focus-outline:
|
|
79
|
+
$base-focus-outline-width: 2px !default;
|
|
80
|
+
$base-focus-outline-style: dotted !default;
|
|
81
|
+
$base-focus-outline: $global-emphasis-color !default;
|
|
82
|
+
$base-focus-outline-offset: 1px !default;
|
|
80
83
|
|
|
81
84
|
$base-selection-background: #39f !default;
|
|
82
85
|
$base-selection-color: $global-inverse-color !default;
|
|
@@ -532,15 +535,15 @@ pre code { font-family: $base-pre-font-family; }
|
|
|
532
535
|
|
|
533
536
|
/* 2 */
|
|
534
537
|
:focus:not([tabindex^='-']) {
|
|
535
|
-
outline:
|
|
536
|
-
outline-offset:
|
|
538
|
+
outline: $base-focus-outline-width $base-focus-outline-style $base-focus-outline;
|
|
539
|
+
outline-offset: $base-focus-outline-offset;
|
|
537
540
|
}
|
|
538
541
|
|
|
539
542
|
/* 3 */
|
|
540
543
|
:focus:not(:focus-visible) { outline: none; }
|
|
541
544
|
|
|
542
545
|
/* 4 */
|
|
543
|
-
:focus-visible { outline:
|
|
546
|
+
:focus-visible { outline: $base-focus-outline-width $base-focus-outline-style $base-focus-outline; }
|
|
544
547
|
|
|
545
548
|
|
|
546
549
|
/* Selection pseudo-element
|
|
@@ -32,16 +32,16 @@ $card-body-padding-horizontal-l: $global-medium-gutter !default;
|
|
|
32
32
|
$card-body-padding-vertical-l: $global-medium-gutter !default;
|
|
33
33
|
|
|
34
34
|
$card-header-padding-horizontal: $global-gutter !default;
|
|
35
|
-
$card-header-padding-vertical: round($global-gutter / 2) !default;
|
|
35
|
+
$card-header-padding-vertical: round(($global-gutter / 2)) !default;
|
|
36
36
|
|
|
37
37
|
$card-header-padding-horizontal-l: $global-medium-gutter !default;
|
|
38
|
-
$card-header-padding-vertical-l: round($global-medium-gutter / 2) !default;
|
|
38
|
+
$card-header-padding-vertical-l: round(($global-medium-gutter / 2)) !default;
|
|
39
39
|
|
|
40
40
|
$card-footer-padding-horizontal: $global-gutter !default;
|
|
41
41
|
$card-footer-padding-vertical: ($global-gutter / 2) !default;
|
|
42
42
|
|
|
43
43
|
$card-footer-padding-horizontal-l: $global-medium-gutter !default;
|
|
44
|
-
$card-footer-padding-vertical-l: round($global-medium-gutter / 2) !default;
|
|
44
|
+
$card-footer-padding-vertical-l: round(($global-medium-gutter / 2)) !default;
|
|
45
45
|
|
|
46
46
|
$card-title-font-size: $global-large-font-size !default;
|
|
47
47
|
$card-title-line-height: 1.4 !default;
|
|
@@ -76,16 +76,16 @@ $card-secondary-color-mode: light !default;
|
|
|
76
76
|
$card-small-body-padding-horizontal: $global-margin !default;
|
|
77
77
|
$card-small-body-padding-vertical: $global-margin !default;
|
|
78
78
|
$card-small-header-padding-horizontal: $global-margin !default;
|
|
79
|
-
$card-small-header-padding-vertical: round($global-margin / 1.5) !default;
|
|
79
|
+
$card-small-header-padding-vertical: round(($global-margin / 1.5)) !default;
|
|
80
80
|
$card-small-footer-padding-horizontal: $global-margin !default;
|
|
81
|
-
$card-small-footer-padding-vertical: round($global-margin / 1.5) !default;
|
|
81
|
+
$card-small-footer-padding-vertical: round(($global-margin / 1.5)) !default;
|
|
82
82
|
|
|
83
83
|
$card-large-body-padding-horizontal-l: $global-large-gutter !default;
|
|
84
84
|
$card-large-body-padding-vertical-l: $global-large-gutter !default;
|
|
85
85
|
$card-large-header-padding-horizontal-l: $global-large-gutter !default;
|
|
86
|
-
$card-large-header-padding-vertical-l: round($global-large-gutter / 2) !default;
|
|
86
|
+
$card-large-header-padding-vertical-l: round(($global-large-gutter / 2)) !default;
|
|
87
87
|
$card-large-footer-padding-horizontal-l: $global-large-gutter !default;
|
|
88
|
-
$card-large-footer-padding-vertical-l: round($global-large-gutter / 2) !default;
|
|
88
|
+
$card-large-footer-padding-vertical-l: round(($global-large-gutter / 2)) !default;
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
/* ========================================================================
|
|
@@ -83,7 +83,7 @@ $form-range-track-focus-background: darken($form-range-track-backgr
|
|
|
83
83
|
.uk-range::-webkit-slider-thumb {
|
|
84
84
|
/* 1 */
|
|
85
85
|
-webkit-appearance: none;
|
|
86
|
-
margin-top: (floor($form-range-thumb-height / 2) * -1);
|
|
86
|
+
margin-top: (floor(($form-range-thumb-height / 2)) * -1);
|
|
87
87
|
/* 2 */
|
|
88
88
|
height: $form-range-thumb-height;
|
|
89
89
|
width: $form-range-thumb-width;
|
|
@@ -77,7 +77,7 @@ $notification-message-danger-color: $global-danger-background
|
|
|
77
77
|
.uk-notification-top-center,
|
|
78
78
|
.uk-notification-bottom-center {
|
|
79
79
|
left: 50%;
|
|
80
|
-
margin-left: ($notification-width / -2);
|
|
80
|
+
margin-left: (($notification-width / -2));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.uk-notification-bottom-left,
|
|
@@ -16,7 +16,7 @@ $padding-padding-l: $global-medium-gutter !
|
|
|
16
16
|
|
|
17
17
|
$padding-small-padding: $global-small-gutter !default;
|
|
18
18
|
|
|
19
|
-
$padding-large-padding: $global-gutter !default;
|
|
19
|
+
$padding-large-padding: $global-medium-gutter !default;
|
|
20
20
|
$padding-large-padding-l: $global-large-gutter !default;
|
|
21
21
|
|
|
22
22
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
$spinner-size: 30px !default;
|
|
13
13
|
$spinner-stroke-width: 1 !default;
|
|
14
|
-
$spinner-radius: floor(($spinner-size - $spinner-stroke-width) / 2) !default; // Minus stroke width to prevent overflow clipping
|
|
14
|
+
$spinner-radius: floor((($spinner-size - $spinner-stroke-width) / 2)) !default; // Minus stroke width to prevent overflow clipping
|
|
15
15
|
$spinner-circumference: round(2 * 3.141 * $spinner-radius) !default;
|
|
16
16
|
$spinner-duration: 1.4s !default;
|
|
17
17
|
|
|
@@ -55,7 +55,7 @@ $spinner-duration: 1.4s !default;
|
|
|
55
55
|
@keyframes uk-spinner-dash {
|
|
56
56
|
0% { stroke-dashoffset: $spinner-circumference; }
|
|
57
57
|
50% {
|
|
58
|
-
stroke-dashoffset: $spinner-circumference/4;
|
|
58
|
+
stroke-dashoffset: ($spinner-circumference / 4);
|
|
59
59
|
transform:rotate(135deg);
|
|
60
60
|
}
|
|
61
61
|
100% {
|
|
@@ -261,11 +261,11 @@ $table-expand-min-width: 150px !default;
|
|
|
261
261
|
|
|
262
262
|
.uk-table-responsive th:not(:first-child):not(.uk-table-link),
|
|
263
263
|
.uk-table-responsive td:not(:first-child):not(.uk-table-link),
|
|
264
|
-
.uk-table-responsive .uk-table-link:not(:first-child) > a { padding-top: round($table-cell-padding-vertical / 3) !important; }
|
|
264
|
+
.uk-table-responsive .uk-table-link:not(:first-child) > a { padding-top: round(($table-cell-padding-vertical / 3)) !important; }
|
|
265
265
|
|
|
266
266
|
.uk-table-responsive th:not(:last-child):not(.uk-table-link),
|
|
267
267
|
.uk-table-responsive td:not(:last-child):not(.uk-table-link),
|
|
268
|
-
.uk-table-responsive .uk-table-link:not(:last-child) > a { padding-bottom: round($table-cell-padding-vertical / 3) !important; }
|
|
268
|
+
.uk-table-responsive .uk-table-link:not(:last-child) > a { padding-bottom: round(($table-cell-padding-vertical / 3)) !important; }
|
|
269
269
|
|
|
270
270
|
.uk-table-justify.uk-table-responsive th,
|
|
271
271
|
.uk-table-justify.uk-table-responsive td {
|
|
@@ -312,4 +312,4 @@ $inverse-table-hover-row-background: $inverse-table-row-acti
|
|
|
312
312
|
// @mixin hook-inverse-table-row-active(){}
|
|
313
313
|
// @mixin hook-inverse-table-divider(){}
|
|
314
314
|
// @mixin hook-inverse-table-striped(){}
|
|
315
|
-
// @mixin hook-inverse-table-hover(){}
|
|
315
|
+
// @mixin hook-inverse-table-hover(){}
|
|
@@ -124,14 +124,14 @@ $transition-slow-duration: 0.7s !default;
|
|
|
124
124
|
.uk-transition-slide-left { --uk-translate-x: -100%; }
|
|
125
125
|
.uk-transition-slide-right { --uk-translate-x: 100%; }
|
|
126
126
|
|
|
127
|
-
.uk-transition-slide-top-small { --uk-translate-y: (
|
|
127
|
+
.uk-transition-slide-top-small { --uk-translate-y: calc(-1 * #{$transition-slide-small-translate}); }
|
|
128
128
|
.uk-transition-slide-bottom-small { --uk-translate-y: #{$transition-slide-small-translate}; }
|
|
129
|
-
.uk-transition-slide-left-small { --uk-translate-x: (
|
|
129
|
+
.uk-transition-slide-left-small { --uk-translate-x: calc(-1 * #{$transition-slide-small-translate}); }
|
|
130
130
|
.uk-transition-slide-right-small { --uk-translate-x: #{$transition-slide-small-translate}; }
|
|
131
131
|
|
|
132
|
-
.uk-transition-slide-top-medium { --uk-translate-y: (
|
|
132
|
+
.uk-transition-slide-top-medium { --uk-translate-y: calc(-1 * #{$transition-slide-medium-translate}); }
|
|
133
133
|
.uk-transition-slide-bottom-medium { --uk-translate-y: #{$transition-slide-medium-translate}; }
|
|
134
|
-
.uk-transition-slide-left-medium { --uk-translate-x: (
|
|
134
|
+
.uk-transition-slide-left-medium { --uk-translate-x: calc(-1 * #{$transition-slide-medium-translate}); }
|
|
135
135
|
.uk-transition-slide-right-medium { --uk-translate-x: #{$transition-slide-medium-translate}; }
|
|
136
136
|
|
|
137
137
|
/* Show */
|
|
@@ -49,8 +49,8 @@ $dropcap-font-size: (($global-line-height * 3) * 1e
|
|
|
49
49
|
|
|
50
50
|
$logo-font-size: $global-large-font-size !default;
|
|
51
51
|
$logo-font-family: $global-font-family !default;
|
|
52
|
-
$logo-color: $global-color !default;
|
|
53
|
-
$logo-hover-color: $global-color !default;
|
|
52
|
+
$logo-color: $global-emphasis-color !default;
|
|
53
|
+
$logo-hover-color: $global-emphasis-color !default;
|
|
54
54
|
|
|
55
55
|
$dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3) !default;
|
|
56
56
|
|
|
@@ -470,8 +470,8 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
|
|
|
470
470
|
// Inverse
|
|
471
471
|
// ========================================================================
|
|
472
472
|
|
|
473
|
-
$inverse-logo-color: $inverse-global-color !default;
|
|
474
|
-
$inverse-logo-hover-color: $inverse-global-color !default;
|
|
473
|
+
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
|
474
|
+
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
|
475
475
|
|
|
476
476
|
|
|
477
477
|
|
|
@@ -142,7 +142,10 @@ $base-pre-font-size: $global-small-font-size !default;
|
|
|
142
142
|
$base-pre-line-height: 1.5 !default;
|
|
143
143
|
$base-pre-font-family: $base-code-font-family !default;
|
|
144
144
|
$base-pre-color: $global-color !default;
|
|
145
|
+
$base-focus-outline-width: 2px !default;
|
|
146
|
+
$base-focus-outline-style: dotted !default;
|
|
145
147
|
$base-focus-outline: $global-emphasis-color !default;
|
|
148
|
+
$base-focus-outline-offset: 1px !default;
|
|
146
149
|
$base-selection-background: #39f !default;
|
|
147
150
|
$base-selection-color: $global-inverse-color !default;
|
|
148
151
|
$inverse-base-color: $inverse-global-color !default;
|
|
@@ -244,13 +247,13 @@ $card-body-padding-vertical: $global-gutter !default;
|
|
|
244
247
|
$card-body-padding-horizontal-l: $global-medium-gutter !default;
|
|
245
248
|
$card-body-padding-vertical-l: $global-medium-gutter !default;
|
|
246
249
|
$card-header-padding-horizontal: $global-gutter !default;
|
|
247
|
-
$card-header-padding-vertical: round($global-gutter / 2) !default;
|
|
250
|
+
$card-header-padding-vertical: round(($global-gutter / 2)) !default;
|
|
248
251
|
$card-header-padding-horizontal-l: $global-medium-gutter !default;
|
|
249
|
-
$card-header-padding-vertical-l: round($global-medium-gutter / 2) !default;
|
|
252
|
+
$card-header-padding-vertical-l: round(($global-medium-gutter / 2)) !default;
|
|
250
253
|
$card-footer-padding-horizontal: $global-gutter !default;
|
|
251
254
|
$card-footer-padding-vertical: ($global-gutter / 2) !default;
|
|
252
255
|
$card-footer-padding-horizontal-l: $global-medium-gutter !default;
|
|
253
|
-
$card-footer-padding-vertical-l: round($global-medium-gutter / 2) !default;
|
|
256
|
+
$card-footer-padding-vertical-l: round(($global-medium-gutter / 2)) !default;
|
|
254
257
|
$card-title-font-size: $global-large-font-size !default;
|
|
255
258
|
$card-title-line-height: 1.4 !default;
|
|
256
259
|
$card-badge-top: 15px !default;
|
|
@@ -278,16 +281,16 @@ $card-secondary-color-mode: light !default;
|
|
|
278
281
|
$card-small-body-padding-horizontal: $global-margin !default;
|
|
279
282
|
$card-small-body-padding-vertical: $global-margin !default;
|
|
280
283
|
$card-small-header-padding-horizontal: $global-margin !default;
|
|
281
|
-
$card-small-header-padding-vertical: round($global-margin / 1.5) !default;
|
|
284
|
+
$card-small-header-padding-vertical: round(($global-margin / 1.5)) !default;
|
|
282
285
|
$card-small-footer-padding-horizontal: $global-margin !default;
|
|
283
|
-
$card-small-footer-padding-vertical: round($global-margin / 1.5) !default;
|
|
286
|
+
$card-small-footer-padding-vertical: round(($global-margin / 1.5)) !default;
|
|
284
287
|
$global-large-gutter: 70px !default;
|
|
285
288
|
$card-large-body-padding-horizontal-l: $global-large-gutter !default;
|
|
286
289
|
$card-large-body-padding-vertical-l: $global-large-gutter !default;
|
|
287
290
|
$card-large-header-padding-horizontal-l: $global-large-gutter !default;
|
|
288
|
-
$card-large-header-padding-vertical-l: round($global-large-gutter / 2) !default;
|
|
291
|
+
$card-large-header-padding-vertical-l: round(($global-large-gutter / 2)) !default;
|
|
289
292
|
$card-large-footer-padding-horizontal-l: $global-large-gutter !default;
|
|
290
|
-
$card-large-footer-padding-vertical-l: round($global-large-gutter / 2) !default;
|
|
293
|
+
$card-large-footer-padding-vertical-l: round(($global-large-gutter / 2)) !default;
|
|
291
294
|
$inverse-card-badge-background: $inverse-global-primary-background !default;
|
|
292
295
|
$inverse-card-badge-color: $inverse-global-inverse-color !default;
|
|
293
296
|
$close-color: $global-muted-color !default;
|
|
@@ -798,7 +801,7 @@ $overlay-primary-color-mode: light !default;
|
|
|
798
801
|
$padding-padding: $global-gutter !default;
|
|
799
802
|
$padding-padding-l: $global-medium-gutter !default;
|
|
800
803
|
$padding-small-padding: $global-small-gutter !default;
|
|
801
|
-
$padding-large-padding: $global-gutter !default;
|
|
804
|
+
$padding-large-padding: $global-medium-gutter !default;
|
|
802
805
|
$padding-large-padding-l: $global-large-gutter !default;
|
|
803
806
|
$pagination-margin-horizontal: 0 !default;
|
|
804
807
|
$pagination-item-padding-vertical: 5px !default;
|
|
@@ -887,7 +890,7 @@ $sortable-placeholder-opacity: 0 !default;
|
|
|
887
890
|
$sortable-empty-height: 50px !default;
|
|
888
891
|
$spinner-size: 30px !default;
|
|
889
892
|
$spinner-stroke-width: 1 !default;
|
|
890
|
-
$spinner-radius: floor(($spinner-size - $spinner-stroke-width) / 2) !default;
|
|
893
|
+
$spinner-radius: floor((($spinner-size - $spinner-stroke-width) / 2)) !default;
|
|
891
894
|
$spinner-circumference: round(2 * 3.141 * $spinner-radius) !default;
|
|
892
895
|
$spinner-duration: 1.4s !default;
|
|
893
896
|
$sticky-z-index: $global-z-index - 20 !default;
|
|
@@ -1041,11 +1044,11 @@ $dropcap-margin-right: 10px !default;
|
|
|
1041
1044
|
$dropcap-font-size: (($global-line-height * 3) * 1em) !default;
|
|
1042
1045
|
$logo-font-size: $global-large-font-size !default;
|
|
1043
1046
|
$logo-font-family: $global-font-family !default;
|
|
1044
|
-
$logo-color: $global-color !default;
|
|
1045
|
-
$logo-hover-color: $global-color !default;
|
|
1047
|
+
$logo-color: $global-emphasis-color !default;
|
|
1048
|
+
$logo-hover-color: $global-emphasis-color !default;
|
|
1046
1049
|
$dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3) !default;
|
|
1047
|
-
$inverse-logo-color: $inverse-global-color !default;
|
|
1048
|
-
$inverse-logo-hover-color: $inverse-global-color !default;
|
|
1050
|
+
$inverse-logo-color: $inverse-global-emphasis-color !default;
|
|
1051
|
+
$inverse-logo-hover-color: $inverse-global-emphasis-color !default;
|
|
1049
1052
|
$deprecated: false !default;
|
|
1050
1053
|
$breakpoint-small: 640px !default;
|
|
1051
1054
|
$breakpoint-medium: 960px !default;
|