mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
7892e4901d
- changed icons for coloured set - added Unsplash icon - bumped Spirit for menu-related style updates
12 lines
721 B
Handlebars
12 lines
721 B
Handlebars
{{#each itemSections as |section sectionIndex|}}
|
|
<div class="flex flex-column justify-center h5 {{unless (eq sectionIndex 0) "mt4"}} mb4 nl4 nr4 pl4 pr4 bg-whitegrey midlightgrey ttu f-supersmall fw4 tracked-3" style="min-width: calc(100% + 3.2rem);">
|
|
{{section.title}}
|
|
</div>
|
|
{{#each section.items as |item|}}
|
|
<div class="{{if item.selected "kg-cardmenu-card-selected"}} {{kg-style "cardmenu-card"}}" onclick={{action itemClicked item}} data-kg="cardmenu-card">
|
|
<div class="{{kg-style "cardmenu-icon"}} {{item.iconClass}}">{{svg-jar item.icon class="w8 h8"}}</div>
|
|
<div class="{{kg-style "cardmenu-label"}}">{{item.label}}</div>
|
|
</div>
|
|
{{/each}}
|
|
{{/each}}
|