update selectors to match fx92

This commit is contained in:
MrOtherGuy 2021-07-14 07:04:38 +03:00
parent 5919b68fb9
commit 1fcfc2eb20

View file

@ -3,15 +3,17 @@ See the above repository for updates as well as full license text. */
/* Page action-buttons "slide in" when cursor is on top of them and don't reserve space when not used */ /* Page action-buttons "slide in" when cursor is on top of them and don't reserve space when not used */
#page-action-buttons > *[class^=urlbar-icon]{ #page-action-buttons{ padding-inline-start: 8px }
margin-inline-end: -26px;
.urlbar-page-action{
margin-inline-end: calc(-16px - 2 * var(--urlbar-icon-padding) );
opacity: 0; opacity: 0;
transition: margin-inline-end 100ms linear, opacity 200ms linear; transition: margin-inline-end 100ms linear, opacity 200ms linear;
} }
:root[uidensity="compact"] #page-action-buttons > *[class^=urlbar-icon]{ margin-inline-end: -22px; }
#page-action-buttons:hover > *[class^=urlbar-icon], #page-action-buttons:hover > .urlbar-page-action,
#page-action-buttons > *[class^=urlbar-icon][open], .urlbar-page-action[open],
#page-action-buttons > *[class^=urlbar-icon][open] ~ *[class^=urlbar-icon]{ .urlbar-page-action[open] ~ .urlbar-page-action{
opacity: 1; opacity: 1;
margin-inline-end: 0px !important; margin-inline-end: 0px !important;
} }