/**
 * @Time 2019/10/25
 * @Author Tx
 * @Description 用户管理中心模块 未修正页面样式
 * 注意 此页面仅用来注入 cus-aframe-kaoshi.scss文件
 */

/**
 * @page kaoshiConfig
 * @path '@/views/management/kaoshi/exam/kaoshiConfig.vue'
 */
/*****部门管理*****/
.mta-Organizational {
  height: calc(100vh - 190px);
  .mta-model {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .mta-Or-wrap {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: auto;
    position: relative;

    .org-self-tree {
      color: #333;
    }

    .mta-org-table {
      height: calc(100vh - 222px);
      background: #FFF;
      border-radius: 8px;
      flex: 3;
      margin-left: 20px;
      padding: 16px 32px;
      display: flex;
      flex-direction: column;
      overflow: auto;

      > p {
        border-bottom: 1px solid #CCC;
        padding-bottom: 16px;
      }


    }

  }
  .main-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
  }

  .el-tree-node__expand-icon {
    margin-right: 5px
  }

  .editableTree .el-tree-node__content {
    line-height: 40px;
    height: 40px;
  }

  .org-self-tree .el-tree-node__content {
    line-height: 40px;
    height: 40px;
    .el-tree-node__label {
      @include setFontBase(-4);
    }

  }
  //弹窗
  .UserFromWrap {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-around;


    & .selectInput {
      width: 100%;
    }

    & .el-select {
      width: 100%;

    }


    &.userOrgHasPlus .selectInput {
      width: calc(100% - 30px);
      min-width: 100px;
      display: inline-block;
    }

    &.userPosHasPlus .el-select {
      width: calc(100% - 30px);
      min-width: 100px;
      display: inline-block;
    }
  }
  @media screen and (max-width: 1440px){
    //新增、查看弹窗div间距
    .item-div{margin-right: 20px}
  }
}

/*****在线监控*****/
.mta-UserOnline{}

/*****职位管理*****/
.mta-Position {
  /*用于部门管理-添加人员-职位管理全屏弹窗 start*/
  .position-input{
    .el-input__inner{height: 40px;line-height: 40px;}
  }
  @media screen and (max-width: 1440px){
    .position-input{
      .el-input__inner{height: 36px;line-height: 36px;}
    }
  }
  /*用于部门管理-添加人员-职位管理全屏弹窗 end*/
}

/*****用户注册审核*****/
.mta-UserAudit{}
$color1: #FFF;
$color2: #CCC;
/*****人员分析*****/
.mta-UserAnalysis{
  //display: flex;
  flex-direction: column;
  justify-content: space-between;
  //导航
  .el-breadcrumb {
    margin-bottom: 16px;
  }
  .first-row-line {
    margin-bottom: 20px;
    margin-top: 20px;

    .el-col {
      flex: 1;
      border-left: .5px solid $color2;
      border-bottom: .5px solid $color2;

      &:first-child {
        border-left: none;
      }

      .text-label {
        margin-top: 10px;
        margin-bottom: 20px;
        text-align: center;

        & + div {
          text-align: center;
          font-size: 30px;
          margin-bottom: 20px;
        }
      }
    }
  }
  .mta-quick-entrys-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px 0;
    color: $color1;

    > div {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      flex: 1;
      padding: 10px;
      margin: 0 20px;
      cursor: pointer;

      img {
        /*min-width: 80px;*/
        margin: 20px 30px 0 20px;
      }

      .quick-etrys-info {
        flex: 1;
        margin-right: 10px;
      }


    }
  }
  //router-link
  .analysis-link{
    text-decoration: none;
    .text-label{
      color: #2c3e50;
    }
  }
  .grfx-charts{
    width: 95%;
    height: 240px;
    margin-top: 15px;
  }
  .UserAnalysis-content-wrap{
    padding: 30px 5px 15px 20px;
    background: #FFF;
    border-radius: 8px;
    //IE11 hack
    margin-bottom: 20px\0;
    //火狐 hack
    @-moz-document url-prefix() {
      margin-bottom: 20px;
    }
  }
  /*.scrollbar-box{
    height: calc(100vh - 250px);
    overflow: auto;
  }*/
  .scrollbar-body{
    margin-right: 30px;
  }
  //分页
  .response-el-pagination{
    margin-top: 5px;
  }
  //新增响应式
  @media screen and (max-width: 1600px){
    .UserAnalysis-content-wrap{padding: 20px 20px 15px;}
  }
  @media screen and (max-width: 1440px){
    .UserAnalysis-content-wrap{padding:15px;}
    .chart-box{margin-top: 0}
    //基本数据
    .first-row-line{
      margin: 10px 0;
      .el-col .text-label{
        margin: 10px auto;
        @include setFontBase(-4);
      }
      .el-col .text-label + div{
        @include setFontBase(8);
        margin-bottom: 15px;
      }
    }
    .grfx-charts{
      //height: 220px;
      margin-top: 10px;
    }
    //分页
    .response-el-pagination{
      margin-top: 3px;
    }
  }
}
/*****服务支持 creat：wgy *****/
.mta-fuwuManager{
  .kefunfo{
    color: #666666;
    font-size: 14px;
    margin-left: 10px;
  }
  //青谷二维码
  .erweima{
    background-image: url("~@/assets/images/icons/"+"erweima.svg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 114px;
    height: 114px;
  }
  //Saas二维码
  .erweimaSaas{
    background-image: url("~@/assets/images/icons/"+"erweimaSaas.jpg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 114px;
    height: 114px;
  }
  .time{
    background-image: url("~@/assets/images/icons/"+"time.svg");
  }
  .QQ{
    background-image: url("~@/assets/images/icons/"+"qq.svg");
  }
  .phone{
    background-image: url("~@/assets/images/icons/"+"phone.svg");
  }
  //置顶
  tr.row-upFlag:after{
    background: url("~@/assets/images/icons/" + "newInfo.svg") no-repeat;
  }
  //客服中心
  .fuwu-title{
    margin: 24px 0 16px;
  }
  .fuwu-line{
    margin-bottom: 12px;
    i{
      width: 14px;
      height: 14px;
      display: inline-block;
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      vertical-align: middle;
    }
  }

  /*宽度响应式*/
  @media screen and (max-width: 1440px){
    .kefunfo{
      font-size: 13px;
    }
    .fuwu-title{
      margin: 15px 0 10px;
    }
    .fuwu-line{
      margin-bottom: 9px;
    }
    .erweima{
      background-image: url("~@/assets/images/icons/"+"erweima.svg");
      width: 90px;
      height: 90px;
    }
    .erweimaSaas{
      background-image: url("~@/assets/images/icons/"+"erweimaSaas.jpg");
      width: 90px;
      height: 90px;
    }
  }
}
/*****服务支持-回复 creat：tx *****/
.fuwu-dialog{
  .news-box{
    border:1px solid #E4E7ED;
    border-radius: 4px 4px 0 0;
    height: 350px;
    overflow: auto;
    padding: 10px 0;
  }
  .others-news,.my-news{

    h3{
      @include setFontBase(-6);
      margin: 3px 0;
    }
    h4{text-align: right;margin: 0;}
    i{
      width: 18px;
      height: 18px;
      margin: 0 10px;
      background-image: url("~@/assets/images/default/"+"user-img.png");
      background-size: cover;
      display: inline-block;
    }
    span{
      color:#B988FF;
      margin-right: 5px;
    }
    div{
      padding: 10px;
      background: rgba(0,0,0,0.04);
      display: inline-block;
      position: relative;
      border-radius: 3.33px;
      margin-left: 10px;
      line-height: 18px;
      @include setFontBase(-6);
    }
    div:after{
      content: '';
      border-right: 10px solid transparent;
      border-bottom: 10px solid rgba(0, 0, 0, 0.04);
      border-left: 10px solid transparent;
      position: absolute;
      top: -10px;
      left: 20px;
    }
  }
  .my-news{
    h3{text-align: right;}
    span{
      color:#2196F5;
    }
    div{
      padding: 10px;
      background: rgba(0,0,0,0.04);
      margin-right: 10px;
      text-align: left;
    }
    div:after{
      border-bottom: 10px solid rgba(33,150,245,0.04);
      left: auto;
      right: 20px;
    }
  }
  /*宽度响应式*/
  @media screen and (max-width: 1440px){
    .news-box{
      height: 300px;
      padding: 5px 0;
    }
    .others-news,.my-news {

      h3 {
        @include setFontBase(-7);
      }
      i{
        width: 16px;
        height: 16px;
      }
      div{
        padding: 8px;
        @include setFontBase(-7);
      }
    }
  }
}

/*****评价管理 creat：wgy *****/
.mta-evaiuateManage{
  .kefunfo{
    color: #666666;
    font-size: 14px;
    margin-left: 10px;
  }
  .erweima{
    background-image: url("~@/assets/images/icons/"+"erweima.svg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 114px;
    height: 114px;
  }
  .erweimaSaas{
    background-image: url("~@/assets/images/icons/"+"erweimaSaas.jpg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 114px;
    height: 114px;
  }
  .time{
    background-image: url("~@/assets/images/icons/"+"time.svg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
  }
  .QQ{
    background-image: url("~@/assets/images/icons/"+"qq.svg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
  }
  .phone{
    background-image: url("~@/assets/images/icons/"+"phone.svg");
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
  }
  //置顶
  tr.row-upFlag:after{
    background: url("~@/assets/images/icons/" + "newInfo.svg") no-repeat;
  }
  //客服中心
  .fuwu-title{
    margin: 24px 0 16px;
  }
  .fuwu-line{
    margin-bottom: 12px;
  }

  /*宽度响应式*/
  @media screen and (max-width: 1440px){
    .fuwu-title{
      margin: 15px 0 10px;
    }
    .fuwu-line{
      margin-bottom: 9px;
    }
    .erweima{
      background-image: url("~@/assets/images/icons/"+"erweima.svg");
      width: 90px;
      height: 90px;
    }
    .erweimaSaas{
      background-image: url("~@/assets/images/icons/"+"erweimaSaas.jpg");
      width: 90px;
      height: 90px;
    }
  }
}
/*****评价管理-回复 creat：wgy *****/
.evaiuateManage-dialog{
  .el-dialog{margin-top: 7.5vh!important;}
  .dispaly{
    display: none;
  }
  .news-box{
    border:1px solid #E4E7ED;
    border-radius: 4px 4px 0 0;
    height: 350px;
    overflow: auto;
    padding: 10px 0;
  }
  .others-news,.my-news{

    h3{
      @include setFontBase(-6);
      margin: 3px 0;
    }
    h4{text-align: right;margin: 0;}
    i{
      width: 18px;
      height: 18px;
      margin: 0 10px;
      background-image: url("~@/assets/images/default/"+"user-img.png");
      background-size: cover;
      display: inline-block;
    }
    span{
      color:#B988FF;
      margin-right: 5px;
    }
    div{
      padding: 10px;
      background: rgba(0,0,0,0.04);
      display: inline-block;
      position: relative;
      border-radius: 3.33px;
      margin-left: 10px;
      line-height: 18px;
      @include setFontBase(-6);
    }
    div:after{
      content: '';
      border-right: 10px solid transparent;
      border-bottom: 10px solid rgba(0, 0, 0, 0.04);
      border-left: 10px solid transparent;
      position: absolute;
      top: -10px;
      left: 20px;
    }
  }
  .my-news{
    h3{text-align: right;}
    span{
      color:#2196F5;
    }
    div{
      padding: 10px;
      background: rgba(0,0,0,0.04);
      margin-right: 10px;
      text-align: left;
    }
    div:after{
      border-bottom: 10px solid rgba(33,150,245,0.04);
      left: auto;
      right: 20px;
    }
  }
  .message-box,.evaiuate-box{
    h3{
      @include setFontBase(-6);
      color: #B988FF;
      margin-bottom: 0;
      i{
        width: 18px;
        height: 18px;
        margin-right: 10px;
        background-image: url("~@/assets/images/default/"+"user-img.png");
        background-size: cover;
        display: inline-block;
      }
    }
    h4{
      @include setFontBase(-6);
      color: #666;
      margin: 10px 0 20px;
      line-height: 22px;
    }
  }
  .evaiuate-box{
    background: rgba(0,0,0,0.04);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
    h3{
      margin: 0;
      em{
        width:16px;
        height: 16px;
        background-image: url("~@/assets/images/icons/"+"trashCan.svg");
        float: right;
      }
    }
    h4{
      color: #666 ;
      margin: 0;
      line-height: 22px;
    }
    .evaiuate-line{
      width: 100%;
      height: 1px;
      background: #DDDDD0;
      margin: 15px 0;
    }
    .evaiuate-body{
      max-height: 310px;
      overflow: auto;
    }
  }
  .evaiuate-box:after{
    content: '';
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.04);
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    left: 20px;
  }
  /*宽度响应式*/
  @media screen and (max-width: 1440px){
    .news-box{
      height: 300px;
      padding: 5px 0;
    }
    .others-news,.my-news {

      h3 {
        @include setFontBase(-7);
      }
      i{
        width: 16px;
        height: 16px;
      }
      div{
        padding: 8px;
        @include setFontBase(-7);
      }
    }
  }
}
