/*
 * Copyright 2024 Harness, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.versionSelectorDropdown {
  :global(.DropDown--dropdownButton) {
    padding: var(--spacing-small);
    min-width: auto !important;
    column-gap: var(--spacing-medium) !important;
  }

  :global([data-icon='main-chevron-down'] > svg) {
    width: 13px;
    height: 13px;
  }
}

.primaryColor {
  color: var(--primary-7) !important;
}

.menuItem {
  height: var(--spacing-8);
  padding: 0 var(--spacing-4);
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--black);
  font-weight: 400;
  font-size: 13px;
  &.active {
    background: var(--primary-2);
  }
  &.disabled {
    color: var(--grey-400);
    cursor: default;
  }
  &:hover:not(.disabled) {
    background: var(--primary-2) !important;
    color: var(--black) !important;
  }
}
