summaryrefslogtreecommitdiffstats
path: root/tpl/objects/dialog.pug
blob: 0ee52dfa91d700b89bb6377cae47992e50b19a0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include rule.pug
include button.pug
include heading.pug
include action-button.pug

mixin dialog(title)
    .o-dialog.t-raised
        header.o-dialog__header
            +div-heading('lg')(class='o-dialog__title')
                = title
        +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn')
        +rule('medium')(class='o-dialog__rule')
        section.o-dialog__body
            block
        footer.o-dialog__footer.l-button-group
            +a-button(outline=true)= 'Cancel'
            = ' '
            +a-button(outline=true variant='primary')= 'Continue'