Skip to content

Commit

Permalink
ie7 more fully supported, large refactor of styles
Browse files Browse the repository at this point in the history
  • Loading branch information
davegandy committed May 21, 2012
1 parent 6ae9804 commit ff5ff65
Show file tree
Hide file tree
Showing 15 changed files with 1,436 additions and 1,305 deletions.
445 changes: 225 additions & 220 deletions docs/assets/css/font-awesome-ie7.css

Large diffs are not rendered by default.

563 changes: 284 additions & 279 deletions docs/assets/css/site.css

Large diffs are not rendered by default.

Binary file modified docs/assets/font/fontawesome-webfont.eot
Binary file not shown.
25 changes: 13 additions & 12 deletions docs/assets/font/fontawesome-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/font/fontawesome-webfont.ttf
Binary file not shown.
Binary file modified docs/assets/font/fontawesome-webfont.woff
Binary file not shown.
Binary file added docs/assets/font/proximanova-webfont.eot
Binary file not shown.
Binary file added docs/assets/font/proximanova-webfont.ttf
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/assets/js/index/index.js
Expand Up @@ -5,14 +5,14 @@ $(function() {
modalTemplate: _.template($("#modal-template").html()),

events:{
"click ul.the-icons > li": "iconClicked"
"click ul.ficons > li": "iconClicked"
},

iconClicked: function(event) {
event.preventDefault();

var $item = $(event.currentTarget);
var $modal = $(this.modalTemplate({"style": $item.attr("class")}));
var $modal = $(this.modalTemplate({"style": $item.find("i").attr("class")}));

$modal.modal("show");
$modal.on('hidden', function () {
Expand Down
456 changes: 230 additions & 226 deletions docs/assets/less/font-awesome.less

Large diffs are not rendered by default.

@@ -1,5 +1,5 @@
@font-face {
font-family: 'MuseoSlab';
font-family: 'museo-slab';
src: url('../font/museo_slab_300-webfont.eot');
src: url('../font/museo_slab_300-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/museo_slab_300-webfont.ttf') format('truetype');
Expand All @@ -8,10 +8,19 @@
}

@font-face {
font-family: 'MuseoSlab';
font-family: 'museo-slab';
src: url('../font/museo_slab_500-webfont.eot');
src: url('../font/museo_slab_500-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/museo_slab_500-webfont.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'proxima-nova';
src: url('../font/proximanova-webfont.eot');
src: url('../font/proximanova-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/proximanova-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
10 changes: 5 additions & 5 deletions docs/assets/less/mixins.less
Expand Up @@ -35,9 +35,9 @@
}
}

.icon-size (@size: 12px, @width-multiplier: .9, @height-multiplier: .8) {
i { font-size: @size; }
line-height: @size * @height-multiplier;
height: @size * @height-multiplier;
[class^="icon-"] { height: @size * @height-multiplier; }
.ficon-size (@size: 12px, @width-multiplier: .9, @height-multiplier: .8) {
i { font-size: @size; }
line-height: @size;
height: @size * @height-multiplier;
text-align: center;
}

0 comments on commit ff5ff65

Please sign in to comment.