fix(core): update

This commit is contained in:
2023-11-29 17:20:32 +01:00
parent 6cfda1ebf3
commit d852186888
9 changed files with 1119 additions and 1293 deletions

View File

@ -66,14 +66,22 @@ export class DeesWindowLayer extends DeesElement {
pointer-events: none;
z-index: 200;
}
.slotContent {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.visible {
background: rgba(0, 0, 0, 0.2);
backdrop-filter: brightness(0.9) ${this.options.blur ? 'blur(2px)' : ''};
pointer-events: all;
}
</style>
<div @click=${this.dispatchClicked} class="windowOverlay ${this.visible ? 'visible' : null}">
<div class="windowOverlay ${this.visible ? 'visible' : null}">
</div>
<div @click=${this.dispatchClicked} class="slotContent">
<slot></slot>
</div>
`;