mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-02-04 06:20:37 -08:00
Clean: Code - style
This commit is contained in:
parent
54e25560a4
commit
e45321ccf2
4 changed files with 33 additions and 7 deletions
|
|
@ -3,7 +3,15 @@
|
|||
--uc-autohide-toolbar-delay: 600ms;
|
||||
}
|
||||
|
||||
@include Option("userChrome.autohide.tabbar", "userChrome.autohide.navbar", "userChrome.autohide.bookmarkbar", "userChrome.tabbar.one_liner", "userChrome.tabbar.on_bottom.menubar_on_top", "userChrome.hidden.tabbar", "userChrome.navbar.as_sidebar") {
|
||||
@include Option(
|
||||
"userChrome.autohide.tabbar",
|
||||
"userChrome.autohide.navbar",
|
||||
"userChrome.autohide.bookmarkbar",
|
||||
"userChrome.tabbar.one_liner",
|
||||
"userChrome.tabbar.on_bottom.menubar_on_top",
|
||||
"userChrome.hidden.tabbar",
|
||||
"userChrome.navbar.as_sidebar"
|
||||
) {
|
||||
:root {
|
||||
--uc-tabbar-height: var(--uc-tabbar-height-default);
|
||||
--uc-tabbar-height-default: var(--tab-min-height); // calc((var(--tab-block-margin) * 2) + var(--tab-min-height));
|
||||
|
|
@ -84,7 +92,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
@include Option("userChrome.autohide.tabbar", "userChrome.autohide.navbar", "userChrome.autohide.bookmarkbar", "userChrome.autohide.infobar") {
|
||||
@include Option(
|
||||
"userChrome.autohide.tabbar",
|
||||
"userChrome.autohide.navbar",
|
||||
"userChrome.autohide.bookmarkbar",
|
||||
"userChrome.autohide.infobar"
|
||||
) {
|
||||
#navigator-toolbox {
|
||||
position: relative;
|
||||
&:is(:hover, :focus-within) {
|
||||
|
|
|
|||
|
|
@ -123,12 +123,18 @@
|
|||
@include _combined_back_button_background;
|
||||
}
|
||||
}
|
||||
@include Option("userChrome.combined.urlbar.home_button", "userChrome.combined.nav_button.home_button") {
|
||||
@include Option(
|
||||
"userChrome.combined.urlbar.home_button",
|
||||
"userChrome.combined.nav_button.home_button"
|
||||
) {
|
||||
@include NotOption("userChrome.combined.nav_button.none_background") {
|
||||
@include _combined_back_button_background;
|
||||
}
|
||||
}
|
||||
@include Option("userChrome.combined.nav_button.home_button", "userChrome.combined.urlbar.home_button") {
|
||||
@include Option(
|
||||
"userChrome.combined.nav_button.home_button",
|
||||
"userChrome.combined.urlbar.home_button"
|
||||
) {
|
||||
z-index: 2;
|
||||
|
||||
margin-inline-end: calc(-1 * var(--uc-toolbarbutton-boundary) - 1px) !important;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
/*= Combined - At URL bar ====================================================*/
|
||||
@include Option(
|
||||
"userChrome.combined.nav_button", "userChrome.combined.nav_button.home_button",
|
||||
"userChrome.combined.urlbar.nav_button", "userChrome.combined.urlbar.home_button", "userChrome.combined.urlbar.reload_button"
|
||||
"userChrome.combined.nav_button",
|
||||
"userChrome.combined.nav_button.home_button",
|
||||
"userChrome.combined.urlbar.nav_button",
|
||||
"userChrome.combined.urlbar.home_button",
|
||||
"userChrome.combined.urlbar.reload_button"
|
||||
) {
|
||||
// Init
|
||||
#nav-bar {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
@include Option("userChrome.sidebar.overlap", "userChrome.autohide.sidebar", "userChrome.navbar.as_sidebar") {
|
||||
@include Option(
|
||||
"userChrome.sidebar.overlap",
|
||||
"userChrome.autohide.sidebar",
|
||||
"userChrome.navbar.as_sidebar"
|
||||
) {
|
||||
:root {
|
||||
/* Original
|
||||
min-width: 14em;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue