Fix: Fullscreen - Separated bookmarkbar option #383

This commit is contained in:
alstjr7375 2022-05-08 23:38:49 +09:00
parent ca5814827a
commit 1a18247aaa
4 changed files with 17 additions and 29 deletions

View file

@ -5210,12 +5210,6 @@
/* Makes the UI take up the entire width */
}
:root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]),
:root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] {
visibility: unset !important;
/* Makes the bookmarks toolbar visible if enabled */
}
@media (-moz-gtk-csd-available) {
/* Fix transparent backgorund */
:root[tabsintitlebar][sizemode="fullscreen"] #TabsToolbar:not(:-moz-lwtheme) {
@ -5224,6 +5218,13 @@
}
}
}
@supports -moz-bool-pref("userChrome.fullscreen.show_bookmarkbar") {
:root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]),
:root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] {
visibility: unset !important;
/* Makes the bookmarks toolbar visible if enabled */
}
}
/** Library - Icons Replace ***************************************************/
@supports -moz-bool-pref("userChrome.icon.library") {
/*= Standard Folder - More Visible ===========================================*/

View file

@ -1,20 +1,9 @@
:root[sizemode="fullscreen"] #navigator-toolbox {
position: fixed !important; /* Needed for content to take up entire height */
z-index: 1000 !important; /* Puts the UI above the content */
}
:root[sizemode="fullscreen"] :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) {
width: 100%; /* Makes the UI take up the entire width */
}
:root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]),
:root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] {
visibility: unset !important; /* Makes the bookmarks toolbar visible if enabled */
}
@include OS($linux) {
/* Fix transparent backgorund */
:root[tabsintitlebar][sizemode="fullscreen"] #TabsToolbar:not(:-moz-lwtheme) {
appearance: auto !important;
@include Option("userChrome.fullscreen.overlap") {
@include Option("browser.fullscreen.autohide") {
@import "overlap";
}
}
@include Option("userChrome.fullscreen.show_bookmarkbar") {
@import "show_bookmarkbar";
}

View file

@ -66,11 +66,7 @@
@import "panel/index";
/** Fullscreen - Overlap toolbar **********************************************/
@include Option("userChrome.fullscreen.overlap") {
@include Option("browser.fullscreen.autohide") {
@import "fullscreen/index";
}
}
@import "fullscreen/index";
/** Library - Icons Replace ***************************************************/
@include Option("userChrome.icon.library") {

View file

@ -105,6 +105,8 @@ user_pref("userChrome.tab.bottom_rounded_corner", true);
// user_pref("userChrome.panel.full_width_separator", true);
// user_pref("userChrome.panel.full_width_padding", true);
// user_pref("userChrome.fullscreen.show_bookmarkbar", true); // Sideeffect show #383
// user_pref("userChrome.icon.account_image_to_right", true);
// user_pref("userChrome.icon.account_label_to_right", true);