Add: Windows7 Default Theme - fix for #164

This commit is contained in:
BlaCk_Void 2021-08-15 01:56:52 +09:00
parent 9f6c279c2d
commit caadb8fc1c

View file

@ -48,8 +48,10 @@
@media (-moz-os-version: windows-win7) {
#TabsToolbar:-moz-lwtheme {
color: var(--lwt-text-color) !important;
}
/* Remove Aero */
/* Remove Aero */
#TabsToolbar {
/* Original: radial-gradient(eclipse at bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5) 80%, transparent) */
background-image: unset !important;
}
@ -71,6 +73,24 @@
}
}
/*= Windows7 - Aero Based Theme ============================================*/
@media (-moz-os-version: windows-win7) {
#TabsToolbar:not(:-moz-lwtheme) {
--background-color: rgb(229, 229, 235);
}
.tabbrowser-tab > .tab-stack > .tab-background:not([selected="true"], [multiselected]) {
color: var(--background-color);
background-color: color-mix(in srgb, currentColor 60%, transparent);
}
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"], [multiselected]) {
background-color: color-mix(in srgb, currentColor 85%, transparent) !important; /* Original: color-mix(in srgb, currentColor 11%, transparent) */
}
#TabsToolbar:not(:-moz-lwtheme) .toolbarbutton-1 > .toolbarbutton-icon {
color: var(--background-color);
background-color: color-mix(in srgb, currentColor 50%, transparent);
}
}
/*= Windows10 - Titlebar accent color ======================================*/
@media (-moz-windows-accent-color-in-titlebar) {
/* Tab Bar */