.c8y-datapoint-pill, .c8y-alarm-pill, .c8y-event-pill {
  display: flex;
  overflow: hidden;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  border-radius: @margin-16;
  background-color: @component-background-default;
  box-shadow: none;
  border: 1px solid @component-color-text-muted;
  font-size: @font-size-small;
  line-height: 1;
  &__btn {
    .btn-clean();
    align-self: stretch;
    padding: @margin-4 @margin-4 @margin-4 @margin-base;
    border-right: 1px solid @component-color-text-muted;
    color: @text-muted;
    line-height: 1;
  }
  &__label {
    display: flex;
    overflow: hidden;
    align-items: center;
    padding: @margin-4 calc(@margin-base + @margin-4) @margin-4 @margin-4;
    line-height: 1;
  }
}


.c8y-alarm-pill {
  border-radius: @margin-4;
  &__btn {
    padding: @margin-4;
  }
}

.c8y-event-pill {
  border-radius: 2px;
  border: 1px dotted @component-color-text-muted;
  &__btn {
    border-right: 1px dotted @component-color-text-muted;
    padding: @margin-4;
  }
}

