_labels.scss 747 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .label {
  2. display: inline-flex;
  3. align-items: center;
  4. font-size: $font-size-h5;
  5. text-decoration: none;
  6. color: $color-muted;
  7. line-height: 1.25rem;
  8. background: rgba($color-muted, .05);
  9. border-radius: $border-radius;
  10. padding: $gap-2 $gap-3;
  11. user-select: none;
  12. transition: .3s color, .3s background-color;
  13. svg {
  14. width: 1.25rem;
  15. height: 1.25rem;
  16. margin: 0 .5rem 0 -.25rem;
  17. stroke-width: 1.5;
  18. }
  19. @at-root a#{&}:hover,
  20. &.active {
  21. color: $color-text;
  22. background: rgba($color-text, .08);
  23. }
  24. }
  25. .label-sm {
  26. font-size: $font-size-h6;
  27. padding: px2rem(2px) $gap-2;
  28. }
  29. .labels-list {
  30. display: inline-flex;
  31. flex-wrap: wrap;
  32. margin: 0 -.25rem -.25rem 0;
  33. >* {
  34. margin: 0 .25rem .25rem 0;
  35. }
  36. }