mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-29 13:41:23 -08:00
Fix: Tabs on bottom - Padding bug, autohide bug
This commit is contained in:
parent
afa7159bc5
commit
4efe8af6ee
4 changed files with 77 additions and 18 deletions
|
|
@ -3875,6 +3875,10 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
#TabsToolbar-customization-target > .toolbarbutton-1:last-child {
|
||||
padding-inline-end: var(--toolbar-start-end-padding, 8px);
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("userChrome.tab.on_bottom.above_bookmark") {
|
||||
#PersonalToolbar {
|
||||
order: 2;
|
||||
|
|
@ -3922,7 +3926,6 @@
|
|||
|
||||
#navigator-toolbox {
|
||||
-moz-window-dragging: drag;
|
||||
padding-top: calc(var(--uc-menubar-height) + var(--uc-titlebar-padding)) !important;
|
||||
}
|
||||
|
||||
:root[sizemode="fullscreen"] #navigator-toolbox {
|
||||
|
|
@ -4074,7 +4077,7 @@
|
|||
}
|
||||
}
|
||||
#navigator-toolbox {
|
||||
padding-top: var(--uc-titlebar-padding) !important;
|
||||
padding-top: calc(var(--uc-menubar-height, 0px) + var(--uc-titlebar-padding)) !important;
|
||||
}
|
||||
|
||||
:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container {
|
||||
|
|
@ -5838,16 +5841,31 @@
|
|||
will-change: margin-bottom;
|
||||
}
|
||||
|
||||
#TabsToolbar:not([customizing]) {
|
||||
opacity: 0;
|
||||
will-change: opacity;
|
||||
@supports not -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#TabsToolbar:not([customizing]) {
|
||||
opacity: 0;
|
||||
will-change: opacity;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#TabsToolbar:not([customizing]) > *:not(.titlebar-buttonbox-container) {
|
||||
opacity: 0;
|
||||
will-change: opacity;
|
||||
}
|
||||
}
|
||||
|
||||
#navigator-toolbox:is(:hover, :focus-within) > #titlebar {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
#navigator-toolbox:is(:hover, :focus-within) #TabsToolbar {
|
||||
opacity: 1;
|
||||
@supports not -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#navigator-toolbox:is(:hover, :focus-within) #TabsToolbar {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#navigator-toolbox:is(:hover, :focus-within) #TabsToolbar > *:not(.titlebar-buttonbox-container) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
|
|
@ -5856,8 +5874,15 @@
|
|||
background-color 1s var(--animation-easing-function) !important;
|
||||
}
|
||||
|
||||
#TabsToolbar:not([customizing]) {
|
||||
transition: opacity 0.25s var(--animation-easing-function) var(--uc-autohide-toolbar-delay) !important;
|
||||
@supports not -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#TabsToolbar:not([customizing]) {
|
||||
transition: opacity 0.25s var(--animation-easing-function) var(--uc-autohide-toolbar-delay) !important;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#TabsToolbar:not([customizing]) > *:not(.titlebar-buttonbox-container) {
|
||||
transition: opacity 0.25s var(--animation-easing-function) var(--uc-autohide-toolbar-delay) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#navigator-toolbox:is(:hover, :focus-within) {
|
||||
|
|
@ -5866,8 +5891,17 @@
|
|||
#navigator-toolbox:is(:hover, :focus-within) > #titlebar:not([customizing]) {
|
||||
transition-delay: 0s !important;
|
||||
}
|
||||
#navigator-toolbox:is(:hover, :focus-within) #TabsToolbar:not([customizing]) {
|
||||
transition-delay: 0s !important;
|
||||
@supports not -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#navigator-toolbox:is(:hover, :focus-within) #TabsToolbar:not([customizing]) {
|
||||
transition-delay: 0s !important;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tab.on_bottom") {
|
||||
#navigator-toolbox:is(:hover, :focus-within)
|
||||
#TabsToolbar:not([customizing])
|
||||
> *:not(.titlebar-buttonbox-container) {
|
||||
transition-delay: 0s !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,26 @@
|
|||
//-- Mixin ---------------------------------------------------------------------
|
||||
@mixin _autohide_tabbar() {
|
||||
@include NotOption("userChrome.tab.on_bottom") {
|
||||
@content;
|
||||
}
|
||||
@include Option("userChrome.tab.on_bottom") {
|
||||
> *:not(.titlebar-buttonbox-container) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
:root:not([customizing]) #titlebar {
|
||||
margin-bottom: var(--uc-tabbar-hide-height);
|
||||
will-change: margin-bottom;
|
||||
}
|
||||
#TabsToolbar:not([customizing]) {
|
||||
opacity: 0;
|
||||
will-change: opacity;
|
||||
@include _autohide_tabbar {
|
||||
opacity: 0;
|
||||
will-change: opacity;
|
||||
}
|
||||
}
|
||||
|
||||
#navigator-toolbox:is(:hover, :focus-within) {
|
||||
|
|
@ -12,7 +28,9 @@
|
|||
margin-bottom: 0px;
|
||||
}
|
||||
#TabsToolbar {
|
||||
opacity: 1;
|
||||
@include _autohide_tabbar {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -23,7 +41,9 @@
|
|||
}
|
||||
|
||||
#TabsToolbar:not([customizing]) {
|
||||
transition: opacity 0.25s var(--animation-easing-function) var(--uc-autohide-toolbar-delay) !important;
|
||||
@include _autohide_tabbar {
|
||||
transition: opacity 0.25s var(--animation-easing-function) var(--uc-autohide-toolbar-delay) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#navigator-toolbox:is(:hover, :focus-within) {
|
||||
|
|
@ -34,7 +54,9 @@
|
|||
}
|
||||
|
||||
#TabsToolbar:not([customizing]) {
|
||||
transition-delay: 0s !important;
|
||||
@include _autohide_tabbar {
|
||||
transition-delay: 0s !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ See the above repository for updates as well as full license text. */
|
|||
display: none;
|
||||
}
|
||||
|
||||
#TabsToolbar-customization-target > .toolbarbutton-1:last-child {
|
||||
padding-inline-end: var(--toolbar-start-end-padding, 8px);
|
||||
}
|
||||
|
||||
@include Option("userChrome.tab.on_bottom.above_bookmark") {
|
||||
#PersonalToolbar {
|
||||
order: 2; /* When userChrome.fullscreen.overlap */
|
||||
|
|
@ -60,7 +64,6 @@ See the above repository for updates as well as full license text. */
|
|||
|
||||
#navigator-toolbox{
|
||||
-moz-window-dragging: drag;
|
||||
padding-top: calc(var(--uc-menubar-height) + var(--uc-titlebar-padding)) !important;
|
||||
}
|
||||
:root[sizemode="fullscreen"] #navigator-toolbox {
|
||||
padding-top: 0px !important;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ See the above repository for updates as well as full license text. */
|
|||
}
|
||||
|
||||
#navigator-toolbox {
|
||||
padding-top: var(--uc-titlebar-padding) !important;
|
||||
padding-top: calc(var(--uc-menubar-height, 0px) + var(--uc-titlebar-padding)) !important;
|
||||
}
|
||||
|
||||
:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue