@import '../patterns/layout/components/core/style/variables';
@import 'tabs-common';

.mat-tab-header {
  display: flex;
  @include tab-header;
}

// Wraps each tab label
.mat-tab-label {
  @include tab-label;
  position: relative;
}

// @media ($mat-xsmall) {
//   .mat-tab-label {
//     min-width: 72px;
//   }
// }

.mat-tab-header-pagination {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  min-width: 32px;
  cursor: pointer;
  z-index: 2;

  .mat-tab-header-pagination-controls-enabled & {
    display: flex;
  }
}

// The pagination control that is displayed on the left side of the tab header.
.mat-tab-header-pagination-before{
  padding-left: 4px;
  .mat-tab-header-pagination-chevron {
    transform: rotate(-135deg);
  }
}

// The pagination control that is displayed on the right side of the tab header.
.mat-tab-header-pagination-after {
  padding-right: 4px;
  .mat-tab-header-pagination-chevron {
    transform: rotate(45deg);
  }
}

.mat-tab-header-pagination-chevron {
  border-style: solid;
  border-width: 2px 2px 0 0;
  content: '';
  height: 8px;
  width: 8px;
}

.mat-tab-header-pagination-disabled {
  box-shadow: none;
  cursor: default;

  .mat-tab-header-pagination-chevron {
    border-color: #ccc;
  }
}

.mat-tab-label-container {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
  z-index: 1;
}

.mat-tab-list {
  flex-grow: 1;
  position: relative;
  transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
}

.mat-tab-labels {
  display: flex;
  padding: 10px;
}