uikit 3.8.1-dev.3a43322ca → 3.9.1
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 +14 -2
- 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 +31 -60
- package/build/scope.js +49 -84
- package/build/scss.js +15 -17
- package/build/util.js +107 -81
- package/dist/css/uikit-core-rtl.css +7 -7
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +7 -7
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +7 -7
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +7 -7
- 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 +8 -8
- 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 +8 -8
- package/dist/js/uikit.min.js +2 -2
- package/package.json +15 -14
- package/src/js/util/event.js +7 -7
- package/src/less/components/accordion.less +10 -10
- package/src/less/components/alert.less +9 -9
- package/src/less/components/align.less +2 -2
- package/src/less/components/animation.less +2 -2
- package/src/less/components/article.less +8 -8
- package/src/less/components/background.less +1 -1
- package/src/less/components/badge.less +6 -6
- package/src/less/components/base.less +30 -30
- package/src/less/components/breadcrumb.less +12 -12
- package/src/less/components/button.less +36 -36
- package/src/less/components/card.less +32 -32
- package/src/less/components/close.less +5 -5
- package/src/less/components/column.less +2 -2
- package/src/less/components/comment.less +12 -12
- package/src/less/components/container.less +2 -2
- package/src/less/components/countdown.less +10 -10
- package/src/less/components/cover.less +2 -2
- package/src/less/components/description-list.less +5 -5
- package/src/less/components/divider.less +11 -11
- package/src/less/components/dotnav.less +11 -11
- package/src/less/components/drop.less +1 -1
- package/src/less/components/dropdown.less +7 -7
- package/src/less/components/flex.less +2 -2
- package/src/less/components/form-range.less +12 -12
- package/src/less/components/form.less +27 -27
- package/src/less/components/grid.less +6 -6
- package/src/less/components/heading.less +21 -21
- package/src/less/components/height.less +1 -1
- package/src/less/components/icon.less +13 -13
- package/src/less/components/iconnav.less +9 -9
- package/src/less/components/inverse.less +3 -3
- package/src/less/components/label.less +7 -7
- package/src/less/components/leader.less +3 -3
- package/src/less/components/lightbox.less +9 -9
- package/src/less/components/link.less +12 -12
- package/src/less/components/list.less +5 -5
- package/src/less/components/margin.less +3 -3
- package/src/less/components/marker.less +5 -5
- package/src/less/components/modal.less +16 -16
- package/src/less/components/nav.less +31 -31
- package/src/less/components/navbar.less +33 -33
- package/src/less/components/notification.less +8 -8
- package/src/less/components/offcanvas.less +4 -4
- package/src/less/components/overlay.less +5 -5
- package/src/less/components/padding.less +1 -1
- package/src/less/components/pagination.less +10 -10
- package/src/less/components/placeholder.less +3 -3
- package/src/less/components/position.less +1 -1
- package/src/less/components/print.less +1 -1
- package/src/less/components/progress.less +6 -6
- package/src/less/components/search.less +15 -15
- package/src/less/components/section.less +8 -8
- package/src/less/components/slidenav.less +11 -11
- package/src/less/components/slider.less +2 -2
- package/src/less/components/slideshow.less +2 -2
- package/src/less/components/sortable.less +5 -5
- package/src/less/components/spinner.less +4 -4
- package/src/less/components/sticky.less +1 -1
- package/src/less/components/subnav.less +21 -21
- package/src/less/components/svg.less +1 -1
- package/src/less/components/switcher.less +2 -2
- package/src/less/components/tab.less +18 -18
- package/src/less/components/table.less +21 -21
- package/src/less/components/text.less +11 -11
- package/src/less/components/thumbnav.less +9 -9
- package/src/less/components/tile.less +10 -10
- package/src/less/components/tooltip.less +2 -2
- package/src/less/components/totop.less +7 -7
- package/src/less/components/transition.less +5 -5
- package/src/less/components/utility.less +10 -10
- package/src/less/components/visibility.less +1 -1
- package/src/less/components/width.less +1 -1
- package/src/scss/components/accordion.scss +1 -1
- package/src/scss/components/alert.scss +1 -1
- package/src/scss/components/align.scss +1 -1
- package/src/scss/components/animation.scss +1 -1
- package/src/scss/components/article.scss +1 -1
- package/src/scss/components/badge.scss +1 -1
- package/src/scss/components/base.scss +1 -1
- package/src/scss/components/card.scss +7 -7
- package/src/scss/components/column.scss +1 -0
- package/src/scss/components/comment.scss +1 -1
- package/src/scss/components/container.scss +1 -1
- package/src/scss/components/cover.scss +1 -1
- package/src/scss/components/description-list.scss +1 -1
- package/src/scss/components/dotnav.scss +1 -1
- package/src/scss/components/flex.scss +1 -1
- package/src/scss/components/form-range.scss +1 -1
- package/src/scss/components/grid.scss +1 -1
- package/src/scss/components/iconnav.scss +1 -1
- package/src/scss/components/inverse.scss +1 -1
- package/src/scss/components/label.scss +1 -1
- package/src/scss/components/margin.scss +2 -2
- package/src/scss/components/nav.scss +1 -1
- package/src/scss/components/placeholder.scss +1 -1
- package/src/scss/components/section.scss +1 -1
- package/src/scss/components/spinner.scss +2 -2
- package/src/scss/components/subnav.scss +1 -1
- package/src/scss/components/switcher.scss +1 -1
- package/src/scss/components/tab.scss +1 -1
- package/src/scss/components/table.scss +3 -3
- package/src/scss/components/text.scss +3 -3
- package/src/scss/components/thumbnav.scss +1 -1
- package/src/scss/components/transition.scss +4 -4
- package/src/scss/components/utility.scss +1 -1
- package/src/scss/mixins-theme.scss +1 -1
- package/src/scss/mixins.scss +1 -1
- package/src/scss/variables-theme.scss +8 -8
- package/src/scss/variables.scss +8 -8
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.1",
|
|
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) {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
.uk-accordion {
|
|
32
32
|
padding: 0;
|
|
33
33
|
list-style: none;
|
|
34
|
-
.hook-accordion;
|
|
34
|
+
.hook-accordion();
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
.uk-accordion > :nth-child(n+2) {
|
|
42
42
|
margin-top: @accordion-item-margin-top;
|
|
43
|
-
.hook-accordion-item;
|
|
43
|
+
.hook-accordion-item();
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
font-size: @accordion-title-font-size;
|
|
53
53
|
line-height: @accordion-title-line-height;
|
|
54
54
|
color: @accordion-title-color;
|
|
55
|
-
.hook-accordion-title;
|
|
55
|
+
.hook-accordion-title();
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/* Hover */
|
|
59
59
|
.uk-accordion-title:hover {
|
|
60
60
|
color: @accordion-title-hover-color;
|
|
61
61
|
text-decoration: none;
|
|
62
|
-
.hook-accordion-title-hover;
|
|
62
|
+
.hook-accordion-title-hover();
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
.uk-accordion-content {
|
|
70
70
|
display: flow-root;
|
|
71
71
|
margin-top: @accordion-content-margin-top;
|
|
72
|
-
.hook-accordion-content;
|
|
72
|
+
.hook-accordion-content();
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/*
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
// Hooks
|
|
83
83
|
// ========================================================================
|
|
84
84
|
|
|
85
|
-
.hook-accordion-misc;
|
|
85
|
+
.hook-accordion-misc();
|
|
86
86
|
|
|
87
87
|
.hook-accordion() {}
|
|
88
88
|
.hook-accordion-item() {}
|
|
@@ -101,21 +101,21 @@
|
|
|
101
101
|
.hook-inverse() {
|
|
102
102
|
|
|
103
103
|
.uk-accordion > :nth-child(n+2) {
|
|
104
|
-
.hook-inverse-accordion-item;
|
|
104
|
+
.hook-inverse-accordion-item();
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.uk-accordion-title {
|
|
108
108
|
color: @inverse-accordion-title-color;
|
|
109
|
-
.hook-inverse-accordion-title;
|
|
109
|
+
.hook-inverse-accordion-title();
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.uk-accordion-title:hover {
|
|
113
113
|
color: @inverse-accordion-title-hover-color;
|
|
114
|
-
.hook-inverse-accordion-title-hover;
|
|
114
|
+
.hook-inverse-accordion-title-hover();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.hook-inverse-accordion-item() {}
|
|
120
120
|
.hook-inverse-accordion-title() {}
|
|
121
|
-
.hook-inverse-accordion-title-hover() {}
|
|
121
|
+
.hook-inverse-accordion-title-hover() {}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
padding: @alert-padding @alert-padding-right @alert-padding @alert-padding;
|
|
49
49
|
background: @alert-background;
|
|
50
50
|
color: @alert-color;
|
|
51
|
-
.hook-alert;
|
|
51
|
+
.hook-alert();
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* Add margin if adjacent element */
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
position: absolute;
|
|
70
70
|
top: @alert-close-top;
|
|
71
71
|
right: @alert-close-right;
|
|
72
|
-
.hook-alert-close;
|
|
72
|
+
.hook-alert-close();
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/*
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
*/
|
|
84
84
|
|
|
85
85
|
.uk-alert-close:hover {
|
|
86
|
-
.hook-alert-close-hover;
|
|
86
|
+
.hook-alert-close-hover();
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
.uk-alert-primary {
|
|
98
98
|
background: @alert-primary-background;
|
|
99
99
|
color: @alert-primary-color;
|
|
100
|
-
.hook-alert-primary;
|
|
100
|
+
.hook-alert-primary();
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/*
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
.uk-alert-success {
|
|
108
108
|
background: @alert-success-background;
|
|
109
109
|
color: @alert-success-color;
|
|
110
|
-
.hook-alert-success;
|
|
110
|
+
.hook-alert-success();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/*
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
.uk-alert-warning {
|
|
118
118
|
background: @alert-warning-background;
|
|
119
119
|
color: @alert-warning-color;
|
|
120
|
-
.hook-alert-warning;
|
|
120
|
+
.hook-alert-warning();
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/*
|
|
@@ -127,14 +127,14 @@
|
|
|
127
127
|
.uk-alert-danger {
|
|
128
128
|
background: @alert-danger-background;
|
|
129
129
|
color: @alert-danger-color;
|
|
130
|
-
.hook-alert-danger;
|
|
130
|
+
.hook-alert-danger();
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
// Hooks
|
|
135
135
|
// ========================================================================
|
|
136
136
|
|
|
137
|
-
.hook-alert-misc;
|
|
137
|
+
.hook-alert-misc();
|
|
138
138
|
|
|
139
139
|
.hook-alert() {}
|
|
140
140
|
.hook-alert-close() {}
|
|
@@ -143,4 +143,4 @@
|
|
|
143
143
|
.hook-alert-success() {}
|
|
144
144
|
.hook-alert-warning() {}
|
|
145
145
|
.hook-alert-danger() {}
|
|
146
|
-
.hook-alert-misc() {}
|
|
146
|
+
.hook-alert-misc() {}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
/*
|
|
85
85
|
* Slide Medium
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
|
|
88
88
|
.uk-animation-slide-top-medium { animation-name: uk-fade, uk-slide-top-medium; }
|
|
89
89
|
.uk-animation-slide-bottom-medium { animation-name: uk-fade, uk-slide-bottom-medium; }
|
|
90
90
|
.uk-animation-slide-left-medium { animation-name: uk-fade, uk-slide-left-medium; }
|
|
@@ -278,6 +278,6 @@
|
|
|
278
278
|
// Hooks
|
|
279
279
|
// ========================================================================
|
|
280
280
|
|
|
281
|
-
.hook-animation-misc;
|
|
281
|
+
.hook-animation-misc();
|
|
282
282
|
|
|
283
283
|
.hook-animation-misc() {}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.uk-article {
|
|
31
31
|
display: flow-root;
|
|
32
|
-
.hook-article;
|
|
32
|
+
.hook-article();
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/*
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
.uk-article + .uk-article {
|
|
46
46
|
margin-top: @article-margin-top;
|
|
47
|
-
.hook-article-adjacent;
|
|
47
|
+
.hook-article-adjacent();
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
.uk-article-title {
|
|
55
55
|
font-size: @article-title-font-size;
|
|
56
56
|
line-height: @article-title-line-height;
|
|
57
|
-
.hook-article-title;
|
|
57
|
+
.hook-article-title();
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/* Tablet landscape and bigger */
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
font-size: @article-meta-font-size;
|
|
73
73
|
line-height: @article-meta-line-height;
|
|
74
74
|
color: @article-meta-color;
|
|
75
|
-
.hook-article-meta;
|
|
75
|
+
.hook-article-meta();
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
// Hooks
|
|
80
80
|
// ========================================================================
|
|
81
81
|
|
|
82
|
-
.hook-article-misc;
|
|
82
|
+
.hook-article-misc();
|
|
83
83
|
|
|
84
84
|
.hook-article() {}
|
|
85
85
|
.hook-article-adjacent() {}
|
|
@@ -96,15 +96,15 @@
|
|
|
96
96
|
.hook-inverse() {
|
|
97
97
|
|
|
98
98
|
.uk-article-title {
|
|
99
|
-
.hook-inverse-article-title;
|
|
99
|
+
.hook-inverse-article-title();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.uk-article-meta {
|
|
103
103
|
color: @inverse-article-meta-color;
|
|
104
|
-
.hook-inverse-article-meta;
|
|
104
|
+
.hook-inverse-article-meta();
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.hook-inverse-article-title() {}
|
|
110
|
-
.hook-inverse-article-meta() {}
|
|
110
|
+
.hook-inverse-article-meta() {}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
line-height: 0;
|
|
46
|
-
.hook-badge;
|
|
46
|
+
.hook-badge();
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/*
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
|
|
53
53
|
.uk-badge:hover {
|
|
54
54
|
text-decoration: none;
|
|
55
|
-
.hook-badge-hover;
|
|
55
|
+
.hook-badge-hover();
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
// Hooks
|
|
60
60
|
// ========================================================================
|
|
61
61
|
|
|
62
|
-
.hook-badge-misc;
|
|
62
|
+
.hook-badge-misc();
|
|
63
63
|
|
|
64
64
|
.hook-badge() {}
|
|
65
65
|
.hook-badge-hover() {}
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
.uk-badge {
|
|
78
78
|
background-color: @inverse-badge-background;
|
|
79
79
|
color: @inverse-badge-color !important;
|
|
80
|
-
.hook-inverse-badge;
|
|
80
|
+
.hook-inverse-badge();
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.uk-badge:hover {
|
|
84
|
-
.hook-inverse-badge-hover;
|
|
84
|
+
.hook-inverse-badge-hover();
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.hook-inverse-badge() {}
|
|
90
|
-
.hook-inverse-badge-hover() {}
|
|
90
|
+
.hook-inverse-badge-hover() {}
|
|
@@ -107,7 +107,7 @@ html {
|
|
|
107
107
|
/* 3 */
|
|
108
108
|
background: @base-body-background;
|
|
109
109
|
color: @base-body-color;
|
|
110
|
-
.hook-base-body;
|
|
110
|
+
.hook-base-body();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/*
|
|
@@ -129,7 +129,7 @@ a,
|
|
|
129
129
|
color: @base-link-color;
|
|
130
130
|
text-decoration: @base-link-text-decoration;
|
|
131
131
|
cursor: pointer;
|
|
132
|
-
.hook-base-link;
|
|
132
|
+
.hook-base-link();
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
a:hover,
|
|
@@ -137,7 +137,7 @@ a:hover,
|
|
|
137
137
|
.uk-link-toggle:hover .uk-link {
|
|
138
138
|
color: @base-link-hover-color;
|
|
139
139
|
text-decoration: @base-link-hover-text-decoration;
|
|
140
|
-
.hook-base-link-hover;
|
|
140
|
+
.hook-base-link-hover();
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
|
|
@@ -179,7 +179,7 @@ strong { font-weight: @base-strong-font-weight; }
|
|
|
179
179
|
/* 3 */
|
|
180
180
|
color: @base-code-color;
|
|
181
181
|
white-space: nowrap;
|
|
182
|
-
.hook-base-code;
|
|
182
|
+
.hook-base-code();
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/*
|
|
@@ -351,7 +351,7 @@ h6, .uk-h6,
|
|
|
351
351
|
font-weight: @base-heading-font-weight;
|
|
352
352
|
color: @base-heading-color;
|
|
353
353
|
text-transform: @base-heading-text-transform;
|
|
354
|
-
.hook-base-heading;
|
|
354
|
+
.hook-base-heading();
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
/* Add margin if adjacent element */
|
|
@@ -374,37 +374,37 @@ h6, .uk-h6,
|
|
|
374
374
|
h1, .uk-h1 {
|
|
375
375
|
font-size: @base-h1-font-size;
|
|
376
376
|
line-height: @base-h1-line-height;
|
|
377
|
-
.hook-base-h1;
|
|
377
|
+
.hook-base-h1();
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
h2, .uk-h2 {
|
|
381
381
|
font-size: @base-h2-font-size;
|
|
382
382
|
line-height: @base-h2-line-height;
|
|
383
|
-
.hook-base-h2;
|
|
383
|
+
.hook-base-h2();
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
h3, .uk-h3 {
|
|
387
387
|
font-size: @base-h3-font-size;
|
|
388
388
|
line-height: @base-h3-line-height;
|
|
389
|
-
.hook-base-h3;
|
|
389
|
+
.hook-base-h3();
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
h4, .uk-h4 {
|
|
393
393
|
font-size: @base-h4-font-size;
|
|
394
394
|
line-height: @base-h4-line-height;
|
|
395
|
-
.hook-base-h4;
|
|
395
|
+
.hook-base-h4();
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
h5, .uk-h5 {
|
|
399
399
|
font-size: @base-h5-font-size;
|
|
400
400
|
line-height: @base-h5-line-height;
|
|
401
|
-
.hook-base-h5;
|
|
401
|
+
.hook-base-h5();
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
h6, .uk-h6 {
|
|
405
405
|
font-size: @base-h6-font-size;
|
|
406
406
|
line-height: @base-h6-line-height;
|
|
407
|
-
.hook-base-h6;
|
|
407
|
+
.hook-base-h6();
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
/* Tablet landscape and bigger */
|
|
@@ -457,7 +457,7 @@ hr, .uk-hr {
|
|
|
457
457
|
margin: 0 0 @base-hr-margin-vertical 0;
|
|
458
458
|
border: 0;
|
|
459
459
|
border-top: @base-hr-border-width solid @base-hr-border;
|
|
460
|
-
.hook-base-hr;
|
|
460
|
+
.hook-base-hr();
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
/* Add margin if adjacent element */
|
|
@@ -479,7 +479,7 @@ blockquote {
|
|
|
479
479
|
font-size: @base-blockquote-font-size;
|
|
480
480
|
line-height: @base-blockquote-line-height;
|
|
481
481
|
font-style: @base-blockquote-font-style;
|
|
482
|
-
.hook-base-blockquote;
|
|
482
|
+
.hook-base-blockquote();
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
/* Add margin if adjacent element */
|
|
@@ -495,7 +495,7 @@ blockquote footer {
|
|
|
495
495
|
margin-top: @base-blockquote-footer-margin-top;
|
|
496
496
|
font-size: @base-blockquote-footer-font-size;
|
|
497
497
|
line-height: @base-blockquote-footer-line-height;
|
|
498
|
-
.hook-base-blockquote-footer;
|
|
498
|
+
.hook-base-blockquote-footer();
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
|
|
@@ -513,7 +513,7 @@ pre {
|
|
|
513
513
|
tab-size: 4;
|
|
514
514
|
/* 1 */
|
|
515
515
|
overflow: auto;
|
|
516
|
-
.hook-base-pre;
|
|
516
|
+
.hook-base-pre();
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
pre code { font-family: @base-pre-font-family; }
|
|
@@ -523,7 +523,7 @@ pre code { font-family: @base-pre-font-family; }
|
|
|
523
523
|
========================================================================== */
|
|
524
524
|
|
|
525
525
|
/*
|
|
526
|
-
* Safari doesn't support `:focus-visible` yet. It also doesn't set focus if clicking a button or anchor.
|
|
526
|
+
* Safari doesn't support `:focus-visible` yet. It also doesn't set focus if clicking a button or anchor.
|
|
527
527
|
* 1. Fallback: Remove `:focus` for a negative tabindexes.
|
|
528
528
|
* 2. Fallback: Set `:focus` style but not for negative tabindexes.
|
|
529
529
|
* 3. Fallback: Remove `:focus` style for browsers which support `:focus-visible`.
|
|
@@ -604,7 +604,7 @@ template { display: none; }
|
|
|
604
604
|
// Hooks
|
|
605
605
|
// ========================================================================
|
|
606
606
|
|
|
607
|
-
.hook-base-misc;
|
|
607
|
+
.hook-base-misc();
|
|
608
608
|
|
|
609
609
|
.hook-base-body() {}
|
|
610
610
|
.hook-base-link() {}
|
|
@@ -650,14 +650,14 @@ template { display: none; }
|
|
|
650
650
|
a,
|
|
651
651
|
.uk-link {
|
|
652
652
|
color: @inverse-base-link-color;
|
|
653
|
-
.hook-inverse-base-link;
|
|
653
|
+
.hook-inverse-base-link();
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
a:hover,
|
|
657
657
|
.uk-link:hover,
|
|
658
658
|
.uk-link-toggle:hover .uk-link {
|
|
659
659
|
color: @inverse-base-link-hover-color;
|
|
660
|
-
.hook-inverse-base-link-hover;
|
|
660
|
+
.hook-inverse-base-link-hover();
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
//
|
|
@@ -668,7 +668,7 @@ template { display: none; }
|
|
|
668
668
|
:not(pre) > kbd,
|
|
669
669
|
:not(pre) > samp {
|
|
670
670
|
color: @inverse-base-code-color;
|
|
671
|
-
.hook-inverse-base-code;
|
|
671
|
+
.hook-inverse-base-code();
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
//
|
|
@@ -693,31 +693,31 @@ template { display: none; }
|
|
|
693
693
|
.uk-heading-xlarge,
|
|
694
694
|
.uk-heading-2xlarge {
|
|
695
695
|
color: @inverse-base-heading-color;
|
|
696
|
-
.hook-inverse-base-heading;
|
|
696
|
+
.hook-inverse-base-heading();
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
h1, .uk-h1 {
|
|
700
|
-
.hook-inverse-base-h1;
|
|
700
|
+
.hook-inverse-base-h1();
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
h2, .uk-h2 {
|
|
704
|
-
.hook-inverse-base-h2;
|
|
704
|
+
.hook-inverse-base-h2();
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
h3, .uk-h3 {
|
|
708
|
-
.hook-inverse-base-h3;
|
|
708
|
+
.hook-inverse-base-h3();
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
h4, .uk-h4 {
|
|
712
|
-
.hook-inverse-base-h4;
|
|
712
|
+
.hook-inverse-base-h4();
|
|
713
713
|
}
|
|
714
714
|
|
|
715
715
|
h5, .uk-h5 {
|
|
716
|
-
.hook-inverse-base-h5;
|
|
716
|
+
.hook-inverse-base-h5();
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
h6, .uk-h6 {
|
|
720
|
-
.hook-inverse-base-h6;
|
|
720
|
+
.hook-inverse-base-h6();
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
//
|
|
@@ -725,11 +725,11 @@ template { display: none; }
|
|
|
725
725
|
//
|
|
726
726
|
|
|
727
727
|
blockquote {
|
|
728
|
-
.hook-inverse-base-blockquote;
|
|
728
|
+
.hook-inverse-base-blockquote();
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
blockquote footer {
|
|
732
|
-
.hook-inverse-base-blockquote-footer;
|
|
732
|
+
.hook-inverse-base-blockquote-footer();
|
|
733
733
|
}
|
|
734
734
|
|
|
735
735
|
//
|
|
@@ -738,7 +738,7 @@ template { display: none; }
|
|
|
738
738
|
|
|
739
739
|
hr, .uk-hr {
|
|
740
740
|
border-top-color: @inverse-base-hr-border;
|
|
741
|
-
.hook-inverse-base-hr;
|
|
741
|
+
.hook-inverse-base-hr();
|
|
742
742
|
}
|
|
743
743
|
|
|
744
744
|
//
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
.uk-breadcrumb {
|
|
35
35
|
padding: 0;
|
|
36
36
|
list-style: none;
|
|
37
|
-
.hook-breadcrumb;
|
|
37
|
+
.hook-breadcrumb();
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/*
|
|
@@ -50,26 +50,26 @@
|
|
|
50
50
|
.uk-breadcrumb > * > * {
|
|
51
51
|
font-size: @breadcrumb-item-font-size;
|
|
52
52
|
color: @breadcrumb-item-color;
|
|
53
|
-
.hook-breadcrumb-item;
|
|
53
|
+
.hook-breadcrumb-item();
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* Hover */
|
|
57
57
|
.uk-breadcrumb > * > :hover {
|
|
58
58
|
color: @breadcrumb-item-hover-color;
|
|
59
59
|
text-decoration: @breadcrumb-item-hover-text-decoration;
|
|
60
|
-
.hook-breadcrumb-item-hover;
|
|
60
|
+
.hook-breadcrumb-item-hover();
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* Disabled */
|
|
64
64
|
.uk-breadcrumb > .uk-disabled > * {
|
|
65
|
-
.hook-breadcrumb-item-disabled;
|
|
65
|
+
.hook-breadcrumb-item-disabled();
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/* Active */
|
|
69
69
|
.uk-breadcrumb > :last-child > span,
|
|
70
70
|
.uk-breadcrumb > :last-child > a:not([href]) {
|
|
71
71
|
color: @breadcrumb-item-active-color;
|
|
72
|
-
.hook-breadcrumb-item-active;
|
|
72
|
+
.hook-breadcrumb-item-active();
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/*
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
/* 2 */
|
|
88
88
|
font-size: @breadcrumb-divider-font-size;
|
|
89
89
|
color: @breadcrumb-divider-color;
|
|
90
|
-
.hook-breadcrumb-divider;
|
|
90
|
+
.hook-breadcrumb-divider();
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
// Hooks
|
|
95
95
|
// ========================================================================
|
|
96
96
|
|
|
97
|
-
.hook-breadcrumb-misc;
|
|
97
|
+
.hook-breadcrumb-misc();
|
|
98
98
|
|
|
99
99
|
.hook-breadcrumb() {}
|
|
100
100
|
.hook-breadcrumb-item() {}
|
|
@@ -117,22 +117,22 @@
|
|
|
117
117
|
|
|
118
118
|
.uk-breadcrumb > * > * {
|
|
119
119
|
color: @inverse-breadcrumb-item-color;
|
|
120
|
-
.hook-inverse-breadcrumb-item;
|
|
120
|
+
.hook-inverse-breadcrumb-item();
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.uk-breadcrumb > * > :hover {
|
|
124
124
|
color: @inverse-breadcrumb-item-hover-color;
|
|
125
|
-
.hook-inverse-breadcrumb-item-hover;
|
|
125
|
+
.hook-inverse-breadcrumb-item-hover();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
.uk-breadcrumb > .uk-disabled > * {
|
|
130
|
-
.hook-inverse-breadcrumb-item-disabled;
|
|
130
|
+
.hook-inverse-breadcrumb-item-disabled();
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.uk-breadcrumb > :last-child > * {
|
|
134
134
|
color: @inverse-breadcrumb-item-active-color;
|
|
135
|
-
.hook-inverse-breadcrumb-item-active;
|
|
135
|
+
.hook-inverse-breadcrumb-item-active();
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
//
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
|
|
142
142
|
.uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before {
|
|
143
143
|
color: @inverse-breadcrumb-divider-color;
|
|
144
|
-
.hook-inverse-breadcrumb-divider;
|
|
144
|
+
.hook-inverse-breadcrumb-divider();
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
}
|