From fcfb1a94589e808ff0c2485a820308c6ce6b4d73 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 18 Feb 2025 09:06:44 -0600 Subject: [PATCH] firefox: add common css styles Signed-off-by: Myned --- .../custom/programs/firefox/userChrome.css | 34 +++++++++++++++++++ .../custom/programs/firefox/userContent.css | 9 +++++ 2 files changed, 43 insertions(+) create mode 100644 options/custom/programs/firefox/userChrome.css create mode 100644 options/custom/programs/firefox/userContent.css diff --git a/options/custom/programs/firefox/userChrome.css b/options/custom/programs/firefox/userChrome.css new file mode 100644 index 0000000..5cf491b --- /dev/null +++ b/options/custom/programs/firefox/userChrome.css @@ -0,0 +1,34 @@ +/*** +https://github.com/rafaelmardojai/firefox-gnome-theme +***/ + +:root { + --gnome-accent: #d33682; + --gnome-window-background: #002b36; + --gnome-window-color: #93a1a1; + --gnome-view-background: #073642; + --gnome-sidebar-background: #002b36; + --gnome-secondary-sidebar-background: #002b36; + --gnome-menu-background: #073642; + --gnome-headerbar-background: #002b36; + --gnome-toolbar-icon-fill: #93a1a1; + --gnome-tabbar-tab-hover-background: #073642; + --gnome-tabbar-tab-active-background: #073642; + --gnome-tabbar-tab-active-hover-background: #073642; +} + +:root:-moz-window-inactive { + --gnome-inactive-entry-color: #586e75; + --gnome-tabbar-tab-hover-background: #073642; + --gnome-tabbar-tab-active-background: #073642; +} + +/* Center bookmarks */ +#PlacesToolbarItems { + justify-content: center; +} + +/* Disable bookmark folder icons */ +.bookmark-item[container] > .toolbarbutton-icon { + display: none; +} diff --git a/options/custom/programs/firefox/userContent.css b/options/custom/programs/firefox/userContent.css new file mode 100644 index 0000000..e438e90 --- /dev/null +++ b/options/custom/programs/firefox/userContent.css @@ -0,0 +1,9 @@ +/*** +https://github.com/rafaelmardojai/firefox-gnome-theme +***/ + +@-moz-document url("about:newtab"), url("about:home"), url("about:blank") { + body { + background-color: #073642 !important; + } +}