/*!
 * Copyright © 2023 Robert Bosch GmbH Copyright © 2023 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
 */

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

:host(.bci-label-value-pair) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

%no-wrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.label {
  @extend %no-wrap;
  font-size: $font-size-small;
  color: $font-color;
  padding: 0;
  cursor: inherit;
}

.value {
  @extend %no-wrap;
  font-size: $font-size-base;
  color: $font-color;

  &.wrap {
    white-space: unset;
    text-overflow: unset;
    overflow: unset;
  }
}

.bold-font {
  font-weight: $font-weight-strong;
}

.right {
  text-align: right;
}

.rtl {
  direction: rtl;
  text-align: left;
}
