Remove Mica tweak from theme
This commit is contained in:
parent
e273ecaa61
commit
708e4e8167
6 changed files with 7 additions and 78 deletions
|
@ -136,59 +136,6 @@ bugs with certain themes eg. dark text on dark background.) */
|
|||
}
|
||||
}
|
||||
|
||||
/* Mica broken on newer versions of Firefox */
|
||||
/* Uncomment to enable, only works for Firefox versions lower than 115 */
|
||||
/* @media (-moz-platform: windows) {
|
||||
@media (-moz-bool-pref: "uc.tweak.win11-mica") {
|
||||
#main-window:not([inFullscreen]):not(:-moz-lwtheme),
|
||||
#main-window:not([inFullscreen])[lwt-default-theme-in-dark-mode="true"] {
|
||||
appearance: -moz-win-borderless-glass !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
#main-window:not([inFullscreen])[lwt-default-theme-in-dark-mode="true"] #navigator-toolbox:not(:-moz-window-inactive) {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.tab-background:is([selected], [multiselected]) {
|
||||
background: var(--toolbar-bgcolor) !important;
|
||||
}
|
||||
:root:not([inFullscreen]):not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
||||
--lwt-accent-color: #00000020 !important;
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "uc.tweak.floating-tabs") {
|
||||
:root:not([inFullscreen]):not(:-moz-lwtheme):not(:-moz-window-inactive) {
|
||||
--toolbar-bgcolor: #ffffffcc !important;
|
||||
--lwt-accent-color: #0000 !important;
|
||||
}
|
||||
|
||||
:root:not([inFullscreen])[lwt-default-theme-in-dark-mode="true"]:not(:-moz-window-inactive) {
|
||||
--toolbar-bgcolor: #ffffff25 !important;
|
||||
--lwt-accent-color: #0000 !important;
|
||||
}
|
||||
}
|
||||
|
||||
:root:is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]) .titlebar-buttonbox-container {
|
||||
--uc-titlebar-button-size: 30px;
|
||||
--uc-titlebar-size: calc(var(--tab-min-height) + var(--tab-block-margin));
|
||||
margin-bottom: calc(var(--uc-titlebar-size) - var(--uc-titlebar-button-size)) !important;
|
||||
}
|
||||
|
||||
:root:not([inFullscreen]):is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]) .titlebar-button:not(.titlebar-close:hover, :-moz-window-inactive) {
|
||||
list-style-image: none !important;
|
||||
}
|
||||
|
||||
:root:is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]):is([inFullscreen], [sizemode="maximized"]) .titlebar-button {
|
||||
padding-block: 7px 9px !important;
|
||||
}
|
||||
|
||||
:root:is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]):is([inFullscreen], [sizemode="maximized"]) .titlebar-close {
|
||||
padding-right: 19px !important;
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
@media not (-moz-platform: macos) {
|
||||
@media not (-moz-bool-pref: "uc.tweak.revert-context-menu") {
|
||||
@media (-moz-bool-pref: "uc.tweak.vertical-context-navigation") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue