summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-12 09:53:20 +0100
committerVolpeon <git@volpeon.ink>2022-03-12 09:53:20 +0100
commit8c4acea85943a34e62299f419e93a8f3ce142bb9 (patch)
treef9df57f1116986f5e55382a21aa45b777d719dbd /tpl/objects
parentAdded fixed sizes to badge (diff)
downloadiro-design-8c4acea85943a34e62299f419e93a8f3ce142bb9.tar.gz
iro-design-8c4acea85943a34e62299f419e93a8f3ce142bb9.tar.bz2
iro-design-8c4acea85943a34e62299f419e93a8f3ce142bb9.zip
Added list group
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/list-group.pug13
-rw-r--r--tpl/objects/text-field.pug3
2 files changed, 14 insertions, 2 deletions
diff --git a/tpl/objects/list-group.pug b/tpl/objects/list-group.pug
new file mode 100644
index 0000000..36be264
--- /dev/null
+++ b/tpl/objects/list-group.pug
@@ -0,0 +1,13 @@
1mixin list-group
2 .o-list-group
3 block
4
5mixin list-group-item
6 -
7 let classes = {
8 'o-list-group__item': true,
9 'o-list-group__item--action': attributes.action,
10 }
11
12 div(class=classes)
13 block
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug
index 2e9827b..cbdb8c4 100644
--- a/tpl/objects/text-field.pug
+++ b/tpl/objects/text-field.pug
@@ -16,8 +16,7 @@ mixin text-field
16 'is-disabled': attributes.disabled, 16 'is-disabled': attributes.disabled,
17 'l-card': !!block, 17 'l-card': !!block,
18 'l-card--flush': !!block, 18 'l-card--flush': !!block,
19 'l-card--gapless': !!block, 19 'l-card--gapless': !!block
20 'u-p-xs': !!block
21 } 20 }
22 21
23 div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) 22 div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled))