create window_control_fallback_for_custom_windows_theme.css

This commit is contained in:
MrOtherGuy 2021-02-14 14:15:21 +02:00
parent 11a196c8d0
commit ff2a46604f
3 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,16 @@
/* 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;
stroke: currentColor !important;
}
.titlebar-button:hover{ background-color: hsla(0,0%,100%,.32) !important }
.titlebar-close:hover{ background-color: hsl(355,86%,49%) !important }
.titlebar-close{ list-style-image: url(chrome://browser/skin/window-controls/close.svg) !important }
.titlebar-min{ list-style-image: url(chrome://browser/skin/window-controls/minimize.svg) !important }
.titlebar-max{ list-style-image: url(chrome://browser/skin/window-controls/maximize.svg) !important }
.titlebar-restore{ list-style-image: url(chrome://browser/skin/window-controls/restore.svg) !important }

View file

@ -112,5 +112,6 @@
"centered_top_statuspanel.css":["status"], "centered_top_statuspanel.css":["status"],
"custom_menupopup_check_icons.css":["icon","menu","minimal","popup"], "custom_menupopup_check_icons.css":["icon","menu","minimal","popup"],
"show_toolbars_in_popup_windows.css":["toolbars","popup"], "show_toolbars_in_popup_windows.css":["toolbars","popup"],
"centered_tab_content.css":["tab","icon"] "centered_tab_content.css":["tab","icon"],
"window_control_fallback_for_custom_windows_theme.css":["window-controls","buttons","colors","patch"]
} }

View file

@ -112,3 +112,4 @@ centered_top_statuspanel.css,status
custom_menupopup_check_icons.css,icon,menu,minimal,popup custom_menupopup_check_icons.css,icon,menu,minimal,popup
show_toolbars_in_popup_windows.css,toolbars,popup show_toolbars_in_popup_windows.css,toolbars,popup
centered_tab_content.css,tab,icon centered_tab_content.css,tab,icon
window_control_fallback_for_custom_windows_theme.css,window-controls,buttons,colors,patch

1 autohide_bookmarks_and_main_toolbars.css,autohide,bookmarks,toolbars,nav-bar
112 custom_menupopup_check_icons.css,icon,menu,minimal,popup
113 show_toolbars_in_popup_windows.css,toolbars,popup
114 centered_tab_content.css,tab,icon
115 window_control_fallback_for_custom_windows_theme.css,window-controls,buttons,colors,patch