fix: performance issues & respect blur option
This commit is contained in:
parent
363092d537
commit
d6ebbf5721
4 changed files with 2 additions and 8 deletions
|
@ -139,7 +139,6 @@ onUnmounted(() => {
|
|||
overflow: clip;
|
||||
contain: content;
|
||||
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
&.naked {
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
|
@ -173,7 +172,6 @@ onUnmounted(() => {
|
|||
z-index: 2;
|
||||
line-height: 1.4em;
|
||||
background: color-mix(in srgb, var(--panelHeaderBg) 35%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
.title {
|
||||
|
|
|
@ -57,7 +57,6 @@ defineExpose({
|
|||
&.noGap {
|
||||
> .notes {
|
||||
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,7 +66,6 @@ defineExpose({
|
|||
|
||||
.note {
|
||||
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -367,7 +367,7 @@ onUnmounted(() => {
|
|||
background-size: cover;
|
||||
background-position: center;
|
||||
pointer-events: none;
|
||||
filter: blur(8px) opacity(0.6);
|
||||
filter: var(--blur, blur(10px)) opacity(0.6);
|
||||
// Funny CSS schenanigans to make background escape container
|
||||
left: -100%;
|
||||
top: -5%;
|
||||
|
@ -391,7 +391,6 @@ onUnmounted(() => {
|
|||
position: relative;
|
||||
overflow: clip;
|
||||
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
|
||||
> .banner-container {
|
||||
position: relative;
|
||||
|
@ -755,7 +754,7 @@ onUnmounted(() => {
|
|||
margin: calc(var(--margin) / 2) 0;
|
||||
padding: calc(var(--margin) / 2) 0;
|
||||
background: color-mix(in srgb, var(--bg) 65%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
backdrop-filter: var(--blur, blur(15px));
|
||||
border-radius: 5px;
|
||||
> button {
|
||||
border-radius: 5px;
|
||||
|
|
|
@ -268,7 +268,6 @@ hr {
|
|||
|
||||
._panel {
|
||||
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
||||
backdrop-filter: blur(16px);
|
||||
border-radius: var(--radius);
|
||||
overflow: clip;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue