mirror of
https://github.com/discourse/discourse.git
synced 2025-05-18 13:33:05 +08:00
UX: Styles for user-cards should the same with badges on / off
This commit is contained in:
parent
1f4af5ab36
commit
fb0b54f7f8
@ -7,7 +7,7 @@ $user_card_background: $secondary;
|
|||||||
#user-card,
|
#user-card,
|
||||||
#group-card {
|
#group-card {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 500px;
|
width: 580px;
|
||||||
left: -9999px;
|
left: -9999px;
|
||||||
top: -9999px;
|
top: -9999px;
|
||||||
z-index: z("usercard");
|
z-index: z("usercard");
|
||||||
@ -268,9 +268,6 @@ $user_card_background: $secondary;
|
|||||||
color: scale-color($user_card_background, $lightness: 70%);
|
color: scale-color($user_card_background, $lightness: 70%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.show-badges {
|
|
||||||
width: 580px;
|
|
||||||
|
|
||||||
.names {
|
.names {
|
||||||
float: left;
|
float: left;
|
||||||
width: 45%;
|
width: 45%;
|
||||||
@ -304,7 +301,6 @@ $user_card_background: $secondary;
|
|||||||
@extend .user-badge;
|
@extend .user-badge;
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.suspended {
|
.suspended {
|
||||||
color: $danger;
|
color: $danger;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user