update z-index use

This commit is contained in:
Juergen Kunz
2025-06-26 15:46:44 +00:00
parent 1038759d8b
commit d1ea10d8c6
12 changed files with 172 additions and 12 deletions

View File

@ -1,4 +1,5 @@
import { customElement, DeesElement, domtools, type TemplateResult, html, property, type CSSResult, state, } from '@design.estate/dees-element';
import { zIndexLayers } from './00zindex.js';
declare global {
interface HTMLElementTagNameMap {
@ -62,7 +63,7 @@ export class DeesWindowLayer extends DeesElement {
background: rgba(0, 0, 0, 0.0);
backdrop-filter: brightness(1) ${this.options.blur ? 'blur(0px)' : ''};
pointer-events: none;
z-index: 200;
z-index: ${zIndexLayers.backdrop.dropdown};
}
.slotContent {
position: fixed;
@ -71,7 +72,7 @@ export class DeesWindowLayer extends DeesElement {
display: flex;
justify-content: center;
align-items: center;
z-index: 201;
z-index: ${zIndexLayers.overlay.dropdown};
}
.visible {