uikit 3.18.4-dev.4b6b928ae → 3.18.4-dev.5aef5369c
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 +17 -1
- package/build/scss.js +3 -0
- package/dist/css/uikit-core-rtl.css +303 -32
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +303 -32
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +303 -32
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +303 -32
- 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 +12 -9
- 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 +2 -2
- 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 +13 -6
- 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 +25 -15
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/images/components/navbar-toggle-icon.svg +2 -2
- package/src/js/components/internal/slider-transitioner.js +2 -2
- package/src/js/components/slider.js +12 -7
- package/src/js/components/tooltip.js +1 -1
- package/src/js/core/height-match.js +12 -0
- package/src/js/core/img.js +1 -4
- package/src/less/components/flex.less +110 -2
- package/src/less/components/heading.less +2 -2
- package/src/less/components/slider.less +1 -1
- package/src/less/components/width.less +146 -30
- package/src/less/theme/text.less +1 -1
- package/src/scss/components/flex.scss +110 -2
- package/src/scss/components/heading.scss +2 -2
- package/src/scss/components/slider.scss +1 -1
- package/src/scss/components/width.scss +146 -30
- package/src/scss/variables-theme.scss +1 -1
- package/tests/slider.html +12 -1
- package/tests/slideshow.html +2 -2
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.18.4-dev.
|
|
5
|
+
"version": "3.18.4-dev.5aef5369c",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<style>
|
|
3
3
|
|
|
4
|
-
.uk-navbar-toggle-
|
|
4
|
+
.uk-navbar-toggle-icon svg > [class*='line-'] {
|
|
5
5
|
transition: 0.2s ease-in-out;
|
|
6
6
|
transition-property: transform, opacity;
|
|
7
7
|
transform-origin: center;
|
|
8
8
|
opacity: 1;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.uk-navbar-toggle-
|
|
11
|
+
.uk-navbar-toggle-icon svg > .line-3 { opacity: 0; }
|
|
12
12
|
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-3 { opacity: 1; }
|
|
13
13
|
|
|
14
14
|
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-2 { transform: rotate(45deg); }
|
|
@@ -147,8 +147,8 @@ export function getMax(list) {
|
|
|
147
147
|
return Math.max(0, getWidth(list) - dimensions(list).width);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
export function getWidth(list) {
|
|
151
|
-
return sumBy(children(list), (el) => dimensions(el).width);
|
|
150
|
+
export function getWidth(list, index) {
|
|
151
|
+
return sumBy(children(list).slice(0, index), (el) => dimensions(el).width);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
function centerEl(el, list) {
|
|
@@ -33,6 +33,7 @@ export default {
|
|
|
33
33
|
props: {
|
|
34
34
|
center: Boolean,
|
|
35
35
|
sets: Boolean,
|
|
36
|
+
active: String,
|
|
36
37
|
},
|
|
37
38
|
|
|
38
39
|
data: {
|
|
@@ -42,6 +43,7 @@ export default {
|
|
|
42
43
|
selList: '.uk-slider-items',
|
|
43
44
|
selNav: '.uk-slider-nav',
|
|
44
45
|
clsContainer: 'uk-slider-container',
|
|
46
|
+
active: 'all',
|
|
45
47
|
Transitioner,
|
|
46
48
|
},
|
|
47
49
|
|
|
@@ -235,7 +237,11 @@ export default {
|
|
|
235
237
|
},
|
|
236
238
|
|
|
237
239
|
updateActiveClasses(currentIndex = this.index) {
|
|
238
|
-
|
|
240
|
+
let actives = this._getTransitioner(currentIndex).getActives();
|
|
241
|
+
|
|
242
|
+
if (this.active !== 'all') {
|
|
243
|
+
actives = [this.slides[this.getValidIndex(currentIndex)]];
|
|
244
|
+
}
|
|
239
245
|
|
|
240
246
|
const activeClasses = [
|
|
241
247
|
this.clsActive,
|
|
@@ -296,11 +302,10 @@ export default {
|
|
|
296
302
|
|
|
297
303
|
getIndexAt(percent) {
|
|
298
304
|
let index = -1;
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
getWidth(this.list)
|
|
303
|
-
(this.center ? firstSlideWidth / 2 + lastSlideWidth / 2 : lastSlideWidth);
|
|
305
|
+
const scrollDist = this.center
|
|
306
|
+
? getWidth(this.list) -
|
|
307
|
+
(dimensions(this.slides[0]).width / 2 + dimensions(last(this.slides)).width / 2)
|
|
308
|
+
: getWidth(this.list, this.maxIndex);
|
|
304
309
|
|
|
305
310
|
let dist = percent * scrollDist;
|
|
306
311
|
let slidePercent = 0;
|
|
@@ -361,7 +366,7 @@ function isFinite(list, center) {
|
|
|
361
366
|
}
|
|
362
367
|
|
|
363
368
|
if (
|
|
364
|
-
diff >
|
|
369
|
+
Math.trunc(diff) >
|
|
365
370
|
sumBy(
|
|
366
371
|
slides.filter((slide) => !slidesInView.has(slide)),
|
|
367
372
|
(slide) => dimensions(slide).width,
|
|
@@ -136,7 +136,7 @@ export default {
|
|
|
136
136
|
// Clicking a button does not give it focus on all browsers and platforms
|
|
137
137
|
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#clicking_and_focus
|
|
138
138
|
[`focus ${pointerEnter} ${pointerDown}`](e) {
|
|
139
|
-
if (!isTouch(e)) {
|
|
139
|
+
if (!isTouch(e) || e.type === pointerDown) {
|
|
140
140
|
this.show();
|
|
141
141
|
}
|
|
142
142
|
},
|
|
@@ -24,6 +24,18 @@ export default {
|
|
|
24
24
|
elements.reduce((elements, el) => elements.concat(el, ...el.children), [$el]),
|
|
25
25
|
}),
|
|
26
26
|
|
|
27
|
+
events: {
|
|
28
|
+
name: 'loadingdone',
|
|
29
|
+
|
|
30
|
+
el() {
|
|
31
|
+
return document.fonts;
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
handler() {
|
|
35
|
+
this.$emit('resize');
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
|
|
27
39
|
update: {
|
|
28
40
|
read() {
|
|
29
41
|
return {
|
package/src/js/core/img.js
CHANGED
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
.uk-flex-between { justify-content: space-between; }
|
|
30
30
|
.uk-flex-around { justify-content: space-around; }
|
|
31
31
|
|
|
32
|
-
|
|
33
32
|
/* Phone landscape and bigger */
|
|
34
33
|
@media (min-width: @breakpoint-small) {
|
|
35
34
|
|
|
@@ -85,6 +84,46 @@
|
|
|
85
84
|
.uk-flex-middle { align-items: center; }
|
|
86
85
|
.uk-flex-bottom { align-items: flex-end; }
|
|
87
86
|
|
|
87
|
+
/* Phone landscape and bigger */
|
|
88
|
+
@media (min-width: @breakpoint-small) {
|
|
89
|
+
|
|
90
|
+
.uk-flex-stretch\@s { align-items: stretch; }
|
|
91
|
+
.uk-flex-top\@s { align-items: flex-start; }
|
|
92
|
+
.uk-flex-middle\@s { align-items: center; }
|
|
93
|
+
.uk-flex-bottom\@s { align-items: flex-end; }
|
|
94
|
+
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Tablet landscape and bigger */
|
|
98
|
+
@media (min-width: @breakpoint-medium) {
|
|
99
|
+
|
|
100
|
+
.uk-flex-stretch\@m { align-items: stretch; }
|
|
101
|
+
.uk-flex-top\@m { align-items: flex-start; }
|
|
102
|
+
.uk-flex-middle\@m { align-items: center; }
|
|
103
|
+
.uk-flex-bottom\@m { align-items: flex-end; }
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Desktop and bigger */
|
|
108
|
+
@media (min-width: @breakpoint-large) {
|
|
109
|
+
|
|
110
|
+
.uk-flex-stretch\@l { align-items: stretch; }
|
|
111
|
+
.uk-flex-top\@l { align-items: flex-start; }
|
|
112
|
+
.uk-flex-middle\@l { align-items: center; }
|
|
113
|
+
.uk-flex-bottom\@l { align-items: flex-end; }
|
|
114
|
+
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Large screen and bigger */
|
|
118
|
+
@media (min-width: @breakpoint-xlarge) {
|
|
119
|
+
|
|
120
|
+
.uk-flex-stretch\@xl { align-items: stretch; }
|
|
121
|
+
.uk-flex-top\@xl { align-items: flex-start; }
|
|
122
|
+
.uk-flex-middle\@xl { align-items: center; }
|
|
123
|
+
.uk-flex-bottom\@xl { align-items: flex-end; }
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
88
127
|
|
|
89
128
|
/* Direction
|
|
90
129
|
========================================================================== */
|
|
@@ -95,6 +134,38 @@
|
|
|
95
134
|
.uk-flex-column { flex-direction: column; }
|
|
96
135
|
.uk-flex-column-reverse { flex-direction: column-reverse; }
|
|
97
136
|
|
|
137
|
+
/* Phone landscape and bigger */
|
|
138
|
+
@media (min-width: @breakpoint-small) {
|
|
139
|
+
|
|
140
|
+
.uk-flex-row\@s { flex-direction: row; }
|
|
141
|
+
.uk-flex-column\@s { flex-direction: column; }
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* Tablet landscape and bigger */
|
|
146
|
+
@media (min-width: @breakpoint-medium) {
|
|
147
|
+
|
|
148
|
+
.uk-flex-row\@m { flex-direction: row; }
|
|
149
|
+
.uk-flex-column\@m { flex-direction: column; }
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Desktop and bigger */
|
|
154
|
+
@media (min-width: @breakpoint-large) {
|
|
155
|
+
|
|
156
|
+
.uk-flex-row\@l { flex-direction: row; }
|
|
157
|
+
.uk-flex-column\@l { flex-direction: column; }
|
|
158
|
+
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Large screen and bigger */
|
|
162
|
+
@media (min-width: @breakpoint-xlarge) {
|
|
163
|
+
|
|
164
|
+
.uk-flex-row\@xl { flex-direction: row; }
|
|
165
|
+
.uk-flex-column\@xl { flex-direction: column; }
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
|
|
98
169
|
|
|
99
170
|
/* Wrap
|
|
100
171
|
========================================================================== */
|
|
@@ -128,7 +199,6 @@
|
|
|
128
199
|
.uk-flex-first { order: -1;}
|
|
129
200
|
.uk-flex-last { order: 99;}
|
|
130
201
|
|
|
131
|
-
|
|
132
202
|
/* Phone landscape and bigger */
|
|
133
203
|
@media (min-width: @breakpoint-small) {
|
|
134
204
|
|
|
@@ -170,6 +240,8 @@
|
|
|
170
240
|
* Content dimensions, but shrinks
|
|
171
241
|
*/
|
|
172
242
|
|
|
243
|
+
.uk-flex-initial { flex: initial; }
|
|
244
|
+
|
|
173
245
|
/*
|
|
174
246
|
* No Flex: 0 0 auto
|
|
175
247
|
* Content dimensions
|
|
@@ -191,6 +263,42 @@
|
|
|
191
263
|
|
|
192
264
|
.uk-flex-1 { flex: 1; }
|
|
193
265
|
|
|
266
|
+
/* Phone landscape and bigger */
|
|
267
|
+
@media (min-width: @breakpoint-small) {
|
|
268
|
+
|
|
269
|
+
.uk-flex-initial\@s { flex: initial; }
|
|
270
|
+
.uk-flex-none\@s { flex: none; }
|
|
271
|
+
.uk-flex-1\@s { flex: 1; }
|
|
272
|
+
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* Tablet landscape and bigger */
|
|
276
|
+
@media (min-width: @breakpoint-medium) {
|
|
277
|
+
|
|
278
|
+
.uk-flex-initial\@m { flex: initial; }
|
|
279
|
+
.uk-flex-none\@m { flex: none; }
|
|
280
|
+
.uk-flex-1\@m { flex: 1; }
|
|
281
|
+
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* Desktop and bigger */
|
|
285
|
+
@media (min-width: @breakpoint-large) {
|
|
286
|
+
|
|
287
|
+
.uk-flex-initial\@l { flex: initial; }
|
|
288
|
+
.uk-flex-none\@l { flex: none; }
|
|
289
|
+
.uk-flex-1\@l { flex: 1; }
|
|
290
|
+
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Large screen and bigger */
|
|
294
|
+
@media (min-width: @breakpoint-xlarge) {
|
|
295
|
+
|
|
296
|
+
.uk-flex-initial\@xl { flex: initial; }
|
|
297
|
+
.uk-flex-none\@xl { flex: none; }
|
|
298
|
+
.uk-flex-1\@xl { flex: 1; }
|
|
299
|
+
|
|
300
|
+
}
|
|
301
|
+
|
|
194
302
|
|
|
195
303
|
// Hooks
|
|
196
304
|
// ========================================================================
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
// Variables
|
|
14
14
|
// ========================================================================
|
|
15
15
|
|
|
16
|
-
@heading-small-font-size: @heading-small-font-size-m * 0.8;
|
|
17
|
-
@heading-medium-font-size: @heading-medium-font-size-m * 0.825;
|
|
16
|
+
@heading-small-font-size: @heading-small-font-size-m * 0.8; // 38px 0.73
|
|
17
|
+
@heading-medium-font-size: @heading-medium-font-size-m * 0.825; // 40px 0.714
|
|
18
18
|
@heading-large-font-size: @heading-large-font-size-m * 0.85; // 50px 0.78
|
|
19
19
|
@heading-xlarge-font-size: @heading-large-font-size-m; // 4rem / 64px
|
|
20
20
|
@heading-2xlarge-font-size: @heading-xlarge-font-size-m; // 6rem / 96px
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.uk-child-width-1-2 > * { width: 50%; }
|
|
34
|
-
.uk-child-width-1-3 > * { width: ~'calc(100%
|
|
34
|
+
.uk-child-width-1-3 > * { width: ~'calc(100% / 3)'; }
|
|
35
35
|
.uk-child-width-1-4 > * { width: 25%; }
|
|
36
36
|
.uk-child-width-1-5 > * { width: 20%; }
|
|
37
|
-
.uk-child-width-1-6 > * { width: ~'calc(100%
|
|
37
|
+
.uk-child-width-1-6 > * { width: ~'calc(100% / 6)'; }
|
|
38
38
|
|
|
39
39
|
.uk-child-width-auto > * { width: auto; }
|
|
40
40
|
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
|
|
57
57
|
.uk-child-width-1-1\@s > * { width: 100%; }
|
|
58
58
|
.uk-child-width-1-2\@s > * { width: 50%; }
|
|
59
|
-
.uk-child-width-1-3\@s > * { width: ~'calc(100%
|
|
59
|
+
.uk-child-width-1-3\@s > * { width: ~'calc(100% / 3)'; }
|
|
60
60
|
.uk-child-width-1-4\@s > * { width: 25%; }
|
|
61
61
|
.uk-child-width-1-5\@s > * { width: 20%; }
|
|
62
|
-
.uk-child-width-1-6\@s > * { width: ~'calc(100%
|
|
62
|
+
.uk-child-width-1-6\@s > * { width: ~'calc(100% / 6)'; }
|
|
63
63
|
|
|
64
64
|
.uk-child-width-auto\@s > * { width: auto; }
|
|
65
65
|
.uk-child-width-expand\@s > :not([class*="uk-width"]) {
|
|
@@ -67,6 +67,15 @@
|
|
|
67
67
|
min-width: 1px;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
/* Reset expand */
|
|
71
|
+
.uk-child-width-1-1\@s > :not([class*="uk-width"]),
|
|
72
|
+
.uk-child-width-1-2\@s > :not([class*="uk-width"]),
|
|
73
|
+
.uk-child-width-1-3\@s > :not([class*="uk-width"]),
|
|
74
|
+
.uk-child-width-1-4\@s > :not([class*="uk-width"]),
|
|
75
|
+
.uk-child-width-1-5\@s > :not([class*="uk-width"]),
|
|
76
|
+
.uk-child-width-1-6\@s > :not([class*="uk-width"]),
|
|
77
|
+
.uk-child-width-auto\@s > :not([class*="uk-width"]) { flex: initial; }
|
|
78
|
+
|
|
70
79
|
}
|
|
71
80
|
|
|
72
81
|
/* Tablet landscape and bigger */
|
|
@@ -74,10 +83,10 @@
|
|
|
74
83
|
|
|
75
84
|
.uk-child-width-1-1\@m > * { width: 100%; }
|
|
76
85
|
.uk-child-width-1-2\@m > * { width: 50%; }
|
|
77
|
-
.uk-child-width-1-3\@m > * { width: ~'calc(100%
|
|
86
|
+
.uk-child-width-1-3\@m > * { width: ~'calc(100% / 3)'; }
|
|
78
87
|
.uk-child-width-1-4\@m > * { width: 25%; }
|
|
79
88
|
.uk-child-width-1-5\@m > * { width: 20%; }
|
|
80
|
-
.uk-child-width-1-6\@m > * { width: ~'calc(100%
|
|
89
|
+
.uk-child-width-1-6\@m > * { width: ~'calc(100% / 6)'; }
|
|
81
90
|
|
|
82
91
|
.uk-child-width-auto\@m > * { width: auto; }
|
|
83
92
|
.uk-child-width-expand\@m > :not([class*="uk-width"]) {
|
|
@@ -85,6 +94,15 @@
|
|
|
85
94
|
min-width: 1px;
|
|
86
95
|
}
|
|
87
96
|
|
|
97
|
+
/* Reset expand */
|
|
98
|
+
.uk-child-width-1-1\@m > :not([class*="uk-width"]),
|
|
99
|
+
.uk-child-width-1-2\@m > :not([class*="uk-width"]),
|
|
100
|
+
.uk-child-width-1-3\@m > :not([class*="uk-width"]),
|
|
101
|
+
.uk-child-width-1-4\@m > :not([class*="uk-width"]),
|
|
102
|
+
.uk-child-width-1-5\@m > :not([class*="uk-width"]),
|
|
103
|
+
.uk-child-width-1-6\@m > :not([class*="uk-width"]),
|
|
104
|
+
.uk-child-width-auto\@m > :not([class*="uk-width"]) { flex: initial; }
|
|
105
|
+
|
|
88
106
|
}
|
|
89
107
|
|
|
90
108
|
/* Desktop and bigger */
|
|
@@ -92,10 +110,10 @@
|
|
|
92
110
|
|
|
93
111
|
.uk-child-width-1-1\@l > * { width: 100%; }
|
|
94
112
|
.uk-child-width-1-2\@l > * { width: 50%; }
|
|
95
|
-
.uk-child-width-1-3\@l > * { width: ~'calc(100%
|
|
113
|
+
.uk-child-width-1-3\@l > * { width: ~'calc(100% / 3)'; }
|
|
96
114
|
.uk-child-width-1-4\@l > * { width: 25%; }
|
|
97
115
|
.uk-child-width-1-5\@l > * { width: 20%; }
|
|
98
|
-
.uk-child-width-1-6\@l > * { width: ~'calc(100%
|
|
116
|
+
.uk-child-width-1-6\@l > * { width: ~'calc(100% / 6)'; }
|
|
99
117
|
|
|
100
118
|
.uk-child-width-auto\@l > * { width: auto; }
|
|
101
119
|
.uk-child-width-expand\@l > :not([class*="uk-width"]) {
|
|
@@ -103,6 +121,15 @@
|
|
|
103
121
|
min-width: 1px;
|
|
104
122
|
}
|
|
105
123
|
|
|
124
|
+
/* Reset expand */
|
|
125
|
+
.uk-child-width-1-1\@l > :not([class*="uk-width"]),
|
|
126
|
+
.uk-child-width-1-2\@l > :not([class*="uk-width"]),
|
|
127
|
+
.uk-child-width-1-3\@l > :not([class*="uk-width"]),
|
|
128
|
+
.uk-child-width-1-4\@l > :not([class*="uk-width"]),
|
|
129
|
+
.uk-child-width-1-5\@l > :not([class*="uk-width"]),
|
|
130
|
+
.uk-child-width-1-6\@l > :not([class*="uk-width"]),
|
|
131
|
+
.uk-child-width-auto\@l > :not([class*="uk-width"]) { flex: initial; }
|
|
132
|
+
|
|
106
133
|
}
|
|
107
134
|
|
|
108
135
|
/* Large screen and bigger */
|
|
@@ -110,10 +137,10 @@
|
|
|
110
137
|
|
|
111
138
|
.uk-child-width-1-1\@xl > * { width: 100%; }
|
|
112
139
|
.uk-child-width-1-2\@xl > * { width: 50%; }
|
|
113
|
-
.uk-child-width-1-3\@xl > * { width: ~'calc(100%
|
|
140
|
+
.uk-child-width-1-3\@xl > * { width: ~'calc(100% / 3)'; }
|
|
114
141
|
.uk-child-width-1-4\@xl > * { width: 25%; }
|
|
115
142
|
.uk-child-width-1-5\@xl > * { width: 20%; }
|
|
116
|
-
.uk-child-width-1-6\@xl > * { width: ~'calc(100%
|
|
143
|
+
.uk-child-width-1-6\@xl > * { width: ~'calc(100% / 6)'; }
|
|
117
144
|
|
|
118
145
|
.uk-child-width-auto\@xl > * { width: auto; }
|
|
119
146
|
.uk-child-width-expand\@xl > :not([class*="uk-width"]) {
|
|
@@ -121,6 +148,15 @@
|
|
|
121
148
|
min-width: 1px;
|
|
122
149
|
}
|
|
123
150
|
|
|
151
|
+
/* Reset expand */
|
|
152
|
+
.uk-child-width-1-1\@xl > :not([class*="uk-width"]),
|
|
153
|
+
.uk-child-width-1-2\@xl > :not([class*="uk-width"]),
|
|
154
|
+
.uk-child-width-1-3\@xl > :not([class*="uk-width"]),
|
|
155
|
+
.uk-child-width-1-4\@xl > :not([class*="uk-width"]),
|
|
156
|
+
.uk-child-width-1-5\@xl > :not([class*="uk-width"]),
|
|
157
|
+
.uk-child-width-1-6\@xl > :not([class*="uk-width"]),
|
|
158
|
+
.uk-child-width-auto\@xl > :not([class*="uk-width"]) { flex: initial; }
|
|
159
|
+
|
|
124
160
|
}
|
|
125
161
|
|
|
126
162
|
|
|
@@ -142,8 +178,8 @@
|
|
|
142
178
|
.uk-width-1-2 { width: 50%; }
|
|
143
179
|
|
|
144
180
|
/* Thirds */
|
|
145
|
-
.uk-width-1-3 { width: ~'calc(100%
|
|
146
|
-
.uk-width-2-3 { width: ~'calc(
|
|
181
|
+
.uk-width-1-3 { width: ~'calc(100% / 3)'; }
|
|
182
|
+
.uk-width-2-3 { width: ~'calc(200% / 3)'; }
|
|
147
183
|
|
|
148
184
|
/* Quarters */
|
|
149
185
|
.uk-width-1-4 { width: 25%; }
|
|
@@ -156,8 +192,8 @@
|
|
|
156
192
|
.uk-width-4-5 { width: 80%; }
|
|
157
193
|
|
|
158
194
|
/* Sixths */
|
|
159
|
-
.uk-width-1-6 { width: ~'calc(100%
|
|
160
|
-
.uk-width-5-6 { width: ~'calc(
|
|
195
|
+
.uk-width-1-6 { width: ~'calc(100% / 6)'; }
|
|
196
|
+
.uk-width-5-6 { width: ~'calc(500% / 6)'; }
|
|
161
197
|
|
|
162
198
|
/* Pixel */
|
|
163
199
|
.uk-width-small { width: @width-small-width; }
|
|
@@ -186,8 +222,8 @@
|
|
|
186
222
|
.uk-width-1-2\@s { width: 50%; }
|
|
187
223
|
|
|
188
224
|
/* Thirds */
|
|
189
|
-
.uk-width-1-3\@s { width: ~'calc(100%
|
|
190
|
-
.uk-width-2-3\@s { width: ~'calc(
|
|
225
|
+
.uk-width-1-3\@s { width: ~'calc(100% / 3)'; }
|
|
226
|
+
.uk-width-2-3\@s { width: ~'calc(200% / 3)'; }
|
|
191
227
|
|
|
192
228
|
/* Quarters */
|
|
193
229
|
.uk-width-1-4\@s { width: 25%; }
|
|
@@ -200,8 +236,8 @@
|
|
|
200
236
|
.uk-width-4-5\@s { width: 80%; }
|
|
201
237
|
|
|
202
238
|
/* Sixths */
|
|
203
|
-
.uk-width-1-6\@s { width: ~'calc(100%
|
|
204
|
-
.uk-width-5-6\@s { width: ~'calc(
|
|
239
|
+
.uk-width-1-6\@s { width: ~'calc(100% / 6)'; }
|
|
240
|
+
.uk-width-5-6\@s { width: ~'calc(500% / 6)'; }
|
|
205
241
|
|
|
206
242
|
/* Pixel */
|
|
207
243
|
.uk-width-small\@s { width: @width-small-width; }
|
|
@@ -220,6 +256,26 @@
|
|
|
220
256
|
min-width: 1px;
|
|
221
257
|
}
|
|
222
258
|
|
|
259
|
+
/* Reset expand */
|
|
260
|
+
.uk-width-1-1\@s,
|
|
261
|
+
.uk-width-1-2\@s,
|
|
262
|
+
.uk-width-1-3\@s,
|
|
263
|
+
.uk-width-2-3\@s,
|
|
264
|
+
.uk-width-1-4\@s,
|
|
265
|
+
.uk-width-3-4\@s,
|
|
266
|
+
.uk-width-1-5\@s,
|
|
267
|
+
.uk-width-2-5\@s,
|
|
268
|
+
.uk-width-3-5\@s,
|
|
269
|
+
.uk-width-4-5\@s,
|
|
270
|
+
.uk-width-1-6\@s,
|
|
271
|
+
.uk-width-5-6\@s,
|
|
272
|
+
.uk-width-small\@s,
|
|
273
|
+
.uk-width-medium\@s,
|
|
274
|
+
.uk-width-large\@s,
|
|
275
|
+
.uk-width-xlarge\@s,
|
|
276
|
+
.uk-width-2xlarge\@s,
|
|
277
|
+
.uk-width-auto\@s { flex: initial; }
|
|
278
|
+
|
|
223
279
|
}
|
|
224
280
|
|
|
225
281
|
/* Tablet landscape and bigger */
|
|
@@ -232,8 +288,8 @@
|
|
|
232
288
|
.uk-width-1-2\@m { width: 50%; }
|
|
233
289
|
|
|
234
290
|
/* Thirds */
|
|
235
|
-
.uk-width-1-3\@m { width: ~'calc(100%
|
|
236
|
-
.uk-width-2-3\@m { width: ~'calc(
|
|
291
|
+
.uk-width-1-3\@m { width: ~'calc(100% / 3)'; }
|
|
292
|
+
.uk-width-2-3\@m { width: ~'calc(200% / 3)'; }
|
|
237
293
|
|
|
238
294
|
/* Quarters */
|
|
239
295
|
.uk-width-1-4\@m { width: 25%; }
|
|
@@ -246,8 +302,8 @@
|
|
|
246
302
|
.uk-width-4-5\@m { width: 80%; }
|
|
247
303
|
|
|
248
304
|
/* Sixths */
|
|
249
|
-
.uk-width-1-6\@m { width: ~'calc(100%
|
|
250
|
-
.uk-width-5-6\@m { width: ~'calc(
|
|
305
|
+
.uk-width-1-6\@m { width: ~'calc(100% / 6)'; }
|
|
306
|
+
.uk-width-5-6\@m { width: ~'calc(500% / 6)'; }
|
|
251
307
|
|
|
252
308
|
/* Pixel */
|
|
253
309
|
.uk-width-small\@m { width: @width-small-width; }
|
|
@@ -266,6 +322,26 @@
|
|
|
266
322
|
min-width: 1px;
|
|
267
323
|
}
|
|
268
324
|
|
|
325
|
+
/* Reset expand */
|
|
326
|
+
.uk-width-1-1\@m,
|
|
327
|
+
.uk-width-1-2\@m,
|
|
328
|
+
.uk-width-1-3\@m,
|
|
329
|
+
.uk-width-2-3\@m,
|
|
330
|
+
.uk-width-1-4\@m,
|
|
331
|
+
.uk-width-3-4\@m,
|
|
332
|
+
.uk-width-1-5\@m,
|
|
333
|
+
.uk-width-2-5\@m,
|
|
334
|
+
.uk-width-3-5\@m,
|
|
335
|
+
.uk-width-4-5\@m,
|
|
336
|
+
.uk-width-1-6\@m,
|
|
337
|
+
.uk-width-5-6\@m,
|
|
338
|
+
.uk-width-small\@m,
|
|
339
|
+
.uk-width-medium\@m,
|
|
340
|
+
.uk-width-large\@m,
|
|
341
|
+
.uk-width-xlarge\@m,
|
|
342
|
+
.uk-width-2xlarge\@m,
|
|
343
|
+
.uk-width-auto\@m { flex: initial; }
|
|
344
|
+
|
|
269
345
|
}
|
|
270
346
|
|
|
271
347
|
/* Desktop and bigger */
|
|
@@ -278,8 +354,8 @@
|
|
|
278
354
|
.uk-width-1-2\@l { width: 50%; }
|
|
279
355
|
|
|
280
356
|
/* Thirds */
|
|
281
|
-
.uk-width-1-3\@l { width: ~'calc(100%
|
|
282
|
-
.uk-width-2-3\@l { width: ~'calc(
|
|
357
|
+
.uk-width-1-3\@l { width: ~'calc(100% / 3)'; }
|
|
358
|
+
.uk-width-2-3\@l { width: ~'calc(200% / 3)'; }
|
|
283
359
|
|
|
284
360
|
/* Quarters */
|
|
285
361
|
.uk-width-1-4\@l { width: 25%; }
|
|
@@ -292,8 +368,8 @@
|
|
|
292
368
|
.uk-width-4-5\@l { width: 80%; }
|
|
293
369
|
|
|
294
370
|
/* Sixths */
|
|
295
|
-
.uk-width-1-6\@l { width: ~'calc(100%
|
|
296
|
-
.uk-width-5-6\@l { width: ~'calc(
|
|
371
|
+
.uk-width-1-6\@l { width: ~'calc(100% / 6)'; }
|
|
372
|
+
.uk-width-5-6\@l { width: ~'calc(500% / 6)'; }
|
|
297
373
|
|
|
298
374
|
/* Pixel */
|
|
299
375
|
.uk-width-small\@l { width: @width-small-width; }
|
|
@@ -312,6 +388,26 @@
|
|
|
312
388
|
min-width: 1px;
|
|
313
389
|
}
|
|
314
390
|
|
|
391
|
+
/* Reset expand */
|
|
392
|
+
.uk-width-1-1\@l,
|
|
393
|
+
.uk-width-1-2\@l,
|
|
394
|
+
.uk-width-1-3\@l,
|
|
395
|
+
.uk-width-2-3\@l,
|
|
396
|
+
.uk-width-1-4\@l,
|
|
397
|
+
.uk-width-3-4\@l,
|
|
398
|
+
.uk-width-1-5\@l,
|
|
399
|
+
.uk-width-2-5\@l,
|
|
400
|
+
.uk-width-3-5\@l,
|
|
401
|
+
.uk-width-4-5\@l,
|
|
402
|
+
.uk-width-1-6\@l,
|
|
403
|
+
.uk-width-5-6\@l,
|
|
404
|
+
.uk-width-small\@l,
|
|
405
|
+
.uk-width-medium\@l,
|
|
406
|
+
.uk-width-large\@l,
|
|
407
|
+
.uk-width-xlarge\@l,
|
|
408
|
+
.uk-width-2xlarge\@l,
|
|
409
|
+
.uk-width-auto\@l { flex: initial; }
|
|
410
|
+
|
|
315
411
|
}
|
|
316
412
|
|
|
317
413
|
/* Large screen and bigger */
|
|
@@ -324,8 +420,8 @@
|
|
|
324
420
|
.uk-width-1-2\@xl { width: 50%; }
|
|
325
421
|
|
|
326
422
|
/* Thirds */
|
|
327
|
-
.uk-width-1-3\@xl { width: ~'calc(100%
|
|
328
|
-
.uk-width-2-3\@xl { width: ~'calc(
|
|
423
|
+
.uk-width-1-3\@xl { width: ~'calc(100% / 3)'; }
|
|
424
|
+
.uk-width-2-3\@xl { width: ~'calc(200% / 3)'; }
|
|
329
425
|
|
|
330
426
|
/* Quarters */
|
|
331
427
|
.uk-width-1-4\@xl { width: 25%; }
|
|
@@ -338,8 +434,8 @@
|
|
|
338
434
|
.uk-width-4-5\@xl { width: 80%; }
|
|
339
435
|
|
|
340
436
|
/* Sixths */
|
|
341
|
-
.uk-width-1-6\@xl { width: ~'calc(100%
|
|
342
|
-
.uk-width-5-6\@xl { width: ~'calc(
|
|
437
|
+
.uk-width-1-6\@xl { width: ~'calc(100% / 6)'; }
|
|
438
|
+
.uk-width-5-6\@xl { width: ~'calc(500% / 6)'; }
|
|
343
439
|
|
|
344
440
|
/* Pixel */
|
|
345
441
|
.uk-width-small\@xl { width: @width-small-width; }
|
|
@@ -358,6 +454,26 @@
|
|
|
358
454
|
min-width: 1px;
|
|
359
455
|
}
|
|
360
456
|
|
|
457
|
+
/* Reset expand */
|
|
458
|
+
.uk-width-1-1\@xl,
|
|
459
|
+
.uk-width-1-2\@xl,
|
|
460
|
+
.uk-width-1-3\@xl,
|
|
461
|
+
.uk-width-2-3\@xl,
|
|
462
|
+
.uk-width-1-4\@xl,
|
|
463
|
+
.uk-width-3-4\@xl,
|
|
464
|
+
.uk-width-1-5\@xl,
|
|
465
|
+
.uk-width-2-5\@xl,
|
|
466
|
+
.uk-width-3-5\@xl,
|
|
467
|
+
.uk-width-4-5\@xl,
|
|
468
|
+
.uk-width-1-6\@xl,
|
|
469
|
+
.uk-width-5-6\@xl,
|
|
470
|
+
.uk-width-small\@xl,
|
|
471
|
+
.uk-width-medium\@xl,
|
|
472
|
+
.uk-width-large\@xl,
|
|
473
|
+
.uk-width-xlarge\@xl,
|
|
474
|
+
.uk-width-2xlarge\@xl,
|
|
475
|
+
.uk-width-auto\@xl { flex: initial; }
|
|
476
|
+
|
|
361
477
|
}
|
|
362
478
|
|
|
363
479
|
/* Intrinsic Widths
|
package/src/less/theme/text.less
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@text-meta-link-color: @text-meta-color;
|
|
15
15
|
@text-meta-link-hover-color: @global-color;
|
|
16
16
|
|
|
17
|
-
@internal-text-background-color-gradient: linear-gradient(90deg, @text-background-color 0%, spin(@text-background-color, 40
|
|
17
|
+
@internal-text-background-color-gradient: linear-gradient(90deg, @text-background-color 0%, spin(@text-background-color, 40) 100%);
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
// Style modifiers
|