fenix-fox/chrome/autohide_bookmarks_toolbar.css

18 lines
773 B
CSS
Raw Normal View History

/* Show bookmarks toolbar only when cursor is on top of toolbar area or urlbar is focused */
2019-05-31 21:14:17 +00:00
2019-05-31 21:22:40 +00:00
#PersonalToolbar:not([customizing]){
2019-05-31 21:14:17 +00:00
margin-bottom: -22px;
transform: rotateX(90deg);
transform-origin: top;
transition: transform 135ms linear 48ms !important;
z-index: 1;
2019-05-31 21:14:17 +00:00
}
:root[uidensity="compact"] #navigator-toolbox > #PersonalToolbar:not([customizing]){ margin-bottom: -20px }
:root[uidensity="touch"] #navigator-toolbox > #PersonalToolbar:not([customizing]){ margin-bottom: -26px }
2019-05-31 21:14:17 +00:00
/* 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) }