badge.less 1010 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .badge-tag-bs3 {
  2. @size: 24px;
  3. @padding: 4px;
  4. display: inline-flex;
  5. align-items: center;
  6. height: @size;
  7. max-width: 100%;
  8. min-height: @size;
  9. white-space: nowrap;
  10. color: @ol-blue-gray-6;
  11. background-color: @neutral-20;
  12. border-radius: 4px;
  13. &:hover {
  14. background-color: @neutral-30;
  15. }
  16. &-content-wrapper {
  17. display: flex;
  18. align-items: center;
  19. overflow: hidden;
  20. padding-left: @padding;
  21. padding-right: @padding;
  22. border-top-left-radius: inherit;
  23. border-bottom-left-radius: inherit;
  24. }
  25. &-prepend {
  26. margin-right: 2px;
  27. }
  28. &-close {
  29. .reset-button;
  30. width: @size;
  31. font-size: 20px;
  32. height: @size;
  33. line-height: 1;
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. flex-shrink: 0;
  38. padding: 0 @padding;
  39. border-top-right-radius: inherit;
  40. border-bottom-right-radius: inherit;
  41. color: inherit;
  42. &:hover {
  43. background-color: @neutral-40;
  44. }
  45. }
  46. &-content {
  47. .text-overflow();
  48. }
  49. }