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

@font-size: 16px;
@line-height: 20px;
@font-weight: 600;
:global {
  .queriedDataset {
    &-title {
      padding-top: 24px;
      padding-bottom: 5px;
      color: var(--text--primary);
      font-size: @font-size;
      font-weight: @font-weight;
      line-height: @line-height;
    }
    &-dataWrapper {
      &__wrapper {
        align-items: center;
        display: flex;
        margin-left: 10px;
        padding-top: 8px;

        &__datasetType {
          vertical-align: "middle";
          flex-shrink: 0;
          height: 30px;
          width: 30px;
        }
        &__dataHeader {
          display: inline-block;
          margin-left: 8px;
        }
        &__dataLabel {
          font-size: 14px;
          font-weight: @font-weight;
          line-height: 20px;
          color: var(--text--primary);
          margin: 0px;
        }
        &__datasetPath {
          color: var(--text--faded);
          font-size: 12px;
          line-height: 16px;
        }
        &__dataLabelSubscription {
          margin: 0px;
          font-size: 12px;
          line-height: 16px;
          color: var(--text--primary);
        }
      }
      &__label {
        width: fit-content !important;
        .icon-type {
          width: 28px !important;
          height: 28px !important;
        }
      }
    }
    &-buttonStyle {
      height: 32px;
      display: flex;
      align-items: center;
      cursor: pointer;
      width: fit-content;
      &__showmoreContent {
        font-family: var(--dremio--font-family);
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 18px;
        color: var(--icon--primary);
        margin: 0px var(--dremio--spacing--1);
        padding-left: var(--dremio--spacing--05);
      }
      &__showmoreIcon {
        width: 20px;
        height: 20px;
        color: var(--icon--primary);
      }
    }
  }
}
