I'm trying to import Designmodo's Flat-UI (free version) CSS and JS into my Rails project.
I cannot use the gem(s) for the library because some elements do not work properly (I'm assuming the gem(s) are outdated).
I've dropped off the .css and .js files into vendor/assets/, as well as the fonts and glyphicons. I did the same thing for the bootstrap dist/ files so I'm assuming this method is correct.
When I tried to load the glyphs and font in my application.css.scss file like how I would do with the bootstrap glyphs:
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../assets/glyphicons-halflings-regular.eot');
    src: url('../assets/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), 
    url('../assets/glyphicons-halflings-regular.woff') format('woff'), 
    url('../assets/glyphicons-halflings-regular.ttf') format('truetype'), 
    url('../assets/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
The console in Chrome gives me a bunch of 404 Not Found errors for the fonts and glyphs. This was how I tried loading the Flat-UI glyphs:
@font-face {
    font-family: 'flat-ui-icons';
    src: url('../assets/flat-ui-icons-regular.eot');
    src: url('../assets/flat-ui-icons-regular.eot?#iefix') format('embedded-opentype'), 
    url('../assets/flat-ui-icons-regular.woff') format('woff'), 
    url('../assets/flat-ui-icons-regular.ttf') format('truetype'), 
    url('../assets/flat-ui-icons-regular.svg#glyphicons_halflingsregular') format('svg');
}
And this was how I tried to load the Flat-UI font:
@font-face {
    font-family: 'Lato';
    src: url('../assets/lato-black.eot');
    src: url('../assets/lato-black.eot?#iefix') format('embedded-opentype'),  
    url('../assets/lato-black.woff') format('woff'),  
    url('../assets/lato-black.ttf') format('truetype'),  
    url('../assets/lato-black.svg#latoblack') format('svg');
    font-weight: 900;
    font-style: normal;
}
 
     
    