@import (reference) '~antd/lib/style/themes/index';

.columnsDom {
  position: absolute;
  top: 20px;
  right: 10px;
  z-index: 10;
  right: 10px
}

.sula-template-query-table {
  .ant-table.ant-table-bordered > .ant-table-title {
    border: 0;
    padding: 0;
  }

  .ant-table-container button {
    span:hover {
      text-decoration: underline;
    }
  }

  .ant-table-thead > tr > th {
    &:first-child {
      padding-left: 24px;
    }
    &:first-child.ant-table-column-has-sorters {
      padding-left: 8px;
    }
    &:last-child {
      padding-right: 24px;
    }
  }

  .ant-table-tbody > tr > td {
    &:first-child {
      padding-left: 24px;
    }
    &:last-child {
      padding-right: 24px;
    }
  }

  .sula-table-action {
    display: flex;
    justify-content: space-between;

    &-left {
      :global {
        .ant-space {
          flex-wrap: wrap;
        }
      }
    }

    &-right {}

  }
}

.queryFormContainer {
  &>div {
    height: 100%;
  }
  flex-shrink: 0 !important;
  // padding: 0 10px;
  position: relative;
  transition: 0.5s;
  -webkit-transition: 0.5s; /* Safari */
  .ant-form {
    height: 100%;
  }
}

// 滚动条
/* 滚动槽（轨道）宽高 */
.queryFormContainer::-webkit-scrollbar {
  width: 5px; /*对垂直流动条有效*/
  height: 5px; /*对水平流动条有效*/
  // background-color:red
}
/* 滚动槽（轨道）样式 */
.queryFormContainer::-webkit-scrollbar-track {
  background-color: #ffffff;
  border-radius: 8px;
}

/*定义滑块颜色、内阴影及圆角*/
.queryFormContainer::-webkit-scrollbar-thumb {
  border-radius: 7px;
  background-color: #CECECE;
}

/*定义两端按钮的样式*/
.queryFormContainer::-webkit-scrollbar-button {
  display: none;
}

.queryFormContainer::-webkit-scrollbar-thumb:window-inactive {
  background: #fff;
}

.queryFormCollapse {
  position: absolute;
  width: 9px;
  height: 64px;
  background-color: #ffffff;
  border-radius: 0 4px 4px 0;
  top: 50%;
  margin-top: -64px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ant-popover {
  z-index: 1055 !important;
}


.suitClass {
  width: calc(100% - 333px);
  flex-shrink: 1;
  flex-grow: 1;
}

.table-bssula-summary {
  position: absolute;
  bottom: 4px;
  left: 10px;
  height: 22px;

  & > span {
    display: inline-block;
    margin: 0 10px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 12px;
    color: rgba(44,47,46,.85);
    letter-spacing: 0;
    text-align: left;
    line-height: 20px;
  }

  &-count {
    font-weight: 600;
  }
}

.has-bssula-summary {
  .ant-table-pagination.ant-pagination {
    margin: 4px 0;
  }
}

.sula-table-status {
  border-bottom: 0.8px solid #D9D9D9;;
  background-color: #ffffff;
  height: 40px;
  width: 100%;
  line-height: 47px;
  white-space: nowrap;

  div {
    background: #F3F3F3;
    height: 12px;
  }

  div {
    display: inline-block;
    padding-left: 10px;
    margin-right: 30px;
    padding-bottom: 12px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    background-color: #ffffff;
    letter-spacing: 0;
    line-height: 30px;
    cursor: pointer;


    &:first-child {
      margin-left: 12px;
    }
  }

  .span-active {
    & > span {
      color: @primary-color;
      position: relative;
    }

    &>span::after {
      position: absolute;
      content: '';
      bottom: -10px;
      width: calc(100% + 10px);
      left: -5px;
      height: 2px;
      background-color: @primary-color;
    }
    
  }
}

.header-filter-radio {
  width: 260px;
  box-sizing: border-box;
  .ant-radio-group {
    width: 100%;
    .ant-radio-wrapper {
      width: 100%;
      padding: 0 10px;
      display: block;
      height: 36px;
      line-height: 36px;
    }
  }
  .ant-checkbox-group {
    width: 100%;
    .ant-checkbox-wrapper {
      width: 100%;
      padding: 0 10px;
      display: block;
      height: 36px;
      line-height: 36px;
    }
  }
}
