Dialog
A box laid over the page, built on the native <dialog>. Modal, the page behind is shaded by the browser’s own ::backdrop and cannot be reached; not modal, it stays usable.
| Class | Effect | Type |
|---|---|---|
.dialog | A box laid over the page, built on the native <dialog>. Modal, the page behind is shaded by the browser’s own ::backdrop and cannot be reached; not modal, it stays usable. | root |
.dialog-top.dialog-bottom | Sets placement, one class per value. | axis placement |
.dialog-xs.dialog-sm.dialog-md.dialog-lg.dialog-xl | Sets size, one class per value. | axis size |
.dialog-actions | The buttons, at the end of the box. A <form method="dialog">: a button closes the dialog with its value. | part |
.dialog-body | What the dialog says or asks. | part |
.dialog-box | The box itself. Everything around it is the overlay: a click there lands on the <dialog>. | part |
.dialog-close | The close button in the corner. | part |
.dialog-title | The heading. | part |