私のグリフィコンを私のRailsアセットパイプラインで動作させることができません。 stylesheets/application.sass
、私が持っているでレールで部分的にしか機能しないブートストラップ - グリフコンが動作しない
...
@import "bootstrap-sprockets"
@import "bootstrap"
@import "glyphicons"
私はbootstrap-sass
とsass-rails
宝石stylesheets/glyphicons.css
で
、私が持っているを使用しています...
@font-face {
font-family: 'Glyphicons Halflings';
src: url(asset_path('glyphicons-halflings-regular.eot'));
src: url(asset_path('glyphicons-halflings-regular.eot?#iefix')) format('embedded-opentype'), url(asset_path('glyphicons-halflings-regular.woff')) format('woff'), url(asset_path('glyphicons-halflings-regular.ttf')) format('truetype'), url(asset_path('glyphicons-halflings-regular.svg#glyphicons_halflingsregular')) format('svg');
}
それはので、奇妙なこれは(下)正常に動作、私に赤い危険のボタンを与える...
<a class="detete btn btn-danger" href="#">x</a>
...この1つは(下)私の灰色のデフォルトボタンや星のアイコンのいずれかを与えていない、動作しませんが...
<a class="btn" href="#"><i class="icon-star-empty"></i></a>
私はブートストラップは、部分的にしか「働いていると言う理由です" 私のために。これについての助けがあれば幸いです。
削除しないdetete – chiliNUT