mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-15 15:20:33 -08:00
Fix: Combined - API to sub_button
This commit is contained in:
parent
0f01c5d42d
commit
72c7521c89
3 changed files with 10 additions and 10 deletions
|
|
@ -8077,7 +8077,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") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.sub_button.as_normal") {
|
||||
#nav-bar-customization-target > #forward-button {
|
||||
--uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);
|
||||
z-index: 2;
|
||||
|
|
@ -8094,7 +8094,7 @@
|
|||
}
|
||||
}
|
||||
@supports not -moz-bool-pref("userChrome.combined.urlbar.nav_button") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.nav_button.none_background") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.sub_button.none_background") {
|
||||
@supports -moz-bool-pref("userChrome.combined.urlbar.home_button") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.nav_button.home_button") {
|
||||
#nav-bar-customization-target > #forward-button > .toolbarbutton-icon {
|
||||
|
|
@ -8203,11 +8203,11 @@
|
|||
#nav-bar-customization-target > #back-button {
|
||||
z-index: 2;
|
||||
}
|
||||
@supports not -moz-bool-pref("userChrome.combined.nav_button.normal") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.sub_button.as_normal") {
|
||||
#nav-bar-customization-target > #back-button {
|
||||
margin-inline-end: calc(-1 * var(--uc-toolbarbutton-boundary) - 1px) !important;
|
||||
}
|
||||
@supports not -moz-bool-pref("userChrome.combined.nav_button.none_background") {
|
||||
@supports not -moz-bool-pref("userChrome.combined.sub_button.none_background") {
|
||||
#nav-bar-customization-target > #back-button > .toolbarbutton-icon {
|
||||
background-color: var(--uc-combined-circlebutton-background);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
|
||||
#nav-bar-customization-target > {
|
||||
@include NotOption("userChrome.combined.nav_button.normal") {
|
||||
@include NotOption("userChrome.combined.sub_button.as_normal") {
|
||||
#forward-button {
|
||||
--uc-forward-button-margin: calc(-1 * var(--uc-toolbarbutton-boundary) + 1px);
|
||||
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
padding-inline-end: 0px !important; /* Original: var(--toolbarbutton-outer-padding) */
|
||||
}
|
||||
@include NotOption("userChrome.combined.urlbar.nav_button") {
|
||||
@include NotOption("userChrome.combined.nav_button.none_background") {
|
||||
@include NotOption("userChrome.combined.sub_button.none_background") {
|
||||
@include Option("userChrome.combined.urlbar.home_button") {
|
||||
@include NotOption("userChrome.combined.nav_button.home_button") {
|
||||
@include _combined_forward_button_background;
|
||||
|
|
@ -93,10 +93,10 @@
|
|||
) {
|
||||
z-index: 2;
|
||||
|
||||
@include NotOption("userChrome.combined.nav_button.normal") {
|
||||
@include NotOption("userChrome.combined.sub_button.as_normal") {
|
||||
margin-inline-end: calc(-1 * var(--uc-toolbarbutton-boundary) - 1px) !important;
|
||||
|
||||
@include NotOption("userChrome.combined.nav_button.none_background") {
|
||||
@include NotOption("userChrome.combined.sub_button.none_background") {
|
||||
@include _combined_back_button_background;
|
||||
}
|
||||
> .toolbarbutton-icon {
|
||||
|
|
|
|||
4
user.js
4
user.js
|
|
@ -112,11 +112,11 @@ 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", true);
|
||||
// user_pref("userChrome.combined.nav_button.none_background", true);
|
||||
// user_pref("userChrome.combined.urlbar.nav_button", true);
|
||||
// user_pref("userChrome.combined.urlbar.home_button", true);
|
||||
// user_pref("userChrome.combined.urlbar.reload_button", true);
|
||||
// user_pref("userChrome.combined.sub_button.none_background", true);
|
||||
// user_pref("userChrome.combined.sub_button.as_normal", true);
|
||||
|
||||
// user_pref("userChrome.rounding.square_button", true);
|
||||
// user_pref("userChrome.rounding.square_panel", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue