2014-12-17 08:43:50 -05:00
|
|
|
---
|
|
|
|
title: Styleguide
|
2015-01-24 07:52:29 -05:00
|
|
|
sections:
|
|
|
|
- title: Typography
|
|
|
|
src: src/styleguide/sections/typo/*.hbs
|
|
|
|
- title: Buttons
|
|
|
|
src: src/styleguide/sections/buttons/*.hbs
|
|
|
|
- title: Forms
|
|
|
|
src: src/styleguide/sections/form/*.hbs
|
|
|
|
- title: Labels
|
|
|
|
src: src/styleguide/sections/labels.hbs
|
|
|
|
- title: Spinners
|
|
|
|
src: src/styleguide/sections/spinner/*.hbs
|
|
|
|
- title: Attachments
|
|
|
|
src: src/styleguide/sections/attachments.hbs
|
|
|
|
- title: Dropdowns
|
|
|
|
src: src/styleguide/sections/dropdown.hbs
|
|
|
|
- title: Tooltips
|
|
|
|
src: src/styleguide/sections/Tooltip.hbs
|
|
|
|
- title: Mail addresses
|
|
|
|
src: src/styleguide/sections/mail_addresses.hbs
|
|
|
|
- title: Tags input
|
|
|
|
src: src/styleguide/sections/tags_input.hbs
|
|
|
|
- title: Toolbars
|
|
|
|
src: src/styleguide/sections/toolbars/*.hbs
|
2014-12-17 08:43:50 -05:00
|
|
|
---
|
|
|
|
|
2014-12-18 04:55:20 -05:00
|
|
|
<section class="sg-section">
|
2015-01-24 07:52:29 -05:00
|
|
|
<h2 class="sg-typo-section-title">Icons</h2>
|
|
|
|
<div class="sg-block">
|
|
|
|
<div class="sg-block__description">
|
|
|
|
<h3 class="sg-typo-description-title">Available icons</h3>
|
|
|
|
<p class="typo-paragraph">
|
|
|
|
All icons are available via inline svg and the <code class="sg-typo-code">xlink:href</code>
|
|
|
|
attribute of the <code class="sg-typo-code"><use></code> tag.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="sg-block__example">
|
|
|
|
<ul class="sg-icon-list">
|
|
|
|
{{#compose src="src/img/icons/[!all]*.svg"}}
|
|
|
|
<li>
|
|
|
|
<svg role="presentation"><use xlink:href="#icon-{{stripFileExtension @filename}}" /></svg>
|
|
|
|
{{@filename}}
|
|
|
|
</li>
|
|
|
|
{{/compose}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{#each sections}}
|
|
|
|
<section class="sg-section">
|
|
|
|
<h2 class="sg-typo-section-title">{{title}}</h2>
|
|
|
|
{{#compose src=src}}
|
|
|
|
<div class="sg-block">
|
2014-12-18 04:55:20 -05:00
|
|
|
<div class="sg-block__description">
|
2015-01-24 07:52:29 -05:00
|
|
|
<h3 class="sg-typo-description-title">{{@title}}</h3>
|
|
|
|
<p class="typo-paragraph">{{{@description}}}</p>
|
2014-12-18 04:55:20 -05:00
|
|
|
</div>
|
|
|
|
<div class="sg-block__example">
|
2015-01-24 07:52:29 -05:00
|
|
|
{{{@content}}}
|
2014-12-18 04:55:20 -05:00
|
|
|
</div>
|
2015-01-24 07:52:29 -05:00
|
|
|
</div>
|
|
|
|
{{/compose}}
|
|
|
|
</section>
|
|
|
|
{{/each}}
|