Adds easing, and fix for odd colours on background with hover enabled.
This commit is contained in:
parent
bc151e5d5b
commit
f3f47742bf
2 changed files with 11 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
--sidebar-not-hovered-width: 50px; /* Other values not tested */
|
--sidebar-not-hovered-width: 50px; /* Other values not tested */
|
||||||
--sidebar-hovered-width: 226px !important; /* 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 {
|
#sidebar-main {
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
margin-top: -38px;
|
margin-top: -38px;
|
||||||
|
|
||||||
z-index: 6 !important;
|
z-index: 6 !important;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0px;
|
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;
|
opacity: 0;
|
||||||
|
@ -24,4 +24,12 @@
|
||||||
& * {
|
& * {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: var(--toolbox-bgcolor);
|
||||||
|
|
||||||
|
&:-moz-window-inactive {
|
||||||
|
background: var(--toolbox-bgcolor-inactive);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue