/*
 * Copyright 2023 Harness, Inc.
 *
 * 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.
 */

.container {
  .table {
    background-color: var(--white) !important;

    [class*='TableV2--header'] {
      box-shadow: 0px 0px 1px rgb(40 41 61 / 8%), 0px 0.5px 2px rgb(96 97 112 / 16%);
      border-bottom: 1px solid var(--grey-100);

      [class*='variation-table-headers'] {
        text-transform: none;
        color: var(--grey-400);
        font-weight: 500;
        font-size: 13px;
      }
    }

    .row {
      justify-content: center;
      padding-top: 0;
      padding-bottom: 0px;
      height: 40px;
      box-shadow: 0px 0px 1px rgba(40, 41, 61, 0.08), 0px 0.5px 2px rgba(96, 97, 112, 0.16);
      overflow: hidden;
      border-radius: 0;
      margin-bottom: 0;

      &.odd {
        background-color: var(--grey-50);
      }

      &:hover {
        background-color: #0092e40a !important;
      }

      .rowText {
        font-size: 13px;
        font-weight: 400;

        &.defaultBranch .commitLink {
          font-weight: 600;
        }

        .spacer {
          display: inline-block;
          width: 6px;
        }
      }

      .commitLink {
        font-weight: 400;
        font-size: 13px;
        color: var(--black);

        &:hover {
          color: var(--primary-8);
        }
      }
    }
  }
}

.popover {
  padding: var(--spacing-small);
}
