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/windows.css | |
parent | efa6ffe227b155506964da6ee5eed45d3e495efc (diff) |
add firefox userChrome with wavefox
Diffstat (limited to 'firefox/chrome/special/windows.css')
-rw-r--r-- | firefox/chrome/special/windows.css | 32 |
1 files changed, 32 insertions, 0 deletions
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;
+}
|