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 * as plugins from './00plugins.js';
import { zIndexLayers } from './00zindex.js';
import {
DeesElement,
@ -73,7 +74,7 @@ export class DeesAppuiProfileDropdown extends DeesElement {
'0 4px 12px rgba(0, 0, 0, 0.15)',
'0 4px 12px rgba(0, 0, 0, 0.3)'
)};
z-index: 1000;
z-index: ${zIndexLayers.overlay.dropdown};
opacity: 0;
transform: scale(0.95) translateY(-10px);
transition: opacity 0.2s, transform 0.2s;
@ -258,7 +259,7 @@ export class DeesAppuiProfileDropdown extends DeesElement {
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
z-index: ${zIndexLayers.backdrop.dropdown};
opacity: 0;
transition: opacity 0.2s;
display: none;