This commit is contained in:
MrOtherGuy 2018-11-29 20:49:30 +02:00
parent 032076d505
commit 4593817205
2 changed files with 17 additions and 11 deletions

View file

@ -3,6 +3,13 @@
/* Override for other densities */ /* Override for other densities */
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; } :root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; }
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; } :root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
/* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@media screen and (max-width: 1000px){
#urlbar-container{ min-width:unset !important }
}
#TabsToolbar{ margin-left: var(--uc-navigationbar-width); } #TabsToolbar{ margin-left: var(--uc-navigationbar-width); }
#tabbrowser-tabs{ --tab-min-height: var(--uc-toolbar-height) !important; } #tabbrowser-tabs{ --tab-min-height: var(--uc-toolbar-height) !important; }
/* This isn't useful when tabs start in the middle of the window */ /* This isn't useful when tabs start in the middle of the window */
@ -15,10 +22,6 @@
} }
/* 1px margin on touch density causes tabs to be too high */ /* 1px margin on touch density causes tabs to be too high */
.tab-close-button{ margin-top: 0 } .tab-close-button{ margin-top: 0 }
/* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@media screen and (max-width: 1000px){
#urlbar-container{ min-width:unset !important }
}
/* Hide dropdown placeholder */ /* Hide dropdown placeholder */
#urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;} #urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;}

View file

@ -1,4 +1,4 @@
/* Modify these to change relative widths or default hegiht */ /* Modify these to change relative widths or default height */
#navigator-toolbox{ --uc-navigationbar-width: 50vw; --uc-toolbar-height: 40px; --window-drag-space-width: 20px} #navigator-toolbox{ --uc-navigationbar-width: 50vw; --uc-toolbar-height: 40px; --window-drag-space-width: 20px}
/* reserved space for overflow + menu buttons */ /* reserved space for overflow + menu buttons */
#navigator-toolbox{ --uc-buttons-width: calc(56px + 4 * var(--toolbarbutton-outer-padding) + var(--uc-menubutton-padding,6px))} #navigator-toolbox{ --uc-buttons-width: calc(56px + 4 * var(--toolbarbutton-outer-padding) + var(--uc-menubutton-padding,6px))}
@ -6,6 +6,13 @@
/* Override for other densities */ /* Override for other densities */
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; --uc-menubutton-padding: 0px} :root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px; --uc-menubutton-padding: 0px}
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; } :root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
/* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@media screen and (max-width: 1000px){
#urlbar-container{ min-width:unset !important }
}
#TabsToolbar{ margin-left: var(--uc-navigationbar-width); } #TabsToolbar{ margin-left: var(--uc-navigationbar-width); }
#tabbrowser-tabs{ --tab-min-height: var(--uc-toolbar-height) !important; } #tabbrowser-tabs{ --tab-min-height: var(--uc-toolbar-height) !important; }
/* This isn't useful when tabs start in the middle of the window */ /* This isn't useful when tabs start in the middle of the window */
@ -29,10 +36,6 @@
} }
/* 1px margin on touch density causes tabs to be too high */ /* 1px margin on touch density causes tabs to be too high */
.tab-close-button{ margin-top: 0 } .tab-close-button{ margin-top: 0 }
/* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@media screen and (max-width: 1000px){
#urlbar-container{ min-width:unset !important }
}
/* Hide dropdown placeholder */ /* Hide dropdown placeholder */
#urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;} #urlbar-container:not(:hover) .urlbar-history-dropmarker{margin-inline-start: -28px;}