Make #nav-bar fully transparent when not focused

This commit is contained in:
MrOtherGuy 2020-01-17 18:17:50 +02:00
parent 1df6843653
commit 4293efba0a

View file

@ -24,10 +24,15 @@
#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;
opacity: 0;
z-index: 3; z-index: 3;
} }
#nav-bar:focus-within{ transform: rotateX(0deg) } #nav-bar:focus-within{
transform: rotateX(0deg);
opacity: 1;
transition-delay: 0ms, 0ms !important;
}
/* 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; }