/** Datei: themes/default/assets/scss/wrapper/_dialog.scss **/ // ===================================== // Dialog-Styles // ===================================== .dialog { width: 90%; max-width: 600px; background-color: var(--color-background, #fff); border: none; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); z-index: 1000; transition: opacity 300ms ease, transform 0.3s ease; opacity: 0; overflow: hidden; padding: 0; max-height: calc( 100vh - 6rem ); &::backdrop { } &.is- { &open { transform: scale(1); opacity: 1; } &closing { transform: scale(0.95); opacity: 0; } } &-- { &sm { max-width: 400px; } &md { max-width: 600px; // Standard } &lg { max-width: 800px; } &xl { max-width: 1200px; } &full { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; } &max { margin-top: 3rem; height: 100%; .scroll__viewport { height : 100vh; } } &equal { .scroll__viewport { height : var( --height ); } } &top { margin-top: 3rem; } } &__{ &wrapper { // max-height: 50vh; } &close { position: absolute; top: 0rem; right: 0rem; background: transparent; border: none; font-size: 1.25rem; cursor: pointer; color: var(--color-text, #666); transition: color 0.2s ease; outline: 0; padding: 0; line-height: 1em; &:hover { color: var(--color-danger, #d00); } } &header { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 0 1rem 0; border-bottom: 1px solid #eee; background: var(--color-background, #fff); position: sticky; top: 0; z-index: 2; } &content { flex-grow: 1; overflow-y: auto; padding: 0 1.5rem; margin: 0 -1.5rem; &:has(.tabs__content) { overflow: visible; padding: 0; margin: 0; .tabs__content { max-height: calc( 100vh - 6rem - var( --maxHeight ) - 1.5rem + 10px ); overflow-y: auto; border: 0; margin-inline: -1.5rem; padding-inline: 1.5rem; padding-bottom: 1.5rem; padding-block: 5px; margin-blok: -5px; } } } &backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity 300ms ease-in-out; z-index: 999; } } } /** Datei: themes/default/assets/scss/wrapper/notification.scss **/ .notification { display: flex; align-items: center; gap: $gap-default; padding: $gap-default; border-radius: $border-radius; background-color: getCoreColor( gray, 0.95); color: getThemeColor( text ); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); position: relative; min-width: 280px; max-width: 350px; opacity: 1; transform: translateY(0); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: auto; background-color: var( --color-background ); border-color: var( --color-border ); color: var( --color-text ); &.is-closing { opacity: 0; transform: translateY(-20px); } &__ { &wrapper { position: fixed; top: $gap-default; right: $gap-default; display: flex; flex-direction: column; gap: $gap-small; z-index: 1050; pointer-events: none; } &icon { display: flex; align-items: center; font-family: $icon-font-family; font-size: 1.4rem; opacity: 0.8; } &message { flex: 1; font-size: 0.95rem; line-height: 1.4; } &close { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; padding: 0; color: inherit; opacity: 0.7; transition: all 0.3s ease-in-out; &:hover { opacity: 1; } } } @each $name, $color in $theme-colors { &--#{$name} { background-color: getThemeColor($name, 0.9); color: #{getContrastColor( #{$color}, getCoreColor(black), getCoreColor(white) )}; border-left: 4px solid getThemeColor($name); .notification__close { color: inherit; &:hover { color: getThemeColor( $name, 1, -10 ); } } } } }