Global
Alert and toast
Messages for success, errors and tips, inline or as a temporary notification.
Examples
Alerts
Message sent
An agent will reply within one working day.Something went wrong
Check the highlighted fields and try again.Viewing times
Viewings are available Monday to Saturday.Price changed
The price of this property was reduced by 5%.Toasts
Saved to favoritesFind it later in your wishlist.
Could not sendPlease try again in a moment.
Add data-toast="#id" to a button. Toasts appear in the bottom corner and close after a few seconds.
Classes
| Class | Purpose |
|---|---|
.alert .alert-success -danger -info -warning | Inline messages. Add role="alert". |
.toast + .toast-success / -danger / -warning | Short notification in a .toast-container. |
data-toast | Opens a toast from a button (site.js). |