2020-01-04 22:39:52 +00:00
|
|
|
#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]){
|
2020-01-04 22:39:52 +00:00
|
|
|
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;
|
2019-11-14 15:48:20 +00:00
|
|
|
z-index: 1;
|
2019-05-31 21:14:17 +00:00
|
|
|
}
|
2020-01-04 22:39:52 +00:00
|
|
|
#PlacesToolbarItems > .bookmark-item{ padding-block: var(--uc-bm-padding) !important; }
|
2019-05-31 21:14:17 +00:00
|
|
|
|
2020-01-03 13:39:36 +00:00
|
|
|
/* SELECT BOOKMARKS TOOLBAR BEHAVIOR */
|
2020-01-08 21:51:11 +00:00
|
|
|
/* Comment out or delete either one of these to disable that behavior */
|
2020-01-03 13:39:36 +00:00
|
|
|
|
2020-01-08 21:51:11 +00:00
|
|
|
/* Show when urlbar is focused */
|
|
|
|
#nav-bar:focus-within + #PersonalToolbar{ transform: rotateX(0) }
|
|
|
|
|
|
|
|
/* Show when cursor is over the toolbar area */
|
|
|
|
#navigator-toolbox:hover > #PersonalToolbar{ transform: rotateX(0) }
|