fix: scrollbars more transparent

This commit is contained in:
redtea committed 2026-10-15 16:35:38 +03:00
1 parent 9e684605ef
commit e5a45b872a
1 file changed
+3 -3
+3 -3
View File
@@ -254,8 +254,8 @@ input.sw:disabled { opacity: .45; cursor: not-allowed; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 4px; border: 2px solid transparent; background-clip: padding-box;
background-color: rgba(170, 180, 195, calc(var(--sb) * .5)); }
::-webkit-scrollbar-thumb:hover { background-color: rgba(170, 180, 195, calc(var(--sb) * .75)); }
background-color: rgba(170, 180, 195, calc(var(--sb) * .3)); }
::-webkit-scrollbar-thumb:hover { background-color: rgba(170, 180, 195, calc(var(--sb) * .5)); }
@supports not selector(::-webkit-scrollbar) {
* { scrollbar-width: thin; scrollbar-color: rgba(170, 180, 195, calc(var(--sb) * .5)) transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(170, 180, 195, calc(var(--sb) * .3)) transparent; }
}