mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-03-09 08:20:44 -07:00
Add: Theme - Win8 transparent frame
This commit is contained in:
parent
12a98e8d6a
commit
f19e5c6306
4 changed files with 46 additions and 12 deletions
31
css/leptonChrome.css
generated
31
css/leptonChrome.css
generated
|
|
@ -2182,6 +2182,8 @@
|
|||
@supports -moz-bool-pref("userChrome.theme.transparent.frame") {
|
||||
@media (-moz-os-version: windows-win10),
|
||||
(-moz-platform: windows-win10),
|
||||
(-moz-os-version: windows-win8),
|
||||
(-moz-platform: windows-win8),
|
||||
(-moz-os-version: windows-win7),
|
||||
(-moz-platform: windows-win7),
|
||||
(-moz-gtk-csd-available) {
|
||||
|
|
@ -2208,7 +2210,11 @@
|
|||
-moz-default-appearance: -moz-win-exclude-glass !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-os-version: windows-win7), (-moz-platform: windows-win7), (-moz-gtk-csd-available) {
|
||||
@media (-moz-os-version: windows-win8),
|
||||
(-moz-platform: windows-win8),
|
||||
(-moz-os-version: windows-win7),
|
||||
(-moz-platform: windows-win7),
|
||||
(-moz-gtk-csd-available) {
|
||||
:root:not(:-moz-lwtheme) {
|
||||
--lwt-accent-color: Window !important;
|
||||
--lwt-text-color: WindowText !important;
|
||||
|
|
@ -2229,11 +2235,23 @@
|
|||
);
|
||||
}
|
||||
}
|
||||
#main-menubar:not(:-moz-window-inactive),
|
||||
.titlebar-buttonbox-container:not(:-moz-window-inactive) {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
#main-menubar {
|
||||
border-radius: 4px;
|
||||
}
|
||||
#main-menubar:not(:-moz-window-inactive) {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
}
|
||||
@media (-moz-os-version: windows-win8), (-moz-platform: windows-win8) {
|
||||
#main-menubar:-moz-window-inactive {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-gtk-csd-available) {
|
||||
.titlebar-buttonbox-container:not(:-moz-window-inactive) {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
#TabsToolbar {
|
||||
--toolbarseparator-color: transparent;
|
||||
}
|
||||
|
|
@ -2273,7 +2291,10 @@
|
|||
transform: translateY(-7px) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-os-version: windows-win7), (-moz-platform: windows-win7) {
|
||||
@media (-moz-os-version: windows-win8),
|
||||
(-moz-platform: windows-win8),
|
||||
(-moz-os-version: windows-win7),
|
||||
(-moz-platform: windows-win7) {
|
||||
:root:not([lwtheme-image]):-moz-lwtheme {
|
||||
background-color: transparent !important;
|
||||
background-image: none !important;
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
@include OS($win10, $win7, $linux) {
|
||||
@include OS($win10, $win8, $win7, $linux) {
|
||||
@import "transparent/general";
|
||||
}
|
||||
@include OS($win7, $linux) {
|
||||
@include OS($win8, $win7, $linux) {
|
||||
@import "transparent/general_element_background";
|
||||
}
|
||||
@include OS($win10) {
|
||||
@import "transparent/win11";
|
||||
}
|
||||
@include OS($win7) {
|
||||
@import "transparent/win7";
|
||||
@include OS($win8, $win7) {
|
||||
@import "transparent/win7_8";
|
||||
}
|
||||
@include OS($mac) {
|
||||
@import "transparent/mac";
|
||||
|
|
|
|||
|
|
@ -26,10 +26,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
#main-menubar:not(:-moz-window-inactive),
|
||||
.titlebar-buttonbox-container:not(:-moz-window-inactive) {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
#main-menubar {
|
||||
border-radius: 4px;
|
||||
|
||||
&:not(:-moz-window-inactive) {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
}
|
||||
@include OS($win8) {
|
||||
&:-moz-window-inactive {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@include OS($linux) {
|
||||
.titlebar-buttonbox-container:not(:-moz-window-inactive) {
|
||||
background-color: var(--uc-frame-element-background) !important;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
#TabsToolbar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue