ws-card-loading-indicator {

  $card-loading-indicator-height: 150px;
  $animation-time: 0.5s;
  
  .card-loading-indicator {
    min-height: $card-loading-indicator-height;
    background: url($card-loading-indicator) no-repeat center;
  }

  .card-loading-indicator--gray {
    background-image: url($card-loading-indicator--gray);
  }

  .card-loading-content {
    .error {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: $card-loading-indicator-height;
    }
  }

  .animate-if--no-height-transition {
    &.ng-enter,
    &.ng-leave {
      transition: $animation-time linear all;
    }

    &.ng-enter {
      opacity: 0;

      &.ng-enter-active {
        opacity: 1;
      }
    }

    &.ng-leave {
      transition: none;
      opacity: 1;

      &.ng-leave-active {
        opacity: 1;
      }
    }
  }

}
