FIX: bookmark button is now solid black by default & blue when bookmarked

This commit is contained in:
Régis Hanol 2015-01-12 17:48:54 +01:00
parent 4748b21c56
commit 03b053c800
3 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ export default ButtonView.extend({
},
renderIcon: function(buffer) {
var className = this.get("controller.bookmarked") ? "fa-bookmark" : "fa-bookmark-o";
buffer.push("<i class='fa " + className + "'></i>");
var className = this.get("controller.bookmarked") ? "bookmarked" : "";
buffer.push("<i class='fa fa-bookmark " + className + "'></i>");
}
});

View File

@ -455,7 +455,7 @@ a.star {
outline: 0;
margin-bottom: 5px;
margin-right: 10px;
.fa-star {margin-right: 5px;}
.fa-bookmark.bookmarked { color: $tertiary; }
}
}

View File

@ -292,6 +292,7 @@ a.star {
#topic-footer-buttons {
border-top: 1px solid scale-color-diff();
padding: 20px 10px 0 10px;
.fa-bookmark.bookmarked { color: $tertiary; }
}
/* this is to force the drop-down notification state description para below the button */