mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
removing icon prefix from icon lists, updating style on navbar and jumbotron
This commit is contained in:
parent
4ce9cfe036
commit
0aaca52b2b
@ -9,7 +9,7 @@
|
||||
{% assign icons_brand = icons | expand_aliases | category:"Brand Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_brand %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% assign icons_currency = icons | expand_aliases | category:"Currency Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_currency %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% assign icons_directional = icons | expand_aliases | category:"Directional Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_directional %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% assign icons_medical = icons | expand_aliases | category:"Medical Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_medical %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
{% assign icons_new = icons | expand_aliases | version:site.fontawesome.minor_version %}
|
||||
|
||||
{% for icon in icons_new %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% assign icons_text_editor = icons | expand_aliases | category:"Text Editor Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_text_editor %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% assign icons_video_player = icons | expand_aliases | category:"Video Player Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_video_player %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% assign icons_web_application = icons | expand_aliases | category:"Web Application Icons" | sort_by:'class' %}
|
||||
|
||||
{% for icon in icons_web_application %}
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
<div class="col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa-icon fa-icon-{{ icon.class }}"></i> {{ icon.class }}{% if icon.alias_of %} <span class="muted">(alias)</span>{% endif %}</a></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
.jumbotron {
|
||||
background-color: @jumbotron-bg;
|
||||
// #gradient > .directional(@jumbotron-bg, mix(@jumbotron-bg, @jumbotron-bg-dark, 0%), -40deg);
|
||||
border-top: 1px solid mix(@jumbotron-bg, @jumbotron-text, 90%);
|
||||
border-bottom: 1px solid @jumbotron-border;
|
||||
margin-bottom: 0;
|
||||
&, h1 { color: @jumbotron-text; }
|
||||
|
@ -9,7 +9,7 @@
|
||||
.fa-icon-flag { padding-right: 3px; }
|
||||
}
|
||||
|
||||
.navbar-nav > li > a { padding: 12px 10px 8px; }
|
||||
.navbar-nav > li > a { padding: 11px 10px 9px; }
|
||||
|
||||
//.navbar-nav > li > a {
|
||||
// padding-top: 16px;
|
||||
|
@ -69,8 +69,8 @@
|
||||
// -------------------
|
||||
|
||||
// Links
|
||||
@link-color: lighten(@jumbotron-bg, 10%);
|
||||
@link-hover-color: @jumbotron-bg;
|
||||
@link-color: lighten(@jumbotron-bg, 5%);
|
||||
@link-hover-color: darken(@jumbotron-bg, 5%);
|
||||
|
||||
// Typography
|
||||
@font-family-sans-serif: proxima-nova, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
|
Loading…
Reference in New Issue
Block a user