diff --git a/chrome/menulike_bookmarks_folder_popups.css b/chrome/menulike_bookmarks_folder_popups.css new file mode 100644 index 0000000..32f9b2e --- /dev/null +++ b/chrome/menulike_bookmarks_folder_popups.css @@ -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; +} \ No newline at end of file diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index c76034c..bf37baf 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -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"] } diff --git a/tags.csv b/tags.csv index 7ea91a2..1520988 100644 --- a/tags.csv +++ b/tags.csv @@ -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