Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Updated icon set #538

Merged
merged 1 commit into from
May 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/icons.eot
Binary file not shown.
560 changes: 365 additions & 195 deletions assets/icons.json

Large diffs are not rendered by default.

52 changes: 29 additions & 23 deletions assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons.ttf
Binary file not shown.
Binary file modified assets/icons.woff
Binary file not shown.
12 changes: 9 additions & 3 deletions assets/timber.scss.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -1669,16 +1669,20 @@ label.error {
.icon-dankort:before { content: "\64"; }
.icon-diners_club:before { content: "\63"; }
.icon-discover:before { content: "\44"; }
.icon-dogecoin:before { content: "\e904"; }
.icon-dwolla:before { content: "\e905"; }
.icon-facebook:before { content: "\66"; }
.icon-fancy:before { content: "\46"; }
.icon-google:before { content: "\67"; }
.icon-google_wallet:before { content: "\47"; }
.icon-forbrugsforeningen:before { content: "\e906"; }
.icon-google-plus:before { content: "\e900"; }
.icon-grid-view:before { content: "\e603"; }
.icon-hamburger:before { content: "\e601"; }
.icon-instagram:before { content: "\69"; }
.icon-instagram:before { content: "\e901"; }
.icon-interac:before { content: "\49"; }
.icon-jcb:before { content: "\4a"; }
.icon-laser:before { content: "\e907"; }
.icon-list-view:before { content: "\e604"; }
.icon-litecoin:before { content: "\e908"; }
.icon-maestro:before { content: "\6d"; }
.icon-master:before { content: "\4d"; }
.icon-minus:before { content: "\e602"; }
Expand All @@ -1687,7 +1691,9 @@ label.error {
.icon-plus:before { content: "\e605"; }
.icon-rss:before { content: "\72"; }
.icon-search:before { content: "\73"; }
.icon-solo:before { content: "\e902"; }
.icon-stripe:before { content: "\53"; }
.icon-switch:before { content: "\e903"; }
.icon-tumblr:before { content: "\74"; }
.icon-twitter:before { content: "\54"; }
.icon-vimeo:before { content: "\76"; }
Expand Down
15 changes: 9 additions & 6 deletions layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,18 @@
Loop through available payment methods and show their icons.
{% endcomment %}
{% unless shop.enabled_payment_types == empty %}
{% assign payment_icons_available = 'amazon_payments,american_express,bitcoin,cirrus,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,jcb,laser,litecoin,maestro,master,paypal,solo,stripe,switch,visa' | split: ',' %}
<h4 class="text-center">{{ 'layout.footer.accepted_payments' | t }}</h4>
<ul class="inline-list payment-icons">
{% for type in shop.enabled_payment_types %}
<li>
<span class="icon-fallback-text">
<span class="icon icon-{{type}}" aria-hidden="true"></span>
<span class="fallback-text">{{ type | replace: '_',' '}}</span>
</span>
</li>
{% if payment_icons_available contains type %}
<li>
<span class="icon-fallback-text">
<span class="icon icon-{{type}}" aria-hidden="true"></span>
<span class="fallback-text">{{ type | replace: '_',' '}}</span>
</span>
</li>
{% endif %}
{% endfor %}
</ul>
{% endunless %}
Expand Down