mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Add: Hidden - URLbar Iconbox Label
This commit is contained in:
parent
45901c6a73
commit
56b89e6541
3 changed files with 45 additions and 14 deletions
|
|
@ -9866,14 +9866,29 @@
|
|||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.hidden.urlbar_iconbox") {
|
||||
#identity-box[pageproxystate="valid"].notSecureText #identity-icon-label,
|
||||
#identity-box[pageproxystate="valid"].chromeUI #identity-icon-box,
|
||||
#identity-box[pageproxystate="valid"].extensionPage #identity-icon-box {
|
||||
display: none;
|
||||
@supports not -moz-bool-pref("userChrome.hidden.urlbar_iconbox.label_only") {
|
||||
#identity-box[pageproxystate="valid"].notSecureText #identity-icon-label,
|
||||
#identity-box[pageproxystate="valid"].chromeUI #identity-icon-box,
|
||||
#identity-box[pageproxystate="valid"].extensionPage #identity-icon-box {
|
||||
display: none;
|
||||
}
|
||||
#identity-box[pageproxystate="valid"].notSecureText #identity-icon-box {
|
||||
padding-inline-end: 5px;
|
||||
/* Original: 8px */
|
||||
}
|
||||
}
|
||||
#identity-box[pageproxystate="valid"].notSecureText #identity-icon-box {
|
||||
padding-inline-end: 5px;
|
||||
/* Original: 8px */
|
||||
@supports -moz-bool-pref("userChrome.hidden.urlbar_iconbox.label_only") {
|
||||
#identity-box[pageproxystate="valid"].chromeUI #identity-icon-box,
|
||||
#identity-box[pageproxystate="valid"].extensionPage #identity-icon-box {
|
||||
padding-inline: var(--urlbar-icon-padding) !important;
|
||||
}
|
||||
#identity-box[pageproxystate="valid"].chromeUI #identity-icon-box:not(:hover),
|
||||
#identity-box[pageproxystate="valid"].extensionPage #identity-icon-box:not(:hover) {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
#identity-box[pageproxystate="valid"] #identity-icon-label {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.hidden.bookmarkbar_icon") {
|
||||
|
|
|
|||
|
|
@ -47,14 +47,29 @@
|
|||
|
||||
@include Option("userChrome.hidden.urlbar_iconbox") {
|
||||
#identity-box[pageproxystate="valid"] {
|
||||
&.notSecureText #identity-icon-label,
|
||||
&.chromeUI #identity-icon-box,
|
||||
&.extensionPage #identity-icon-box {
|
||||
display: none;
|
||||
}
|
||||
@include NotOption("userChrome.hidden.urlbar_iconbox.label_only") {
|
||||
&.notSecureText #identity-icon-label,
|
||||
&.chromeUI #identity-icon-box,
|
||||
&.extensionPage #identity-icon-box {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.notSecureText #identity-icon-box {
|
||||
padding-inline-end: 5px; /* Original: 8px */
|
||||
&.notSecureText #identity-icon-box {
|
||||
padding-inline-end: 5px; /* Original: 8px */
|
||||
}
|
||||
}
|
||||
@include Option("userChrome.hidden.urlbar_iconbox.label_only") {
|
||||
&.chromeUI #identity-icon-box,
|
||||
&.extensionPage #identity-icon-box {
|
||||
padding-inline: var(--urlbar-icon-padding) !important;
|
||||
&:not(:hover) {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
#identity-icon-label {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1
user.js
1
user.js
|
|
@ -98,6 +98,7 @@ user_pref("userChrome.rounding.square_tab", false);
|
|||
// user_pref("userChrome.hidden.sidebar_header", true);
|
||||
// user_pref("userChrome.hidden.sidebar_header.vertical_tab_only", true);
|
||||
// user_pref("userChrome.hidden.urlbar_iconbox", true);
|
||||
// user_pref("userChrome.hidden.urlbar_iconbox.label_only", true);
|
||||
// user_pref("userChrome.hidden.bookmarkbar_icon", true);
|
||||
// user_pref("userChrome.hidden.bookmarkbar_label", true);
|
||||
// user_pref("userChrome.hidden.disabled_menu", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue