UX: Style group flair in /groups same as in topic avatars
This commit is contained in:
parent
6568832235
commit
c388cacb81
|
@ -2,6 +2,7 @@ import computed from "ember-addons/ember-computed-decorators";
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
tagName: "span",
|
tagName: "span",
|
||||||
|
classNames: ["group-info-details"],
|
||||||
|
|
||||||
@computed("group.full_name", "group.title")
|
@computed("group.full_name", "group.title")
|
||||||
showFullName(fullName, title) {
|
showFullName(fullName, title) {
|
||||||
|
|
|
@ -56,9 +56,15 @@
|
||||||
.avatar-flair {
|
.avatar-flair {
|
||||||
background-size: $size;
|
background-size: $size;
|
||||||
height: $size;
|
height: $size;
|
||||||
|
width: $size;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
font-size: $size !important;
|
height: $size / 1.8;
|
||||||
|
width: $size / 1.8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -189,6 +189,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.groups-info {
|
.groups-info {
|
||||||
|
.group-info-details {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.groups-info-name {
|
.groups-info-name {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
|
@ -204,6 +208,11 @@
|
||||||
color: dark-light-choose($primary-medium, $secondary-medium);
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.group-avatar-flair {
|
||||||
|
vertical-align: middle;
|
||||||
|
color: $primary;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@ -213,9 +222,15 @@
|
||||||
.avatar-flair {
|
.avatar-flair {
|
||||||
background-size: $size;
|
background-size: $size;
|
||||||
height: $size;
|
height: $size;
|
||||||
|
width: $size;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
font-size: $size !important;
|
height: $size / 1.8;
|
||||||
|
width: $size / 1.8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue