@import './common/var.scss';
.es-tabs {
  &:not(.el-tabs--card):not(.el-tabs--border-card):not(.el-tabs--left) {
    .el-tabs__nav-wrap:not(.is-scrollable) {
      padding: 5px 8px 0 8px;
      .is-top {
        .el-tabs__item {
          padding: 0 16px;
          & + .el-tabs__item {
            padding-left: 20px;
          }
        }
      }
    }
  }
  .el-tabs__nav-wrap::after {
    height: 1px;
  }
  &.el-tabs--left,
  &.el-tabs--right {
    .el-tabs__nav-wrap {
      &.is-left::after,
      &.is-right::after {
        width: 1px;
      }
    }
  }
  &.el-tabs--border-card {
    & > .el-tabs__header {
      height: 44px;
      border-bottom: $--border-base;
      .el-tabs__nav-scroll {
        padding: 9px 10px 0 10px;
        .el-tabs__item {
          height: 36px;
          line-height: 36px;
          .el-badge {
            .el-badge__content {
              display: block;
              line-height: 16px;
              font-weight: 200;
              width: 16px;
              height: 16px;
              padding: 0;
              border: 0;
            }
          }
          &.is-active {
            border-top-color: #d9d9d9;
            border-top-left-radius: 2px;
            border-top-right-radius: 2px;
            font-weight: bold;
            color: $--color-primary;
          }
        }
      }
    }
  }
  .el-tabs__content {
    padding: 0;
  }
  &.es-tabs-full {
    padding-top: 44px;
    position: relative;
    .el-tabs__header {
      &.is-top {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
      }
    }
    .el-tabs__content,
    .el-tab-pane {
      height: 100%;
      &.es-tabs-padding {
        padding: 12px;
      }
    }
  }
  .es-tabs-panel {
    height: 100%;
    .es-data-table-content {
      padding: 16px;
    }
  }
}
