mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-08 10:56:36 +00:00
(feat) Add workspace indicator preference and update styles for improved UI
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -4,8 +4,7 @@
|
|||||||
border-radius: var(--zen-webview-border-radius, var(--zen-border-radius));
|
border-radius: var(--zen-webview-border-radius, var(--zen-border-radius));
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
box-shadow: 0 0 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
|
box-shadow: 0 0 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
|
||||||
border: 1px solid light-dark(transparent, rgba(255,255,255,.08));
|
|
||||||
|
|
||||||
& .browserContainer {
|
& .browserContainer {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@@ -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;
|
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;
|
animation: zen-jello-out-animation 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
@@ -100,7 +100,7 @@
|
|||||||
border-bottom: 0px solid transparent !important;
|
border-bottom: 0px solid transparent !important;
|
||||||
|
|
||||||
--tab-block-margin: 2px;
|
--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;
|
grid-gap: 0 !important;
|
||||||
|
|
||||||
&[overflow]::after,
|
&[overflow]::after,
|
||||||
|
@@ -436,3 +436,9 @@
|
|||||||
margin-left: 23px;
|
margin-left: 23px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media not (-moz-bool-pref: 'zen.workspaces.show-workspace-indicator') {
|
||||||
|
#zen-current-workspace-indicator {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user