Ghost/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-input.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

15 lines
462 B
Handlebars

<input
placeholder="Enter url"
value={{href}}
class="kg-link-input pa2 pr6 mih-100 ba br3 shadow-2 f8 lh-heading tracked-2 outline-0 b--blue h10 nudge-top--8"
autofocus="true"
oninput={{action (mut href) value="target.value"}}
onkeydown={{action "inputKeydown"}}
/>
{{#if href}}
<button class="kg-input-bar-close" type="button" {{action "clear"}}>
{{svg-jar "close" class="ih2 stroke-midlightgrey-l2"}}
</button>
{{/if}}