/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */

@import '../../styles/global/bootstrap/hero-buttons';

@mixin nga-route-tabset-theme() {

  nga-route-tabset {
    @include nga-scrollbars(
        nga-theme(scrollbar-fg),
        nga-theme(scrollbar-bg),
        nga-theme(scrollbar-width));

    ul {
      font-family: nga-theme(route-tabs-font-family);
      font-size: nga-theme(route-tabs-font-size);

      padding: 0 nga-theme(route-tabs-padding);
      border-bottom: 1px solid nga-theme(route-tabs-separator);

      li {
        background: nga-theme(route-tabs-header-bg);
        min-width: nga-theme(route-tabs-header-min-width);

        a {
          padding: nga-theme(route-tabs-padding);
          color: nga-theme(route-tabs-fg);

          &::before {
            @include btn-hero-success-gradient();
            box-shadow: 0 0 16px -2px btn-hero-success-middle-color();
          }
        }

        &.active {
          background: nga-theme(route-tabs-active-bg);

          a {
            font-weight: nga-theme(route-tabs-active-font-weight);
            color: nga-theme(route-tabs-fg-heading);
          }
        }
      }
    }
  }
}
