modal.scss| Commit | Message |
|---|---|
ac75fabf3 | Github pages migrated to Asciidoc |
$modal-header-background: $modal-dialog-background !default; // Header = body = seamless $modal-footer-background: $modal-dialog-background !default; // Footer matches too $modal-header-border: $global-border !default; // Thin separator line $modal-close-full-padding: $global-margin !default; // Fullscreen close button spacing
Unified background design: Both header and footer backgrounds match the dialog body — the modal appears as one seamless card rather than distinct sections. This is appropriate for the ProjectForge site's minimal use of modals (cookie consent, lightbox). A visually distinct header/body/footer would be appropriate for complex modals with forms.
14 hooks — second most of any component after button — because close buttons have 5 positioning variants (default inside corner, outside dialog, fullscreen corner) + hover states for each. Fullscreen close button gets extra theming (background matching dialog for blend-in effect).