fenix-fox/chrome/page_action_buttons_on_hover.css

14 lines
597 B
CSS
Raw Normal View History

/* Page action-buttons "slide in" when cursor is on top of them and don't reserve space when not used */
2018-11-07 19:05:02 +00:00
#page-action-buttons > *[class^=urlbar-icon]{
margin-inline-end: -26px;
opacity: 0;
transition: margin-inline-end 200ms linear, opacity 200ms linear;
}
:root[uidensity="compact"] #page-action-buttons > *[class^=urlbar-icon]{ margin-inline-end: -22px; }
2018-11-07 19:05:02 +00:00
#page-action-buttons:hover > *[class^=urlbar-icon],
#page-action-buttons > *[class^=urlbar-icon][open],
#page-action-buttons > *[class^=urlbar-icon][open] ~ *[class^=urlbar-icon]{
opacity: 1;
margin-inline-end: 0px !important;
2018-11-07 19:05:02 +00:00
}