/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */

.tab {
  composes: theme-typography--caption from global;
}

.underline {
  & .tab {
    color: inherit;
    border: none;
    border-bottom: 2px solid var(--theme-primary);
    opacity: 1;
    border-top: none;
    font-weight: normal;
    text-transform: uppercase;

    &:global([aria-selected='false']) {
      opacity: 0.8;
      border-bottom: 2px solid transparent;
    }

    &:global([aria-disabled='true']) {
      opacity: 0.5;
    }

    &:hover {
      opacity: 1;
    }
  }
}
