From 0aaca52b2be88db9f86dc992d1481959decf1b11 Mon Sep 17 00:00:00 2001 From: davegandy Date: Sat, 12 Oct 2013 08:39:05 -0400 Subject: [PATCH] removing icon prefix from icon lists, updating style on navbar and jumbotron --- src/_includes/icons/brand.html | 2 +- src/_includes/icons/currency.html | 2 +- src/_includes/icons/directional.html | 2 +- src/_includes/icons/medical.html | 2 +- src/_includes/icons/new.html | 2 +- src/_includes/icons/text-editor.html | 2 +- src/_includes/icons/video-player.html | 2 +- src/_includes/icons/web-application.html | 2 +- src/assets/less/site/bootstrap/jumbotron.less | 1 + src/assets/less/site/bootstrap/navbar.less | 2 +- src/assets/less/site/bootstrap/variables.less | 4 ++-- 11 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/_includes/icons/brand.html b/src/_includes/icons/brand.html index 3365e4bd3..66b1a2e75 100644 --- a/src/_includes/icons/brand.html +++ b/src/_includes/icons/brand.html @@ -9,7 +9,7 @@ {% assign icons_brand = icons | expand_aliases | category:"Brand Icons" | sort_by:'class' %} {% for icon in icons_brand %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/currency.html b/src/_includes/icons/currency.html index f5ac3cc62..13154be88 100644 --- a/src/_includes/icons/currency.html +++ b/src/_includes/icons/currency.html @@ -5,7 +5,7 @@ {% assign icons_currency = icons | expand_aliases | category:"Currency Icons" | sort_by:'class' %} {% for icon in icons_currency %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/directional.html b/src/_includes/icons/directional.html index b49bdb8a7..fb84d3d24 100644 --- a/src/_includes/icons/directional.html +++ b/src/_includes/icons/directional.html @@ -5,7 +5,7 @@ {% assign icons_directional = icons | expand_aliases | category:"Directional Icons" | sort_by:'class' %} {% for icon in icons_directional %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/medical.html b/src/_includes/icons/medical.html index 06bcbf7b7..3830a3357 100644 --- a/src/_includes/icons/medical.html +++ b/src/_includes/icons/medical.html @@ -5,7 +5,7 @@ {% assign icons_medical = icons | expand_aliases | category:"Medical Icons" | sort_by:'class' %} {% for icon in icons_medical %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/new.html b/src/_includes/icons/new.html index f9cbdc8e8..d76dacd8c 100644 --- a/src/_includes/icons/new.html +++ b/src/_includes/icons/new.html @@ -11,7 +11,7 @@ {% assign icons_new = icons | expand_aliases | version:site.fontawesome.minor_version %} {% for icon in icons_new %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/text-editor.html b/src/_includes/icons/text-editor.html index 436d68f6a..6c1b73513 100644 --- a/src/_includes/icons/text-editor.html +++ b/src/_includes/icons/text-editor.html @@ -5,7 +5,7 @@ {% assign icons_text_editor = icons | expand_aliases | category:"Text Editor Icons" | sort_by:'class' %} {% for icon in icons_text_editor %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/video-player.html b/src/_includes/icons/video-player.html index c2965a607..e994a5e9b 100644 --- a/src/_includes/icons/video-player.html +++ b/src/_includes/icons/video-player.html @@ -5,7 +5,7 @@ {% assign icons_video_player = icons | expand_aliases | category:"Video Player Icons" | sort_by:'class' %} {% for icon in icons_video_player %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/_includes/icons/web-application.html b/src/_includes/icons/web-application.html index f437f67e9..1a42811cd 100644 --- a/src/_includes/icons/web-application.html +++ b/src/_includes/icons/web-application.html @@ -5,7 +5,7 @@ {% assign icons_web_application = icons | expand_aliases | category:"Web Application Icons" | sort_by:'class' %} {% for icon in icons_web_application %} -
{{ site.fontawesome.css_prefix }}-{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
+
{{ icon.class }}{% if icon.alias_of %} (alias){% endif %}
{% endfor %} diff --git a/src/assets/less/site/bootstrap/jumbotron.less b/src/assets/less/site/bootstrap/jumbotron.less index 9447b8fcb..3c6a4ed29 100644 --- a/src/assets/less/site/bootstrap/jumbotron.less +++ b/src/assets/less/site/bootstrap/jumbotron.less @@ -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; } diff --git a/src/assets/less/site/bootstrap/navbar.less b/src/assets/less/site/bootstrap/navbar.less index aff09ae08..50a4cf169 100644 --- a/src/assets/less/site/bootstrap/navbar.less +++ b/src/assets/less/site/bootstrap/navbar.less @@ -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; diff --git a/src/assets/less/site/bootstrap/variables.less b/src/assets/less/site/bootstrap/variables.less index 5370d0616..17ca680be 100644 --- a/src/assets/less/site/bootstrap/variables.less +++ b/src/assets/less/site/bootstrap/variables.less @@ -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;