diff options
author | Volpeon <git@volpeon.ink> | 2022-02-11 17:34:57 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-11 17:34:57 +0100 |
commit | 67722515b4882458547bcbe8ac13e60ba3790a56 (patch) | |
tree | 08ffa0f345e1e0074bfbb01466c7d0b0da0edd0b /tpl/objects/dialog.pug | |
parent | Update (diff) | |
download | iro-design-67722515b4882458547bcbe8ac13e60ba3790a56.tar.gz iro-design-67722515b4882458547bcbe8ac13e60ba3790a56.tar.bz2 iro-design-67722515b4882458547bcbe8ac13e60ba3790a56.zip |
Added backdrop and dialog
Diffstat (limited to 'tpl/objects/dialog.pug')
-rw-r--r-- | tpl/objects/dialog.pug | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug new file mode 100644 index 0000000..2cbbd4f --- /dev/null +++ b/tpl/objects/dialog.pug | |||
@@ -0,0 +1,16 @@ | |||
1 | include rule.pug | ||
2 | include button.pug | ||
3 | include heading.pug | ||
4 | |||
5 | mixin dialog(title) | ||
6 | .o-dialog.t-raised | ||
7 | header.o-dialog__header | ||
8 | +div-heading('lg')(class='o-dialog__title') | ||
9 | = title | ||
10 | +rule('medium') | ||
11 | section.o-dialog__body | ||
12 | block | ||
13 | footer.o-dialog__footer | ||
14 | +a-button(outline=true)= 'Cancel' | ||
15 | = ' ' | ||
16 | +a-button(outline=true variant='primary')= 'Continue' | ||