.six-storage-tabs {
  &.six-storage-tabs-transparent {
    background-color: transparent;

    .six-storage-tab a,
    .six-storage-tab.six-storage-disabled a,
    .six-storage-tab.six-storage-disabled a:hover {
      color: rgba(255,255,255,0.7);
    }

    .six-storage-tab a:hover,
    .six-storage-tab a.six-storage-active {
      color: #fff;
    }

    .six-storage-indicator {
      background-color: #fff;
    }
  }

  &.six-storage-tabs-fixed-width {
    display: flex;

    .six-storage-tab {
      flex-grow: 1;
    }
  }

  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  height: 48px;
  width: 100%;
  background-color: $tabs-bg-color;
  margin: 0 auto;
  white-space: nowrap;

  .six-storage-tab {
    display: inline-block;
    text-align: center;
    line-height: 48px;
    height: 48px;
    padding: 0;
    margin: 0;

    a {
      &:focus,
      &:focus.six-storage-active {
        background-color: transparentize($tabs-underline-color, .8);
        outline: none;
      }

      &:hover,
      &.six-storage-active {
        background-color: transparent;
        color: $tabs-text-color;
      }

      color: rgba($tabs-text-color, .7);
      display: block;
      width: 100%;
      height: 100%;
      padding: 0 24px;
      font-size: 14px;
      text-overflow: ellipsis;
      overflow: hidden;
      transition: color .28s ease, background-color .28s ease;
    }

    &.six-storage-disabled a,
    &.six-storage-disabled a:hover {
      color: rgba($tabs-text-color, .4);
      cursor: default;
    }
  }
  .six-storage-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: $tabs-underline-color;
    will-change: left, right;
  }
}

// Fixed Sidenav hide on smaller
@media #{$medium-and-down} {
  .six-storage-tabs {
    display: flex;

    .six-storage-tab {
      flex-grow: 1 !important;

      a {
        padding: 0 12px;
      }
    }
  }
}
