From 511a47c8964c43927563ee88b62b3f215bf9b7d1 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 28 Mar 2022 20:25:21 +0200 Subject: Update --- tpl/views/dialog.pug | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'tpl/views/dialog.pug') diff --git a/tpl/views/dialog.pug b/tpl/views/dialog.pug index 0b6f8e7..f90ef21 100644 --- a/tpl/views/dialog.pug +++ b/tpl/views/dialog.pug @@ -2,7 +2,7 @@ mixin view-dialog +view('dialog', 'Dialog') .c-box +backdrop - +dialog('Lorem ipsum') + +dialog('Lorem ipsum')(flat=true) +slot('body') = loremIpsum @@ -18,9 +18,7 @@ mixin view-dialog .c-box +backdrop - +dialog('Tags') - +slot('sidebar-header') - +div-heading('sm')(class='o-dialog__label')= '#channel' + +dialog('Tags')(sidebarTitle='#channel') +slot('sidebar') +menu(style={ 'min-width': '10em' }) +menu-item(icon='bookmark')= 'Bookmark' @@ -44,12 +42,11 @@ mixin view-dialog +backdrop +dialog +slot('header') - .l-card.l-card--flush - .l-card__block.l-flex - +action-button(quiet=true icon='chevron-left') - +action-button(quiet=true icon='chevron-right') - .l-card__block.l-card__block--main - +div-heading('sm')= 'Tags' + .l-card__block.l-flex + +action-button(quiet=true icon='chevron-left') + +action-button(quiet=true icon='chevron-right') + .l-card__block.l-card__block--main + +div-heading('sm')= 'Tags' +slot('sidebar') +menu(style={ 'min-width': '10em' }) +menu-item(icon='bookmark')= 'Bookmark' -- cgit v1.2.3-70-g09d2