From 513459d4dd6986c325ee18e4dee8502542e029c6 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 1 Jul 2022 18:55:02 -0700 Subject: [firefox] Make it possible to stow firefox configuration - Put ‘userChrome.css’ into the ‘src/’ directory and have stow ignore any such directory. - Dynamically find the name of the default firefox profile. - In case the firefox profile can't be found, output some messages stating such. - Update the ‘userChrome.css’ as used by Firefox. --- firefox/src/userChrome.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 firefox/src/userChrome.css (limited to 'firefox/src') diff --git a/firefox/src/userChrome.css b/firefox/src/userChrome.css new file mode 100644 index 0000000..93e7d9a --- /dev/null +++ b/firefox/src/userChrome.css @@ -0,0 +1,28 @@ +#tabbrowser-tabs, #tabbrowser-arrowscrollbox { + min-height: 0 !important; +} + +#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"], +#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] + toolbarbutton { + visibility: collapse; +} + +#tabbrowser-tabs .tabs-newtab-button { + visibility: collapse !important; +} + +#tabbrowser-tabs tab { + min-height: var(--tab-min-height); +} + +/* Context menu filters */ +.menu-iconic-left { opacity: 0.7; } +#contentAreaContextMenu, #placesContext, #tabContextMenu, #toolbar-context-menu #sitebarMenu-popup { opacity: 0.7 !important; } +/* Bookmarks Toolbar folters, Bookmarks and History Menu filters */ +#personal-bookmarks .menu-iconic-left, #BMB_bookmarksPopup .menu-iconic-left, #bookmarksMenuPopup .menu-iconic-left, #goPopup .menu-iconic-left { opacity: 0.9 !important; } +menupopup:nth-child(1) { opacity: 0.7; } +/* Page Action context menu filter */ +#pageActionContextMenu .menu-iconic-left { opacity: 0.7 !important; } +#pageActionContextMenu { opacity: 0.7; } +/* Widget Panels (Overflow + add-ons) filter */ +.panel-arrowcontent { opacity: 0.7; } -- cgit v1.2.3-54-g00ecf