summaryrefslogtreecommitdiffstats
path: root/tpl/views/bubble.pug
blob: 84d0912dd3d827bcb3327027f033241f019e7c93 (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
28
29
30
31
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
            +bubble('Volpeon')(compact=true, highlight=true)
                +slot('body')= loremIpsum

        .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-media.l-media--flush
                        .l-media__block.l-media__block--main
                            strong= 'Volpeon'
                            small.u-ml-100= '@volpeon@mk.vulpes.one'
                        small.l-media__block
                            = '5 minutes ago'
                            +icon('lock')(class='u-ml-100')
                +slot('body')
                    = loremIpsum
                    = loremIpsum
                    = loremIpsum