create window_control_force_linux_system_style.css

This commit is contained in:
MrOtherGuy 2022-02-03 15:57:45 +02:00
parent fd644ff857
commit f0caa6d5ae
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,22 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/window_control_force_linux_system_style.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* This style makes Firefox use your linux system style for window control buttons. Normally those are only used with default system (auto) theme. */
.titlebar-button{
list-style-image: none !important;
appearance: auto !important;
}
.titlebar-min {
-moz-default-appearance: -moz-window-button-minimize !important;
}
.titlebar-max {
-moz-default-appearance: -moz-window-button-maximize !important;
}
.titlebar-restore {
-moz-default-appearance: -moz-window-button-restore !important;
}
.titlebar-close {
-moz-default-appearance: -moz-window-button-close !important;
}

View file

@ -148,5 +148,6 @@
"page_action_buttons_on_urlbar_hover.css":["urlbar","icon","minimal","autohide"],
"integrated_searchbar_popup.css":["popup","colors"],
"context_menus_more_proton.css":["proton","menu"],
"multi-row_tabs_separate_pinned_row_patch.css":["tabs","multi-row","patch"]
"multi-row_tabs_separate_pinned_row_patch.css":["tabs","multi-row","patch"],
"window_control_force_linux_system_style.css":["window-control","buttons","icon"]
}

View file

@ -148,3 +148,4 @@ page_action_buttons_on_urlbar_hover.css,urlbar,icon,minimal,autohide
integrated_searchbar_popup.css,popup,colors
context_menus_more_proton.css,proton,menu
multi-row_tabs_separate_pinned_row_patch.css,tabs,multi-row,patch
window_control_force_linux_system_style.css,window-control,buttons,icon

1 auto_devtools_theme_for_rdm.css,devtools,colors
148 integrated_searchbar_popup.css,popup,colors
149 context_menus_more_proton.css,proton,menu
150 multi-row_tabs_separate_pinned_row_patch.css,tabs,multi-row,patch
151 window_control_force_linux_system_style.css,window-control,buttons,icon