@import './element-variables';
@import './reset';
@import './public';
@import './transition';
// 通用表格页
.public-table {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: $radius;
  position: relative;
  /*box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 2px 6px 0 rgba(0,0,0,.045);*/
  .search-box.showRes + .public-table__head.has-search {
    padding-right: 140px;
  }

  &__head {
    height: 38px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    &.has-search {
      padding-right: 30px;
    }
    &__tool {
      display: flex;
      align-items: center;
    }
  }

  & > .bio-table {
    height: calc(100% - 38px);
  }

  &.hasTab {
    .el-tabs {
      height: 45px;
      @media (max-width:1400px) {
        height: 41px;
      }
    }

    .bio-table {
      height: calc(100% - 83px);
      @media (max-width:1400px) {
        height: calc(100% - 79px);
      }
    }
  }
}

.bio-title-second {
  &.card-title {
    font-size: 18px;
    @media (max-width:1400px) {
      font-size: 15px !important;
    }
  }
}

// 表单
.bio-form, .bio-readonly-form {
  .el-radio-group.block {
    .el-checkbox, .el-radio {
      display: flex;
      margin-right: 0;
    }
  }

  .el-checkbox, .el-radio {
    display: inline-flex;
    line-height: 20px;

    &__input {
      padding-top: 3px;
    }

    &__label {
      white-space: normal;
    }
  }
}

.pop-version {
  padding: 10px 10px;
  min-width: 100px;
  text-align: center;
  margin-top: 0 !important;
}

// 版本号
.bio-version {
  text-align: center;
  position: absolute;
  height: 24px;
  line-height: 24px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: $color4;
}

.search-form {
  position: relative;

  .el-form-item {
    margin-bottom: 10px;

    &__label {
      line-height: 1;
    }
  }

  .el-input, .el-select {
    width: 100%;
  }

  &.el-form--inline {
    .el-input, .el-select {
      width: auto;
    }
  }

  .el-form--label-top .el-form-item__label {
    padding: 0;
  }
}
