Replace browser popups with in-page dialogs; focus new-task prompt

This commit is contained in:
Ian Gulliver
2026-10-14 22:42:46 -07:00
parent 1dc09c77e0
commit 4ffdc1e517
32 changed files with 270 additions and 195 deletions
+33
View File
@@ -1198,6 +1198,39 @@ pre.diff .meta {
margin: 0;
}
.modal {
width: min(520px, 90vw);
padding: 16px;
color: var(--text);
background: var(--raised);
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: var(--shadow);
}
.modal::backdrop {
background: rgb(0 0 0 / 0.35);
}
.modal-text {
margin: 0 0 16px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
button.danger-primary {
background: var(--danger);
border-color: var(--danger);
color: var(--bg);
font-weight: 700;
}
.switcher-backdrop {
position: fixed;
inset: 0;