:global {
  .emojis {
    height: 160px;
    width: 400px;
    border-bottom: 1px solid #eeeeee;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: scroll;
  }
  .emoji {
    height: 28px;
    width: 28px;
    padding: 2px 3px 3px 2px;
    box-sizing: border-box;
  }
  #tim-demo-wrapper {
    display: flex;
    // min-width: 800px;
    // max-width: 1000px;
    // min-height: 600px;
    // width: 60%;
    // height: 60vh;
    .side-bar-wrapper {
      position: relative;
      width: 304px;
      // min-width: 80px;
      // height: 100%;
      background-color: #ffffff;
      color: #000;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
    }

    // .bar-header {
    //   display: -webkit-box;
    //   display: -ms-flexbox;
    //   display: flex;
    //   -webkit-box-orient: vertical;
    //   -webkit-box-direction: normal;
    //   -ms-flex-direction: column;
    //   flex-direction: column;
    //   -webkit-box-align: center;
    //   -ms-flex-align: center;
    //   align-items: center;
    //   padding: 12px;
    //   background-color: #464545;
    // }
    // .iconfont {
    //   font-size: 24px;
    //   cursor: pointer;
    //   color: gray;
    //   margin: 8px 0;
    // }
    // .iconfont:hover {
    //   color: rgb(160, 160, 160);
    // }
    // .active {
    //   color: #fff;
    // }
    // .active:hover {
    //   color: #fff;
    // }

    // .bar-header {
    //   display: flex;
    //   flex-direction: column;
    //   align-items: center;
    //   padding: 12px;
    //   background-color: #464545;
    // }
    .bar-content {
      width: 100%;
      overflow-y: auto;
      overflow-x: auto;
      // text-align: center;
      padding: 10px 0;
      .list-container {
        // margin-top: 20px;
        .avatar {
          margin: 10px 0;
          position: relative;
          text-align: center;
          .name{
            width: 100%;
            overflow: hidden;
            height: 20px;
          }
          .ant-badge {
            position: absolute;
            top: -5px;
            right: 10px;
          }
        }
        .avatar-header {
          width: 50px;
          height: 50px;
          border-radius: 50%;
        }
        .span-header {
          background: #0f71ff;
          display: inline-block;
          color: #ffffff;
          text-align: center;
          line-height: 50px;
        }
      }
    }
    .tab-items {
      display: flex;
      flex-direction: column;
      margin-top: 12px;
    }
    .conversation-item-container {
      margin: 6px 0;
    }
    .item-header {
      display: flex;
      justify-content: space-between;
    }
    .covnersation-info {
      max-width: 100%;
    }
    /*conversation-message*/
    .conversation-message {
      display: flex;
      justify-content: space-between;
    }
    .message-for-show {
      color: gray;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex-basis: 100px;
      flex-grow: 1;
    }

    .unread-count {
      background: #ff4949;
      color: #fff;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      text-align: center;
      // box-shadow: 0 0.08533rem 0.17067rem 0 rgba(255, 73, 7);
    }
    .context-menu-button {
      width: 100%;
      margin-left: 0 !important;
    }
    .message-time {
      color: gray;
      font-size: 14px;
      white-space: nowrap;
    }
  }
  /*当前会话内容*/
  .current-conversation-wrapper {
    display: flex;
    height: 500px;
    background-color: #ffffff;
    box-sizing: border-box;
    color: #000;
    border-radius: 4px;
    .current-header {
      position: relative;
      display: flex;
      align-items: center;
      // justify-content: center;
      border-bottom: 1px solid #d9d9d9;
      height: 70px;
      background: #f5f9ff;
      img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin: 0 10px 0 20px;
      }
      .span-header {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin: 0 10px 0 20px;
        background: #0f71ff;
        text-align: center;
        line-height: 50px;
        color: #ffffff;
      }
    }
  }
  .current-conversation {
    // width: 100%;
    width: 400px;
    min-width: 400px;
  }
  .current-conversation-item {
    background: #c8c8c8;
  }
  .el-row,
  .el-col {
    height: 100%;
  }
  .header {
    position: relative;
    display: flex;
    align-items: center;
    // justify-content: center;
    border-bottom: 1px solid #d9d9d9;
    height: 70px;
    background: #f5f9ff;
    img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      margin: 0 10px 0 20px;
    }
  }
  .content {
    display: flex;
    height: 60%;
    position: relative;
  }
  .message-list {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-left: 12px;
  }
  .dropdown-menu {
    padding: 12px;
    max-width: 80%;
    color: #000;
  }
  .message-list {
    position: relative;
    width: 100%;
  }
  .show-more {
    position: absolute;
    right: 15px;
    color: gray;
    cursor: pointer;
  }
  .show-more:hover {
    color: black;
  }
  .full-height {
    height: 90%;
  }
  .newMessageTips {
    position: absolute;
    display: block;
    cursor: pointer;
    padding: 5px;
    width: 100px;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 5px;
    font-size: 12px;
    text-align: center;
    border-radius: 10px;
    border: #ccc 1px solid;
    background-color: #fff;
    color: #268bf5;
  }
  /*消息盒子*/
  #message-send-box-wrapper {
    position: relative;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 12px 12px 0 12px;
    box-sizing: border-box;
    border-top: 1px solid #d9d9d9;
    .ant-input:focus {
      box-shadow: none;
    }
  }
  .personItem{
    cursor: pointer;
  }
  .btn-send {
    position: absolute;
    bottom: 20px;
    right: 10px;
    border: 0;
  }
  .send-header-bar i {
    cursor: pointer;
    font-size: 20px;
    color: gray;
    margin: 0 6px;
  }
  .send-header-bar i:hover {
    color: #000;
  }
  .text-input textarea {
    background-color: transparent;
    border: none;
  }

  .message-wrapper {
    display: flex;
    flex-direction: column;
    margin: 12px 0;
    line-height: 40px;
    .from {
      display: flex;
      img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
      }
      .img-span {
        display: inline-block;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        // border: 1px solid #dddddd;
        background: #0f71ff;
        color: #ffffff;
        text-align: center;
        line-height: 40px;
        span {
          line-height: 40px;
        }
      }
    }
  }
  .position-left {
    align-items: flex-start;
  }
  .position-right {
    align-items: flex-end;
  }
  .position-center {
    align-items: center;
    color: #a7a5a5;
  }
  .content {
    display: flex;
    align-items: center;
  }
  /*侧边栏*/

  .hover-pop {
    // width: 250px;
    // height: 136px;
    width: 100px;
    // height: 50px;
    padding: 14px;
    .name {
      font-size: 16px;
      line-height: 16px;
      color: #333333;
      letter-spacing: 0;
    }
    .text {
      font-size: 14px;
      color: #666666;
      letter-spacing: 0;
      line-height: 14px;
    }
  }

  //暗色系
  .dark{
    .personItem{
      .send-header-bar i:hover{
        color: #0E70FF;
      }
    }
    #tim-demo-wrapper .side-bar-wrapper{
      background-color: #213241;
    }
    #tim-demo-wrapper .bar-content .list-container .avatar .name{
      color: #fff;
    }
  }
}
