From 2596f818e085ed724597ecb0028ec2536392203b Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 May 2024 01:09:55 +0100 Subject: add firefox userChrome with wavefox --- firefox/chrome/special/windows.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 firefox/chrome/special/windows.css (limited to 'firefox/chrome/special/windows.css') diff --git a/firefox/chrome/special/windows.css b/firefox/chrome/special/windows.css new file mode 100644 index 0000000..1927ad7 --- /dev/null +++ b/firefox/chrome/special/windows.css @@ -0,0 +1,32 @@ +@media not (prefers-contrast) +{ + .titlebar-buttonbox-container + { + align-items: flex-start !important; + } + + .titlebar-button:not(.titlebar-close):hover + { + background-color: var(--toolbarbutton-hover-background) !important; + } + + .titlebar-button:not(.titlebar-close):hover:active + { + background-color: var(--toolbarbutton-active-background) !important; + } +} + +@media (-moz-bool-pref: "userChrome.Menu.Icons.Regular.Enabled") or + (-moz-bool-pref: "userChrome.Menu.Icons.Filled.Enabled") +{ + :root + { + --align-menu-icons: -2px 6px; + } +} + +menupopup[needsgutter] menu:not([icon], .menu-iconic), +menupopup[needsgutter] menuitem:not([checked="true"], [icon], .menuitem-iconic) +{ + padding-inline-start: 1em !important; +} -- cgit v1.2.1