@import "@styles/theme.scss";

.list__item {
  display: flex;
  justify-content: space-between;
  border-bottom:solid 1px  $border-color-light;
  padding: 30px 0;
  // align-items: center;

  &-info {
    display: flex;
    align-items: center;

    .avatar-box{
      position: relative;
      .avatar {
        width: 100px;
        height: 100px;
        border-radius: 10%;
        vertical-align: middle;
      }
      .num{
        position: absolute;
        right:-10px;
        top:-5px;
        width:40px;
        height:40px;
        line-height: 40px;
        text-align: center;
        background-color: $primary-color;
        color:white;
        font-size:24px;
        border-radius: 50%;
      }
    }
    
    .list__item-con{
      margin-left: 30px;
      width:360px;
      .name {
        font-size: 30px;
        vertical-align: middle;
      }
      .text{
        margin-top:10px;
        font-size:24px;
        color:$text-color-light;
        width:360px;
        @include text-ellipsis;
      }
    }
    
  }

  &-time {
    color: $text-color-lighter;
    font-size:24px;
  }
}