2019-03-25 20:37:17 +08:00
|
|
|
// shared styles for user and group cards
|
2020-02-13 17:58:17 +08:00
|
|
|
.user-card,
|
|
|
|
.group-card {
|
2019-03-25 20:37:17 +08:00
|
|
|
z-index: z("usercard");
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
2020-01-21 23:57:32 +08:00
|
|
|
z-index: z("header") + 1;
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
&.docked-card {
|
|
|
|
z-index: z("header") + 1;
|
|
|
|
}
|
|
|
|
// avatar - names - controls
|
|
|
|
.first-row {
|
|
|
|
.names {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.usercard-controls {
|
2021-04-21 06:34:33 +08:00
|
|
|
max-width: 225px;
|
2019-03-25 20:37:17 +08:00
|
|
|
button {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
.d-icon {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
h2 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-1);
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
h3 {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-0);
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// styles for user cards only
|
2020-02-13 17:58:17 +08:00
|
|
|
.user-card {
|
2019-03-25 20:37:17 +08:00
|
|
|
// badges
|
2019-12-10 03:15:47 +08:00
|
|
|
.badge-section {
|
|
|
|
.user-badge {
|
|
|
|
display: block;
|
|
|
|
max-width: 185px;
|
|
|
|
}
|
|
|
|
.more-user-badges {
|
|
|
|
max-width: 125px;
|
2019-03-25 20:37:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|