.label {
  display: inline-block;
  line-height: 1;
  font-size: 80%;
  padding: 0.3rem 0.5rem;
  background-color: $sub-color;
  color: #fff;
  vertical-align: middle;
  border-radius:0.3rem;
  font-weight:bold;
  @include user-select-none;
  text-shadow: $border-width $border-width $border-width $content-color;
  &.success {
    background-color: $success-color;
  }
  &.error {
    background-color: $error-color;
  }
  &.info {
    background-color: $info-color;
  }
  &.warning {
    background-color: $warning-color;
  }
}