utilities.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. :root {
  2. interpolate-size: allow-keywords;
  3. [data-popper-positioner] {
  4. pointer-events: none;
  5. }
  6. /* ::selection { */
  7. /* background-color: color-mix(in srgb, var(--color-primary) 33%, transparent); */
  8. /* background-color: var(--color-primary); */
  9. /* color: var(--color-background); */
  10. /* } */
  11. ::-webkit-scrollbar-track {
  12. background: var(--theme-background-panel);
  13. }
  14. ::-webkit-scrollbar-thumb {
  15. background-color: var(--theme-border-subtle);
  16. border-radius: 6px;
  17. }
  18. * {
  19. scrollbar-color: var(--theme-border-subtle) var(--theme-background-panel);
  20. }
  21. }
  22. .no-scrollbar {
  23. &::-webkit-scrollbar {
  24. display: none;
  25. }
  26. /* Hide scrollbar for IE, Edge and Firefox */
  27. & {
  28. -ms-overflow-style: none; /* IE and Edge */
  29. scrollbar-width: none; /* Firefox */
  30. }
  31. }
  32. .sr-only {
  33. position: absolute;
  34. width: 1px;
  35. height: 1px;
  36. padding: 0;
  37. margin: -1px;
  38. overflow: hidden;
  39. clip: rect(0, 0, 0, 0);
  40. white-space: nowrap;
  41. border-width: 0;
  42. }
  43. .truncate-start {
  44. text-overflow: ellipsis;
  45. overflow: hidden;
  46. white-space: nowrap;
  47. direction: rtl;
  48. text-align: left;
  49. }
  50. .text-12-regular {
  51. font-family: var(--font-family-sans);
  52. font-size: var(--font-size-small);
  53. font-style: normal;
  54. font-weight: var(--font-weight-regular);
  55. line-height: var(--line-height-large); /* 166.667% */
  56. letter-spacing: var(--letter-spacing-normal);
  57. }
  58. .text-12-medium {
  59. font-family: var(--font-family-sans);
  60. font-size: var(--font-size-small);
  61. font-style: normal;
  62. font-weight: var(--font-weight-medium);
  63. line-height: var(--line-height-large); /* 166.667% */
  64. letter-spacing: var(--letter-spacing-normal);
  65. }
  66. .text-12-mono {
  67. font-family: var(--font-family-mono);
  68. font-size: var(--font-size-small);
  69. font-style: normal;
  70. font-weight: var(--font-weight-regular);
  71. line-height: var(--line-height-large); /* 166.667% */
  72. letter-spacing: var(--letter-spacing-normal);
  73. }
  74. .text-14-regular {
  75. font-family: var(--font-family-sans);
  76. font-size: var(--font-size-base);
  77. font-style: normal;
  78. font-weight: var(--font-weight-regular);
  79. line-height: var(--line-height-x-large); /* 171.429% */
  80. letter-spacing: var(--letter-spacing-normal);
  81. }
  82. .text-14-medium {
  83. font-family: var(--font-family-sans);
  84. font-size: var(--font-size-base);
  85. font-style: normal;
  86. font-weight: var(--font-weight-medium);
  87. line-height: var(--line-height-large); /* 171.429% */
  88. letter-spacing: var(--letter-spacing-normal);
  89. }
  90. .text-14-mono {
  91. font-family: var(--font-family-mono);
  92. font-size: var(--font-size-base);
  93. font-style: normal;
  94. font-weight: var(--font-weight-regular);
  95. line-height: var(--line-height-large); /* 171.429% */
  96. letter-spacing: var(--letter-spacing-normal);
  97. }
  98. .text-16-medium {
  99. font-family: var(--font-family-sans);
  100. font-size: var(--font-size-large);
  101. font-style: normal;
  102. font-weight: var(--font-weight-medium);
  103. line-height: var(--line-height-x-large); /* 150% */
  104. letter-spacing: var(--letter-spacing-tight);
  105. }
  106. .text-20-medium {
  107. font-family: var(--font-family-sans);
  108. font-size: var(--font-size-x-large);
  109. font-style: normal;
  110. font-weight: var(--font-weight-medium);
  111. line-height: var(--line-height-x-large); /* 120% */
  112. letter-spacing: var(--letter-spacing-tightest);
  113. }