summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-25 18:29:21 +0100
committerVolpeon <git@volpeon.ink>2022-03-25 18:29:21 +0100
commit5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch)
treee3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/objects
parentFixed vertical rule (diff)
downloadiro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz
iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2
iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip
Split demo in :target views
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/dialog.pug2
-rw-r--r--tpl/objects/menu.pug2
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug
index 12726a3..2823e41 100644
--- a/tpl/objects/dialog.pug
+++ b/tpl/objects/dialog.pug
@@ -30,7 +30,7 @@ mixin dialog(title)
30 .o-dialog__sidebar 30 .o-dialog__sidebar
31 - slots.sidebar() 31 - slots.sidebar()
32 header.o-dialog__header 32 header.o-dialog__header
33 +div-heading('lg')(class='o-dialog__title') 33 +div-heading('md')(class='o-dialog__title')
34 = title 34 = title
35 +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn') 35 +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn')
36 section(class=bodyClass) 36 section(class=bodyClass)
diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug
index 84321d7..c6e8223 100644
--- a/tpl/objects/menu.pug
+++ b/tpl/objects/menu.pug
@@ -18,7 +18,7 @@ mixin menu-item
18 'is-selected': attributes.selected, 18 'is-selected': attributes.selected,
19 } 19 }
20 20
21 button(class=classes, disabled=attributes.disabled) 21 #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes)
22 .l-card.l-card--flush.l-card--75 22 .l-card.l-card--flush.l-card--75
23 if attributes.icon 23 if attributes.icon
24 .l-card__block.o-menu__icon-slot 24 .l-card__block.o-menu__icon-slot