From a03db6b60b2fda609453c12a5f5b8a57b0928ea3 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 14 Jun 2012 22:17:45 +0200 Subject: [PATCH] comment correction from #268, fontAwesomePath variable in less file --- assets/css/font-awesome.css | 4 ++-- assets/css/site.css | 2 +- assets/less/font-awesome.less | 14 ++++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/assets/css/font-awesome.css b/assets/css/font-awesome.css index 8cf46c09a..4697599c7 100644 --- a/assets/css/font-awesome.css +++ b/assets/css/font-awesome.css @@ -22,7 +22,7 @@ */ @font-face { - font-family: 'FontAwesome'; + font-family: "FontAwesome"; src: url('../font/fontawesome-webfont.eot'); src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); font-weight: normal; @@ -107,7 +107,7 @@ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before { .icon-play-circle:before { content: "\f01d"; } .icon-repeat:before { content: "\f01e"; } -/* \f020 is not a valid unicode character. all shifted one down */ +/* \f020 doesn't work in Safari. all shifted one down */ .icon-refresh:before { content: "\f021"; } .icon-list-alt:before { content: "\f022"; } .icon-lock:before { content: "\f023"; } diff --git a/assets/css/site.css b/assets/css/site.css index f0f0d3edf..6db5c84c0 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -3933,7 +3933,7 @@ ul.icons li .icon-large:before { .icon-repeat:before { content: "\f01e"; } -/* \f020 is not a valid unicode character. all shifted one down */ +/* \f020 doesn't work in Safari. all shifted one down */ .icon-refresh:before { content: "\f021"; } diff --git a/assets/less/font-awesome.less b/assets/less/font-awesome.less index 413abc98a..45f69edb6 100644 --- a/assets/less/font-awesome.less +++ b/assets/less/font-awesome.less @@ -22,13 +22,15 @@ */ +@fontAwesomePath: '../font'; + @font-face { font-family: 'FontAwesome'; - src: url('../font/fontawesome-webfont.eot'); - src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), - url('../font/fontawesome-webfont.woff') format('woff'), - url('../font/fontawesome-webfont.ttf') format('truetype'), - url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); + src: url('@{fontAwesomePath}/fontawesome-webfont.eot'); + src: url('@{fontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), + url('@{fontAwesomePath}/fontawesome-webfont.woff') format('woff'), + url('@{fontAwesomePath}/fontawesome-webfont.ttf') format('truetype'), + url('@{fontAwesomePath}/fontawesome-webfont.svg#FontAwesome') format('svg'); font-weight: normal; font-style: normal; } @@ -131,7 +133,7 @@ ul.icons { .icon-play-circle:before { content: "\f01d"; } .icon-repeat:before { content: "\f01e"; } -/* \f020 is not a valid unicode character. all shifted one down */ +/* \f020 doesn't work in Safari. all shifted one down */ .icon-refresh:before { content: "\f021"; } .icon-list-alt:before { content: "\f022"; } .icon-lock:before { content: "\f023"; }