mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-20 08:42:09 +00:00
Add experimental window controls preference and improve compact mode sidebar handling
This commit is contained in:
@@ -2,7 +2,7 @@ height: var(--zen-toolbar-height);
|
||||
|
||||
@media (-moz-bool-pref: 'zen.view.hide-window-controls') {
|
||||
& {
|
||||
transition: height 0.2s ease, opacity 0.2s ease-out;
|
||||
transition: height 0.15s ease, opacity 0.1s ease-out;
|
||||
transition-delay: 0.2s;
|
||||
|
||||
& > * {
|
||||
@@ -21,6 +21,15 @@ height: var(--zen-toolbar-height);
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: 'zen.view.experimental-no-window-controls') {
|
||||
&:has(#PersonalToolbar[collapsed='true']) {
|
||||
max-height: 0 !important;
|
||||
overflow: hidden;
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:root[inDOMFullscreen='true'] & {
|
||||
|
Reference in New Issue
Block a user