vitess.io/vitess@v0.16.2/web/vtadmin/src/components/tabs/TabContainer.module.scss (about)

     1  /**
     2   * Copyright 2021 The Vitess Authors.
     3   *
     4   * Licensed under the Apache License, Version 2.0 (the "License");
     5   * you may not use this file except in compliance with the License.
     6   * You may obtain a copy of the License at
     7   *
     8   *     http://www.apache.org/licenses/LICENSE-2.0
     9   *
    10   * Unless required by applicable law or agreed to in writing, software
    11   * distributed under the License is distributed on an "AS IS" BASIS,
    12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13   * See the License for the specific language governing permissions and
    14   * limitations under the License.
    15   */
    16  .tabContainer {
    17      display: flex;
    18      flex-direction: row;
    19      flex-wrap: nowrap;
    20      margin-bottom: 0.4em;
    21      overflow-x: auto;
    22      min-width: 100%;
    23      position: relative;
    24  
    25      &.small {
    26          font-size: theme('fontSize.sm');
    27      }
    28  
    29      &.large {
    30          font-size: theme('fontSize.lg');
    31      }
    32  
    33      &::after {
    34          background: var(--colorScaffoldingHighlight);
    35          bottom: 0;
    36          height: 1px;
    37          content: '';
    38          position: absolute;
    39          width: 100%;
    40      }
    41  }