add basic support for -moz-platform media query

This commit is contained in:
MrOtherGuy 2022-02-12 09:20:20 +02:00
parent 1621ecc3f4
commit 71fe0e87c7
16 changed files with 77 additions and 41 deletions

View file

@ -18,7 +18,7 @@ See the above repository for updates as well as full license text. */
}
:root[tabsintitlebar="true"] #nav-bar{ padding-inline: calc(var(--uc-hide-window-control-space,1) * 96px + 20px) 0px !important; }
@media (-moz-os-version: windows-win10){
@media (-moz-platform: windows-win10),(-moz-os-version: windows-win10){
:root[tabsintitlebar="true"] #nav-bar{ padding-left: calc(var(--uc-hide-window-control-space,1) * 134px + 20px) !important; }
}
#toolbar-menubar[autohide="true"] + #TabsToolbar .titlebar-buttonbox{ -moz-box-direction: reverse }
@ -27,8 +27,12 @@ See the above repository for updates as well as full license text. */
#navigator-toolbox{ --tab-min-height: 40px }
:root[uidensity="compact"] #navigator-toolbox{ --tab-min-height: 32px }
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
:root[tabsintitlebar][sizemode="maximized"] > body > box{ margin-top: 8px }
@media (-moz-platform: windows),
(-moz-os-version: windows-win7),
(-moz-os-version: windows-win10){
:root[tabsintitlebar][sizemode="maximized"] > body > box{
margin-top: 8px;
}
}
#navigator-toolbox{