summaryrefslogtreecommitdiffstats
path: root/tpl/views/bubble.pug
blob: 5e53f5b3787e764208c88fa86bd6ae083da2c7f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
mixin view-bubble
    +view('bubble', 'Bubble')
        .c-box
            +bubble('Volpeon')(compact=true)
                +slot('body')= loremIpsum
                +slot('time')
                    = '12:34'
                    +icon('lock')(class='u-ml-100')

        .c-box.u-themed.t-hi
            +bubble()(compact=true theme='t-def')
                +slot('body')= loremIpsum

        .c-box
            +bubble()
                +slot('header')
                    .l-card.l-card--flush
                        .l-card__block.l-card__block--main
                            strong= 'Volpeon'
                            small.u-ml-100= '@volpeon@mk.vulpes.one'
                        small.l-card__block
                            = '5 minutes ago'
                            +icon('lock')(class='u-ml-100')
                +slot('body')= loremIpsum