diff options
author | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
commit | 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch) | |
tree | e3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/views/action-menu.pug | |
parent | Fixed vertical rule (diff) | |
download | iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2 iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip |
Split demo in :target views
Diffstat (limited to 'tpl/views/action-menu.pug')
-rw-r--r-- | tpl/views/action-menu.pug | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tpl/views/action-menu.pug b/tpl/views/action-menu.pug new file mode 100644 index 0000000..4f96934 --- /dev/null +++ b/tpl/views/action-menu.pug | |||
@@ -0,0 +1,19 @@ | |||
1 | mixin view-action-menu | ||
2 | +view('action-menu', 'Action menu') | ||
3 | .c-box | ||
4 | div(style={ display: 'flex', 'flex-direction': 'column', 'align-items': 'flex-start' }) | ||
5 | +action-button(quiet=true selected=true)= 'Menu' | ||
6 | +action-menu | ||
7 | +action-menu-slot(class='l-card l-card--flush') | ||
8 | +avatar(block=true circle=true size='100' src='avatar.png' class='l-card__block') | ||
9 | .l-card__block.l-card__block--main | ||
10 | strong.u-d-block= 'Volpeon' | ||
11 | small.u-d-block= '@volpeon@mk.vulpes.one' | ||
12 | +action-menu-separator | ||
13 | +action-menu-item(icon='user')= 'View profile' | ||
14 | +action-menu-item(icon='red' iconIsStatus=true)= 'Mark as away' | ||
15 | +action-menu-separator | ||
16 | +action-menu-item(icon='trash' disabled=true)= 'Delete' | ||
17 | +action-menu-item(icon='bookmark')= 'Bookmark' | ||
18 | +action-menu-item(icon='tags')= 'Tags' | ||
19 | +action-menu-item(postIcon='chevron-right')= 'More' | ||