mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-13 21:00:16 +00:00
create page_action_buttons_on_urlbar_hover.css
This commit is contained in:
parent
4bd6f389a8
commit
3246a70d20
3 changed files with 18 additions and 1 deletions
15
chrome/page_action_buttons_on_urlbar_hover.css
Normal file
15
chrome/page_action_buttons_on_urlbar_hover.css
Normal 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;
|
||||||
|
}
|
|
@ -144,5 +144,6 @@
|
||||||
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
|
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
|
||||||
"window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"],
|
"window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"],
|
||||||
"window_control_placeholder_support.css":["window-control","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"]
|
||||||
}
|
}
|
||||||
|
|
1
tags.csv
1
tags.csv
|
@ -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_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
|
||||||
window_control_placeholder_support.css,window-control,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
|
||||||
|
|
|
Loading…
Reference in a new issue