2020-07-09 13:53:37 +00:00
|
|
|
/* 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. */
|
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
/* Makes bookmarks toolbar appear vertically at the left side of the window */
|
|
|
|
|
|
|
|
@-moz-document url(chrome://browser/content/browser.xhtml){
|
|
|
|
|
|
|
|
:root:not([inDOMFullscreen]){
|
|
|
|
--uc-vertical-toolbar-width: 60px;
|
|
|
|
}
|
2022-10-22 09:17:17 +00:00
|
|
|
#navigator-toolbox{ position: relative }
|
2020-08-08 13:24:59 +00:00
|
|
|
#PersonalToolbar{
|
2022-10-22 09:17:17 +00:00
|
|
|
position: absolute;
|
2020-08-08 13:24:59 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-10-22 09:17:17 +00:00
|
|
|
top: 100%;
|
2020-08-08 13:24:59 +00:00
|
|
|
left: 0;
|
|
|
|
width: var(--uc-vertical-toolbar-width,0);
|
2022-10-22 09:17:17 +00:00
|
|
|
min-width: unset !important;
|
2020-08-08 13:24:59 +00:00
|
|
|
/* 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 */
|
2021-01-03 13:43:46 +00:00
|
|
|
height: 100vh;
|
2020-08-08 13:24:59 +00:00
|
|
|
max-height: 100vh !important;
|
|
|
|
padding-bottom: 120px !important;
|
2023-04-12 14:23:31 +00:00
|
|
|
padding-inline: 2px !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
#PersonalToolbar .toolbarbutton-1{
|
|
|
|
--toolbarbutton-inner-padding: 10px !important;
|
2020-08-08 13:24:59 +00:00
|
|
|
}
|
2022-10-22 09:17:17 +00:00
|
|
|
#PersonalToolbar #PlacesChevron{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#PersonalToolbar > #personal-bookmarks{
|
|
|
|
overflow-y: auto;
|
|
|
|
scrollbar-width: none;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
2022-12-14 19:36:25 +00:00
|
|
|
|
|
|
|
#PlacesToolbar,
|
2023-03-22 05:03:15 +00:00
|
|
|
#PlacesToolbarDropIndicatorHolder{
|
|
|
|
-moz-box-orient: vertical !important; /* Can be removed with Firefox 112 */
|
2022-10-22 09:17:17 +00:00
|
|
|
}
|
2023-03-22 05:03:15 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
#PersonalToolbar #PlacesToolbarItems{
|
2023-04-12 14:23:31 +00:00
|
|
|
display: -webkit-box !important;
|
|
|
|
-webkit-box-orient: vertical;
|
2022-10-22 09:17:17 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
scrollbar-width: none;
|
2020-08-08 13:24:59 +00:00
|
|
|
}
|
2023-04-12 14:23:31 +00:00
|
|
|
#PersonalToolbar > toolbaritem{
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2022-10-04 05:54:38 +00:00
|
|
|
#PersonalToolbar #PlacesToolbarItems > toolbarseparator{
|
2022-10-04 05:45:42 +00:00
|
|
|
height: 7px;
|
|
|
|
background-color: currentColor;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-block: 3px solid transparent !important;
|
|
|
|
}
|
2023-04-12 14:23:31 +00:00
|
|
|
|
2022-10-22 09:17:17 +00:00
|
|
|
#PersonalToolbar #PlacesToolbarItems > .bookmark-item{
|
|
|
|
padding-block: 4px !important;
|
|
|
|
margin-inline: 0 !important;
|
|
|
|
}
|
2021-01-03 13:43:46 +00:00
|
|
|
|
2022-10-22 09:17:17 +00:00
|
|
|
#browser,
|
|
|
|
#browser-bottombox,
|
2022-12-30 14:57:10 +00:00
|
|
|
#main-window > body::after, /* This selector is for compatibility with tabs_below_content.css */
|
2022-10-22 09:17:17 +00:00
|
|
|
#customization-container{
|
2020-08-08 13:24:59 +00:00
|
|
|
margin-left: var(--uc-vertical-toolbar-width,0);
|
|
|
|
}
|
2022-10-22 09:17:17 +00:00
|
|
|
:root:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body > #browser,
|
|
|
|
:root:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body > #browser-bottombox,
|
2022-12-30 14:57:10 +00:00
|
|
|
#main-window:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body::after,
|
2022-10-22 09:17:17 +00:00
|
|
|
:root:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body > #customization-container{
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2023-03-22 05:03:15 +00:00
|
|
|
}
|