/*!
  *  Copyright (C) 2018 Robert Bosch GmbH Copyright (C) 2018 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
 */

@import '@bci-web-core/common-styles/sass/bci/_bci-variables.scss';

:host {
  display: block;
  flex: 1;

  button.mat-mdc-icon-button {
    margin-left: 8px;
    width: 24px;
    height: 24px;
    min-width: 0 !important;
    line-height: 24px;
  }
}

:host {
  gap: 0px !important;
}

button,
mat-icon {
  margin-right: 0;
  margin-left: auto;
}

mat-list-item.mat-mdc-list-item {
  cursor: pointer;

  [matline] {
    line-height: 24px;
  }

  &:hover {
    background-color: $boschGray90;
  }

  &:active {
    background-color: $boschGray80;
  }

  &.active,
  &.active:hover,
  &.active:active {
    background-color: $boschBlue95;
    color: $boschBlack;
  }

  .mat-icon {
    line-height: 1 !important;
  }

  .list-item-sub-title.list-item-sub-title {
    font-size: 70%;
  }

  .mat-icon.list-item-submenu-arrow {
    margin-right: -0.5 * $grid-size;
    padding-right: 0;
    float: right;
  }
}
