diff options
Diffstat (limited to 'tpl/objects/menu.pug')
| -rw-r--r-- | tpl/objects/menu.pug | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug index 3cc092a..52cbe5e 100644 --- a/tpl/objects/menu.pug +++ b/tpl/objects/menu.pug | |||
| @@ -18,8 +18,8 @@ mixin menu-item | |||
| 18 | - | 18 | - |
| 19 | let classes = { | 19 | let classes = { |
| 20 | 'o-menu__item': true, | 20 | 'o-menu__item': true, |
| 21 | 'l-card': true, | 21 | 'l-media': true, |
| 22 | 'l-card--75': true, | 22 | 'l-media--75': true, |
| 23 | 'is-selected': attributes.selected, | 23 | 'is-selected': attributes.selected, |
| 24 | } | 24 | } |
| 25 | if (attributes.class) { | 25 | if (attributes.class) { |
| @@ -28,15 +28,15 @@ mixin menu-item | |||
| 28 | 28 | ||
| 29 | #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes) | 29 | #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes) |
| 30 | if attributes.icon | 30 | if attributes.icon |
| 31 | .l-card__block.o-menu__icon-slot | 31 | .l-media__block.o-menu__icon-slot |
| 32 | if attributes.iconIsStatus | 32 | if attributes.iconIsStatus |
| 33 | +status-indicator(attributes.icon)(class='o-menu__icon') | 33 | +status-indicator(attributes.icon)(class='o-menu__icon') |
| 34 | else | 34 | else |
| 35 | +icon(attributes.icon)(class='o-menu__icon') | 35 | +icon(attributes.icon)(class='o-menu__icon') |
| 36 | .l-card__block.l-card__block--main&attributes({ class: attributes.contentClass }) | 36 | .l-media__block.l-media__block--main&attributes({ class: attributes.contentClass }) |
| 37 | block | 37 | block |
| 38 | if attributes.postIcon | 38 | if attributes.postIcon |
| 39 | .l-card__block.o-menu__icon-slot | 39 | .l-media__block.o-menu__icon-slot |
| 40 | +icon(attributes.postIcon)(class='o-menu__icon') | 40 | +icon(attributes.postIcon)(class='o-menu__icon') |
| 41 | 41 | ||
| 42 | mixin menu-header | 42 | mixin menu-header |
