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

.base {
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;

  .header {
    height: 32px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: var(--fill--secondary);

    .name {
      height: 32px;
      width: 239px;
      display: flex;
      align-items: center;
      padding-left: var(--dremio--spacing--1);
      border-right: 1px solid var(--border--neutral);
    }
  }

  .inner {
    height: 184px; // TODO: check if this can be height, and if max-height needed
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: var(--fill--primary);
    border-bottom: 1px solid var(--border--neutral);
  }

  .add-join {
    height: 32px;
    display: flex;
    align-items: center;
    gap: var(--dremio--spacing--05);
    padding: var(--dremio--spacing--1);
    border-radius: var(--dremio--radius--1);
    margin-top: var(--dremio--spacing--05);
    margin-left: 239px;
    color: var(--text--brand);
    transition: background-color 125ms ease-in-out;

    .add-text {
      font-size: 14px;
      font-weight: 500;
    }

    &:hover {
      background-color: var(--fill--primary--hover);
      cursor: pointer;
    }
  }
}
