/*
 * Copyright 2020 IBM 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 '../WatchPane/WatchPane.scss';
@import '../../PatternFly/common';

[kui-theme-style] .kui--watch-pane {
  .kui--card {
    background-color: var(--color-background-03);

    .pf-c-card__body {
      padding: 0 $body-spacing;
    }

    .pf-c-card__head {
      padding: 0.1875em $body-spacing;
      padding-right: 0; /* the actions svg has spacing... */
      border-bottom: 1px solid var(--color-table-border3);
      margin-bottom: calc(0.375em + 2px);
    }
    .pf-c-card__actions {
      font-size: $master-font-size;
    }
    .pf-c-dropdown__menu {
      padding: 0.5em 0;
    }
    .pf-c-dropdown__menu-item {
      padding: 0.5em 1em;
    }
    .pf-c-card__head-main {
      font-size: $master-font-size;
      .pf-c-breadcrumb {
        padding: 0;
      }
    }
  }
}

[kui-theme-style] .kui--card {
  white-space: normal;
  font-family: var(--font-sans-serif);

  .kui--card-icon {
    width: auto;
    height: 7.43em;
  }
}
