create menulike_bookmarks_folder_popups.css

This commit is contained in:
MrOtherGuy 2021-09-08 05:55:16 +03:00
parent a02c978ebf
commit e278651723
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,24 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menulike_bookmarks_folder_popups.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* This style makes menus from bookmarks toolbar folders look like context menus do (on Win10) which was the behavior pre-fx92 */
menupopup[placespopup="true"]{
padding: 0 !important;
margin: 0 !important;
--arrowpanel-background: var(--menu-background-color) !important;
border-radius: var(--panel-border-radius) !important;
}
.menupopup-arrowscrollbox{
margin-top: 1px !important;
border: 1px solid var(--panel-border-color) !important;
padding: var(--panel-padding) !important;
border-radius: var(--panel-border-radius) !important;
}
:where(menupopup[placespopup="true"]) menu,
:where(menupopup[placespopup="true"]) menuitem{
margin-inline: 0 !important;
padding-inline-start: 1em !important;
border-radius: 0 !important;
padding-block: 0.5em !important;
}

View file

@ -139,5 +139,6 @@
"menupopup_forced_color_schemes.css":["popup","colors","menu"],
"centered_tab_label.css":["tab"],
"dark_date_picker_panel.css":["popup","dark-mode"],
"textual_searchbar_one-offs.css":["popup","menu"]
"textual_searchbar_one-offs.css":["popup","menu"],
"menulike_bookmarks_folder_popups.css":["menu","bookmarks","colors"]
}

View file

@ -139,3 +139,4 @@ menupopup_forced_color_schemes.css,popup,colors,menu
centered_tab_label.css,tab
dark_date_picker_panel.css,popup,dark-mode
textual_searchbar_one-offs.css,popup,menu
menulike_bookmarks_folder_popups.css,menu,bookmarks,colors

1 auto_devtools_theme_for_rdm.css,devtools,colors
139 centered_tab_label.css,tab
140 dark_date_picker_panel.css,popup,dark-mode
141 textual_searchbar_one-offs.css,popup,menu
142 menulike_bookmarks_folder_popups.css,menu,bookmarks,colors