@jsenv/navi 0.14.31 → 0.14.32

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.
@@ -17909,7 +17909,7 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
17909
17909
  width: var(--toggle-thumb-size);
17910
17910
  height: var(--toggle-thumb-size);
17911
17911
  border-radius: var(--toggle-thumb-border-radius);
17912
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
17912
+ /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); */
17913
17913
  opacity: 1;
17914
17914
  fill: var(--toggle-thumb-color);
17915
17915
  transform: translateX(0);
@@ -17919,11 +17919,15 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
17919
17919
 
17920
17920
  &[data-checked] {
17921
17921
  .navi_checkbox_marker {
17922
+ /* We remove padding 3 times */
17923
+ /* - twice to get real width (box-sizing: border-box) */
17924
+ /* - one more to apply right padding to the translation */
17922
17925
  transform: translateX(
17923
17926
  calc(
17924
17927
  var(--toggle-width) - var(--toggle-thumb-size) - var(
17925
17928
  --toggle-padding
17926
- ) - var(--toggle-padding)
17929
+ ) *
17930
+ 3
17927
17931
  )
17928
17932
  );
17929
17933
  }