diff --git a/chrome/bookmarks_below_content.css b/chrome/bookmarks_below_content.css new file mode 100644 index 0000000..2b1c3c7 --- /dev/null +++ b/chrome/bookmarks_below_content.css @@ -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%; + } +} \ No newline at end of file diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index 2e7dcd1..6066abb 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -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"] } diff --git a/tags.csv b/tags.csv index 620b808..1010437 100644 --- a/tags.csv +++ b/tags.csv @@ -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