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

:global {
  .sqlTab {
    overflow: hidden;
    width: 99%;
    &__SQLBody {
      width: 100%;
      min-height: 190px;
      border-radius: 4px;
      margin-right: 10px;
    }
    &__SQLGraphHeader {
      position: absolute;
      width: 111px;
      height: 19px;
      font-weight: 500;
      font-size: 16px;
      line-height: 19px;
      border-radius: 5px;
      padding-top: 16px;
    }
    &__SQLQueryVisualizer {
      position: absolute;
      width: 100%;
      height: 92vh;
      top: 340px;
      right: 0px;
    }
  }

  .failedJobDialog {
    height: fit-content !important;

    &__body {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 116px;
      height: 100%;
      max-height: 400px;
      margin: 10px 0 !important;
    }

    &__editor {
      margin: 10px 0;
    }

    &__icon {
      height: 24px;
      width: 24px;
      margin-right: 8px;
      color: var(--icon--primary);
    }
  }
}
