fix window controls being hidden with mica
fix window controls from being hidden when Mica isn't configured properly #29
This commit is contained in:
parent
dd93975b9e
commit
1a8b57cb66
2 changed files with 6 additions and 5 deletions
|
@ -48,6 +48,7 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse
|
|||
|enable Mica toolbar background (Windows 11 only)|
|
||||
|-|
|
||||
|**See [Mica Tweak Instructions (Windows 11 Only)](#mica-tweak-instructions-windows-11-only) for installation instructions.**|
|
||||
|**NOTE: Only works on default theme: 'System theme - auto'**|
|
||||
|`uc.tweak.win11-mica`|
|
||||
|
||||
|force tab background colour to `--toolbar-bg` (useful for Proton themes)|
|
||||
|
|
|
@ -129,7 +129,7 @@ browsing indicator) */
|
|||
}
|
||||
|
||||
:root[lwtheme-brighttext="true"] .tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background {
|
||||
box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25), 0 0px 2px rgba(0, 0, 0, 0.1) !important;
|
||||
box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2), 0 0px 2px rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -174,21 +174,21 @@ browsing indicator) */
|
|||
}
|
||||
|
||||
/* line up buttons with duplicate icons from -moz-win-glass */
|
||||
.titlebar-buttonbox-container {
|
||||
: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;
|
||||
}
|
||||
|
||||
.titlebar-button:not(.titlebar-close:hover, :-moz-window-inactive) {
|
||||
:root: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([inFullscreen], [sizemode="maximized"]) .titlebar-button {
|
||||
:root:is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]) :root:is([inFullscreen], [sizemode="maximized"]) .titlebar-button {
|
||||
padding-block: 7px 9px !important;
|
||||
}
|
||||
|
||||
:root:is([inFullscreen], [sizemode="maximized"]) .titlebar-close {
|
||||
:root:is(:not(:-moz-lwtheme), [lwt-default-theme-in-dark-mode="true"]) :root:is([inFullscreen], [sizemode="maximized"]) .titlebar-close {
|
||||
padding-block: 7px 9px !important;
|
||||
padding-right: 19px !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue