Ghost/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-toolbar.hbs
Zimo b4b85fba99 Koenig - Style refinements for card menu, toolbar, and link input
refs https://github.com/TryGhost/Ghost/issues/9505
- Card menu style refinements
- Toolbar style refinements
- Unifying toolbar, link tooltip and link toolbar size and position
- Making link input the same size as text toolbar
- Fix single element position in toolbar
- Making toolbars darker
2018-05-08 18:04:56 +01:00

30 lines
1.1 KiB
Handlebars

{{#if showToolbar}}
<ul class="bg-darkgrey-d1 inline-flex pa0 ma0 list br3 shadow-2 items-center relative white f-small fw3 tracked-2 nudge-top--1">
<li class="mw70 ma0 truncate">
<a href="{{url}}" class="dib dim-lite pa3 pr1 link white" target="_blank" rel="noopener noreferrer">{{url}}</a>
</li>
<li class="ma0">
<button
type="button"
title="Edit"
class="dib dim-lite pa2 pl1 pr1 link"
{{action "edit"}}
>
{{!-- TODO: get correct icon --}}
{{svg-jar "koenig/kg-thin-edit" class="stroke-white w4 h4 nudge-top--1"}}
</button>
</li>
<li class="ma0">
<button
type="button"
title="Remove"
class="dib dim-lite pa2 pl1 pr1 link mr2"
{{action "remove"}}
>
{{!-- TODO: get correct icon --}}
{{svg-jar "koenig/kg-thin-delete" class="stroke-white w4 h4 nudge-top--1"}}
</button>
</li>
</ul>
{{/if}}