mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
f079ed15af
refs https://github.com/TryGhost/Ghost/issues/9505 - card menu style refinements - fix tick color and adding appear animation to toolbar - bump Spirit dependency
11 lines
529 B
Handlebars
11 lines
529 B
Handlebars
{{#if showMenu}}
|
|
<div class="koenig-cardmenu {{kg-style "cardmenu"}}">
|
|
{{#each items as |item|}}
|
|
<div class="{{if item.selected "kg-cardmenu-card-selected"}} {{kg-style "cardmenu-card"}}" {{action "itemClicked" item on="click"}} data-kg="cardmenu-card">
|
|
<div class="{{kg-style "cardmenu-icon"}}">{{svg-jar item.icon class="w8 h8 stroke-midgrey"}}</div>
|
|
<div class="{{kg-style "cardmenu-label"}}">{{item.label}}</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|