Make windows specific extra top margin only apply with [tabsintitlebar]

This commit is contained in:
MrOtherGuy
2022-01-02 09:37:20 +02:00
parent 8850c63fc9
commit 1fe5d315c0
8 changed files with 18 additions and 13 deletions

View File

@@ -12,10 +12,12 @@ See the above repository for updates as well as full license text. */
#titlebar{ -moz-appearance: none !important; }
@media (-moz-os-version: windows-win10){
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
/* Next two variables are used by autohide_menubar.css */
#toolbar-menubar{ --uc-menubar-extra-margin: 0px }
:root[sizemode="maximized"] #toolbar-menubar{ --uc-menubar-extra-margin: 8px }
:root[tabsintitlebar][sizemode="maximized"] #toolbar-menubar{
--uc-menubar-extra-margin: 8px
}
:root[sizemode="maximized"][tabsintitlebar] :where(#browser,#customization-container,#toolbar-menubar){ margin-top: 8px }
}