window control button visibility changes

This commit is contained in:
MrOtherGuy 2021-10-16 08:51:07 +03:00
parent f973f447a1
commit 81a385bd63
3 changed files with 9 additions and 7 deletions

View file

@ -15,7 +15,11 @@ Window controls will be all wrong without it
:root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
#TabsToolbar{ visibility: collapse !important }
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ visibility: visible !important; z-index: 2 }
:root[sizemode="fullscreen"] #TabsToolbar > :is(#window-controls,.titlebar-buttonbox-container){
visibility: visible !important;
z-index: 2;
}
:root:not([inFullscreen]) #nav-bar{
margin-top: calc(0px - var(--uc-toolbar-height));

View file

@ -70,8 +70,5 @@ Window controls will be all wrong without it
:root:not([customizing]) #toolbar-menubar[autohide][inactive] > #menubar-items{ pointer-events: none; opacity: 0 }
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none !important; }
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{
z-index: 2;
top: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px));
}
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ z-index: 2; }
.titlebar-buttonbox{ color: inherit }

View file

@ -64,3 +64,4 @@ linux_gtk_window_control_patch.css
#TabsToolbar .titlebar-spacer{
display: none !important;
}
#navigator-toolbox[inFullscreen]:hover #toolbar-menubar > .titlebar-buttonbox-container{ display: flex !important; }