contacts-pane
Version:
Contacts Pane: Contacts manager for Address Book, Groups, and Individuals.
50 lines (44 loc) • 1.24 kB
CSS
/* CSS for the accessible modal dialogs created by localUtils.js */
/* backdrop / focus trap container */
.focus-trap {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
background: var(--overlay-bg);
display: flex;
justify-content: center;
align-items: center;
}
/* inner dialog box */
.focus-trap .modal {
background: var(--color-background);
padding: var(--spacing-lg);
border-radius: var(--border-radius-base);
max-width: 90%;
box-shadow: var(--box-shadow-modal);
}
/* button container: center buttons horizontally (uses id in markup) */
#contacts-modal #modal-buttons {
margin-top: var(--spacing-md);
display: flex;
justify-content: center;
gap: var(--spacing-sm);
}
/* buttons themselves use the shared btn-primary rules */
#contacts-modal .modal button {
min-height: var(--min-touch-target);
padding: var(--spacing-sm) var(--spacing-md);
border: 1px solid var(--color-primary);
border-radius: var(--border-radius-base);
font-weight: var(--font-weight-bold, 600);
cursor: pointer;
transition: all var(--animation-duration) ease;
}
#contacts-modal .modal button:disabled {
opacity: var(--opacity-disabled);
cursor: not-allowed;
transform: none;
}