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

@import '../../styles/core/mixins';

.route-tabset {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;

  .route-tab {
    margin-bottom: -1px;
    text-align: center;
    padding: 0;

    &.active a::before {
      display: block;
    }

    a {
      position: relative;
      text-decoration: none;
      display: inline-block;

      &::before {
        position: absolute;
        content: '';
        width: 100%;
        border-radius: 3px;
        bottom: -2px;
        left: 0;
      }

      el-icon {
        vertical-align: middle;
      }

      el-icon + span {
        @include el-ltr(margin-left, 0.5rem);
        @include el-rtl(margin-right, 0.5rem);
      }
    }
  }
}

:host.full-width .route-tabset {
  justify-content: space-around;
}
