From 2f17cf05bf49f00934be3773447e80657c11f3f7 Mon Sep 17 00:00:00 2001 From: K4sum1 Date: Sun, 10 Mar 2024 12:36:30 -0700 Subject: [PATCH] Quick bodge to get theme mostly working --- browser/themes/windows/browser-aero.css | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/browser/themes/windows/browser-aero.css b/browser/themes/windows/browser-aero.css index bb357f6c116d1..846885cc6c4fa 100644 --- a/browser/themes/windows/browser-aero.css +++ b/browser/themes/windows/browser-aero.css @@ -339,3 +339,59 @@ -moz-default-appearance: -moz-win-browsertabbar-toolbox; } } + +/* Allows Aero, shows the Aero Basic blue if on Aero Basic, and matches the Classic grey if on Classic */ +#navigator-toolbox, +#navigator-toolbox-background { + background-color: transparent !important; +} + +/* Bye bye fog */ +#TabsToolbar { + background-image: none !important; +} + +/* Brings back the titlebar buttons on Aero basic and Classic */ + +.titlebar-close { + appearance: -moz-window-button-close; + margin-left: -2px; +} + +.titlebar-max { + appearance: -moz-window-button-maximize; +} + +.titlebar-min { + appearance: -moz-window-button-minimize; +} + +.titlebar-restore { + appearance: -moz-window-button-restore; +} + +/* Buttonbox looks sightly too much to the left compared to native ones */ +.titlebar-buttonbox-container { + margin-right: -2px !important; +} + +/* Aero Basic: */ +/* They are bigger than the native ones */ +@media (-moz-windows-compositor: 0) { +.titlebar-button { + width: 33px !important; + margin-right: 2px !important; + height: 5px !important; +} +} + +/* Windows classic: */ +@media (-moz-windows-classic) { +.titlebar-button { + height: 5px !important; + width: 5px !important; + margin-right: 2px !important; +} +} + +