
.layour-content {

  /*列表上方操作按钮区域*/
  .ant-card-body .table-operator {
    margin-bottom: 8px;
  }

  /** Button按钮间距 */
  .table-operator .ant-btn {
    margin: 0 8px 8px 0;
  }

  .table-operator .ant-btn-group .ant-btn {
    margin: 0;
  }

  .table-operator .ant-btn-group .ant-btn:last-child {
    margin: 0 8px 8px 0;
  }

  /*列表td的padding设置 可以控制列表大小*/
  .ant-table-tbody .ant-table-row td {
    padding-top   : 15px;
    padding-bottom: 15px;
  }

  /*列表页面弹出modal*/
  .ant-modal-cust-warp {
    height: 100%
  }

  /*弹出modal Y轴滚动条*/
  .ant-modal-cust-warp .ant-modal-body {
    height    : calc(100% - 110px) !important;
    overflow-y: auto
  }

  /*弹出modal 先有content后有body 故滚动条控制在body上*/
  .ant-modal-cust-warp .ant-modal-content {
    height    : 90% !important;
    overflow-y: hidden
  }

  /*列表中有图片的加这个样式 参考用户管理*/
  .anty-img-wrap {
    height  : 25px;
    position: relative;
  }

  .anty-img-wrap>img {
    max-height: 100%;
  }

  /*列表中范围查询样式*/
  .query-group-cust {
    width: calc(50% - 10px)
  }

  .query-group-split-cust:before {
    content   : "~";
    width     : 20px;
    display   : inline-block;
    text-align: center
  }


  /*erp风格子表外框padding设置*/
  .ant-card-wider-padding.cust-erp-sub-tab>.ant-card-body {
    padding: 5px 12px
  }

  /* 内嵌子表背景颜色 */
  .j-inner-table-wrapper /deep/ .ant-table-expanded-row .ant-table-wrapper .ant-table-tbody .ant-table-row {
    background-color: #FFFFFF;
  }

  /* 表格背景高度和分页定位 */
  .j-address-list-right-card-box .ant-table-placeholder {
    min-height: 46px;
  }

  .ant-card-body {
    height  : calc(100vh - 125px);
    overflow: hidden;
  }

  /*阻止滚动条总是显示*/
  /*.ant-table-body {
  overflow: auto !important
}
.ant-table-body-inner {
  overflow: auto !important
}

.ant-table-fixed-left {
  height: calc(100% - 8px) !important;
  overflow:hidden
}
.ant-table-scroll{
  height: calc(100% - 8px) !important;
  overflow:hidden
}*/
  /*阻止滚动条总是显示end*/
  .common-table-comp .ant-table-pagination {
    position: fixed;
    bottom  : 10px;
    right   : 10px;
  }

  .common-table-comp {
    .ant-table-tbody>tr:nth-child(2n) {
      background-color: #fafafa;
    }

    .ant-table-tbody>tr.ant-table-row-selected td {
      background: rgba(230, 247, 255, 0.85);
    }

    .ant-table-thead>tr {
      background-color: #fafafa;
    }

    .ellipsis-text {
      display      : inline-block;
      width        : 100%;
      white-space  : nowrap;
      text-overflow: ellipsis;
      overflow     : hidden;
    }

    .ant-table-thead {
      th:not([key='selection-column']) {
        overflow     : hidden;
        white-space  : nowrap;
        text-overflow: ellipsis;
        min-width    : 60px !important;
      }
    }
  }

  .resize-table-th {
    overflow     : hidden;
    white-space  : nowrap;
    text-overflow: ellipsis;
    position     : relative;

    .table-draggable-handle {
      height      : 100% !important;
      bottom      : 0;
      left        : auto !important;
      right       : -15px;
      cursor      : col-resize;
      touch-action: none;
    }
  }

  .editable-cell .ant-input-number {
    width: 100%;
  }

  .ant-col {
    transition-property: width;
    transition-duration: 0.5s;
  }

  .ant-page-header {
    position        : absolute;
    left            : 0;
    top             : 0;
    width           : 100%;
    padding         : 8px 24px;
    background-color: #fafafa;
    border          : 1px solid#e8e8e8;
  }

  .ant-page-header-heading-title {
    font-size  : 14px;
    line-height: 16px;
    font-weight: normal;
    color      : #1890ff;
  }

  .ant-card-body {
    padding-top: 10px;
  }

  .tab-style-manage .ant-card-body {
    padding-top: 0;
  }

  .table-page-search-wrapper {
    margin-top: 40px;
  }

  .tab-style-manage {
    .table-page-search-wrapper {
      margin-top: 0;

      .table-page-search-submitButtons {
        margin-bottom: 16px;
      }

      .ant-form-inline .ant-form-item {
        margin-bottom: 16px;
      }

    }

  }

  .tab-style-manage .tab-style-tree {
    padding-right: 0px;
    height       : calc(100vh - 200px);
    border-right : 1px solid #e8e8e8;
    overflow     : auto;
  }

  .tab-style-manage .tab-style-table {
    .ant-card-body {
      padding      : 10px;
      padding-top  : 0;
      padding-right: 0;
    }
  }
}


// 弹窗滚动样式
.drawer-edit {
  .ant-drawer-header {
    position     : absolute;
    top          : 0;
    left         : 0;
    width        : 100%;
    z-index      : 20;
    border-bottom: 1px solid #e8e8e8;
    background   : #fff;
  }

  .drawer-content {
    width     : 100%;
    border    : 1px solid #e9e9e9;
    padding   : 10px 16px;
    background: #fff;
    margin    : 53px 0;

    &.no-border {
      border: none;
    }

    .drawer-bottom-button {
      position     : absolute;
      bottom       : 0;
      width        : 100%;
      border-top   : 1px solid #e8e8e8;
      padding      : 10px 16px;
      text-align   : right;
      left         : 0;
      background   : #fff;
      border-radius: 0 0 2px 2px;
      z-index      : 999
    }
  }
}

.fullDialog {
  .ant-modal {
    padding: 0;

    .ant-modal-content {
      height       : 100% !important;
      border-radius: 0 !important;
    }
  }
}
.fullscreen-modal-contanier{
  top:5%;
  height: 90%;
  padding-bottom:0;
  .ant-modal-content{
    height: 100%!important;
    .ant-modal-body{
      height: calc(100% - 106px);
      overflow-y: auto;
    }
  }
}
.render-form-full{
  top: 0;
  width:"100vw";
  height:"100vh";
  .ant-modal-content{
    height: 100%!important;
    overflow: hidden;
    border-radius: 0;
      .ant-modal-body{
          height: calc(100% - 106px);
          overflow-y: auto;
          overflow-x: hidden;
      }
  }
}
.render-form-style{
  .ant-modal-content{
      height: 100%!important;
      .ant-modal-body{
          height: calc(100% - 106px);
          overflow-y: auto;
      }
  }
}