Files
design-system/src/design-system/composites/AlertDialog/AlertDialog.module.css
hsiegeln a4e32cc02f feat: add AlertDialog composite
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 13:57:28 +01:00

67 lines
972 B
CSS

.content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 12px;
padding: 8px 0 4px;
font-family: var(--font-body);
}
/* Icon circle */
.iconCircle {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-bottom: 4px;
}
.danger {
background: var(--error-bg);
color: var(--error);
}
.warning {
background: var(--warning-bg);
color: var(--warning);
}
.info {
background: var(--running-bg);
color: var(--running);
}
.icon {
font-size: 18px;
line-height: 1;
}
/* Text */
.title {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
line-height: 1.3;
}
.description {
font-size: 14px;
color: var(--text-secondary);
margin: 0;
line-height: 1.5;
}
/* Button row */
.buttonRow {
display: flex;
gap: 8px;
justify-content: flex-end;
width: 100%;
margin-top: 8px;
}