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

@import '@bci-web-core/common-styles/sass/bci/bci-variables';
@import '@bci-web-core/common-styles/sass/bci/colors';

:host {
  a {
    color: $boschBlue50;
    font-weight: $font-weight-regular;
    text-decoration: none; // to override the default styling of anchor tag, only text should have underline

    &:not(.disabled):hover {
      * {
        color: $boschBlue40;
      }
      span {
        text-decoration-line: underline;
      }
    }

    &:not(.disabled):active {
      * {
        color: $boschBlue30;
      }
      span {
        text-decoration-line: underline;
      }
    }

    &.disabled span,
    &.disabled {
      color: $boschGray80;
      pointer-events: none;
    }

    mat-icon {
      text-decoration: none !important;
    }
  }
}
