Create bookmarks_below_content.css

This commit is contained in:
MrOtherGuy
2023-12-19 17:28:29 +02:00
parent 7fbc4aeeb6
commit 9830ab554b
3 changed files with 27 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/bookmarks_below_content.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Makes bookmarks toolbar show below web-content area. */
@-moz-document url("chrome://browser/content/browser.xhtml"){
:root:not([inDOMFullscreen],[sizemode="fullscreen"],[chromehidden="direrctories"]){
--uc-bm-toolbar-height: 28px; /* Adjust if needed */
}
#browser,
#customization-container{
margin-bottom: var(--uc-bm-toolbar-height,0);
border-bottom: 1px solid var(--chrome-content-separator-color,light-dark(rgb(204, 204, 204), hsl(240, 5%, 5%)))
}
#navigator-toolbox:has(> #PersonalToolbar[collapsed="true"]) + #browser{
margin-bottom: 0;
border-bottom: none;
}
#PersonalToolbar{
position: absolute;
bottom: 0;
width: 100%;
}
}
+2 -1
View File
@@ -165,5 +165,6 @@
"window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"],
"window_control_force_linux_system_style.css":["window-control","buttons","icon"],
"window_control_placeholder_support.css":["window-control","patch"],
"vertical_tabs.css":["tabs","hack"]
"vertical_tabs.css":["tabs","hack"],
"bookmarks_below_content.css":["bookmarks","toolbars"]
}
+1
View File
@@ -165,3 +165,4 @@ window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colo
window_control_force_linux_system_style.css,window-control,buttons,icon
window_control_placeholder_support.css,window-control,patch
vertical_tabs.css,tabs,hack
bookmarks_below_content.css,bookmarks,toolbars
1 auto_devtools_theme_for_rdm.css,devtools,colors
165 window_control_force_linux_system_style.css,window-control,buttons,icon
166 window_control_placeholder_support.css,window-control,patch
167 vertical_tabs.css,tabs,hack
168 bookmarks_below_content.css,bookmarks,toolbars