uikit-reset 3.3.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.
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.3.0 | http://www.getuikit.com | (c) 2014 - 2019 YOOtheme | MIT License */
1
+ /*! UIkit 3.4.0 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
@@ -5060,24 +5060,35 @@ ul.uk-nav-sub {
5060
5060
  /* Divider modifier
5061
5061
  ========================================================================== */
5062
5062
  /*
5063
- * 1. Align items and divider vertically
5063
+ * Set gutter
5064
+ */
5065
+ .uk-subnav-divider {
5066
+ margin-left: -41px;
5067
+ }
5068
+
5069
+ /*
5070
+ * Align items and divider vertically
5064
5071
  */
5065
5072
  .uk-subnav-divider>* {
5066
- /* 1 */
5067
5073
  display: flex;
5068
5074
  align-items: center;
5069
5075
  }
5070
5076
 
5071
5077
  /*
5072
5078
  * Divider
5073
- * `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
5074
5080
  */
5075
- .uk-subnav-divider> :nth-child(n+2):not(.uk-first-column)::before {
5081
+ .uk-subnav-divider> ::before {
5076
5082
  content: "";
5077
5083
  height: 1.5em;
5078
5084
  margin-left: 0px;
5079
5085
  margin-right: 20px;
5080
- border-left: 1px solid #e5e5e5;
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;
5081
5092
  }
5082
5093
 
5083
5094
  /* Pill modifier
@@ -5154,7 +5165,8 @@ ul.uk-nav-sub {
5154
5165
 
5155
5166
  /* Disabled */
5156
5167
  /* Active */
5157
- .uk-breadcrumb> :last-child>* {
5168
+ .uk-breadcrumb> :last-child>span,
5169
+ .uk-breadcrumb> :last-child>a:not([href]) {
5158
5170
  color: #666;
5159
5171
  }
5160
5172
 
@@ -5166,6 +5178,7 @@ ul.uk-nav-sub {
5166
5178
  content: "/";
5167
5179
  display: inline-block;
5168
5180
  margin: 0 20px;
5181
+ font-size: 0.875rem;
5169
5182
  color: #999;
5170
5183
  }
5171
5184
 
@@ -6081,6 +6094,7 @@ ul.uk-nav-sub {
6081
6094
  * 4. Horizontal padding
6082
6095
  * 5. Mask the background page
6083
6096
  * 6. Fade-in transition
6097
+ * 7. Prevent cancellation of pointer events while dragging
6084
6098
  */
6085
6099
  .uk-lightbox {
6086
6100
  /* 1 */
@@ -6097,6 +6111,8 @@ ul.uk-nav-sub {
6097
6111
  /* 6 */
6098
6112
  opacity: 0;
6099
6113
  transition: opacity 0.15s linear;
6114
+ /* 7 */
6115
+ touch-action: pinch-zoom;
6100
6116
  }
6101
6117
 
6102
6118
  /*
@@ -6220,6 +6236,10 @@ ul.uk-nav-sub {
6220
6236
 
6221
6237
  /* Caption
6222
6238
  ========================================================================== */
6239
+ .uk-lightbox-caption:empty {
6240
+ display: none;
6241
+ }
6242
+
6223
6243
  /* Iframe
6224
6244
  ========================================================================== */
6225
6245
  .uk-lightbox-iframe {
@@ -6707,7 +6727,7 @@ ul.uk-nav-sub {
6707
6727
  }
6708
6728
 
6709
6729
  :root {
6710
- --uk-leader-fill-content: .;
6730
+ --uk-leader-fill-content: '.';
6711
6731
  }
6712
6732
 
6713
6733
  /* ========================================================================
@@ -6902,8 +6922,9 @@ ul.uk-nav-sub {
6902
6922
  /*
6903
6923
  * 1. Hide by default
6904
6924
  * 2. Position
6905
- * 3. Dimensions
6906
- * 4. Style
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
6907
6928
  */
6908
6929
  .uk-tooltip {
6909
6930
  /* 1 */
@@ -6912,10 +6933,12 @@ ul.uk-nav-sub {
6912
6933
  position: absolute;
6913
6934
  z-index: 1030;
6914
6935
  /* 3 */
6936
+ top: 0;
6937
+ /* 4 */
6915
6938
  box-sizing: border-box;
6916
6939
  max-width: 200px;
6917
6940
  padding: 3px 6px;
6918
- /* 4 */
6941
+ /* 5 */
6919
6942
  background: #666;
6920
6943
  border-radius: 2px;
6921
6944
  color: #fff;
@@ -7070,7 +7093,7 @@ ul.uk-nav-sub {
7070
7093
  /* Drag
7071
7094
  ========================================================================== */
7072
7095
  .uk-sortable-drag {
7073
- position: absolute !important;
7096
+ position: fixed !important;
7074
7097
  z-index: 1050 !important;
7075
7098
  pointer-events: none;
7076
7099
  }
@@ -7100,19 +7123,18 @@ ul.uk-nav-sub {
7100
7123
  ========================================================================== */
7101
7124
  /* Item
7102
7125
  ========================================================================== */
7103
- /*
7104
- * 1. Center numbers and separators vertically
7105
- */
7106
- .uk-countdown-number,
7107
- .uk-countdown-separator {
7108
- /* 1 */
7109
- line-height: 0.8;
7110
- }
7111
-
7112
7126
  /* Number
7113
7127
  ========================================================================== */
7128
+ /*
7129
+ * 1. Make numbers all of the same size to prevent jumping. Must be supported by the font.
7130
+ * 2. Style
7131
+ */
7114
7132
  .uk-countdown-number {
7133
+ /* 1 */
7134
+ font-variant-numeric: tabular-nums;
7135
+ /* 2 */
7115
7136
  font-size: 2rem;
7137
+ line-height: 0.8;
7116
7138
  }
7117
7139
 
7118
7140
  /* Phone landscape and bigger */
@@ -7133,6 +7155,7 @@ ul.uk-nav-sub {
7133
7155
  ========================================================================== */
7134
7156
  .uk-countdown-separator {
7135
7157
  font-size: 1rem;
7158
+ line-height: 1.6;
7136
7159
  }
7137
7160
 
7138
7161
  /* Phone landscape and bigger */
@@ -8415,7 +8438,6 @@ ul.uk-nav-sub {
8415
8438
  .uk-text-background {
8416
8439
  /* 1 */
8417
8440
  -webkit-background-clip: text;
8418
- -webkit-text-fill-color: transparent;
8419
8441
  /* 2 */
8420
8442
  display: inline-block;
8421
8443
  /* 3 */
@@ -8425,6 +8447,7 @@ ul.uk-nav-sub {
8425
8447
  @supports (-webkit-background-clip: text) {
8426
8448
  .uk-text-background {
8427
8449
  background-color: #1e87f0;
8450
+ color: transparent !important;
8428
8451
  }
8429
8452
  }
8430
8453
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uikit-reset
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chitta Ranjan Nanda