@jsenv/navi 0.27.44 → 0.27.45
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/dist/jsenv_navi.js +5 -4
- package/dist/jsenv_navi.js.map +4 -4
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -37462,7 +37462,12 @@ installImportMetaCssBuild(import.meta);const css$n = /* css */`
|
|
|
37462
37462
|
--list-item-background-color-keyboard-pointed
|
|
37463
37463
|
);
|
|
37464
37464
|
outline-style: solid;
|
|
37465
|
+
/* When outline displayed + border radius behind the outline we can see some pixels of borders + background */
|
|
37466
|
+
/* To avoid this we need to hide borders and background */
|
|
37467
|
+
/* border transparent + background clip padding box work */
|
|
37468
|
+
/* We set background clip only here otherwise we would have the pixel issue all the time between borders and background */
|
|
37465
37469
|
--x-list-item-border-color: transparent;
|
|
37470
|
+
background-clip: padding-box;
|
|
37466
37471
|
|
|
37467
37472
|
/* Selected must win over keyboard-pointed */
|
|
37468
37473
|
&[data-selected] {
|
|
@@ -38226,10 +38231,6 @@ const css$m = /* css */`
|
|
|
38226
38231
|
);
|
|
38227
38232
|
color: var(--x-list-item-color);
|
|
38228
38233
|
font-weight: var(--x-list-item-font-weight);
|
|
38229
|
-
/* Border-radius can cause background to appear behind the borders or behind the outline */
|
|
38230
|
-
/* padding-box ensure background stays inside borders */
|
|
38231
|
-
/* For outline we also set border-color transparent when focused */
|
|
38232
|
-
background-clip: padding-box;
|
|
38233
38234
|
background-color: var(--x-list-item-background-color);
|
|
38234
38235
|
border: var(--x-list-item-border-width) solid
|
|
38235
38236
|
var(--x-list-item-border-color);
|