Error using glyphicon with bootstrap-sass

2

Good afternoon, I'm trying to work with bootstrap-sass and sass , but when I include an icon in my class, nothing happens.

I do not know if this is the case but for the backend I'm using django 1.9.

@import "../vendor/bootstrap/assets/stylesheets/_bootstrap-sprockets.scss";
@import "../vendor/bootstrap/assets/stylesheets/_bootstrap.scss";


.tablestyle{
    @extend .col-md-6, .col-md-offset-2;
    .table{
        @extend .table, .table-striped;
        .info{
            @extend .btn, .btn-info, .btn-xs;
        }
        .edit{
            @extend .glyphicon, .glyphicon-edit;
        }
    }   
}
    
asked by anonymous 16.01.2016 / 18:32

1 answer

0

I was able to solve my problem based on a comment just above, I just overwritten the font face path, so it looks like this:

@import "../vendor/bootstrap/assets/stylesheets/_bootstrap-sprockets.scss";
@import "../vendor/bootstrap/assets/stylesheets/_bootstrap.scss";

// font face
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../vendor/bootstrap/assets/fonts/bootstrap/glyphicons-halflings-regular.eot');
  src: url('../vendor/bootstrap/assets/fonts/bootstrap/glyphicons-halflings-regular.eot?#iefix') format('embedded- opentype'), url('../vendor/bootstrap/assets/fonts/bootstrap/glyphicons-halflings-regular.woff') format('woff'), url('../vendor/bootstrap/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf') format('truetype'), url('../vendor/bootstrap/assets/fonts/bootstrap/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}
    
17.01.2016 / 19:37