/*
 * 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 {
  .topPanel {
    height: 64px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 16px;
    background-color: var(--fill--primary);
    &__navigationWrapper {
      display: flex;
      flex-basis: 80%;
    }
    &__jobDetails {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 408px;
      &__jobsIcon {
        height: 14px;
        width: 55px;
        margin-bottom: 3px;
      }
    }
    &__jobs-logo {
      white-space: nowrap;
    }
    &__jobId {
      display: flex;
      align-items: center;
      position: relative;
      width: 100%;
      white-space: nowrap;
    }

    &__header {
      color: var(--color--neutral--300);
    }

    &__tab {
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-left: 8px;
      padding: 0px 8px;
      white-space: nowrap;
      color: var(--text--primary);
      &.--unselected {
        height: 56px;
        border-bottom: 4px solid transparent;
      }
      &.--selected {
        height: 56px;
        border-bottom: 4px solid var(--border--brand--solid);
      }
    }

    &__openResults {
      flex-basis: 40%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-right: 20px;
    }
  }
}
