@charset "utf-8";
.v-user-manage,
.v-whitelist-manage {
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  border: 1px solid #eee;
  height: 100%;
  .search-group-wrap {
    display: flex;
    align-items: center;
    padding-right: 15px;
    .search-group {
      flex: 1;
    }
    .ivu-btn {
      height: 32px;
    }
  }
  .search-group {
    height: 55px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    .sel {
      width: 200px;
      margin-right: 20px;
    }
    .ipt {
      width: 200px;
      margin-right: 20px;
    }
  }
  .main-box {
    flex: 1;
    padding: 15px;
    overflow-y: scroll;
    border-top: 1px solid $border-color;
    .control {
      .action-item {
        text-align: center;
        margin-right: 5px;
        color: $theme-color;
        cursor: pointer;
        &:last-child {
          margin-right: 0;
        }
      }
    }
  }
}
.page-box {
  height: 60px;
  border-top: 1px solid #eee;
  .ivu-page {
    float: right;
    margin-right: 40px;
    margin-top: 13px;
  }
}
.v-user-modal {
  .ivu-modal-body {
    font-size: $font-m-size;
    .title {
      display: flex;
      align-items: center;
      margin: $space-normal 0;
      font-size: $font-l-size;
      cursor: pointer;
      &.fold {
        .triangle {
          transform: rotate(-90deg);
        }
      }
      &:first-child {
        margin-top: 0;
      }
      .triangle {
        transition: all $transition-time;
        margin-left: 5px;
        display: inline-flex;
        @include triangle(bottom, 6px, #bbb);
      }
    }
    .content-box {
      padding-bottom: $space-normal;
      overflow: hidden;
      &.fold {
        height: 0;
        padding: 0;
      }
      &.no-p {
        padding-bottom: 0;
      }
      &::last-child {
        padding-bottom: 0;
      }
    }
    .ivu-input-wrapper{
      max-width: 360px;
    }
    .basic-info {
      display: flex;
    }
    .info-item {
      max-width: 30%;
      @extend %text-overflow;
      margin-right: $space-large;
    }
    .system-list {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .system-item {
      width: 330px;
      min-height: 155px;
      border: 1px solid $border-color;
      margin-top: $space-middle;
      border-radius: $border-s-radius;
      &:nth-child(1),
      &:nth-child(2) {
        margin-top: 0;
      }
      .sys-header {
        height: 60px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid $border-color;
        .img {
          @include circle(40px);
          margin: 0 10px;
        }
      }
      .sys-content {
        background: #fbfbfb;
        height: 93px;
        overflow-y: scroll;
        padding: 5px 10px;
        .checkbox-wrap {
          display: flex;
          align-items: center;
          height: 30px;
        }
        .ivu-checkbox-wrapper {
          margin: 0;
        }
      }
    }
    .permission-list .ivu-checkbox-wrapper,
    .system-list .ivu-checkbox-wrapper {
      margin-bottom: $space-normal;
      margin-right: $space-middle;
      padding-right: 5px;
    }
    .user-status {
      position: absolute;
      right: 40px;
      top: 40px;
      @include circle(60px);
      line-height: 60px;
      text-align: center;
      &.success {
        border: 1px solid #b7eb8f;
        color: #57c441;
      }
      &.error {
        border: 1px solid #ffa39e;
        color: #f5222d;
      }
      &.warning {
        border: 1px solid #ffd591;
        color: #fa8c26;
      }
    }
  }
}
.group-tree {
  &.v-component {
    .ivu-tree-title {
      font-size: $font-m-size;
    }
    .ivu-checkbox-inner {
      width: 16px;
      height: 16px;
      &::after {
        width: 5px;
        height: 9px;
      }
    }
    .ivu-tree-arrow {
      width: 14px;
      .ivu-icon {
        font-size: 16px;
      }
    }
    .ivu-tree-children .ivu-tree-children{
      .ivu-checkbox-wrapper-disabled {
        visibility: hidden;
      }
    }
    .gray{
      color: $text-gray-color;
      font-size: 14px;
    }
  }
}
