mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-02-17 13:41:18 -08:00
Fix: Window Control - Mac
This commit is contained in:
parent
3a1510d163
commit
3adc61b7d4
3 changed files with 37 additions and 3 deletions
|
|
@ -4430,12 +4430,16 @@
|
|||
--uc-window-control-width: 138px;
|
||||
}
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
:root[tabsintitlebar] {
|
||||
--uc-window-control-width: 72px;
|
||||
}
|
||||
}
|
||||
|
||||
:root[sizemode="fullscreen"] {
|
||||
--uc-widow-control-space: 0;
|
||||
}
|
||||
}
|
||||
:root:is([tabsintitlebar][sizemode="maximized"], [sizemode="fullscreen"]) {
|
||||
--uc-window-drag-space-pre: 0px;
|
||||
/* Remove pre space */
|
||||
|
|
@ -4483,6 +4487,11 @@
|
|||
left: 0;
|
||||
right: unset !important;
|
||||
}
|
||||
|
||||
#toolbar-menubar:not([autohide="true"]) {
|
||||
visibility: visible !important;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
#navigator-toolbox {
|
||||
padding-top: calc(var(--uc-menubar-height, 0px) + var(--uc-titlebar-padding)) !important;
|
||||
|
|
@ -4626,6 +4635,11 @@
|
|||
left: 0;
|
||||
right: unset !important;
|
||||
}
|
||||
|
||||
#toolbar-menubar:not([autohide="true"]) {
|
||||
visibility: visible !important;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
#navigator-toolbox {
|
||||
padding-top: calc(var(--uc-menubar-height, 0px) + var(--uc-titlebar-padding)) !important;
|
||||
|
|
@ -4769,6 +4783,11 @@
|
|||
left: 0;
|
||||
right: unset !important;
|
||||
}
|
||||
|
||||
#toolbar-menubar:not([autohide="true"]) {
|
||||
visibility: visible !important;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
#navigator-toolbox {
|
||||
padding-top: calc(var(--uc-menubar-height, 0px) + var(--uc-titlebar-padding)) !important;
|
||||
|
|
@ -4922,6 +4941,11 @@
|
|||
left: 0;
|
||||
right: unset !important;
|
||||
}
|
||||
|
||||
#toolbar-menubar:not([autohide="true"]) {
|
||||
visibility: visible !important;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
#navigator-toolbox {
|
||||
padding-top: calc(var(--uc-menubar-height, 0px) + var(--uc-titlebar-padding)) !important;
|
||||
|
|
|
|||
|
|
@ -30,6 +30,11 @@ See the above repository for updates as well as full license text. */
|
|||
left:0;
|
||||
right: unset !important;
|
||||
}
|
||||
|
||||
#toolbar-menubar:not([autohide="true"]) {
|
||||
visibility: visible !important;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#navigator-toolbox {
|
||||
|
|
|
|||
|
|
@ -17,9 +17,14 @@
|
|||
@include OS($win10) {
|
||||
--uc-window-control-width: 138px;
|
||||
}
|
||||
@include OS($mac) {
|
||||
}
|
||||
@include OS($mac) {
|
||||
:root[tabsintitlebar] {
|
||||
--uc-window-control-width: 72px;
|
||||
}
|
||||
:root[sizemode="fullscreen"] {
|
||||
--uc-widow-control-space: 0;
|
||||
}
|
||||
}
|
||||
|
||||
:root:is([tabsintitlebar][sizemode="maximized"], [sizemode="fullscreen"]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue