FIX: bookmark button is now solid black by default & blue when bookmarked
This commit is contained in:
parent
4748b21c56
commit
03b053c800
|
@ -16,7 +16,7 @@ export default ButtonView.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
renderIcon: function(buffer) {
|
renderIcon: function(buffer) {
|
||||||
var className = this.get("controller.bookmarked") ? "fa-bookmark" : "fa-bookmark-o";
|
var className = this.get("controller.bookmarked") ? "bookmarked" : "";
|
||||||
buffer.push("<i class='fa " + className + "'></i>");
|
buffer.push("<i class='fa fa-bookmark " + className + "'></i>");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -455,7 +455,7 @@ a.star {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
.fa-star {margin-right: 5px;}
|
.fa-bookmark.bookmarked { color: $tertiary; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -292,6 +292,7 @@ a.star {
|
||||||
#topic-footer-buttons {
|
#topic-footer-buttons {
|
||||||
border-top: 1px solid scale-color-diff();
|
border-top: 1px solid scale-color-diff();
|
||||||
padding: 20px 10px 0 10px;
|
padding: 20px 10px 0 10px;
|
||||||
|
.fa-bookmark.bookmarked { color: $tertiary; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this is to force the drop-down notification state description para below the button */
|
/* this is to force the drop-down notification state description para below the button */
|
||||||
|
|
Loading…
Reference in New Issue