@yenio-pld/blocks 1.2.0-rc.23 → 1.2.0-rc.24
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/package.json +1 -1
- package/src/theme.css +29 -5
package/package.json
CHANGED
package/src/theme.css
CHANGED
|
@@ -196,10 +196,21 @@
|
|
|
196
196
|
--tracking-widest: calc(var(--tracking-normal) + 0.1em);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
/*
|
|
200
|
-
*
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
/*
|
|
200
|
+
* Global elegant scrollbars — thin thumb, transparent track, theme tokens.
|
|
201
|
+
*
|
|
202
|
+
* Chrome 121+ treats standard `scrollbar-width` / `scrollbar-color` as winning
|
|
203
|
+
* over every `::-webkit-scrollbar-*` rule. Applying both on the same element
|
|
204
|
+
* drops the custom thumb and shows classic platform scrollbars with
|
|
205
|
+
* increment/decrement arrows. Keep the standard properties for engines that
|
|
206
|
+
* do not implement `::-webkit-scrollbar` (Firefox); use WebKit pseudos
|
|
207
|
+
* everywhere else so arrows stay hidden.
|
|
208
|
+
*/
|
|
209
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
210
|
+
* {
|
|
211
|
+
scrollbar-width: thin;
|
|
212
|
+
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
213
|
+
}
|
|
203
214
|
}
|
|
204
215
|
|
|
205
216
|
*::-webkit-scrollbar {
|
|
@@ -211,11 +222,24 @@
|
|
|
211
222
|
background: transparent;
|
|
212
223
|
}
|
|
213
224
|
|
|
214
|
-
/* Hide increment/decrement arrow buttons (Chromium/WebKit on desktop). */
|
|
215
225
|
*::-webkit-scrollbar-button {
|
|
216
226
|
display: none;
|
|
217
227
|
width: 0;
|
|
218
228
|
height: 0;
|
|
229
|
+
appearance: none;
|
|
230
|
+
-webkit-appearance: none;
|
|
231
|
+
background: transparent;
|
|
232
|
+
border: none;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
*::-webkit-scrollbar-button:single-button,
|
|
236
|
+
*::-webkit-scrollbar-button:vertical:start:decrement,
|
|
237
|
+
*::-webkit-scrollbar-button:vertical:end:increment,
|
|
238
|
+
*::-webkit-scrollbar-button:horizontal:start:decrement,
|
|
239
|
+
*::-webkit-scrollbar-button:horizontal:end:increment {
|
|
240
|
+
display: none;
|
|
241
|
+
width: 0;
|
|
242
|
+
height: 0;
|
|
219
243
|
}
|
|
220
244
|
|
|
221
245
|
*::-webkit-scrollbar-thumb {
|