SidePanel.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /* Add this at the top of the file */
  2. body {
  3. border-color: rgb(159, 6, 11) !important; /* sky-200 color */
  4. }
  5. /* Remove unused classes: .App, .App-logo, .App-header */
  6. code {
  7. background: rgba(186, 230, 253, 0.4);
  8. border-radius: 0.25rem;
  9. padding: 0.2rem 0.5rem;
  10. color: #0369a1;
  11. }
  12. /* Dark mode support for code */
  13. @media (prefers-color-scheme: dark) {
  14. code {
  15. background: rgba(30, 58, 138, 0.4);
  16. color: #7dd3fc;
  17. }
  18. }
  19. /* Scrollbar styles */
  20. ::-webkit-scrollbar {
  21. width: 8px;
  22. }
  23. ::-webkit-scrollbar-track {
  24. background: #f1f5f9;
  25. }
  26. ::-webkit-scrollbar-thumb {
  27. background: #0ea5e9;
  28. border-radius: 4px;
  29. }
  30. ::-webkit-scrollbar-thumb:hover {
  31. background: #0284c7;
  32. }
  33. /* Dark mode scrollbar */
  34. @media (prefers-color-scheme: dark) {
  35. ::-webkit-scrollbar-track {
  36. background: #1e293b;
  37. }
  38. ::-webkit-scrollbar-thumb {
  39. background: #0ea5e9;
  40. }
  41. ::-webkit-scrollbar-thumb:hover {
  42. background: #38bdf8;
  43. }
  44. }
  45. /* Used classes from the component */
  46. .header {
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: center;
  50. padding: 0.75rem;
  51. background-color: transparent;
  52. border-bottom: 1px solid rgba(14, 165, 233, 0.2);
  53. }
  54. /* Dark mode header border */
  55. @media (prefers-color-scheme: dark) {
  56. .header {
  57. border-bottom: 1px solid rgba(14, 165, 233, 0.3);
  58. }
  59. }
  60. .header-logo {
  61. display: flex;
  62. align-items: center;
  63. }
  64. .header-icons {
  65. display: flex;
  66. gap: 0.75rem;
  67. align-items: center;
  68. }
  69. .header-icon {
  70. color: #19C2FF;
  71. cursor: pointer;
  72. transition: color 0.2s ease;
  73. opacity: 0.8;
  74. }
  75. .header-icon:hover {
  76. color: #0073DC;
  77. opacity: 1;
  78. }
  79. .send-button {
  80. color: #19C2FF;
  81. cursor: pointer;
  82. transition: color 0.2s ease;
  83. opacity: 0.8;
  84. }
  85. .send-button:hover {
  86. color: #0073DC;
  87. opacity: 1;
  88. }
  89. .send-button:disabled {
  90. color: #CBD5E1;
  91. cursor: not-allowed;
  92. opacity: 0.5;
  93. }
  94. /* Add these styles to your existing CSS */
  95. .scrollbar-gutter-stable {
  96. scrollbar-gutter: stable;
  97. }
  98. /* Optional: Style the scrollbar for webkit browsers */
  99. .scrollbar-gutter-stable::-webkit-scrollbar {
  100. width: 8px;
  101. }
  102. .scrollbar-gutter-stable::-webkit-scrollbar-track {
  103. background: #f1f5f9; /* sky-50 */
  104. }
  105. .scrollbar-gutter-stable::-webkit-scrollbar-thumb {
  106. background: #7dd3fc; /* sky-300 - very light blue */
  107. border-radius: 4px;
  108. }
  109. .scrollbar-gutter-stable::-webkit-scrollbar-thumb:hover {
  110. background: #38bdf8; /* sky-400 - slightly darker on hover */
  111. }
  112. /* Dark mode scrollbar for scrollbar-gutter-stable */
  113. @media (prefers-color-scheme: dark) {
  114. .scrollbar-gutter-stable::-webkit-scrollbar-track {
  115. background: #1e293b; /* slate-800 */
  116. }
  117. .scrollbar-gutter-stable::-webkit-scrollbar-thumb {
  118. background: #0ea5e9; /* sky-500 */
  119. }
  120. .scrollbar-gutter-stable::-webkit-scrollbar-thumb:hover {
  121. background: #38bdf8; /* sky-400 */
  122. }
  123. }
  124. /* Dark mode text and background colors */
  125. @media (prefers-color-scheme: dark) {
  126. .dark-mode-text {
  127. color: #e2e8f0 !important; /* slate-200 */
  128. }
  129. .dark-mode-bg {
  130. background-color: #1e293b !important; /* slate-800 */
  131. }
  132. .dark-mode-border {
  133. border-color: #475569 !important; /* slate-600 */
  134. }
  135. }