mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Compatibility - Windows7 classic theme navigator toolbox #734
This commit is contained in:
parent
c4a0aac2d5
commit
411b08fe26
2 changed files with 65 additions and 0 deletions
33
css/leptonChrome.css
generated
33
css/leptonChrome.css
generated
|
|
@ -423,6 +423,39 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
/*= Windows - Classic Theme #734 =============================================*/
|
||||
@media (-moz-os-version: windows-win7),
|
||||
(-moz-platform: windows-win7),
|
||||
(-moz-os-version: windows-win8),
|
||||
(-moz-platform: windows-win8),
|
||||
(-moz-os-version: windows-win10),
|
||||
(-moz-platform: windows-win10) {
|
||||
@media (-moz-windows-classic) {
|
||||
:root[tabsintitlebar][sizemode="normal"]:not(:-moz-lwtheme) #navigator-toolbox {
|
||||
appearance: auto !important;
|
||||
-moz-default-appearance: -moz-window-titlebar !important;
|
||||
}
|
||||
:root[tabsintitlebar][sizemode="maximized"]:not(:-moz-lwtheme) #navigator-toolbox {
|
||||
appearance: auto !important;
|
||||
-moz-default-appearance: -moz-window-titlebar !important;
|
||||
}
|
||||
:root[tabsintitlebar]:not(:-moz-lwtheme) #tabbrowser-arrowscrollbox {
|
||||
color: -moz-dialogtext !important;
|
||||
}
|
||||
:root[tabsintitlebar][sizemode="normal"] #navigator-toolbox:-moz-lwtheme {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
ThreeDLightShadow 0,
|
||||
ThreeDLightShadow 1px,
|
||||
ThreeDHighlight 1px,
|
||||
ThreeDHighlight 2px,
|
||||
ActiveBorder 2px,
|
||||
ActiveBorder 4px,
|
||||
transparent 4px
|
||||
) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/*= Others - Compatibility ===================================================*/
|
||||
@supports -moz-bool-pref("userChrome.compatibility.panel_cutoff") {
|
||||
|
|
|
|||
|
|
@ -240,3 +240,35 @@ $_os_linuxDefaultShadow: 0 0 4px rgba(128, 128, 142, 0.5);
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*= Windows - Classic Theme #734 =============================================*/
|
||||
// It occurs by #titlebar { appearance: none !important; } above
|
||||
// https://github.com/mozilla/gecko-dev/blob/4334cb91a3762ac497c50a1c7b86b8004690229e/browser/themes/windows/browser.css#L96-L109
|
||||
// https://github.com/mozilla/gecko-dev/blob/4334cb91a3762ac497c50a1c7b86b8004690229e/browser/themes/windows/browser.css#L164-L174
|
||||
// https://github.com/mozilla/gecko-dev/blob/4334cb91a3762ac497c50a1c7b86b8004690229e/browser/themes/windows/browser-aero.css#L71-L81
|
||||
@include OS($win) {
|
||||
@media (-moz-windows-classic) {
|
||||
:root[tabsintitlebar][sizemode="normal"]:not(:-moz-lwtheme) #navigator-toolbox {
|
||||
appearance: auto !important;
|
||||
-moz-default-appearance: -moz-window-titlebar !important;;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar][sizemode="maximized"]:not(:-moz-lwtheme) #navigator-toolbox {
|
||||
appearance: auto !important;;
|
||||
-moz-default-appearance:-moz-window-titlebar !important;;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar]:not(:-moz-lwtheme) #tabbrowser-arrowscrollbox {
|
||||
color: -moz-dialogtext !important;
|
||||
}
|
||||
|
||||
:root[tabsintitlebar][sizemode="normal"] #navigator-toolbox:-moz-lwtheme {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
ThreeDLightShadow 0, ThreeDLightShadow 1px,
|
||||
ThreeDHighlight 1px, ThreeDHighlight 2px,
|
||||
ActiveBorder 2px, ActiveBorder 4px, transparent 4px
|
||||
) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue