(feat) Add workspace indicator preference and update styles for improved UI

This commit is contained in:
mr. M
2024-11-08 18:13:05 +01:00
parent b6cb37db43
commit aa5a768ef0
5 changed files with 11 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -4,8 +4,7 @@
border-radius: var(--zen-webview-border-radius, var(--zen-border-radius));
position: relative;
box-shadow: 0 0 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
border: 1px solid light-dark(transparent, rgba(255,255,255,.08));
box-shadow: 0 0 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
& .browserContainer {
overflow: hidden;

View File

@@ -1,7 +1,7 @@
panel[type='arrow'][animate][animate='open'] {
panel[type='arrow'][animate][animate='open']::part(content) {
animation: zen-jello-animation 0.3s ease-in-out;
}
panel[type='arrow'][animate]:not([animate='open']) {
panel[type='arrow'][animate]:not([animate='open'])::part(content) {
animation: zen-jello-out-animation 0.3s ease-in-out;
}

View File

@@ -100,7 +100,7 @@
border-bottom: 0px solid transparent !important;
--tab-block-margin: 2px;
--tab-selected-bgcolor: light-dark(rgba(255,255,255,.7), color-mix(in srgb, var(--zen-colors-secondary) 30%, rgba(255,255,255,.2) 70%));
--tab-selected-bgcolor: light-dark(rgba(255,255,255,.7), rgba(255,255,255,.25));
grid-gap: 0 !important;
&[overflow]::after,

View File

@@ -436,3 +436,9 @@
margin-left: 23px;
}
}
@media not (-moz-bool-pref: 'zen.workspaces.show-workspace-indicator') {
#zen-current-workspace-indicator {
display: none;
}
}