mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-05 16:51:43 -08:00
Fix: Fullscreen - Separated bookmarkbar option #383
This commit is contained in:
parent
ca5814827a
commit
1a18247aaa
4 changed files with 17 additions and 29 deletions
|
|
@ -5210,12 +5210,6 @@
|
||||||
/* Makes the UI take up the entire width */
|
/* 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) {
|
@media (-moz-gtk-csd-available) {
|
||||||
/* Fix transparent backgorund */
|
/* Fix transparent backgorund */
|
||||||
:root[tabsintitlebar][sizemode="fullscreen"] #TabsToolbar:not(:-moz-lwtheme) {
|
: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 ***************************************************/
|
/** Library - Icons Replace ***************************************************/
|
||||||
@supports -moz-bool-pref("userChrome.icon.library") {
|
@supports -moz-bool-pref("userChrome.icon.library") {
|
||||||
/*= Standard Folder - More Visible ===========================================*/
|
/*= Standard Folder - More Visible ===========================================*/
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,9 @@
|
||||||
:root[sizemode="fullscreen"] #navigator-toolbox {
|
@include Option("userChrome.fullscreen.overlap") {
|
||||||
position: fixed !important; /* Needed for content to take up entire height */
|
@include Option("browser.fullscreen.autohide") {
|
||||||
z-index: 1000 !important; /* Puts the UI above the content */
|
@import "overlap";
|
||||||
}
|
|
||||||
|
|
||||||
: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.show_bookmarkbar") {
|
||||||
|
@import "show_bookmarkbar";
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -66,11 +66,7 @@
|
||||||
@import "panel/index";
|
@import "panel/index";
|
||||||
|
|
||||||
/** Fullscreen - Overlap toolbar **********************************************/
|
/** Fullscreen - Overlap toolbar **********************************************/
|
||||||
@include Option("userChrome.fullscreen.overlap") {
|
@import "fullscreen/index";
|
||||||
@include Option("browser.fullscreen.autohide") {
|
|
||||||
@import "fullscreen/index";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Library - Icons Replace ***************************************************/
|
/** Library - Icons Replace ***************************************************/
|
||||||
@include Option("userChrome.icon.library") {
|
@include Option("userChrome.icon.library") {
|
||||||
|
|
|
||||||
2
user.js
2
user.js
|
|
@ -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_separator", true);
|
||||||
// user_pref("userChrome.panel.full_width_padding", 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_image_to_right", true);
|
||||||
// user_pref("userChrome.icon.account_label_to_right", true);
|
// user_pref("userChrome.icon.account_label_to_right", true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue