Add: Hidden - Bookmarkbar Label

This commit is contained in:
alstjr7375 2022-08-19 13:20:40 +09:00
parent 0e11b2858e
commit 76e37ffeaf
3 changed files with 18 additions and 3 deletions

View file

@ -7441,6 +7441,13 @@
display: none;
}
}
@supports -moz-bool-pref("userChrome.hidden.bookmarkbar_label") {
#PlacesToolbarItems .bookmark-item > .toolbarbutton-text {
visibility: collapse;
/* display: none is not work */
}
}
@supports -moz-bool-pref("userChrome.hidden.selected_tab") {
.tabbrowser-tab[selected="true"] {
-moz-box-flex: 0 !important;

View file

@ -50,9 +50,16 @@
}
}
@include Option("userChrome.hidden.bookmarkbar_icon") {
#PlacesToolbarItems .bookmark-item > .toolbarbutton-icon {
display: none;
#PlacesToolbarItems .bookmark-item {
@include Option("userChrome.hidden.bookmarkbar_icon") {
> .toolbarbutton-icon {
display: none;
}
}
@include Option("userChrome.hidden.bookmarkbar_label") {
> .toolbarbutton-text {
visibility: collapse; /* display: none is not work */
}
}
}

View file

@ -93,6 +93,7 @@ user_pref("userChrome.rounding.square_tab", false);
// user_pref("userChrome.hidden.sidebar_header.vertical_tab_only", true);
// user_pref("userChrome.hidden.urlbar_iconbox", true);
// user_pref("userChrome.hidden.bookmarkbar_icon", true);
// user_pref("userChrome.hidden.bookmarkbar_label", true);
// user_pref("userChrome.hidden.tab_icon", true);
// user_pref("userChrome.hidden.selected_tab", true);
// user_pref("userChrome.hidden.disabled_menu", true);