Merge branch 'dev' into pipeligibility

This commit is contained in:
mr. m
2025-04-07 02:02:26 -07:00
committed by GitHub
5 changed files with 17 additions and 11 deletions

View File

@@ -116,13 +116,7 @@
outline-offset: -1px;
/* times 4 because we have the inner padding and the outter padding to consider */
:root[zen-sidebar-expanded='true'] & {
&[has-animated-padding='true'] {
width: calc(var(--zen-sidebar-width) + var(--zen-toolbox-padding));
}
&:not([has-animated-padding='true']) {
width: calc(var(--zen-sidebar-width) - var(--zen-toolbox-padding));
}
width: calc(var(--zen-sidebar-width) - var(--zen-toolbox-padding));
}
:root[zen-single-toolbar='true'] {

View File

@@ -49,7 +49,12 @@
border-radius: var(--zen-native-inner-radius);
box-shadow: var(--zen-big-shadow);
overflow: hidden;
&[positionend=''] {
order: 6;
& ~ #sidebar-splitter {
order: 5;
}
}
:root:not([zen-right-side='true']) &[positionend='true'] {
margin-right: var(--zen-element-separation);
}

View File

@@ -167,6 +167,11 @@
}
}
@media (-moz-platform: linux) and -moz-pref('zen.widget.linux.transparency'){
background: transparent;
--zen-themed-toolbar-bg-transparent: transparent;
}
--toolbar-field-background-color: var(--zen-colors-input-bg) !important;
--arrowpanel-background: var(--zen-dialog-background) !important;

View File

@@ -193,9 +193,6 @@ var gZenCompactModeManager = {
const titlebar = this.sidebar.querySelector('#titlebar');
if (canAnimate) {
this.sidebar.setAttribute('animate', 'true');
titlebar.setAttribute('has-animated-padding', 'true');
} else {
titlebar.removeAttribute('has-animated-padding');
}
this.sidebar.style.removeProperty('margin-right');
this.sidebar.style.removeProperty('margin-left');