Implement 'call' button

This commit is contained in:
Ian Keane 2026-06-11 12:30:11 -04:00
parent 19cd65387d
commit 7706459daa
3 changed files with 204 additions and 1 deletions

View file

@ -489,6 +489,74 @@ fieldset.active .fs-body { display: contents; }
#bulk-edit-popover button:hover { background: rgba(255,255,255,.08); opacity: 1; }
#btn-bulk-edit { background: transparent; border: 1px solid var(--border); color: var(--muted); }
#btn-call { background: #1b4332; color: #74c69d; border: 1px solid #2d6a4f; font-weight: 600; }
/* ── Call modal ───────────────────────────────────────────── */
#call-modal {
position: fixed;
inset: 0;
width: 100%;
max-width: 100%;
height: 100%;
max-height: 100%;
border-radius: 0;
border: none;
margin: 0;
padding: 0;
overflow: hidden;
}
#call-modal[open] {
display: flex;
flex-direction: column;
}
#call-header {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 1.25rem;
border-bottom: 2px solid var(--border);
flex-shrink: 0;
}
#call-title { flex: 1; margin: 0; font-size: 1.5rem; }
#call-back,
#call-close {
background: transparent;
border: 1px solid var(--border);
color: var(--muted);
font-size: 1rem;
padding: .45rem .85rem;
}
#call-options {
flex: 1;
overflow-y: auto;
padding: 1rem 1.25rem;
}
.call-option-btn {
display: block;
width: 100%;
padding: 1.1rem 1.25rem;
font-size: 1.15rem;
text-align: left;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text);
margin-bottom: .5rem;
cursor: pointer;
}
.call-option-btn:hover,
.call-option-btn:active { background: rgba(255,255,255,.08); opacity: 1; }
.call-all-btn {
background: var(--accent2);
margin-bottom: .85rem;
font-weight: 600;
}
/* ── Bulk refs modal ──────────────────────────────────────── */
#bulk-refs-modal { max-width: 760px; }