mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Auto Hide - Navbar scope
This commit is contained in:
parent
6a0b56c2ba
commit
2ea8702816
3 changed files with 51 additions and 51 deletions
|
|
@ -100,12 +100,12 @@
|
|||
}
|
||||
}
|
||||
@include expect {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@include example;
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@include example;
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (max-width: 1100px) {
|
||||
@include example;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6529,21 +6529,21 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports not -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: calc(var(--uc-tabbar-height) + var(--uc-navbar-height));
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports not -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: calc(var(--uc-tabbar-height) + var(--uc-navbar-height));
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: calc(var(--uc-tabbar-height) + var(--uc-navbar-height) + var(--uc-bm-height));
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: calc(var(--uc-tabbar-height) + var(--uc-navbar-height) + var(--uc-bm-height));
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (max-width: 1100px) {
|
||||
@supports not -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
|
|
@ -6570,21 +6570,21 @@
|
|||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") or -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports not -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: var(--uc-navbar-height);
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports not -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: var(--uc-navbar-height);
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: calc(var(--uc-navbar-height) + var(--uc-bm-height));
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
--uc-toolbar-height: calc(var(--uc-navbar-height) + var(--uc-bm-height));
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (max-width: 1100px) {
|
||||
@supports not -moz-bool-pref("userChrome.autohide.bookmarkbar") {
|
||||
#navigator-toolbox:hover {
|
||||
|
|
@ -6745,21 +6745,21 @@
|
|||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") or -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
#nav-bar:not([customizing]) {
|
||||
margin-bottom: var(--uc-navbar-hide-height);
|
||||
opacity: 0;
|
||||
will-change: margin-bottom, opacity;
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports not -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
#nav-bar:not([customizing]) {
|
||||
margin-bottom: var(--uc-navbar-hide-height);
|
||||
opacity: 0;
|
||||
will-change: margin-bottom, opacity;
|
||||
}
|
||||
|
||||
#navigator-toolbox:is(:hover, :focus-within) #nav-bar:not([customizing]) {
|
||||
margin-bottom: 0;
|
||||
opacity: 1;
|
||||
#navigator-toolbox:is(:hover, :focus-within) #nav-bar:not([customizing]) {
|
||||
margin-bottom: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@supports -moz-bool-pref("userChrome.autohide.navbar") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner") {
|
||||
@supports -moz-bool-pref("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (max-width: 1100px) {
|
||||
#nav-bar:not([customizing]) {
|
||||
margin-bottom: var(--uc-navbar-hide-height);
|
||||
|
|
|
|||
|
|
@ -47,12 +47,12 @@
|
|||
}
|
||||
|
||||
@mixin OneLinerNavbar() {
|
||||
@include NotOption("userChrome.tabbar.one_liner") {
|
||||
@content;
|
||||
}
|
||||
@include Option("userChrome.tabbar.one_liner") {
|
||||
@include Option("userChrome.tabbar.one_liner.responsive") {
|
||||
@include Option("userChrome.autohide.navbar") {
|
||||
@include Option("userChrome.autohide.navbar") {
|
||||
@include NotOption("userChrome.tabbar.one_liner") {
|
||||
@content;
|
||||
}
|
||||
@include Option("userChrome.tabbar.one_liner") {
|
||||
@include Option("userChrome.tabbar.one_liner.responsive") {
|
||||
@media screen and (max-width: 1100px) {
|
||||
@content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue