Make #nav-bar fully transparent when not focused
This commit is contained in:
parent
1df6843653
commit
4293efba0a
1 changed files with 10 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
/* -moz-appearance: none on titlebar breaks window margins, so re-adjust that */
|
/* -moz-appearance: none on titlebar breaks window margins, so re-adjust that */
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win10){
|
||||||
|
|
||||||
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
|
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
|
||||||
|
|
||||||
@media screen and (min-resolution: 1.25dppx){
|
@media screen and (min-resolution: 1.25dppx){
|
||||||
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 7px !important; }
|
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 7px !important; }
|
||||||
|
@ -23,11 +23,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-bar:not([customizing]){
|
#nav-bar:not([customizing]){
|
||||||
transform: rotateX(90deg);
|
transform: rotateX(90deg);
|
||||||
transition: transform 67ms linear !important;
|
transition: transform 67ms linear, opacity 0ms linear 67ms !important;
|
||||||
z-index: 3;
|
opacity: 0;
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
|
#nav-bar:focus-within{
|
||||||
|
transform: rotateX(0deg);
|
||||||
|
opacity: 1;
|
||||||
|
transition-delay: 0ms, 0ms !important;
|
||||||
}
|
}
|
||||||
#nav-bar:focus-within{ transform: rotateX(0deg) }
|
|
||||||
|
|
||||||
/* This enables compatibility with autohide_bookmarks_toolbar.css */
|
/* This enables compatibility with autohide_bookmarks_toolbar.css */
|
||||||
#PersonalToolbar{ margin-top: var(--tab-min-height) !important; }
|
#PersonalToolbar{ margin-top: var(--tab-min-height) !important; }
|
Loading…
Reference in a new issue