mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Add: Combined - normal forward
This commit is contained in:
parent
e231bc60a9
commit
b96890f737
3 changed files with 107 additions and 83 deletions
|
|
@ -3462,10 +3462,29 @@
|
|||
}
|
||||
}
|
||||
/*= Tool Bar - Button Padding ================================================*/
|
||||
@supports -moz-bool-pref("userChrome.padding.toolbar_button") or -moz-bool-pref("userChrome.tab.newtab_button_smaller") {
|
||||
:root {
|
||||
--uc-small-toolbarbutton-inner-padding: 6px;
|
||||
--uc-toolbarbutton-inner-padding-default: 8px;
|
||||
}
|
||||
:root[uidensity="compact"] {
|
||||
--uc-small-toolbarbutton-inner-padding: 4px;
|
||||
--uc-toolbarbutton-inner-padding-default: 6px;
|
||||
}
|
||||
:root[uidensity="touch"] #tabs-newtab-button > .toolbarbutton-icon {
|
||||
--uc-small-toolbarbutton-inner-padding: 9px;
|
||||
--uc-toolbarbutton-inner-padding-default: 9px;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.padding.toolbar_button") {
|
||||
:root[uidensity="compact"] {
|
||||
--toolbarbutton-outer-padding: 2px !important; /* Original: 3px, General is 2px */
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.padding.toolbar_button.compact") {
|
||||
:root {
|
||||
--toolbarbutton-inner-padding: var(--uc-small-toolbarbutton-inner-padding) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*= Nav Bar - Reduce Width ===================================================*/
|
||||
@supports -moz-bool-pref("userChrome.padding.navbar_width") {
|
||||
|
|
@ -8029,6 +8048,7 @@
|
|||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.combined.nav_button") or -moz-bool-pref("userChrome.combined.urlbar.nav_button") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.nav_button.normal_forward") {
|
||||
#nav-bar-customization-target > #forward-button {
|
||||
--uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);
|
||||
z-index: 2;
|
||||
|
|
@ -8116,6 +8136,7 @@
|
|||
margin-inline-start: var(--uc-forward-button-margin) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
#nav-bar-customization-target > #back-button {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
|
||||
#nav-bar-customization-target > {
|
||||
@include NotOption("userChrome.combined.nav_button.normal_forward") {
|
||||
#forward-button {
|
||||
--uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);
|
||||
|
||||
|
|
@ -111,6 +112,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#back-button {
|
||||
position: relative;
|
||||
|
|
|
|||
1
user.js
1
user.js
|
|
@ -112,6 +112,7 @@ user_pref("userChrome.rounding.square_tab", false);
|
|||
|
||||
// user_pref("userChrome.combined.nav_button", true);
|
||||
// user_pref("userChrome.combined.nav_button.home_button", true);
|
||||
// user_pref("userChrome.combined.nav_button.normal_foward", true);
|
||||
// user_pref("userChrome.combined.nav_button.none_forward_background", true);
|
||||
// user_pref("userChrome.combined.urlbar.nav_button", true);
|
||||
// user_pref("userChrome.combined.urlbar.home_button", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue