utilities.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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: var(--radius-md);
  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-feature-settings: var(--font-feature-settings-mono);
  69. font-size: var(--font-size-small);
  70. font-style: normal;
  71. font-weight: var(--font-weight-regular);
  72. line-height: var(--line-height-large); /* 166.667% */
  73. letter-spacing: var(--letter-spacing-normal);
  74. }
  75. .text-14-regular {
  76. font-family: var(--font-family-sans);
  77. font-size: var(--font-size-base);
  78. font-style: normal;
  79. font-weight: var(--font-weight-regular);
  80. line-height: var(--line-height-x-large); /* 171.429% */
  81. letter-spacing: var(--letter-spacing-normal);
  82. }
  83. .text-14-medium {
  84. font-family: var(--font-family-sans);
  85. font-size: var(--font-size-base);
  86. font-style: normal;
  87. font-weight: var(--font-weight-medium);
  88. line-height: var(--line-height-large); /* 171.429% */
  89. letter-spacing: var(--letter-spacing-normal);
  90. }
  91. .text-14-mono {
  92. font-family: var(--font-family-mono);
  93. font-feature-settings: var(--font-feature-settings-mono);
  94. font-size: var(--font-size-base);
  95. font-style: normal;
  96. font-weight: var(--font-weight-regular);
  97. line-height: var(--line-height-large); /* 171.429% */
  98. letter-spacing: var(--letter-spacing-normal);
  99. }
  100. .text-16-medium {
  101. font-family: var(--font-family-sans);
  102. font-size: var(--font-size-large);
  103. font-style: normal;
  104. font-weight: var(--font-weight-medium);
  105. line-height: var(--line-height-x-large); /* 150% */
  106. letter-spacing: var(--letter-spacing-tight);
  107. }
  108. .text-20-medium {
  109. font-family: var(--font-family-sans);
  110. font-size: var(--font-size-x-large);
  111. font-style: normal;
  112. font-weight: var(--font-weight-medium);
  113. line-height: var(--line-height-x-large); /* 120% */
  114. letter-spacing: var(--letter-spacing-tightest);
  115. }