Show titlebar-buttonbox if it's last-child, and make it use --toolbar-color
Using --toolbar-color allow the icons to show up if the selected theme has light tabs but dark toolbar, and vice versa. In 95 there is no separate #window-controls for fullscreen, and thus the titlebar-buttonbox-container becomes last-child which we don't want to hide.
This commit is contained in:
parent
7801318d78
commit
b1125f81ff
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ See the above repository for updates as well as full license text. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* macOS settings are further below */
|
/* macOS settings are further below */
|
||||||
|
.titlebar-buttonbox, #window-controls{ color: var(--toolbar-color) }
|
||||||
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none !important }
|
:root[sizemode="fullscreen"] .titlebar-buttonbox-container:not(:last-child){ display: none !important }
|
||||||
:root[sizemode="fullscreen"] #navigator-toolbox { position: relative; }
|
:root[sizemode="fullscreen"] #navigator-toolbox { position: relative; }
|
||||||
:root[sizemode="fullscreen"] #window-controls{
|
:root[sizemode="fullscreen"] #window-controls{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue