/*******************************************************************************
 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corporation 2019. All Rights Reserved.
 * Copyright (c) 2020 Red Hat, Inc.
 * US Government Users Restricted Rights - Use, duplication or disclosure
 * restricted by GSA ADP Schedule Contract with IBM Corp.
 *******************************************************************************/
@import 'node_modules/carbon-components/scss/globals/scss/_colors';
@import 'scss/variables';

.overview-cards-container {
  .loading-skeleton-text {
    display: inline-block;
  }

  // Cluster count
  .cluster-count-link {
    color: #0066cc;
  }

  // Cluster resource status icons
  .resource-status-help-icon {
    fill: #0066cc;
    margin-left: 4px;
    cursor: pointer;
  }

  .status-icon-container {
    display: inline-block;
    width: 40px;
    height: 24px;
    border-radius: 12px;
    padding: 6px 2px 6px 6px;
    margin-right: 8px;
  }

  .green-status {
    background-color: #f3faf2;
  }

  .yellow-status {
    background-color: #fdf7e7;
  }

  .red-status {
    background-color: #faeae8;
  }

  .orange-status {
    background-color: #f0f0f0;
  }

  .status-icon {
    width: 12px;
    height: 12px;
  }

  .status-count {
    display: inline-block;
    font-size: 12px;
    margin-left: 4px;
    vertical-align: top;
  }

  // Search resource link
  .details-item-link {
    color: #0066cc;
    text-decoration: none;
  }

  .details-item-link-icon {
    margin-left: 6px;
    height: 13px;
  }

  // Toggle subscriptions btn
  .toggle-subs-btn {
    width: 208px;
    height: 32px;
    display: block;
    padding: 6px 0;
    margin: 20px auto 10px;
    font-size: 13px;
    font-weight: 600;
  }

  // Subscription cards
  .sub-card-container {
    width: 100%;
    height: 99px;
    display: grid;
    margin-top: 16px;
    font-size: 14px;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    grid-template-columns: 33% 34% 33%;
  }

  .sub-card-column {
    padding: calc(10px + 1rem);
  }

  .subs-icon {
    width: 16px;
    height: 13px;
    position: absolute;
  }

  .sub-card-content {
    margin-left: 30px;
  }

  .sub-card-title {
    font-weight: 600;
    margin-bottom: 10px;
  }

  .set-time-window-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
  }
}

.pf-c-alert {
  margin: 0.5rem 0;

  .pf-c-alert__title,
  .pf-c-alert__description > p {
    font-size: 14px;
    margin-top: auto;
  }
}