mobile-config-firefox/chrome/autohide_bookmarks_toolbar.css

23 lines
920 B
CSS
Raw Normal View History

#PersonalToolbar{
--uc-bm-height: 20px; /* Might need to adjust if the toolbar has other buttons */
--uc-bm-padding: 3px; /* Vertical padding to be applied to bookmarks */
}
:root[uidensity="compact"] #PersonalToolbar{ --uc-bm-padding: 1px }
:root[uidensity="touch"] #PersonalToolbar{ --uc-bm-padding: 6px }
2019-05-31 21:14:17 +00:00
2019-05-31 21:22:40 +00:00
#PersonalToolbar:not([customizing]){
margin-bottom: calc(2px - var(--uc-bm-height) - 2 * var(--uc-bm-padding));
2019-05-31 21:14:17 +00:00
transform: rotateX(90deg);
transform-origin: top;
transition: transform 135ms linear 48ms !important;
z-index: 1;
2019-05-31 21:14:17 +00:00
}
#PlacesToolbarItems > .bookmark-item{ padding-block: var(--uc-bm-padding) !important; }
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) }