mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
Add new file
This commit is contained in:
parent
4593817205
commit
28632ea2ac
1 changed files with 38 additions and 0 deletions
38
chrome/navbar_tabs_oneliner_tabs_on_left.css
Normal file
38
chrome/navbar_tabs_oneliner_tabs_on_left.css
Normal file
|
@ -0,0 +1,38 @@
|
|||
/* Modify these to change relative widths or default height */
|
||||
#navigator-toolbox{ --uc-navigationbar-width: 40vw; --uc-toolbar-height: 40px; --window-drag-space-width: 20px}
|
||||
/* Override for other densities */
|
||||
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px;}
|
||||
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
|
||||
|
||||
/* prevent urlbar overflow on narrow windows */
|
||||
/* Dependent on how many items are in navigation toolbar and tabs-/nav-bar ratio - ADJUST AS NEEDED */
|
||||
@media screen and (max-width: 1600px){
|
||||
#urlbar-container{ min-width:unset !important }
|
||||
}
|
||||
|
||||
#toolbar-menubar{ height:initial !important; }
|
||||
#toolbar-menubar[inactive] > #menubar-items{ opacity: 0; pointer-events: none; }
|
||||
#toolbar-menubar[inactive]{ margin-bottom: calc(0px - var(--uc-toolbar-height)) }
|
||||
|
||||
#TabsToolbar > .titlebar-buttonbox-container,
|
||||
#TabsToolbar > .toolbar-items > spacer,
|
||||
.titlebar-spacer[type="post-tabs"]{
|
||||
display: none;
|
||||
}
|
||||
#TabsToolbar{
|
||||
margin-right: var(--uc-navigationbar-width);
|
||||
}
|
||||
#toolbar-menubar > .titlebar-buttonbox-container,
|
||||
#tabbrowser-tabs,
|
||||
.tabbrowser-tab[pinned]{
|
||||
height: var(--uc-toolbar-height) !important;
|
||||
min-height: var(--uc-toolbar-height) !important;
|
||||
}
|
||||
#nav-bar{
|
||||
margin-left: calc(100vw - var(--uc-navigationbar-width));
|
||||
margin-top: calc(0px - var(--uc-toolbar-height));
|
||||
padding-right: calc(3 * 46px + var(--window-drag-space-width));
|
||||
}
|
||||
|
||||
/* Hide dropdown placeholder */
|
||||
#urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;}
|
Loading…
Reference in a new issue