comment correction from #268, fontAwesomePath variable in less file

This commit is contained in:
Matthias Kretschmann 2012-06-14 22:17:45 +02:00
parent 09499b3d84
commit a03db6b60b
3 changed files with 11 additions and 9 deletions

View File

@ -22,7 +22,7 @@
*/ */
@font-face { @font-face {
font-family: 'FontAwesome'; font-family: "FontAwesome";
src: url('../font/fontawesome-webfont.eot'); 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'); 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; 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-play-circle:before { content: "\f01d"; }
.icon-repeat:before { content: "\f01e"; } .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-refresh:before { content: "\f021"; }
.icon-list-alt:before { content: "\f022"; } .icon-list-alt:before { content: "\f022"; }
.icon-lock:before { content: "\f023"; } .icon-lock:before { content: "\f023"; }

View File

@ -3933,7 +3933,7 @@ ul.icons li .icon-large:before {
.icon-repeat:before { .icon-repeat:before {
content: "\f01e"; 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 { .icon-refresh:before {
content: "\f021"; content: "\f021";
} }

View File

@ -22,13 +22,15 @@
*/ */
@fontAwesomePath: '../font';
@font-face { @font-face {
font-family: 'FontAwesome'; font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot'); src: url('@{fontAwesomePath}/fontawesome-webfont.eot');
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), src: url('@{fontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff') format('woff'), url('@{fontAwesomePath}/fontawesome-webfont.woff') format('woff'),
url('../font/fontawesome-webfont.ttf') format('truetype'), url('@{fontAwesomePath}/fontawesome-webfont.ttf') format('truetype'),
url('../font/fontawesome-webfont.svg#FontAwesome') format('svg'); url('@{fontAwesomePath}/fontawesome-webfont.svg#FontAwesome') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@ -131,7 +133,7 @@ ul.icons {
.icon-play-circle:before { content: "\f01d"; } .icon-play-circle:before { content: "\f01d"; }
.icon-repeat:before { content: "\f01e"; } .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-refresh:before { content: "\f021"; }
.icon-list-alt:before { content: "\f022"; } .icon-list-alt:before { content: "\f022"; }
.icon-lock:before { content: "\f023"; } .icon-lock:before { content: "\f023"; }