diff options
author | davidovski <david@davidovski.xyz> | 2024-05-04 01:09:55 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-05-04 01:09:55 +0100 |
commit | 2596f818e085ed724597ecb0028ec2536392203b (patch) | |
tree | 5904fd719b808fa6991faec97b9fcb7825a4287c /firefox/chrome/special/linux.css | |
parent | efa6ffe227b155506964da6ee5eed45d3e495efc (diff) |
add firefox userChrome with wavefox
Diffstat (limited to 'firefox/chrome/special/linux.css')
-rw-r--r-- | firefox/chrome/special/linux.css | 49 |
1 files changed, 49 insertions, 0 deletions
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;
+ }
+ }
+}
|