From a08dee14bcc07ee31175265cb586e857d44fb12e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 27 Mar 2022 18:52:27 +0200 Subject: Improved bubbles --- tpl/views/bubble.pug | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'tpl/views/bubble.pug') diff --git a/tpl/views/bubble.pug b/tpl/views/bubble.pug index 037398f..5e53f5b 100644 --- a/tpl/views/bubble.pug +++ b/tpl/views/bubble.pug @@ -1,7 +1,24 @@ mixin view-bubble +view('bubble', 'Bubble') .c-box - +bubble('12:34', 'Volpeon')= loremIpsum + +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('12:34', 'Volpeon')(scope='lock')= loremIpsum + +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 -- cgit v1.2.3-70-g09d2