107 lines
1.9 KiB
CSS

.modalOverlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: var(--au-z-modal);
padding: var(--au-spacing-4);
animation: au-fadeIn var(--au-transition-base);
}
.modalContent {
background-color: var(--au-surface);
border-radius: var(--au-radius-lg);
box-shadow: var(--au-shadow-xl);
max-width: 500px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
animation: au-slideUp var(--au-transition-base);
}
.modalContent.sm {
max-width: 400px;
}
.modalContent.md {
max-width: 600px;
}
.modalContent.lg {
max-width: 800px;
}
.modalContent.xl {
max-width: 1000px;
}
.modalContent.fullScreen {
max-width: 100%;
max-height: 100%;
height: 100%;
border-radius: 0;
}
.modalHeader {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--au-spacing-6);
border-bottom: 1px solid var(--au-border-light);
}
.modalTitle {
font-size: var(--au-text-xl);
font-weight: var(--au-font-semibold);
color: var(--au-text-primary);
margin: 0;
}
.modalClose {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border: none;
background: transparent;
color: var(--au-text-secondary);
cursor: pointer;
border-radius: var(--au-radius-base);
transition: all var(--au-transition-fast);
}
.modalClose:hover {
background-color: var(--au-surface-hover);
color: var(--au-text-primary);
}
.modalClose:active {
background-color: var(--au-surface-active);
}
.modalBody {
padding: var(--au-spacing-6);
}
.modalFooter {
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--au-spacing-3);
padding: var(--au-spacing-6);
border-top: 1px solid var(--au-border-light);
background-color: var(--au-bg-tertiary);
}
/* No padding variants */
.noPadding {
padding: 0;
}