summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-20 09:18:31 +0200
committerVolpeon <git@volpeon.ink>2024-06-20 09:18:31 +0200
commit9f60b04c706c5c05085512597db9c755a241dc40 (patch)
tree230972f599a468946f02d83ed31c5fddbfc52a43 /tpl
parentAdd light media theme (diff)
downloadiro-design-9f60b04c706c5c05085512597db9c755a241dc40.tar.gz
iro-design-9f60b04c706c5c05085512597db9c755a241dc40.tar.bz2
iro-design-9f60b04c706c5c05085512597db9c755a241dc40.zip
Update
Diffstat (limited to 'tpl')
-rw-r--r--tpl/objects/list-group.pug8
-rw-r--r--tpl/views/list-group.pug7
2 files changed, 14 insertions, 1 deletions
diff --git a/tpl/objects/list-group.pug b/tpl/objects/list-group.pug
index ad3c212..e9db236 100644
--- a/tpl/objects/list-group.pug
+++ b/tpl/objects/list-group.pug
@@ -1,5 +1,11 @@
1mixin list-group 1mixin list-group
2 .o-list-group 2 -
3 let classes = {
4 'o-list-group': true,
5 'o-list-group--horizontal': attributes.horizontal,
6 }
7
8 div(class=classes)
3 block 9 block
4 10
5mixin list-group-item 11mixin list-group-item
diff --git a/tpl/views/list-group.pug b/tpl/views/list-group.pug
index 9acef31..9c6b132 100644
--- a/tpl/views/list-group.pug
+++ b/tpl/views/list-group.pug
@@ -13,3 +13,10 @@ mixin view-list-group
13 +list-group-item(interactive=true)= 'Second item' 13 +list-group-item(interactive=true)= 'Second item'
14 +list-group-item(interactive=true)= 'Third item' 14 +list-group-item(interactive=true)= 'Third item'
15 +list-group-item(interactive=true)= 'Fourth item' 15 +list-group-item(interactive=true)= 'Fourth item'
16
17 .c-box
18 +list-group(horizontal=true)
19 +list-group-item(interactive=true)= 'First item'
20 +list-group-item(interactive=true)= 'Second item'
21 +list-group-item(interactive=true)= 'Third item'
22 +list-group-item(interactive=true)= 'Fourth item'