_chips.scss 597 B

123456789101112131415161718192021222324252627282930313233
  1. // Chips
  2. .chip {
  3. align-items: center;
  4. background: $bg-color-dark;
  5. border-radius: 5rem;
  6. display: inline-flex;
  7. font-size: 90%;
  8. height: $unit-6;
  9. line-height: $unit-4;
  10. margin: $unit-h;
  11. max-width: $control-width-sm;
  12. overflow: hidden;
  13. padding: $unit-1 $unit-2;
  14. text-decoration: none;
  15. text-overflow: ellipsis;
  16. vertical-align: middle;
  17. white-space: nowrap;
  18. &.active {
  19. background: $primary-color;
  20. color: $light-color;
  21. }
  22. .avatar {
  23. margin-left: -$unit-2;
  24. margin-right: $unit-1;
  25. }
  26. .btn-clear {
  27. border-radius: 50%;
  28. transform: scale(.75);
  29. }
  30. }