remove rules for #window-controls
This extra set of window control buttons hasn't existed in a while
This commit is contained in:
@@ -23,7 +23,7 @@ Window controls will be all wrong without it
|
||||
}
|
||||
#TabsToolbar{ visibility: collapse !important }
|
||||
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > :is(#window-controls,.titlebar-buttonbox-container){
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
|
||||
visibility: visible !important;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@ Window controls will be all wrong without it
|
||||
:root:not([uidensity="compact"]){ --uc-toolbar-height: 34px }
|
||||
|
||||
#TabsToolbar > *{ visibility: collapse !important }
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ visibility: visible !important; z-index: 2 }
|
||||
#TabsToolbar > .titlebar-buttonbox-container{
|
||||
visibility: visible !important;
|
||||
height:var(--uc-toolbar-height) !important;
|
||||
|
||||
@@ -75,5 +75,4 @@ 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"] #TabsToolbar > #window-controls{ z-index: 2; }
|
||||
.titlebar-buttonbox{ color: inherit }
|
||||
|
||||
@@ -42,12 +42,11 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
}
|
||||
|
||||
.titlebar-buttonbox, #window-controls{ color: var(--toolbar-color) }
|
||||
.titlebar-buttonbox{ color: var(--toolbar-color) }
|
||||
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none }
|
||||
:root[sizemode="fullscreen"] #navigator-toolbox { position: relative; }
|
||||
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child,
|
||||
:root[sizemode="fullscreen"] #window-controls{
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child{
|
||||
position: absolute;
|
||||
display: flex;
|
||||
top: 0;
|
||||
@@ -55,8 +54,7 @@ See the above repository for updates as well as full license text. */
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child,
|
||||
:root[uidensity="compact"][sizemode="fullscreen"] #window-controls{ height: 32px }
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child{ height: 32px }
|
||||
|
||||
#nav-bar{
|
||||
border-inline: var(--uc-window-drag-space-pre,0px) solid transparent;
|
||||
@@ -72,8 +70,7 @@ See the above repository for updates as well as full license text. */
|
||||
:root[tabsintitlebar="true"] #nav-bar{
|
||||
border-inline-width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) var(--uc-window-drag-space-pre,0px)
|
||||
}
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child,
|
||||
:root[sizemode="fullscreen"] #window-controls{ right: unset }
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child{ right: unset }
|
||||
}
|
||||
@media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"){
|
||||
.titlebar-buttonbox-container{
|
||||
|
||||
Reference in New Issue
Block a user