.tabs-box {
  // background-color: var(--el-bg-color);
  padding: 0 10px;
  .tabs-menu {
    position: relative;
    width: 100%;
    .el-dropdown {
      position: absolute;
      top: 8px;
      right: 13px;
    }
    :deep(.el-tabs) {
      .el-tabs__header {
        box-sizing: border-box;
        height: 40px;
        // padding: 0 10px;
        margin: 0;
        .el-tabs__nav-wrap {
          position: absolute;
          width: calc(100% - 110px);
          .el-tabs__nav {
            display: flex;
            border: none;
            .el-tabs__item {
              display: flex;
              align-items: center;
              justify-content: center;
              color: #afafaf;
              border: none;
              .tabs-icon {
                margin: 1.5px 4px 0 0;
                font-size: 15px;
              }
              .is-icon-close {
                margin-top: 1px;
              }
              &.is-active {
                color: var(--el-color-primary);
                &::before {
                  position: absolute;
                  bottom: 0;
                  width: 100%;
                  height: 0;
                  content: "";
                  border-bottom: 2px solid var(--el-color-primary) !important;
                }
              }
            }
          }
          .el-tabs__nav-prev,
          .el-tabs__nav-next {
            &.is-disabled {
              cursor: not-allowed;
            }
          }
        }
      }
    }
  }
}

body.vertical {
  .tabs-box {
    :deep(.el-tabs) {
      .el-tabs__nav-wrap {
        width: calc(100% - 10px) !important;
        .el-tabs__nav-prev,
        .el-tabs__nav-next {
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: $br-sm;
          height: 100%;
          background-color: var(--el-menu-bg-color);
          &.is-disabled {
            background-color: unset;
          }
        }

        &.is-scrollable {
          padding: 0 $space-a3;
        }
      }
    }
  }
}
