uikit 3.21.17 → 3.21.18-dev.1d04a2a78

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.
Files changed (128) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/css/uikit-core-rtl.css +243 -69
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +243 -69
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +247 -65
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +247 -65
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +13 -8
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +334 -103
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +351 -108
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +3 -7
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +3 -7
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +7 -2
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +102 -98
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +20 -17
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +389 -267
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +3 -3
  43. package/src/images/icons/arrow-down-arrow-up.svg +6 -0
  44. package/src/images/icons/arrow-down.svg +3 -3
  45. package/src/images/icons/arrow-left.svg +3 -3
  46. package/src/images/icons/arrow-right.svg +3 -3
  47. package/src/images/icons/arrow-up-right.svg +3 -3
  48. package/src/images/icons/arrow-up.svg +3 -3
  49. package/src/images/icons/close-circle.svg +5 -0
  50. package/src/images/icons/cloud-download.svg +4 -4
  51. package/src/images/icons/cloud-upload.svg +4 -4
  52. package/src/images/icons/download.svg +4 -4
  53. package/src/images/icons/expand.svg +5 -5
  54. package/src/images/icons/link-external.svg +4 -4
  55. package/src/images/icons/pull.svg +4 -4
  56. package/src/images/icons/push.svg +3 -3
  57. package/src/images/icons/shrink.svg +5 -5
  58. package/src/images/icons/sign-in.svg +4 -3
  59. package/src/images/icons/sign-out.svg +4 -3
  60. package/src/images/icons/sorting.svg +6 -0
  61. package/src/images/icons/upload.svg +4 -4
  62. package/src/js/components/countdown.js +10 -5
  63. package/src/js/components/lightbox-panel.js +181 -45
  64. package/src/js/components/lightbox.js +59 -6
  65. package/src/js/core/height-placeholder.js +1 -1
  66. package/src/js/core/img.js +3 -5
  67. package/src/js/core/navbar.js +3 -6
  68. package/src/js/core/sticky.js +8 -2
  69. package/src/js/mixin/modal.js +1 -4
  70. package/src/js/mixin/slider-drag.js +3 -6
  71. package/src/js/mixin/slider-nav.js +1 -1
  72. package/src/js/mixin/togglable.js +7 -2
  73. package/src/js/util/dimensions.js +2 -2
  74. package/src/js/util/dom.js +3 -1
  75. package/src/less/components/breadcrumb.less +6 -2
  76. package/src/less/components/button.less +1 -1
  77. package/src/less/components/form-range.less +52 -0
  78. package/src/less/components/form.less +1 -1
  79. package/src/less/components/lightbox.less +57 -89
  80. package/src/less/components/margin.less +14 -0
  81. package/src/less/components/search.less +49 -23
  82. package/src/less/components/subnav.less +8 -0
  83. package/src/less/components/text.less +11 -0
  84. package/src/less/components/totop.less +1 -1
  85. package/src/less/components/utility.less +2 -1
  86. package/src/less/components/visibility.less +2 -1
  87. package/src/less/theme/form-range.less +20 -8
  88. package/src/less/theme/lightbox.less +2 -20
  89. package/src/less/theme/search.less +24 -10
  90. package/src/scss/components/breadcrumb.scss +6 -2
  91. package/src/scss/components/button.scss +1 -1
  92. package/src/scss/components/form-range.scss +12 -0
  93. package/src/scss/components/form.scss +1 -1
  94. package/src/scss/components/lightbox.scss +50 -77
  95. package/src/scss/components/margin.scss +13 -0
  96. package/src/scss/components/search.scss +30 -12
  97. package/src/scss/components/subnav.scss +7 -0
  98. package/src/scss/components/text.scss +10 -0
  99. package/src/scss/components/totop.scss +1 -1
  100. package/src/scss/components/utility.scss +1 -1
  101. package/src/scss/components/visibility.scss +2 -1
  102. package/src/scss/mixins-theme.scss +51 -12
  103. package/src/scss/mixins.scss +45 -6
  104. package/src/scss/theme/form-range.scss +14 -4
  105. package/src/scss/theme/lightbox.scss +2 -20
  106. package/src/scss/theme/search.scss +10 -6
  107. package/src/scss/variables-theme.scss +36 -21
  108. package/src/scss/variables.scss +32 -24
  109. package/tests/badge.html +2 -2
  110. package/tests/base.html +1 -1
  111. package/tests/breadcrumb.html +23 -5
  112. package/tests/card.html +24 -24
  113. package/tests/countdown.html +6 -0
  114. package/tests/dropbar.html +15 -15
  115. package/tests/dropdown.html +6 -6
  116. package/tests/dropnav.html +100 -100
  117. package/tests/icon.html +8 -0
  118. package/tests/index.html +15 -15
  119. package/tests/lightbox.html +379 -28
  120. package/tests/margin.html +19 -0
  121. package/tests/nav.html +21 -21
  122. package/tests/navbar.html +273 -273
  123. package/tests/offcanvas.html +27 -27
  124. package/tests/placeholder.html +2 -2
  125. package/tests/sortable.html +5 -5
  126. package/tests/sticky-navbar.html +114 -114
  127. package/tests/sticky.html +7 -1
  128. package/tests/text.html +8 -0
@@ -28,12 +28,16 @@
28
28
  ========================================================================== */
29
29
 
30
30
  /*
31
- * Reset list
31
+ * 1. Reset list
32
+ * 2. Remove space between elements
32
33
  */
33
34
 
34
35
  .uk-breadcrumb {
36
+ /* 1 */
35
37
  padding: 0;
36
38
  list-style: none;
39
+ /* 2 */
40
+ font-size: 0;
37
41
  .hook-breadcrumb();
38
42
  }
39
43
 
@@ -83,7 +87,7 @@
83
87
  content: @breadcrumb-divider;
84
88
  display: inline-block;
85
89
  /* 1 */
86
- margin: 0 @breadcrumb-divider-margin-horizontal 0 ~'calc(@{breadcrumb-divider-margin-horizontal} - 4px)';
90
+ margin: 0 @breadcrumb-divider-margin-horizontal;
87
91
  /* 2 */
88
92
  font-size: @breadcrumb-divider-font-size;
89
93
  color: @breadcrumb-divider-color;
@@ -350,7 +350,7 @@
350
350
  ========================================================================== */
351
351
 
352
352
  /*
353
- * 1. Using `flex` instead of `inline-block` to prevent whitespace betweent child elements
353
+ * 1. Using `flex` instead of `inline-block` to prevent whitespace between child elements
354
354
  * 2. Behave like button
355
355
  * 3. Create position context
356
356
  */
@@ -137,3 +137,55 @@
137
137
  .hook-form-range-track-focus() {}
138
138
  .hook-form-range-thumb() {}
139
139
  .hook-form-range-misc() {}
140
+
141
+
142
+ // Inverse
143
+ // ========================================================================
144
+
145
+ @inverse-form-range-track-background: darken(@inverse-global-muted-background, 5%);
146
+ @inverse-form-range-track-focus-background: fadein(@inverse-form-range-track-background, 5%);
147
+
148
+ @inverse-form-range-thumb-background: fadein(@inverse-global-color, 100%);
149
+
150
+ .hook-inverse() {
151
+
152
+ /* Webkit */
153
+ .uk-range::-webkit-slider-runnable-track {
154
+ background: @inverse-form-range-track-background;
155
+ .hook-inverse-form-range-track();
156
+ }
157
+
158
+ .uk-range:focus::-webkit-slider-runnable-track,
159
+ .uk-range:active::-webkit-slider-runnable-track {
160
+ background: @inverse-form-range-track-focus-background;
161
+ .hook-inverse-form-range-track-focus();
162
+ }
163
+
164
+ /* Firefox */
165
+ .uk-range::-moz-range-track {
166
+ background: @inverse-form-range-track-background;
167
+ .hook-inverse-form-range-track();
168
+ }
169
+
170
+ .uk-range:focus::-moz-range-track {
171
+ background: @inverse-form-range-track-focus-background;
172
+ .hook-inverse-form-range-track-focus();
173
+ }
174
+
175
+ /* Webkit */
176
+ .uk-range::-webkit-slider-thumb {
177
+ background: @inverse-form-range-thumb-background;
178
+ .hook-inverse-form-range-thumb();
179
+ }
180
+
181
+ /* Firefox */
182
+ .uk-range::-moz-range-thumb {
183
+ background: @inverse-form-range-thumb-background;
184
+ .hook-inverse-form-range-thumb();
185
+ }
186
+
187
+ }
188
+
189
+ .hook-inverse-form-range-track() {}
190
+ .hook-inverse-form-range-track-focus() {}
191
+ .hook-inverse-form-range-thumb() {}
@@ -604,7 +604,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
604
604
  * 1. Position and resize the form control to always cover its container
605
605
  * 2. Required for Firefox for positioning to the left
606
606
  * 3. Required for Webkit to make `height` work
607
- * 4. Hide controle and show cursor
607
+ * 4. Hide controls and show cursor
608
608
  * 5. Needed for the cursor
609
609
  * 6. Clip height caused by 5. Needed for Webkit only
610
610
  */
@@ -5,11 +5,14 @@
5
5
  //
6
6
  // Sub-objects: `uk-lightbox-page`
7
7
  // `uk-lightbox-items`
8
- // `uk-lightbox-toolbar`
9
- // `uk-lightbox-toolbar-icon`
10
- // `uk-lightbox-button`
8
+ // `uk-lightbox-items-fit`
9
+ // `uk-lightbox-thumbnav`
10
+ // `uk-lightbox-thumbnav-vertical`
11
+ // `uk-lightbox-dotnav`
11
12
  // `uk-lightbox-caption`
13
+ // `uk-lightbox-counter`
12
14
  // `uk-lightbox-iframe`
15
+ // `uk-lightbox-zoom`
13
16
  //
14
17
  // States: `uk-open`
15
18
  //
@@ -21,28 +24,20 @@
21
24
 
22
25
  @lightbox-z-index: @global-z-index + 10;
23
26
  @lightbox-background: #000;
27
+ @lightbox-color-mode: light;
24
28
 
25
29
  @lightbox-focus-outline: rgba(255,255,255,0.7);
26
30
 
27
- @lightbox-item-color: rgba(255,255,255,0.7);
28
31
  @lightbox-item-max-width: 100vw;
29
32
  @lightbox-item-max-height: 100vh;
30
33
 
31
- @lightbox-toolbar-padding-vertical: 10px;
32
- @lightbox-toolbar-padding-horizontal: 10px;
33
- @lightbox-toolbar-background: rgba(0,0,0,0.3);
34
- @lightbox-toolbar-color: rgba(255,255,255,0.7);
34
+ @lightbox-thumbnav-vertical-width: 100px;
35
+ @lightbox-thumbnav-height: 100px;
35
36
 
36
- @lightbox-toolbar-icon-padding: 5px;
37
- @lightbox-toolbar-icon-color: rgba(255,255,255,0.7);
38
-
39
- @lightbox-toolbar-icon-hover-color: #fff;
40
-
41
- @lightbox-button-size: 50px;
42
- @lightbox-button-background: @lightbox-toolbar-background;
43
- @lightbox-button-color: rgba(255,255,255,0.7);
44
-
45
- @lightbox-button-hover-color: #fff;
37
+ @lightbox-caption-padding-vertical: 10px;
38
+ @lightbox-caption-padding-horizontal: 10px;
39
+ @lightbox-caption-background: rgba(0,0,0,0.3);
40
+ @lightbox-caption-color: rgba(255,255,255,0.7);
46
41
 
47
42
 
48
43
  /* ========================================================================
@@ -60,6 +55,7 @@
60
55
  */
61
56
 
62
57
  .uk-lightbox {
58
+ --uk-inverse: @lightbox-color-mode;
63
59
  /* 1 */
64
60
  display: none;
65
61
  /* 2 */
@@ -108,15 +104,24 @@
108
104
  .uk-lightbox-page { overflow: hidden; }
109
105
 
110
106
 
111
- /* Item
107
+ /* Items
112
108
  ========================================================================== */
113
109
 
110
+ /*
111
+ * Reset list
112
+ */
113
+
114
+ .uk-lightbox-items {
115
+ margin: 0;
116
+ padding: 0;
117
+ list-style: none;
118
+ }
119
+
114
120
  /*
115
121
  * 1. Center child within the viewport
116
122
  * 2. Not visible by default
117
- * 3. Color needed for spinner icon
118
- * 4. Optimize animation
119
- * 5. Responsiveness
123
+ * 3. Optimize animation
124
+ * 4. Responsiveness
120
125
  * Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
121
126
  */
122
127
 
@@ -130,96 +135,64 @@
130
135
  /* 2 */
131
136
  display: none;
132
137
  justify-content: center;
133
- align-items: center;
138
+ align-items: flex-start;
134
139
  /* 3 */
135
- color: @lightbox-item-color;
136
- /* 4 */
137
140
  will-change: transform, opacity;
141
+ /* 4 */
142
+ overflow: auto;
138
143
  .hook-lightbox-item();
139
144
  }
140
145
 
141
- /* 5 */
142
- .uk-lightbox-items > * > * {
146
+ /* 2 */
147
+ .uk-lightbox-items > .uk-active { display: flex; }
148
+
149
+ .uk-lightbox-items-fit > * { align-items: center; }
150
+
151
+ /* 4 */
152
+ .uk-lightbox-items-fit > * > * {
143
153
  max-width: @lightbox-item-max-width;
144
154
  max-height: @lightbox-item-max-height;
145
155
  }
146
156
 
147
- .uk-lightbox-items > * > :not(iframe) {
157
+ .uk-lightbox-items-fit > * > :not(iframe) {
148
158
  width: auto;
149
159
  height: auto;
150
160
  }
151
161
 
152
- .uk-lightbox-items > .uk-active { display: flex; }
153
-
154
- /* Toolbar
155
- ========================================================================== */
156
-
157
- .uk-lightbox-toolbar {
158
- padding: @lightbox-toolbar-padding-vertical @lightbox-toolbar-padding-horizontal;
159
- background: @lightbox-toolbar-background;
160
- color: @lightbox-toolbar-color;
161
- .hook-lightbox-toolbar();
162
- }
163
-
164
- .uk-lightbox-toolbar > * { color: @lightbox-toolbar-color; }
162
+ /* Zoom Cursor */
163
+ .uk-lightbox-items.uk-lightbox-items-fit .uk-lightbox-zoom:hover { cursor: zoom-in; }
164
+ .uk-lightbox-items:not(.uk-lightbox-items-fit) .uk-lightbox-zoom:hover { cursor: zoom-out; }
165
165
 
166
166
 
167
- /* Toolbar Icon (Close)
167
+ /* Navs
168
168
  ========================================================================== */
169
169
 
170
- .uk-lightbox-toolbar-icon {
171
- padding: @lightbox-toolbar-icon-padding;
172
- color: @lightbox-toolbar-icon-color;
173
- .hook-lightbox-toolbar-icon();
174
- }
170
+ .uk-lightbox-thumbnav-vertical :where(img, video) { max-width: @lightbox-thumbnav-vertical-width; }
171
+ .uk-lightbox-thumbnav:not(.uk-lightbox-thumbnav-vertical) :where(img, video) { max-height: @lightbox-thumbnav-height; }
175
172
 
176
- /*
177
- * Hover
178
- */
173
+ .uk-lightbox-thumbnav:empty,
174
+ .uk-lightbox-dotnav:empty { display: none; }
179
175
 
180
- .uk-lightbox-toolbar-icon:hover {
181
- color: @lightbox-toolbar-icon-hover-color;
182
- .hook-lightbox-toolbar-icon-hover();
183
- }
184
176
 
185
-
186
-
187
- /* Button (Slidenav)
177
+ /* Caption
188
178
  ========================================================================== */
189
179
 
190
- /*
191
- * 1. Center icon vertically and horizontally
192
- */
193
-
194
- .uk-lightbox-button {
195
- box-sizing: border-box;
196
- width: @lightbox-button-size;
197
- height: @lightbox-button-size;
198
- background: @lightbox-button-background;
199
- color: @lightbox-button-color;
200
- /* 1 */
201
- display: inline-flex;
202
- justify-content: center;
203
- align-items: center;
204
- .hook-lightbox-button();
205
- }
180
+ .uk-lightbox-caption:empty { display: none; }
206
181
 
207
- /* Hover */
208
- .uk-lightbox-button:hover {
209
- color: @lightbox-button-hover-color;
210
- .hook-lightbox-button-hover();
182
+ .uk-lightbox-caption {
183
+ padding: @lightbox-caption-padding-vertical @lightbox-caption-padding-horizontal;
184
+ background: @lightbox-caption-background;
185
+ color: @lightbox-caption-color;
186
+ .hook-lightbox-caption();
211
187
  }
212
188
 
213
- /* OnClick */
214
- .uk-lightbox-button:active {
215
- .hook-lightbox-button-active();
216
- }
189
+ .uk-lightbox-caption > * { color: @lightbox-caption-color; }
217
190
 
218
191
 
219
- /* Caption
192
+ /* Counter
220
193
  ========================================================================== */
221
194
 
222
- .uk-lightbox-caption:empty { display: none; }
195
+ .uk-lightbox-counter:empty { display: none; }
223
196
 
224
197
 
225
198
  /* Iframe
@@ -238,10 +211,5 @@
238
211
 
239
212
  .hook-lightbox() {}
240
213
  .hook-lightbox-item() {}
241
- .hook-lightbox-toolbar() {}
242
- .hook-lightbox-toolbar-icon() {}
243
- .hook-lightbox-toolbar-icon-hover() {}
244
- .hook-lightbox-button() {}
245
- .hook-lightbox-button-hover() {}
246
- .hook-lightbox-button-active() {}
214
+ .hook-lightbox-caption() {}
247
215
  .hook-lightbox-misc() {}
@@ -17,6 +17,8 @@
17
17
 
18
18
  @margin-margin: @global-margin;
19
19
 
20
+ @margin-xsmall-margin: 5px;
21
+
20
22
  @margin-small-margin: @global-small-margin;
21
23
 
22
24
  @margin-medium-margin: @global-medium-margin;
@@ -45,6 +47,18 @@
45
47
  .uk-margin-right { margin-right: @margin-margin !important; }
46
48
 
47
49
 
50
+ /* XSmall
51
+ ========================================================================== */
52
+
53
+ .uk-margin-xsmall { margin-bottom: @margin-xsmall-margin; }
54
+ * + .uk-margin-xsmall { margin-top: @margin-xsmall-margin !important; }
55
+
56
+ .uk-margin-xsmall-top { margin-top: @margin-xsmall-margin !important; }
57
+ .uk-margin-xsmall-bottom { margin-bottom: @margin-xsmall-margin !important; }
58
+ .uk-margin-xsmall-left { margin-left: @margin-xsmall-margin !important; }
59
+ .uk-margin-xsmall-right { margin-right: @margin-xsmall-margin !important; }
60
+
61
+
48
62
  /* Small
49
63
  ========================================================================== */
50
64
 
@@ -30,8 +30,8 @@
30
30
  @search-default-background: @global-muted-background;
31
31
  @search-default-focus-background: darken(@search-default-background, 2%);
32
32
 
33
- @search-default-icon-width: @global-control-height;
34
- @search-default-icon-padding: 0;
33
+ @search-default-icon-width: 20px;
34
+ @search-default-icon-padding: 10px;
35
35
 
36
36
  @search-navbar-width: 240px;
37
37
  @search-navbar-height: @global-control-height;
@@ -39,21 +39,25 @@
39
39
  @search-navbar-background: @global-background;
40
40
  @search-navbar-focus-background: darken(@search-navbar-background, 1%);
41
41
 
42
- @search-navbar-icon-width: @global-control-height;
43
- @search-navbar-icon-padding: 0;
42
+ @search-navbar-icon-width: 20px;
43
+ @search-navbar-icon-padding: 10px;
44
44
 
45
45
  @search-medium-width: 400px;
46
- @search-medium-height: 40px;
47
- @search-medium-background: transparent;
46
+ @search-medium-height: @global-control-large-height;
47
+ @search-medium-padding-horizontal: 12px;
48
+ @search-medium-background: @search-default-background;
48
49
  @search-medium-font-size: @global-large-font-size;
50
+ @search-medium-focus-background: darken(@search-medium-background, 2%);
49
51
 
50
52
  @search-medium-icon-width: 24px;
51
- @search-medium-icon-padding: 10px;
53
+ @search-medium-icon-padding: 12px;
52
54
 
53
55
  @search-large-width: 500px;
54
- @search-large-height: 80px;
55
- @search-large-background: transparent;
56
+ @search-large-height: 90px;
57
+ @search-large-padding-horizontal: 20px;
58
+ @search-large-background: @search-default-background;
56
59
  @search-large-font-size: @global-2xlarge-font-size;
60
+ @search-large-focus-background: darken(@search-large-background, 2%);
57
61
 
58
62
  @search-large-icon-width: 40px;
59
63
  @search-large-icon-padding: 20px;
@@ -216,10 +220,13 @@
216
220
  * Icon
217
221
  */
218
222
 
219
- .uk-search-default .uk-search-icon { width: @search-default-icon-width; }
223
+ .uk-search-default .uk-search-icon {
224
+ padding-left: @search-default-padding-horizontal;
225
+ padding-right: @search-default-padding-horizontal;
226
+ }
220
227
 
221
- .uk-search-default:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-default-icon-width + @search-default-icon-padding); }
222
- .uk-search-default:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-default-icon-width + @search-default-icon-padding); }
228
+ .uk-search-default:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-default-icon-width + @search-default-padding-horizontal + @search-default-icon-padding); }
229
+ .uk-search-default:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-default-icon-width + @search-default-padding-horizontal + @search-default-icon-padding); }
223
230
 
224
231
 
225
232
  /* Navbar modifier
@@ -249,10 +256,13 @@
249
256
  * Icon
250
257
  */
251
258
 
252
- .uk-search-navbar .uk-search-icon { width: @search-navbar-icon-width; }
259
+ .uk-search-navbar .uk-search-icon {
260
+ padding-left: @search-navbar-padding-horizontal;
261
+ padding-right: @search-navbar-padding-horizontal;
262
+ }
253
263
 
254
- .uk-search-navbar:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-navbar-icon-width + @search-navbar-icon-padding); }
255
- .uk-search-navbar:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-navbar-icon-width + @search-navbar-icon-padding); }
264
+ .uk-search-navbar:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-navbar-icon-width + @search-navbar-padding-horizontal + @search-navbar-icon-padding); }
265
+ .uk-search-navbar:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-navbar-icon-width + @search-navbar-padding-horizontal + @search-navbar-icon-padding); }
256
266
 
257
267
 
258
268
  /* Medium modifier
@@ -266,6 +276,8 @@
266
276
 
267
277
  .uk-search-medium .uk-search-input {
268
278
  height: @search-medium-height;
279
+ padding-left: @search-medium-padding-horizontal;
280
+ padding-right: @search-medium-padding-horizontal;
269
281
  background: @search-medium-background;
270
282
  font-size: @search-medium-font-size;
271
283
  .hook-search-medium-input();
@@ -273,6 +285,7 @@
273
285
 
274
286
  /* Focus */
275
287
  .uk-search-medium .uk-search-input:focus {
288
+ background-color: @search-medium-focus-background;
276
289
  .hook-search-medium-input-focus();
277
290
  }
278
291
 
@@ -280,10 +293,13 @@
280
293
  * Icon
281
294
  */
282
295
 
283
- .uk-search-medium .uk-search-icon { width: @search-medium-icon-width; }
296
+ .uk-search-medium .uk-search-icon {
297
+ padding-left: @search-medium-padding-horizontal;
298
+ padding-right: @search-medium-padding-horizontal;
299
+ }
284
300
 
285
- .uk-search-medium:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-medium-icon-width + @search-medium-icon-padding); }
286
- .uk-search-medium:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-medium-icon-width + @search-medium-icon-padding); }
301
+ .uk-search-medium:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-medium-icon-width + @search-medium-padding-horizontal + @search-medium-icon-padding); }
302
+ .uk-search-medium:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-medium-icon-width + @search-medium-padding-horizontal + @search-medium-icon-padding); }
287
303
 
288
304
 
289
305
  /* Large modifier
@@ -297,6 +313,8 @@
297
313
 
298
314
  .uk-search-large .uk-search-input {
299
315
  height: @search-large-height;
316
+ padding-left: @search-large-padding-horizontal;
317
+ padding-right: @search-large-padding-horizontal;
300
318
  background: @search-large-background;
301
319
  font-size: @search-large-font-size;
302
320
  .hook-search-large-input();
@@ -304,6 +322,7 @@
304
322
 
305
323
  /* Focus */
306
324
  .uk-search-large .uk-search-input:focus {
325
+ background-color: @search-medium-focus-background;
307
326
  .hook-search-large-input-focus();
308
327
  }
309
328
 
@@ -311,10 +330,13 @@
311
330
  * Icon
312
331
  */
313
332
 
314
- .uk-search-large .uk-search-icon { width: @search-large-icon-width; }
333
+ .uk-search-large .uk-search-icon {
334
+ padding-left: @search-large-padding-horizontal;
335
+ padding-right: @search-large-padding-horizontal;
336
+ }
315
337
 
316
- .uk-search-large:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-large-icon-width + @search-large-icon-padding); }
317
- .uk-search-large:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-large-icon-width + @search-large-icon-padding); }
338
+ .uk-search-large:has(.uk-search-icon:not(.uk-search-icon-flip)) .uk-search-input { padding-left: (@search-large-icon-width + @search-large-padding-horizontal + @search-large-icon-padding); }
339
+ .uk-search-large:has(.uk-search-icon-flip) .uk-search-input { padding-right: (@search-large-icon-width + @search-large-padding-horizontal + @search-large-icon-padding); }
318
340
 
319
341
 
320
342
  /* Toggle
@@ -368,9 +390,11 @@
368
390
  @inverse-search-navbar-background: @inverse-global-muted-background;
369
391
  @inverse-search-navbar-focus-background: fadein(@inverse-search-navbar-background, 5%);
370
392
 
371
- @inverse-search-medium-background: transparent;
393
+ @inverse-search-medium-background: @inverse-search-default-background;
394
+ @inverse-search-medium-focus-background: fadein(@inverse-search-medium-background, 5%);
372
395
 
373
- @inverse-search-large-background: transparent;
396
+ @inverse-search-large-background: @inverse-search-default-background;
397
+ @inverse-search-large-focus-background: fadein(@inverse-search-large-background, 5%);
374
398
 
375
399
  @inverse-search-toggle-color: @inverse-global-muted-color;
376
400
  @inverse-search-toggle-hover-color: @inverse-global-color;
@@ -422,6 +446,7 @@
422
446
  }
423
447
 
424
448
  .uk-search-medium .uk-search-input:focus {
449
+ background-color: @inverse-search-medium-focus-background;
425
450
  .hook-inverse-search-medium-input-focus();
426
451
  }
427
452
 
@@ -431,6 +456,7 @@
431
456
  }
432
457
 
433
458
  .uk-search-large .uk-search-input:focus {
459
+ background-color: @inverse-search-large-focus-background;
434
460
  .hook-inverse-search-large-input-focus();
435
461
  }
436
462
 
@@ -27,6 +27,7 @@
27
27
  @subnav-divider-border-width: @global-border-width;
28
28
  @subnav-divider-border: @global-border;
29
29
 
30
+ @subnav-pill-margin-horizontal: @subnav-margin-horizontal;
30
31
  @subnav-pill-item-padding-vertical: 5px;
31
32
  @subnav-pill-item-padding-horizontal: 10px;
32
33
  @subnav-pill-item-background: transparent;
@@ -159,6 +160,13 @@
159
160
  /* Pill modifier
160
161
  ========================================================================== */
161
162
 
163
+ /*
164
+ * Gutter
165
+ */
166
+
167
+ .uk-subnav-pill { margin-left: -@subnav-pill-margin-horizontal; }
168
+ .uk-subnav-pill > * { padding-left: @subnav-pill-margin-horizontal; }
169
+
162
170
  .uk-subnav-pill > * > :first-child {
163
171
  padding: @subnav-pill-item-padding-vertical @subnav-pill-item-padding-horizontal;
164
172
  background: @subnav-pill-item-background;
@@ -33,6 +33,8 @@
33
33
 
34
34
  @text-background-color: @global-primary-background;
35
35
 
36
+ @text-stroke-text-stroke: ~'calc(1.4px + 0.002em)';
37
+
36
38
 
37
39
  /* ========================================================================
38
40
  Component: Text
@@ -239,6 +241,15 @@ td.uk-text-truncate { max-width: 0; }
239
241
  td.uk-text-break { word-break: break-word; }
240
242
 
241
243
 
244
+ /* Stroke modifiers
245
+ ========================================================================== */
246
+
247
+ .uk-text-stroke {
248
+ -webkit-text-stroke: @text-stroke-text-stroke;
249
+ -webkit-text-fill-color: transparent;
250
+ }
251
+
252
+
242
253
  // Hooks
243
254
  // ========================================================================
244
255
 
@@ -22,7 +22,7 @@
22
22
  ========================================================================== */
23
23
 
24
24
  /*
25
- * Addopts `uk-icon`
25
+ * Adopts `uk-icon`
26
26
  */
27
27
 
28
28
  .uk-totop {
@@ -48,6 +48,7 @@
48
48
 
49
49
  @dropcap-margin-right: 10px;
50
50
  @dropcap-font-size: ((@global-line-height * 3) * 1em);
51
+ @dropcap-line-height: 1;
51
52
 
52
53
  @logo-font-size: @global-large-font-size;
53
54
  @logo-font-family: @global-font-family;
@@ -370,7 +371,7 @@
370
371
  margin-right: @dropcap-margin-right;
371
372
  float: left;
372
373
  font-size: @dropcap-font-size;
373
- line-height: 1;
374
+ line-height: @dropcap-line-height;
374
375
  .hook-dropcap();
375
376
  }
376
377
 
@@ -24,7 +24,8 @@
24
24
  */
25
25
 
26
26
  [hidden],
27
- .uk-hidden { display: none !important; }
27
+ .uk-hidden,
28
+ .uk-hidden-empty:empty { display: none !important; }
28
29
 
29
30
  /* Phone landscape and bigger */
30
31
  @media (min-width: @breakpoint-small) {
@@ -13,11 +13,11 @@
13
13
  // New
14
14
  //
15
15
 
16
+ @form-range-track-border-radius: 500px;
17
+
16
18
  @form-range-thumb-border-width: @global-border-width;
17
19
  @form-range-thumb-border: darken(@global-border, 10%);
18
20
 
19
- @form-range-track-border-radius: 500px;
20
-
21
21
 
22
22
  // Component
23
23
  // ========================================================================
@@ -25,12 +25,6 @@
25
25
  .hook-form-range() {}
26
26
 
27
27
 
28
- // Thumb
29
- // ========================================================================
30
-
31
- .hook-form-range-thumb() { border: @form-range-thumb-border-width solid @form-range-thumb-border; }
32
-
33
-
34
28
  // Track
35
29
  // ========================================================================
36
30
 
@@ -39,7 +33,25 @@
39
33
  .hook-form-range-track-focus() {}
40
34
 
41
35
 
36
+ // Thumb
37
+ // ========================================================================
38
+
39
+ .hook-form-range-thumb() { border: @form-range-thumb-border-width solid @form-range-thumb-border; }
40
+
41
+
42
42
  // Miscellaneous
43
43
  // ========================================================================
44
44
 
45
45
  .hook-form-range-misc() {}
46
+
47
+
48
+ // Inverse
49
+ // ========================================================================
50
+
51
+ @inverse-form-range-thumb-background: darken(fadein(@inverse-global-color, 100%), 50%);
52
+
53
+ @inverse-form-range-thumb-border: darken(fadein(@inverse-global-border, 100%), 10%);
54
+
55
+ .hook-inverse-form-range-track() {}
56
+ .hook-inverse-form-range-track-focus() {}
57
+ .hook-inverse-form-range-thumb() { border-color: @inverse-form-range-thumb-border; }