61 lines
1.0 KiB
SCSS
61 lines
1.0 KiB
SCSS
//
|
|
// _avatar.scss
|
|
//
|
|
|
|
.avatar-md{
|
|
height: 36px;
|
|
width: 36px;
|
|
line-height: 36px;
|
|
text-align: center;
|
|
border-radius: 50%;
|
|
font-size: 18px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.media{
|
|
font-family: $font-secondary;
|
|
}
|
|
|
|
.img-group{
|
|
display: inline-block;
|
|
.avatar-badge{
|
|
position: absolute;
|
|
right: 1px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 0 2px $card-bg;
|
|
z-index: 2;
|
|
}
|
|
.user-avatar+.user-avatar-group {
|
|
margin-left: -12px;
|
|
}
|
|
.user-avatar {
|
|
position: relative;
|
|
display: inline-block;
|
|
&:focus,&:hover{
|
|
z-index: 2;
|
|
}
|
|
.online {
|
|
background: $success;
|
|
}
|
|
.offline{
|
|
background: $gray;
|
|
}
|
|
img{
|
|
box-shadow: 0 0 0 2px $gray-100;
|
|
}
|
|
}
|
|
}
|
|
.avatar-box{
|
|
position: relative;
|
|
display: inline-block;
|
|
.avatar-title {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
color: $gray-100;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
} |