$editgird-prefix-cls: "#{$css-prefix}editgird";
$editgird-select-item-prefix-cls: "#{$editgird-prefix-cls}-filter-select-item";
.#{$editgird-prefix-cls} {
  border-radius: $table-border-radius;

  &-wrapper {
    border-radius: $table-border-radius;
    border: 1px solid $table-outside-border-color;//表格内外框线分别调整
    border-bottom: $table-wrapper-border-bottom;
    border-right: $table-wrapper-border-right;
  }

  &::before { //表格内外框线分别调整
    background-color: $table-outside-border-color;
  }

  &::after {
    background-color: $table-outside-border-color;
  }

  & th {
    color: $table-th-text-color;
    font-weight: $table-th-font-weight;
    font-size: $table-th-font-size;
    border-bottom: 1px solid $table-outside-border-color;
  }

  & td {
    height: 32px;
    color: $table-td-text-color;
    border-bottom: 1px solid $table-inside-border-color;
  }

  &-border { //t 原'border'属性对th和td都生效，修改为只对表头生效
    th {
      border-right: 1px solid $table-hearder-border-color;
    }

    td {
      border-right: 0;
    }
  }

  &-sort {
    float: right;
    margin: 3px  4px 3px  6px;
  }

  & .h-poptip {
    float: right;
    line-height: 18px;
    margin: 0  4px 0  8px;

    & .h-poptip-rel:hover {
      background-color: #ededed;
    }
  }

  &-filter {
    &-list {
      padding: $table-filter-list-padding;

      &-item {
        .h-checkbox-wrapper {
          height: 28px;
          line-height: 28px;
          padding: 0 12px 0 8px;
          font-weight: normal;

          &:hover {
            background-color: #eff5ff;
          }
        }
      }
    }

    &-footer {
      text-align: right;
      border-top: 0;

      & button {
        color: #4686f2;
      }
    }

    & span {
      // background-color: pink;//*****************************
    }
  }

  td &-cell { //编辑状态下文字和normal显示文字对齐;编辑状态单元格顶格;
    // // width: 100%;
    // padding: 0 2px;
    // white-space: normal//非编辑状态不能换行，换行会导致固定列无法对其
    // // word-break: break-all;
    // & .dbClass{
    //     & .h-input{
    //         padding-left:6px ;
    //     }
    //     & span{
    //         margin:  0 6px ;
    //     }
    // }
  }


  tr.#{$editgird-prefix-cls}-title-expand {  //grouptable每组的 组名行 展开时不再加粗
    td {
      font-weight: normal;
    }
  }

  &-icon-click {   //树表格的小三角样式
    color: #999;
    // float:left;
  }

  &-fixed {
    &-header {
      border-right: 1px solid $table-hearder-border-color;
    }

    &-body {
      border-right: 1px solid $table-hearder-border-color;
    }
  }

  &-fixed-right {
    .#{$editgird-prefix-cls}-fixed-header {
      border-right: 0;
      border-left: 1px solid $table-hearder-border-color;
    }
    .#{$editgird-prefix-cls}-fixed-body {
      border-right: 0;
      border-left: 1px solid $table-hearder-border-color;
    }
  }

  &-summation {
    & td {
      background-color: #ededed;
    }
  }

  & .h-treegird-arrow {
    display: inline-block;
    min-width: 12px;
  }
}
