mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-29 13:41:23 -08:00
Fix: Window Control - Size
This commit is contained in:
parent
d196ea13d6
commit
c8839e984d
3 changed files with 29 additions and 9 deletions
|
|
@ -4485,10 +4485,13 @@
|
|||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root {
|
||||
|
|
@ -4645,10 +4648,13 @@
|
|||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root {
|
||||
|
|
@ -4802,10 +4808,13 @@
|
|||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root {
|
||||
|
|
@ -4962,10 +4971,13 @@
|
|||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root {
|
||||
|
|
@ -5132,10 +5144,13 @@
|
|||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root {
|
||||
|
|
@ -5289,10 +5304,13 @@
|
|||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root {
|
||||
|
|
@ -7305,7 +7323,7 @@
|
|||
@supports -moz-bool-pref("userChrome.autohide.tabbar") or -moz-bool-pref("userChrome.autohide.navbar") or -moz-bool-pref(
|
||||
"userChrome.autohide.bookmarkbar"
|
||||
)
|
||||
or -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
or -moz-bool-pref("userChrome.tabbar.one_liner") or -moz-bool-pref("userChrome.hidden.tabbar") {
|
||||
:root {
|
||||
--uc-tabbar-height: var(--tab-min-height);
|
||||
--uc-tabbar-hide-height: calc(-1 * var(--uc-tabbar-height));
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@include Option("userChrome.autohide.tabbar", "userChrome.autohide.navbar", "userChrome.autohide.bookmarkbar", "userChrome.tabbar.one_liner") {
|
||||
@include Option("userChrome.autohide.tabbar", "userChrome.autohide.navbar", "userChrome.autohide.bookmarkbar", "userChrome.tabbar.one_liner", "userChrome.hidden.tabbar") {
|
||||
:root {
|
||||
--uc-tabbar-height: var(--tab-min-height); // calc((var(--tab-block-margin) * 2) + var(--tab-min-height));
|
||||
--uc-tabbar-hide-height: calc(-1 * var(--uc-tabbar-height));
|
||||
|
|
|
|||
|
|
@ -28,9 +28,11 @@ See the above repository for updates as well as full license text. */
|
|||
display: block;
|
||||
top: 0;
|
||||
right:0;
|
||||
height: 40px;
|
||||
z-index: 1;
|
||||
}
|
||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container {
|
||||
height: var(--uc-titlebar-buttonbox-height, var(--uc-navbar-height, 36px));
|
||||
}
|
||||
|
||||
/* where window controls are on left */
|
||||
@include OS($mac) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue