web/dialog: css for small dialog

- moved backdrop to each dialog
- dialog is now closable by clicking the backdrop
- added meowbalt to dialogs
- added more meowbalt assets & components
- added "main" boolean to indicate the main action button in a list of buttons
This commit is contained in:
wukko
2024-07-16 14:00:56 +06:00
parent 03bd995839
commit fa835d0010
10 changed files with 264 additions and 39 deletions

View File

@@ -18,11 +18,13 @@
let defaultErrorPopup = {
id: "save-error",
type: "small",
meowbalt: "error",
title: "",
bodySubText: "",
buttons: [{
text: $t("general.gotit"),
color: "gray",
main: true,
action: () => {},
}]
}