/*
 * 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.
 */
@import "~#oss/uiTheme/less/mixins.less";

:global {
  .tableDetailsPage {
    &-content {
      padding: 16px;
      padding-top: 0;
    }

    &-content {
      display: flex;

      min-height: 0;
      flex: 1;
    }

    &-commits {
      flex-shrink: 0;

      width: 352px;
      border-right: 1px solid var(--border--neutral);
    }

    &-info {
      flex: 1;
      height: 100%;
    }

    &-tableHeader {
      .flex-center;
      height: 100%;
      width: 352px;
    }

    &-tableFullName {
      min-width: 0;
      flex: 1;

      margin-left: 8px;

      cursor: default;
    }

    &-tableName {
      font-weight: 500;
    }
    &-tableNamespace {
      color: var(--color--neutral--300);
    }

    &-tabs {
      user-select: none;
    }

    &-tabs,
    &-historyTab {
      height: 100%;
    }

    &-historyTab {
      padding-left: 10px;
      padding-right: 10px;

      position: relative;
      .flex-center;
      font-size: 13px;
      color: var(--color--neutral--300);
      .font-icon {
        margin-right: 4px;
      }
      &:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 4px;
        background-color: var(--color--brand--500);
      }
    }
  }
}
