create page_action_buttons_on_urlbar_hover.css

This commit is contained in:
MrOtherGuy 2021-11-29 08:30:47 +02:00
parent 4bd6f389a8
commit 3246a70d20
3 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,15 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/page_action_buttons_on_urlbar_hover.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
.urlbar-page-action{
margin-inline-end: calc(-16px - 2 * var(--urlbar-icon-padding) );
opacity: 0;
transition: margin-inline-end 100ms linear, opacity 200ms linear;
}
#urlbar:hover .urlbar-page-action,
.urlbar-page-action[open],
.urlbar-page-action[open] ~ .urlbar-page-action{
opacity: 1;
margin-inline-end: 0px !important;
}

View file

@ -144,5 +144,6 @@
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
"window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"],
"window_control_placeholder_support.css":["window-control","patch"],
"urlbar_info_icons_on_hover.css":["autohide","icon","urlbar","minimal"]
"urlbar_info_icons_on_hover.css":["autohide","icon","urlbar","minimal"],
"page_action_buttons_on_urlbar_hover.css":["urlbar","icon","minimal","autohide"]
}

View file

@ -144,3 +144,4 @@ vertical_popup_menubar.css,menubar,menu,toolbars,popup
window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
window_control_placeholder_support.css,window-control,patch
urlbar_info_icons_on_hover.css,autohide,icon,urlbar,minimal
page_action_buttons_on_urlbar_hover.css,urlbar,icon,minimal,autohide

1 auto_devtools_theme_for_rdm.css,devtools,colors
144 window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
145 window_control_placeholder_support.css,window-control,patch
146 urlbar_info_icons_on_hover.css,autohide,icon,urlbar,minimal
147 page_action_buttons_on_urlbar_hover.css,urlbar,icon,minimal,autohide