diff options
author | Volpeon <git@volpeon.ink> | 2023-10-30 17:01:45 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-10-30 17:01:45 +0100 |
commit | 36750a6a4a05a28980d46cf895faf50ef35fb5dc (patch) | |
tree | 97dcc344c944884cdb0304c0067da43f61d4cba4 /tpl/views | |
parent | Fixed badge line height (diff) | |
download | iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.tar.gz iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.tar.bz2 iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.zip |
Fix badge + action button combo
Diffstat (limited to 'tpl/views')
-rw-r--r-- | tpl/views/action-button.pug | 9 | ||||
-rw-r--r-- | tpl/views/badge.pug | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/tpl/views/action-button.pug b/tpl/views/action-button.pug index 7bffe72..faa53bc 100644 --- a/tpl/views/action-button.pug +++ b/tpl/views/action-button.pug | |||
@@ -53,3 +53,12 @@ mixin view-action-button | |||
53 | +action-button(quiet=true icon='trash' disabled=true) | 53 | +action-button(quiet=true icon='trash' disabled=true) |
54 | = ' ' | 54 | = ' ' |
55 | +action-button(quiet=true icon='trash' selected=true disabled=true) | 55 | +action-button(quiet=true icon='trash' selected=true disabled=true) |
56 | |||
57 | .c-box | ||
58 | +action-button= 'Idle' | ||
59 | = ' ' | ||
60 | +action-button(icon='trash') | ||
61 | = ' ' | ||
62 | +action-button | ||
63 | = 'Idle' | ||
64 | +badge('primary')= '12' | ||
diff --git a/tpl/views/badge.pug b/tpl/views/badge.pug index 4c44af2..d4ca4b0 100644 --- a/tpl/views/badge.pug +++ b/tpl/views/badge.pug | |||
@@ -9,13 +9,13 @@ mixin view-badge | |||
9 | = ' ' | 9 | = ' ' |
10 | +badge('accent-quiet')= 'new' | 10 | +badge('accent-quiet')= 'new' |
11 | = ' ' | 11 | = ' ' |
12 | +badge(size=200)= '100' | 12 | +badge(size=200 href='#')= '100' |
13 | = ' ' | 13 | = ' ' |
14 | +badge('primary')(size=200)= 'new' | 14 | +badge('primary')(size=200 href='#')= 'new' |
15 | = ' ' | 15 | = ' ' |
16 | +badge('accent')(size=200)= 'new' | 16 | +badge('accent')(size=200 href='#')= 'new' |
17 | = ' ' | 17 | = ' ' |
18 | +badge('accent-quiet')(size=200)= 'new' | 18 | +badge('accent-quiet')(size=200 href='#')= 'new' |
19 | 19 | ||
20 | .c-box | 20 | .c-box |
21 | +badge(pill=true)= '100' | 21 | +badge(pill=true)= '100' |