tabs.less 1.2 KB
.tabs_warp {
  .ant-tabs {
    background-color: #fff;
    line-height: 20px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 8px 8px 0 0;

    .ant-tabs-nav {
      margin: 0;

      &::before {
        border-color: #f2f3f5;
      }

      .ant-tabs-nav-wrap {
        padding: 0 32px;

        .ant-tabs-tab {
          padding: 31px 0 21px 0;

          .ant-tabs-tab-btn {
            font-size: 16px;
            color: #606266;

            &::after {
              content: ' ';
              width: 20px;
              position: absolute;
              left: calc(~'50% - 10px');
              bottom: 1px;
              border-bottom: 2px solid transparent;
              box-shadow: 0px 4px 10px 0px rgba(78, 89, 105, 0.06);
              border-radius: 2px;
              transition: 0.4s;
              transform: scaleX(0);
            }
          }
        }

        .ant-tabs-tab-active {
          .ant-tabs-tab-btn {
            font-size: 16px;
            color: #1d2129 !important;

            &::after {
              border-color: #1677ff;
              transform: scaleX(1);
            }
          }
        }

        .ant-tabs-ink-bar {
          display: none;
        }
      }
    }
  }
}