Replace browser popups with in-page dialogs; focus new-task prompt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user