/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * 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.
 */

//All classes here need the !important override to work with the inline styles they've been removed from
.buttonPsuedoClasses {
  &:hover {
    outline: 1px solid var(--color--brand--400) !important;
    outline-offset: 2 !important;
  }
}

.primaryButtonPsuedoClasses {
  &:hover {
    border-color: var(--color--brand--400) !important;
    background-color: var(--color--brand--400) !important;
    outline: none !important;
  }
}

.secondaryButtonPsuedoClasses {
  &:hover {
    background-color: var(--fill--secondary) !important;
    outline: none !important;
  }
}

.dangerButtonPsuedoClasses {
  &:hover {
    background-color: var(--fill--danger--bold) !important;
    outline: none !important;
  }
}

.textAreaPsuedoClasses {
  resize: none;
  &:hover {
    border-color: var(--border--hover) !important;
  }

  &:focus {
    outline: none;
    border-color: var(--border--focused) !important;
  }

  &:disabled {
    background: var(--fill--disabled) !important;
    color: var(--text--disabled) !important;
  }
}

.contextCardPsuedoClasses {
  &:hover {
    background-color: var(--fill--primary) !important;
  }
}

.dismissButtonPsuedoClasses {
  &:active {
    transform: scale(1.2, 1.2) !important;
  }
}
