104 lines
1.8 KiB
CSS
104 lines
1.8 KiB
CSS
.overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.dialog {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
width: 420px;
|
|
max-width: 90vw;
|
|
}
|
|
|
|
.title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.message {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
background: var(--bg-base);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
padding: 10px 14px;
|
|
color: var(--text-primary);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
outline: none;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: var(--amber-dim);
|
|
box-shadow: 0 0 0 3px var(--amber-glow);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.btnCancel {
|
|
padding: 8px 20px;
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.btnCancel:hover {
|
|
border-color: var(--amber-dim);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btnDelete {
|
|
padding: 8px 20px;
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
border: 1px solid var(--rose-dim);
|
|
color: var(--rose);
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.btnDelete:hover:not(:disabled) {
|
|
background: var(--rose-glow);
|
|
}
|
|
|
|
.btnDelete:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|