Skip to content

Commit

Permalink
fix(app:styles): use correct path for font awesome and glyphicons
Browse files Browse the repository at this point in the history
  • Loading branch information
DaftMonk committed Jul 14, 2014
1 parent 0aca9b5 commit 1917ba3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
15 changes: 15 additions & 0 deletions app/templates/client/app/app(css).css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

/**
*Font Awesome Fonts
*/

@font-face {
font-family: 'FontAwesome';
src: url('../bower_components/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');
src: url('../bower_components/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
url('../bower_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),
url('../bower_components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
url('../bower_components/font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}

<% } %>/**
* App-wide Styles
*/
Expand Down
29 changes: 26 additions & 3 deletions app/templates/client/app/app(stylus).styl
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
$icon-font-path = "/bower_components/bootstrap/dist/fonts"
$fa-font-path = "/bower_components/font-awesome/fonts"

@import "bootstrap/dist/css/bootstrap.css"
@import "font-awesome/css/font-awesome.css"

//
// Bootstrap Fonts
//

@font-face
font-family: 'Glyphicons Halflings'
src: url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot')
src: url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'),
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');

//
// Font Awesome Fonts
//

@font-face
font-family: 'FontAwesome'
src: url('../bower_components/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0')
src: url('../bower_components/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
url('../bower_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),
url('../bower_components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
url('../bower_components/font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
font-weight: normal
font-style: normal

//
// App-wide Styles
//
Expand Down

0 comments on commit 1917ba3

Please sign in to comment.