grey out disabled badges in admin overview (#5416)
* gray out disabled badges in admin overview * fix style
This commit is contained in:
parent
cc46ab5bb1
commit
2a32536645
|
@ -1,6 +1,6 @@
|
|||
export default Ember.Component.extend({
|
||||
tagName: 'span',
|
||||
classNameBindings: [':user-badge', 'badge.badgeTypeClassName'],
|
||||
classNameBindings: [':user-badge', 'badge.badgeTypeClassName', 'badge.enabled::disabled'],
|
||||
title: function(){
|
||||
return $("<div>"+this.get('badge.description')+"</div>").text();
|
||||
}.property('badge.description'),
|
||||
|
|
|
@ -30,6 +30,14 @@
|
|||
&.badge-type-bronze .fa {
|
||||
color: #cd7f32 !important;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
color: $primary-medium;
|
||||
background-color: $primary-very-low;
|
||||
.fa {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 750px) {
|
||||
|
|
Loading…
Reference in New Issue