@import '~@alifd/next/variables.scss';


.tabs {
  height: 100%;
  display: flex;
} 

// 导航
.nav {
  width: 60px;
  height: 100%;
  padding-top: 4px;
  border-right: 1px solid var(--tab-wrapped-border-line-color);
  background: none !important;

  :global {

    .#{$css-prefix}tabs-tab {
      background-color: transparent !important;

      &.active .v-icon-tab-item {
        background-color: rgba(76, 137, 255, 0.1);
      }
    }

    // 图标区
    .v-icon-tab-item {
      height: 76px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 0 4px;
      border-radius: 4px;
      user-select: none;

      &:hover {
        background-color: rgba(76, 137, 255, 0.1);
      }
      
      .tab-title {
        margin-top: 3px;
        font-weight: normal;
      }
    }
  }
}

// 标签页内容区
.content {
  // width: 260px;
  height: 100%;
  border-left: none !important;
  transition: width .1s linear;
  overflow: initial !important;

  :global {
    .#{$css-prefix}tabs-tabpane {
      position: absolute;
      left: 0;
      top: 0;
      z-index: 1;
      // width: 250px;
      height: 100%;
      overflow: auto;
      background: #FFF;
      border-right: 1px solid var(--tab-wrapped-border-line-color);
    }
  }

  &.hide {
    width: 0;
    border-right: none;
  }
}