fix windows 7 and 8 bugs

This commit is contained in:
bmFtZQ 2021-04-20 17:20:55 +08:00 committed by GitHub
parent 7bbf24d378
commit 3ad2c75c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,16 @@
@media not (-moz-os-version: windows-win7) {
@media not (-moz-os-version: windows-win8) {
:root[windowtype="navigator:browser"] {
background-color: var(--lwt-accent-color) !important;
appearance: none !important;
}
:root:not(:-moz-lwtheme) #navigator-toolbox {
background-color: transparent !important;
}
}
}
@media (-moz-windows-compositor) {
@media not (-moz-os-version: windows-win7) {
@media not (-moz-os-version: windows-win8) {
@ -46,6 +59,21 @@
}
}
@media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) {
:root[tabsintitlebar] .titlebar-buttonbox-container {
height: calc(32px + var(--space-above-tabbar)) !important;
margin: 0 !important;
}
:root[windowtype="navigator:browser"]:not([style*="image"]) {
background-color: #0000 !important;
}
:root[lwtheme]:not([style*="image"]) .tabbrowser-tab {
background-color: var(--lwt-accent-color) !important;
}
}
#navigator-toolbox :-moz-any(toolbar, #nav-bar-customization-target):not(#toolbar-menubar) {
-moz-box-align: center !important;
}
@ -275,6 +303,10 @@
appearance: none !important;
}
#sidebar-box {
background-color: var(--sidebar-background-color) !important;
}
.sidebar-placesTree,
#viewButton {
color: #000 !important;