badge.less 832 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. padding: 0 @padding;
  10. white-space: nowrap;
  11. color: @ol-blue-gray-6;
  12. background-color: @neutral-20;
  13. border-radius: 4px;
  14. &:hover {
  15. background-color: @neutral-30;
  16. }
  17. &-prepend {
  18. margin-right: 2px;
  19. }
  20. &-close {
  21. .reset-button;
  22. width: @size;
  23. margin-left: 4px;
  24. font-size: 20px;
  25. height: @size;
  26. line-height: 1;
  27. display: flex;
  28. align-items: center;
  29. justify-content: center;
  30. flex-shrink: 0;
  31. margin-right: -@padding;
  32. border-top-right-radius: inherit;
  33. border-bottom-right-radius: inherit;
  34. color: inherit;
  35. &:hover {
  36. background-color: @neutral-40;
  37. }
  38. }
  39. &-content {
  40. .text-overflow();
  41. }
  42. }