mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-31 14:30:50 -08:00
Fix: Window Control - Oneliner Tarbar first at Mac
This commit is contained in:
parent
97e1ab36fc
commit
536cb66c25
2 changed files with 32 additions and 11 deletions
|
|
@ -5358,6 +5358,12 @@
|
|||
--uc-window-drag-space-pre: 0px;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
/* Don't need window control */
|
||||
--uc-window-control-space: 0px;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.as_titlebar") {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) #tabbrowser-tabs {
|
||||
/* Don't need window control */
|
||||
|
|
@ -5407,6 +5413,12 @@
|
|||
--uc-window-drag-space-pre: 0px;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
/* Don't need window control */
|
||||
--uc-window-control-space: 0px;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.as_titlebar") {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) #tabbrowser-tabs {
|
||||
/* Don't need window control */
|
||||
|
|
@ -5566,11 +5578,6 @@
|
|||
margin-inline-end: var(--uc-window-drag-space-pre, 0px) !important;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.tabbar_first") {
|
||||
:root[tabsintitlebar="true"]:not([inFullscreen]) #TabsToolbar {
|
||||
margin-inline-start: var(--uc-window-control-space, 0px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (min-width: 1100px) {
|
||||
|
|
@ -5579,10 +5586,19 @@
|
|||
margin-inline-end: var(--uc-window-drag-space-pre, 0px) !important;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.tabbar_first") {
|
||||
:root[tabsintitlebar="true"]:not([inFullscreen]) #TabsToolbar {
|
||||
margin-inline-start: var(--uc-window-control-space, 0px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.tabbar_first") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
:root[tabsintitlebar="true"]:not([inFullscreen]) #TabsToolbar {
|
||||
margin-inline-start: var(--uc-window-control-width, 0px) !important;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (min-width: 1100px) {
|
||||
:root[tabsintitlebar="true"]:not([inFullscreen]) #TabsToolbar {
|
||||
margin-inline-start: var(--uc-window-control-width, 0px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@
|
|||
@include OS($win, $linux) {
|
||||
@include _remove_spacer_pre;
|
||||
}
|
||||
@include OS($mac) {
|
||||
@include _remove_spacer_post;
|
||||
}
|
||||
@include Option("userChrome.tabbar.as_titlebar") {
|
||||
#tabbrowser-tabs {
|
||||
@include _remove_spacer_post;
|
||||
|
|
@ -133,8 +136,10 @@
|
|||
@include NotOption("userChrome.tabbar.one_liner.tabbar_first") {
|
||||
margin-inline-end: var(--uc-window-drag-space-pre, 0px) !important;
|
||||
}
|
||||
@include Option("userChrome.tabbar.one_liner.tabbar_first") {
|
||||
margin-inline-start: var(--uc-window-control-space, 0px) !important;
|
||||
}
|
||||
@include Option("userChrome.tabbar.one_liner.tabbar_first") {
|
||||
@include OneLinerContent {
|
||||
margin-inline-start: var(--uc-window-control-width, 0px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue