Files
firefox-csshacks/chrome/window_control_fallback_for_custom_windows_theme.css
MrOtherGuy 9bb5b59e3a Don't use svg icons in window controls anymore
Firefox 141 changed Window control buttons to use font-icons from MDL2
and removed old icon files. So let's use the font instead.
2025-08-29 05:28:06 +03:00

16 lines
851 B
CSS

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/window_control_fallback_for_custom_windows_theme.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* If one uses custom Windows theme, then Firefox uses high-contrast window control buttons. This style makes Firefox fall back to using normal window control style. */
.titlebar-button{
background-color: transparent !important;
color: inherit !important;
}
.titlebar-button:hover{ background-color: hsla(0,0%,100%,.32) !important }
.titlebar-close:hover{ background-color: hsl(355,86%,49%) !important }
.titlebar-close{ content: "\e8bb" !important }
.titlebar-min{ content: "\e921" !important }
.titlebar-max{ content: "\e922" !important }
.titlebar-restore{ content: "\e923" !important }