mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-15 01:32:17 +01:00
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
.avatar {
|
|
position: relative;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
background-color: var(--border-color);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: var(--main-text-color);
|
|
font-size: 18px;
|
|
text-transform: uppercase;
|
|
margin-right: 10px;
|
|
|
|
.avatar-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.avatar-initials {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.status-indicator {
|
|
position: absolute;
|
|
bottom: 2px;
|
|
right: 2px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background-color: transparent;
|
|
|
|
&.online {
|
|
background-color: var(--success-color);
|
|
}
|
|
|
|
&.offline {
|
|
background-color: var(--grey-text-color);
|
|
}
|
|
|
|
&.busy {
|
|
background-color: var(--error-color);
|
|
}
|
|
|
|
&.away {
|
|
background-color: var(--warning-color);
|
|
}
|
|
}
|
|
}
|