uikit-reset 3.2.0 → 3.4.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.
- checksums.yaml +4 -4
- data/lib/uikit/reset/version.rb +1 -1
- data/vendor/assets/javascripts/uikit-reset.js +2024 -1908
- data/vendor/assets/stylesheets/uikit-reset.scss +70 -29
- metadata +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! UIkit 3.
|
1
|
+
/*! UIkit 3.4.0 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */
|
2
2
|
/* ========================================================================
|
3
3
|
Component: Base
|
4
4
|
========================================================================== */
|
@@ -2140,11 +2140,12 @@ select.uk-form-width-xsmall {
|
|
2140
2140
|
* 3. Address `overflow` set to `hidden` in IE.
|
2141
2141
|
* 4. Correct `font` properties and `color` not being inherited for `button`.
|
2142
2142
|
* 5. Remove the inheritance of text transform in Edge, Firefox, and IE.
|
2143
|
-
* 6.
|
2144
|
-
* 7.
|
2143
|
+
* 6. Remove default style for `input type="submit"`in iOS.
|
2144
|
+
* 7. Style
|
2145
|
+
* 8. `line-height` is used to create a height because it also centers the text vertically for `a` elements.
|
2145
2146
|
* Better would be to use height and flexbox to center the text vertically but flexbox doesn't work in Firefox on `button` elements.
|
2146
|
-
*
|
2147
|
-
*
|
2147
|
+
* 9. Align text if button has a width
|
2148
|
+
* 10. Required for `a`.
|
2148
2149
|
*/
|
2149
2150
|
.uk-button {
|
2150
2151
|
/* 1 */
|
@@ -2159,16 +2160,19 @@ select.uk-form-width-xsmall {
|
|
2159
2160
|
/* 5 */
|
2160
2161
|
text-transform: none;
|
2161
2162
|
/* 6 */
|
2163
|
+
-webkit-appearance: none;
|
2164
|
+
border-radius: 0;
|
2165
|
+
/* 7 */
|
2162
2166
|
display: inline-block;
|
2163
2167
|
box-sizing: border-box;
|
2164
2168
|
padding: 0 30px;
|
2165
2169
|
vertical-align: middle;
|
2166
2170
|
font-size: 0.875rem;
|
2167
|
-
/* 7 */
|
2168
|
-
line-height: 38px;
|
2169
2171
|
/* 8 */
|
2170
|
-
|
2172
|
+
line-height: 38px;
|
2171
2173
|
/* 9 */
|
2174
|
+
text-align: center;
|
2175
|
+
/* 10 */
|
2172
2176
|
text-decoration: none;
|
2173
2177
|
text-transform: uppercase;
|
2174
2178
|
transition: 0.1s ease-in-out;
|
@@ -2635,6 +2639,10 @@ select.uk-form-width-xsmall {
|
|
2635
2639
|
}
|
2636
2640
|
|
2637
2641
|
.uk-container-large {
|
2642
|
+
max-width: 1400px;
|
2643
|
+
}
|
2644
|
+
|
2645
|
+
.uk-container-xlarge {
|
2638
2646
|
max-width: 1600px;
|
2639
2647
|
}
|
2640
2648
|
|
@@ -2689,6 +2697,11 @@ select.uk-form-width-xsmall {
|
|
2689
2697
|
|
2690
2698
|
.uk-container-expand-left.uk-container-large,
|
2691
2699
|
.uk-container-expand-right.uk-container-large {
|
2700
|
+
max-width: calc(50% + (1400px / 2) - 40px);
|
2701
|
+
}
|
2702
|
+
|
2703
|
+
.uk-container-expand-left.uk-container-xlarge,
|
2704
|
+
.uk-container-expand-right.uk-container-xlarge {
|
2692
2705
|
max-width: calc(50% + (1600px / 2) - 40px);
|
2693
2706
|
}
|
2694
2707
|
}
|
@@ -5047,24 +5060,35 @@ ul.uk-nav-sub {
|
|
5047
5060
|
/* Divider modifier
|
5048
5061
|
========================================================================== */
|
5049
5062
|
/*
|
5050
|
-
*
|
5063
|
+
* Set gutter
|
5064
|
+
*/
|
5065
|
+
.uk-subnav-divider {
|
5066
|
+
margin-left: -41px;
|
5067
|
+
}
|
5068
|
+
|
5069
|
+
/*
|
5070
|
+
* Align items and divider vertically
|
5051
5071
|
*/
|
5052
5072
|
.uk-subnav-divider>* {
|
5053
|
-
/* 1 */
|
5054
5073
|
display: flex;
|
5055
5074
|
align-items: center;
|
5056
5075
|
}
|
5057
5076
|
|
5058
5077
|
/*
|
5059
5078
|
* Divider
|
5060
|
-
* `nth-child` makes it also work without JS if it's only one row
|
5079
|
+
* 1. `nth-child` makes it also work without JS if it's only one row
|
5061
5080
|
*/
|
5062
|
-
.uk-subnav-divider>
|
5081
|
+
.uk-subnav-divider> ::before {
|
5063
5082
|
content: "";
|
5064
5083
|
height: 1.5em;
|
5065
5084
|
margin-left: 0px;
|
5066
5085
|
margin-right: 20px;
|
5067
|
-
border-left: 1px solid
|
5086
|
+
border-left: 1px solid transparent;
|
5087
|
+
}
|
5088
|
+
|
5089
|
+
/* 1 */
|
5090
|
+
.uk-subnav-divider> :nth-child(n+2):not(.uk-first-column)::before {
|
5091
|
+
border-left-color: #e5e5e5;
|
5068
5092
|
}
|
5069
5093
|
|
5070
5094
|
/* Pill modifier
|
@@ -5141,7 +5165,8 @@ ul.uk-nav-sub {
|
|
5141
5165
|
|
5142
5166
|
/* Disabled */
|
5143
5167
|
/* Active */
|
5144
|
-
.uk-breadcrumb> :last-child
|
5168
|
+
.uk-breadcrumb> :last-child>span,
|
5169
|
+
.uk-breadcrumb> :last-child>a:not([href]) {
|
5145
5170
|
color: #666;
|
5146
5171
|
}
|
5147
5172
|
|
@@ -5153,6 +5178,7 @@ ul.uk-nav-sub {
|
|
5153
5178
|
content: "/";
|
5154
5179
|
display: inline-block;
|
5155
5180
|
margin: 0 20px;
|
5181
|
+
font-size: 0.875rem;
|
5156
5182
|
color: #999;
|
5157
5183
|
}
|
5158
5184
|
|
@@ -6068,6 +6094,7 @@ ul.uk-nav-sub {
|
|
6068
6094
|
* 4. Horizontal padding
|
6069
6095
|
* 5. Mask the background page
|
6070
6096
|
* 6. Fade-in transition
|
6097
|
+
* 7. Prevent cancellation of pointer events while dragging
|
6071
6098
|
*/
|
6072
6099
|
.uk-lightbox {
|
6073
6100
|
/* 1 */
|
@@ -6084,6 +6111,8 @@ ul.uk-nav-sub {
|
|
6084
6111
|
/* 6 */
|
6085
6112
|
opacity: 0;
|
6086
6113
|
transition: opacity 0.15s linear;
|
6114
|
+
/* 7 */
|
6115
|
+
touch-action: pinch-zoom;
|
6087
6116
|
}
|
6088
6117
|
|
6089
6118
|
/*
|
@@ -6207,6 +6236,10 @@ ul.uk-nav-sub {
|
|
6207
6236
|
|
6208
6237
|
/* Caption
|
6209
6238
|
========================================================================== */
|
6239
|
+
.uk-lightbox-caption:empty {
|
6240
|
+
display: none;
|
6241
|
+
}
|
6242
|
+
|
6210
6243
|
/* Iframe
|
6211
6244
|
========================================================================== */
|
6212
6245
|
.uk-lightbox-iframe {
|
@@ -6889,8 +6922,9 @@ ul.uk-nav-sub {
|
|
6889
6922
|
/*
|
6890
6923
|
* 1. Hide by default
|
6891
6924
|
* 2. Position
|
6892
|
-
* 3.
|
6893
|
-
* 4.
|
6925
|
+
* 3. Remove tooltip from document flow to keep the UIkit container from changing its size when injected into the document initially
|
6926
|
+
* 4. Dimensions
|
6927
|
+
* 5. Style
|
6894
6928
|
*/
|
6895
6929
|
.uk-tooltip {
|
6896
6930
|
/* 1 */
|
@@ -6899,10 +6933,12 @@ ul.uk-nav-sub {
|
|
6899
6933
|
position: absolute;
|
6900
6934
|
z-index: 1030;
|
6901
6935
|
/* 3 */
|
6936
|
+
top: 0;
|
6937
|
+
/* 4 */
|
6902
6938
|
box-sizing: border-box;
|
6903
6939
|
max-width: 200px;
|
6904
6940
|
padding: 3px 6px;
|
6905
|
-
/*
|
6941
|
+
/* 5 */
|
6906
6942
|
background: #666;
|
6907
6943
|
border-radius: 2px;
|
6908
6944
|
color: #fff;
|
@@ -7057,7 +7093,7 @@ ul.uk-nav-sub {
|
|
7057
7093
|
/* Drag
|
7058
7094
|
========================================================================== */
|
7059
7095
|
.uk-sortable-drag {
|
7060
|
-
position:
|
7096
|
+
position: fixed !important;
|
7061
7097
|
z-index: 1050 !important;
|
7062
7098
|
pointer-events: none;
|
7063
7099
|
}
|
@@ -7087,19 +7123,18 @@ ul.uk-nav-sub {
|
|
7087
7123
|
========================================================================== */
|
7088
7124
|
/* Item
|
7089
7125
|
========================================================================== */
|
7090
|
-
/*
|
7091
|
-
* 1. Center numbers and separators vertically
|
7092
|
-
*/
|
7093
|
-
.uk-countdown-number,
|
7094
|
-
.uk-countdown-separator {
|
7095
|
-
/* 1 */
|
7096
|
-
line-height: 0.8;
|
7097
|
-
}
|
7098
|
-
|
7099
7126
|
/* Number
|
7100
7127
|
========================================================================== */
|
7128
|
+
/*
|
7129
|
+
* 1. Make numbers all of the same size to prevent jumping. Must be supported by the font.
|
7130
|
+
* 2. Style
|
7131
|
+
*/
|
7101
7132
|
.uk-countdown-number {
|
7133
|
+
/* 1 */
|
7134
|
+
font-variant-numeric: tabular-nums;
|
7135
|
+
/* 2 */
|
7102
7136
|
font-size: 2rem;
|
7137
|
+
line-height: 0.8;
|
7103
7138
|
}
|
7104
7139
|
|
7105
7140
|
/* Phone landscape and bigger */
|
@@ -7120,6 +7155,7 @@ ul.uk-nav-sub {
|
|
7120
7155
|
========================================================================== */
|
7121
7156
|
.uk-countdown-separator {
|
7122
7157
|
font-size: 1rem;
|
7158
|
+
line-height: 1.6;
|
7123
7159
|
}
|
7124
7160
|
|
7125
7161
|
/* Phone landscape and bigger */
|
@@ -8402,7 +8438,6 @@ ul.uk-nav-sub {
|
|
8402
8438
|
.uk-text-background {
|
8403
8439
|
/* 1 */
|
8404
8440
|
-webkit-background-clip: text;
|
8405
|
-
-webkit-text-fill-color: transparent;
|
8406
8441
|
/* 2 */
|
8407
8442
|
display: inline-block;
|
8408
8443
|
/* 3 */
|
@@ -8412,6 +8447,7 @@ ul.uk-nav-sub {
|
|
8412
8447
|
@supports (-webkit-background-clip: text) {
|
8413
8448
|
.uk-text-background {
|
8414
8449
|
background-color: #1e87f0;
|
8450
|
+
color: transparent !important;
|
8415
8451
|
}
|
8416
8452
|
}
|
8417
8453
|
|
@@ -10314,12 +10350,17 @@ iframe.uk-cover {
|
|
10314
10350
|
========================================================================== */
|
10315
10351
|
/* Directions
|
10316
10352
|
========================================================================== */
|
10353
|
+
/*
|
10354
|
+
* 1. Prevent content overflow if `max-width: 100%` is used inside position container.
|
10355
|
+
*/
|
10317
10356
|
[class*='uk-position-top'],
|
10318
10357
|
[class*='uk-position-bottom'],
|
10319
10358
|
[class*='uk-position-left'],
|
10320
10359
|
[class*='uk-position-right'],
|
10321
10360
|
[class*='uk-position-center'] {
|
10322
10361
|
position: absolute !important;
|
10362
|
+
/* 1 */
|
10363
|
+
max-width: 100%;
|
10323
10364
|
}
|
10324
10365
|
|
10325
10366
|
/* Edges
|
@@ -14099,4 +14140,4 @@ iframe.uk-cover {
|
|
14099
14140
|
h3 {
|
14100
14141
|
page-break-after: avoid;
|
14101
14142
|
}
|
14102
|
-
}
|
14143
|
+
}
|