/**
 *
 * @ai-apps/angular v2.152.0 | _dashboard.scss
 *
 * Copyright 2014, 2023 IBM
 *
 * 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 '../../vendor/react-grid-layout/css/styles';
@import '../../vendor/react-resizable/css/styles';
@import '../../globals/vars';

.dashboard {
  &--header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
  }
  &--lastupdated {
    display: flex;
    white-space: nowrap;
    align-items: center;

    & > p {
      margin-left: $spacing-05;
      margin-bottom: 0;
    }
  }

  &--header-left {
    display: flex;
    flex-flow: column;

    & > p {
      padding-bottom: $spacing-05;
      margin-bottom: 0;
    }

    & > h2 {
      font-size: 1.75rem;
      font-weight: 400;
      margin-bottom: 0;
    }

    & > p,
    div {
      color: $text-02;
    }
  }

  &--header-right {
    display: flex;
    flex-flow: row;
    flex-grow: 0;

    & > div + div {
      margin-left: $spacing-05;
    }
  }

  &--header-actions {
    align-items: center;
    display: flex;
    flex-flow: row;
    flex-grow: 0;

    & > div + div {
      margin-left: $spacing-03;
    }
  }
}

.react-grid-item.react-grid-placeholder {
  background: none;
  border: 3px dashed $active-secondary;
}
