summaryrefslogtreecommitdiffstats
path: root/tpl/views/bubble.pug
blob: 0e65635a830bb03205deb3bd292b125d118f9fe6 (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
25
26
27
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.l-overflow(style='resize: vertical')
            +bubble('Volpeon')(avatar=true)
                +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
                    = loremIpsum
                    = loremIpsum