2017-09-01 19:29:50 +08:00
|
|
|
// Common styles for "user-info" component
|
|
|
|
.user-info {
|
2023-10-05 07:44:54 +08:00
|
|
|
display: flex;
|
|
|
|
gap: 1em;
|
2018-12-06 19:18:52 +08:00
|
|
|
|
|
|
|
.user-image-inner {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-detail {
|
2023-10-03 21:43:45 +08:00
|
|
|
min-width: 0;
|
2023-10-05 07:44:54 +08:00
|
|
|
@include breakpoint(mobile-medium) {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2018-03-03 01:42:02 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.name-line {
|
2023-10-05 07:44:54 +08:00
|
|
|
> a {
|
|
|
|
display: flex;
|
2024-02-06 22:32:07 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0 0.5em;
|
2023-10-05 07:44:54 +08:00
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
2023-10-03 21:43:45 +08:00
|
|
|
.name,
|
|
|
|
.username {
|
2024-02-06 22:32:07 +08:00
|
|
|
width: 100%;
|
2023-10-03 21:43:45 +08:00
|
|
|
@include ellipsis;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2023-10-03 01:55:28 +08:00
|
|
|
span:first-child {
|
2023-10-03 21:43:45 +08:00
|
|
|
font-weight: bold;
|
2023-10-03 01:55:28 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
2023-10-03 21:43:45 +08:00
|
|
|
.details {
|
|
|
|
color: var(--primary);
|
|
|
|
.d-icon-reply {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
2023-10-03 21:43:45 +08:00
|
|
|
.title {
|
|
|
|
color: var(--primary-medium);
|
2024-02-06 22:32:07 +08:00
|
|
|
@include ellipsis;
|
2017-12-12 04:40:04 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.medium {
|
|
|
|
min-height: 60px;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.username,
|
|
|
|
.name {
|
2017-09-01 19:29:50 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-03-12 00:25:14 +08:00
|
|
|
.margin a {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-info {
|
|
|
|
min-height: 80px;
|
2018-03-03 01:42:02 +08:00
|
|
|
min-width: 250px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.granted-on {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-link {
|
|
|
|
display: block;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|