Adds easing, and fix for odd colours on background with hover enabled.

This commit is contained in:
Cameron Redmore 2024-12-16 16:53:40 +00:00
parent bc151e5d5b
commit f3f47742bf
2 changed files with 11 additions and 3 deletions

View file

@ -5,7 +5,7 @@
--sidebar-not-hovered-width: 50px; /* Other values not tested */
--sidebar-hovered-width: 226px !important; /* Other values not tested */
--sidebar-transition-duration: 0.15s;
--sidebar-transition-duration: 0.15s ease;
}
#sidebar-main {

View file

@ -3,11 +3,11 @@
margin-top: -38px;
z-index: 6 !important;
position: relative;
top: 0px;
transition: all 0.25s, background-color var(--inactive-window-transition) !important;
transition: all 0.25s ease, background-color var(--inactive-window-transition) !important;
& * {
opacity: 0;
@ -24,4 +24,12 @@
& * {
opacity: 1;
}
}
body {
background: var(--toolbox-bgcolor);
&:-moz-window-inactive {
background: var(--toolbox-bgcolor-inactive);
}
}