mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-13 20:45:56 +00:00
Create vertical_bookmarks_toolbar.css
This commit is contained in:
parent
fc967120bf
commit
e2fbcb5790
3 changed files with 44 additions and 5 deletions
37
chrome/vertical_bookmarks_toolbar.css
Normal file
37
chrome/vertical_bookmarks_toolbar.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/vertical_bookmarks_toolbar.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 appear vertically at the left side of the window
|
||||
|
||||
:root:not([inDOMFullscreen]){
|
||||
--uc-vertical-toolbar-width: 60px;
|
||||
}
|
||||
|
||||
#PersonalToolbar{
|
||||
position: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
left: 0;
|
||||
width: var(--uc-vertical-toolbar-width,0);
|
||||
|
||||
/* These create a empty area to the bottom of the toolbar, which is to mask a fact that we don't know exactly how high the toolbar should be */
|
||||
max-height: 100vh !important;
|
||||
padding-bottom: 120px !important;
|
||||
|
||||
}
|
||||
|
||||
#personal-bookmarks{ overflow-y: auto; scrollbar-width: none;}
|
||||
|
||||
#PersonalToolbar > #personal-bookmarks > #PlacesToolbar > hbox{ -moz-box-orient: vertical !important; }
|
||||
#PersonalToolbar #PlacesToolbarItems{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#PersonalToolbar #PlacesToolbarItems > .bookmark-item{ padding-block: 4px !important; }
|
||||
|
||||
body > #browser,
|
||||
body > #browser-bottombox,
|
||||
#customization-container{
|
||||
margin-left: var(--uc-vertical-toolbar-width,0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue