Combine window placeholder support sheets

This commit is contained in:
MrOtherGuy
2019-02-09 12:45:52 +02:00
parent 5e46b7a0a3
commit 8b4d97c09f
10 changed files with 32 additions and 57 deletions

View File

@@ -2,13 +2,8 @@
/* IMPORTANT */
/*
Get EITHER
window_control_placeholder_support.css
OR
window_control_placeholder_support_mac.css
Get window_control_placeholder_support.css
Window controls will be all wrong without it
*/
/* Modify these to change relative widths or default height */
@@ -17,7 +12,7 @@ Window controls will be all wrong without it
--uc-toolbar-height: 40px;
}
/* Override for other densities */
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 31px;}
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px;}
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
/* prevent urlbar overflow on narrow windows */
@@ -27,7 +22,7 @@ Window controls will be all wrong without it
}
#toolbar-menubar{ height: initial !important; }
#toolbar-menubar[inactive] > #menubar-items{ opacity: 0; pointer-events: none; }
#toolbar-menubar[inactive] > :not(.titlebar-buttonbox-container){ opacity: 0; pointer-events: none; }
#toolbar-menubar[inactive]{ margin-bottom: calc(0px - var(--uc-toolbar-height)) }
#TabsToolbar > .titlebar-buttonbox-container,