From c8f143e3c7f29d5e51e7a0c54d79a1c64cb48756 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 21 Feb 2023 18:46:39 +0200 Subject: [PATCH] create compact_extensions_panel.css --- chrome/compact_extensions_panel.css | 23 +++++++++++++++++++++++ html_resources/tagmap.json | 3 ++- tags.csv | 1 + 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 chrome/compact_extensions_panel.css diff --git a/chrome/compact_extensions_panel.css b/chrome/compact_extensions_panel.css new file mode 100644 index 0000000..123b938 --- /dev/null +++ b/chrome/compact_extensions_panel.css @@ -0,0 +1,23 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_extensions_panel.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +/* This style hides some information from the extensions-button panel, but makes it appear more compact. Might be useful for someone having lot of extensions */ + +#unified-extensions-view{ + --uei-icon-size: 16px; +} +.unified-extensions-item-menu-button.subviewbutton{ + padding: 2px !important; +} +.unified-extensions-item-message-deck{ + display: none +} +#unified-extensions-view > vbox > vbox > .unified-extensions-item{ + padding-block: 0px !important; +} +.unified-extensions-item-menu-button{ + margin-inline-end: 0 !important; +} +.unified-extensions-list .unified-extensions-item-menu-button{ + margin-inline-end: 8px !important; +} \ No newline at end of file diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index f6c8144..d669fda 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -158,5 +158,6 @@ "window_control_force_linux_system_style.css":["window-control","buttons","icon"], "window_control_placeholder_support.css":["window-control","patch"], "vertical_urlbar_one-off_items.css":["urlbar"], -"overlay_sidebar_header.css":["sidebar","hack"] +"overlay_sidebar_header.css":["sidebar","hack"], +"compact_extensions_panel.css":["popup","menu","minimal"] } diff --git a/tags.csv b/tags.csv index 1d62c3c..f747753 100644 --- a/tags.csv +++ b/tags.csv @@ -158,3 +158,4 @@ window_control_force_linux_system_style.css,window-control,buttons,icon window_control_placeholder_support.css,window-control,patch vertical_urlbar_one-off_items.css,urlbar overlay_sidebar_header.css,sidebar,hack +compact_extensions_panel.css,popup,menu,minimal