aboutsummaryrefslogtreecommitdiffstats
path: root/firefox/src
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-07-01 18:55:02 -0700
committerGravatar Tom Willemse2022-09-22 23:52:01 -0700
commit513459d4dd6986c325ee18e4dee8502542e029c6 (patch)
tree82c1fdd5e9975aea378342b976cbb2a7d1cec9de /firefox/src
parent1d8a14276dad110fac18fb9d307941a31b984990 (diff)
downloadnew-dotfiles-513459d4dd6986c325ee18e4dee8502542e029c6.tar.gz
new-dotfiles-513459d4dd6986c325ee18e4dee8502542e029c6.zip
[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.
Diffstat (limited to 'firefox/src')
-rw-r--r--firefox/src/userChrome.css28
1 files changed, 28 insertions, 0 deletions
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; }