/*
 * Copyright (c) 2010, 2023 BSI Business Systems Integration AG
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 */
.simple-tab-area {
  position: absolute;
  top: 0;
  white-space: nowrap;
  display: flex;

  & > .simple-overflow-tab-item {
    border-right: 1px solid @border-color;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 30px;
    background-color: @simple-tab-background-color;
    text-align: center;
    cursor: pointer;

    &::after {
      #scout.font-icon();
      content: @icon-angle-down;
    }
  }

  &.spread-even {
    &:not(.overflown) {
      & > .simple-tab {
        flex-grow: 1;

        &.last {
          border-right-width: 0;
        }
      }
    }

    & > .simple-overflow-tab-item {
      border-right-width: 0;
    }
  }
}
