globals.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @import "tailwindcss";
  2. @theme inline {
  3. --color-background: #0a0a0a;
  4. --color-foreground: #ededed;
  5. --color-muted: #1e1e1e;
  6. --color-muted-foreground: #888;
  7. --color-border: #2a2a2a;
  8. --color-input: #1a1a1a;
  9. --color-primary: #fff;
  10. --color-primary-foreground: #0a0a0a;
  11. --color-accent: #333;
  12. --color-accent-foreground: #ededed;
  13. --color-destructive: #e53935;
  14. }
  15. html, body {
  16. margin: 0;
  17. background: var(--color-background);
  18. color: var(--color-foreground);
  19. font-family: system-ui, -apple-system, sans-serif;
  20. overflow: hidden;
  21. overscroll-behavior: none;
  22. touch-action: none;
  23. position: fixed;
  24. width: 100%;
  25. height: 100dvh;
  26. -webkit-user-select: none;
  27. user-select: none;
  28. -webkit-touch-callout: none;
  29. -webkit-tap-highlight-color: transparent;
  30. }
  31. input, textarea, [contenteditable] {
  32. -webkit-user-select: text;
  33. user-select: text;
  34. -webkit-touch-callout: default;
  35. font-size: 16px;
  36. }
  37. * {
  38. box-sizing: border-box;
  39. -webkit-tap-highlight-color: transparent;
  40. }
  41. @media (hover: none) {
  42. button, a, [role="button"] {
  43. -webkit-tap-highlight-color: transparent;
  44. }
  45. .hover\:bg-white\/5:hover { background-color: transparent !important; }
  46. .hover\:bg-white\/10:hover { background-color: transparent !important; }
  47. .hover\:bg-white\/20:hover { background-color: transparent !important; }
  48. }
  49. canvas {
  50. -webkit-user-select: none;
  51. user-select: none;
  52. -webkit-touch-callout: none;
  53. touch-action: none;
  54. }
  55. :root {
  56. --sai-bottom: env(safe-area-inset-bottom, 0px);
  57. --sai-top: env(safe-area-inset-top, 0px);
  58. }
  59. .safe-bottom {
  60. padding-bottom: env(safe-area-inset-bottom, 0px);
  61. }
  62. @keyframes pulse-low {
  63. 0%, 100% { opacity: 1; }
  64. 50% { opacity: 0.6; }
  65. }
  66. .animate-pulse-low {
  67. animation: pulse-low 1s ease-in-out infinite;
  68. }
  69. @keyframes fade-in {
  70. from { opacity: 0; }
  71. to { opacity: 1; }
  72. }
  73. .animate-fade-in {
  74. animation: fade-in 0.5s ease-out forwards;
  75. }
  76. @keyframes screen-flash {
  77. 0% { opacity: 0.7; }
  78. 100% { opacity: 0; }
  79. }
  80. .animate-screen-flash {
  81. animation: screen-flash 0.4s ease-out forwards;
  82. }