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/linux.css | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 firefox/chrome/special/linux.css (limited to 'firefox/chrome/special/linux.css') diff --git a/firefox/chrome/special/linux.css b/firefox/chrome/special/linux.css new file mode 100644 index 0000000..014fc73 --- /dev/null +++ b/firefox/chrome/special/linux.css @@ -0,0 +1,49 @@ +@media (-moz-bool-pref: "userChrome.Menu.Icons.Regular.Enabled") or + (-moz-bool-pref: "userChrome.Menu.Icons.Filled.Enabled") +{ + :root + { + --align-menu-icons: -2px -18px; + } +} + +@media (-moz-bool-pref: "userChrome.Linux.Transparency.Low.Enabled") or + (-moz-bool-pref: "userChrome.Linux.Transparency.Medium.Enabled") or + (-moz-bool-pref: "userChrome.Linux.Transparency.High.Enabled") or + (-moz-bool-pref: "userChrome.Linux.Transparency.VeryHigh.Enabled") +{ + :root + { + --toolbox-background-color: ActiveCaption; + + &:-moz-window-inactive + { + --toolbox-background-color: InActiveCaption; + } + + @media (-moz-bool-pref: "userChrome.Linux.Transparency.Low.Enabled") + { + --toolbox-transparency: 25%; + } + + @media (-moz-bool-pref: "userChrome.Linux.Transparency.Medium.Enabled") + { + --toolbox-transparency: 50%; + } + + @media (-moz-bool-pref: "userChrome.Linux.Transparency.High.Enabled") + { + --toolbox-transparency: 75%; + } + + @media (-moz-bool-pref: "userChrome.Linux.Transparency.VeryHigh.Enabled") + { + --toolbox-transparency: 100%; + } + + &[tabsintitlebar]:not([lwtheme]) #navigator-toolbox + { + background-color: color-mix(in srgb, var(--toolbox-background-color), transparent var(--toolbox-transparency)) !important; + } + } +} -- cgit v1.2.1