_labels.scss 700 B

12345678910111213141516171819202122232425262728293031323334
  1. // Labels
  2. .label {
  3. @include label-base();
  4. @include label-variant(lighten($body-font-color, 5%), $bg-color-dark);
  5. display: inline-block;
  6. // Label rounded
  7. &.label-rounded {
  8. border-radius: 5rem;
  9. padding-left: .4rem;
  10. padding-right: .4rem;
  11. }
  12. // Label colors
  13. &.label-primary {
  14. @include label-variant($light-color, $primary-color);
  15. }
  16. &.label-secondary {
  17. @include label-variant($primary-color, $secondary-color);
  18. }
  19. &.label-success {
  20. @include label-variant($light-color, $success-color);
  21. }
  22. &.label-warning {
  23. @include label-variant($light-color, $warning-color);
  24. }
  25. &.label-error {
  26. @include label-variant($light-color, $error-color);
  27. }
  28. }