window control button visibility changes
This commit is contained in:
parent
f973f447a1
commit
81a385bd63
3 changed files with 9 additions and 7 deletions
|
@ -15,7 +15,11 @@ Window controls will be all wrong without it
|
||||||
:root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
|
:root:not([uidensity="compact"]){--uc-toolbar-height: 38px}
|
||||||
|
|
||||||
#TabsToolbar{ visibility: collapse !important }
|
#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{
|
:root:not([inFullscreen]) #nav-bar{
|
||||||
margin-top: calc(0px - var(--uc-toolbar-height));
|
margin-top: calc(0px - var(--uc-toolbar-height));
|
||||||
|
|
|
@ -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: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; }
|
||||||
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{
|
.titlebar-buttonbox{ color: inherit }
|
||||||
z-index: 2;
|
|
||||||
top: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px));
|
|
||||||
}
|
|
|
@ -63,4 +63,5 @@ linux_gtk_window_control_patch.css
|
||||||
#window-controls, /* Fullscreen window controls */
|
#window-controls, /* Fullscreen window controls */
|
||||||
#TabsToolbar .titlebar-spacer{
|
#TabsToolbar .titlebar-spacer{
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
#navigator-toolbox[inFullscreen]:hover #toolbar-menubar > .titlebar-buttonbox-container{ display: flex !important; }
|
Loading…
Reference in a new issue