beta-badges.less 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .info-badge,
  2. .beta-badge,
  3. .alpha-badge {
  4. display: inline-block;
  5. width: @line-height-computed * 0.75;
  6. height: @line-height-computed * 0.75;
  7. line-height: @font-size-small;
  8. font-size: @line-height-computed * 0.75;
  9. font-weight: normal;
  10. text-align: center;
  11. color: #fff;
  12. &::before {
  13. line-height: @font-size-small;
  14. font-size: @font-size-small;
  15. }
  16. &:hover,
  17. &:focus {
  18. color: #fff;
  19. text-decoration: none;
  20. }
  21. }
  22. .info-badge {
  23. background-color: @info-badge-bg;
  24. border-radius: @line-height-computed * 0.75;
  25. font-family: @font-family-serif;
  26. font-style: italic;
  27. &::before {
  28. content: 'i';
  29. }
  30. }
  31. .info-badge-fade-bg {
  32. .info-badge;
  33. background-color: rgba(0, 0, 0, 0.25);
  34. }
  35. .beta-badge {
  36. background-color: @orange;
  37. border-radius: @border-radius-base;
  38. &::before {
  39. content: 'β';
  40. }
  41. }
  42. .alpha-badge {
  43. background-color: @ol-green;
  44. border-radius: @border-radius-base;
  45. &::before {
  46. content: 'α';
  47. }
  48. }
  49. .labs-badge {
  50. background-color: @orange;
  51. border-radius: @border-radius-base;
  52. padding: 2px;
  53. color: white;
  54. }
  55. .split-test-badge-tooltip .tooltip-inner {
  56. white-space: pre-wrap;
  57. }
  58. .tooltip-wide .tooltip-inner {
  59. min-width: 275px;
  60. }