fenix-fox/chrome/autohide_bookmarks_toolbar.css

18 lines
No EOL
773 B
CSS

/* Show bookmarks toolbar only when cursor is on top of toolbar area or urlbar is focused */
#PersonalToolbar:not([customizing]){
margin-bottom: -22px;
transform: rotateX(90deg);
transform-origin: top;
transition: transform 135ms linear 48ms !important;
z-index: 1;
}
:root[uidensity="compact"] #navigator-toolbox > #PersonalToolbar:not([customizing]){ margin-bottom: -20px }
:root[uidensity="touch"] #navigator-toolbox > #PersonalToolbar:not([customizing]){ margin-bottom: -26px }
/* SELECT BOOKMARKS TOOLBAR BEHAVIOR */
/* Comment out to disable either one of these */
#nav-bar:focus-within + #PersonalToolbar, /* Show when urlbar is focused */
#navigator-toolbox:hover > #PersonalToolbar /* Show when cursor is over the toolbar area */
{ transform: rotateX(0) }