/*
 * 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.
 */

.privilegesIcon {
  color: var(--icon--primary) !important;

  &:hover,
  &:focus {
    color: var(--text--brand) !important;
  }

  &[disabled] {
    color: var(--icon--disabled) !important;
  }
}

.warning-icon {
  height: 24px;
  width: 24px;
  margin-right: var(--dremio--spacing--1);
  color: var(--icon--primary);
}

.run-icon {
  height: 20px;
  width: 20px;
  color: inherit;

  &--disabled {
    color: var(--icon--disabled);
  }
}

.preview-icon,
.discard-icon {
  height: 20px;
  width: 20px;
  color: var(--icon--primary);

  &--disabled {
    color: var(--icon--disabled);
  }
}

.edit-icon {
  height: 20px;
  width: 20px;
}

.query {
  text-decoration: none;
  width: 100;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color--brand--300);
  border-bottom: 1px solid #3399a8;
  border-radius: 2;
  color: #fff;
  &:hover {
    background-color: rgb(104, 198, 211);
  }
}
