/*******************************************************************************
 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corporation 2018. All Rights Reserved.
 * Copyright (c) 2020 Red Hat, Inc.
 * Note to U.S. 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 "variables";

.resource-toolbar {
  //position: relative;
  top: $secondary-header-top;
  margin-bottom: 8px;
  //right: 25px;
  //z-index: 1001;
  //display: flex;
  flex-direction: column;
  align-items: flex-end;
  //height: $secondary-header-min-height;

  &.hide {
    display: none;
  }

  .resource-toolbar-container {
    position: relative;
    top: 0px;
    left: 0;
    display: flex;
    //min-height: $secondary-header-min-height;
    flex-direction: column;
    justify-content: center;

    > div {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .resource-toolbar-buttons {
      height: 0;
      margin: 0px 0px 3px 0px;

      > div {
        color: $color__blue-51;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        outline: none;
        display: flex;
        align-items: center;
        height: 26px;

        .button-icon {
          width: 12px;
          height: 12px;
          fill: $color__blue-51;
          stroke: none;
        }

        .button-label {
          padding: 0 8px;
          white-space: nowrap;
        }
      }

      > div:not(:last-child) {
        padding-right: 20px;
        border-right: 2px solid $color__gray-1;
      }

      > div:last-child {
        padding-left: 20px;
      }
    }

    .resource-filter-bar {
      .pf-c-chip-group.pf-m-category {
        background-color: $color__white;
      }

      .pf-c-chip-group__label {
        padding: 0 10px;
      }

      .pf-c-chip__text {
        overflow: visible;
      }

      .pf-c-chip-group__close {
        padding: 3px 0;
      }
    }
  }
}
 