File size: 3,496 Bytes
b4856f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
/* Roger Chatbox Styles */

/* Typing Loader Animation */
.roger-loader {
  width: 6px;
  height: 25px;
  border-radius: 4px;
  display: block;
  background-color: #22c55e;
  margin: 0 auto;
  position: relative;
  animation: rogerAnimloader 0.3s 0.3s linear infinite alternate;
}

.roger-loader::after,
.roger-loader::before {
  content: '';
  width: 6px;
  height: 25px;
  border-radius: 4px;
  background: #22c55e;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 13px;
  animation: rogerAnimloader 0.3s 0.45s linear infinite alternate;
}

.roger-loader::before {
  left: -13px;
  animation-delay: 0s;
}

@keyframes rogerAnimloader {
  0% {
    height: 48px;
  }

  100% {
    height: 4px;
  }
}

/* Custom Scrollbar */
.roger-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.roger-scrollbar::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.roger-scrollbar::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 4px;
}

.roger-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}

/* Firefox support */
.roger-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #22c55e #1a1a1a;
}

/* Markdown Styling for AI Responses */
.roger-markdown h1,
.roger-markdown h2,
.roger-markdown h3,
.roger-markdown h4 {
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.roger-markdown h1 {
  font-size: 1.25rem;
}

.roger-markdown h2 {
  font-size: 1.125rem;
}

.roger-markdown h3 {
  font-size: 1rem;
}

.roger-markdown p {
  margin-bottom: 0.5rem;
}

.roger-markdown ul,
.roger-markdown ol {
  margin-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.roger-markdown li {
  margin-bottom: 0.25rem;
}

.roger-markdown code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: ui-monospace, monospace;
}

.roger-markdown pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 0.75rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0.5rem 0;
}

.roger-markdown pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.roger-markdown blockquote {
  border-left: 3px solid #22c55e;
  padding-left: 0.75rem;
  margin: 0.5rem 0;
  color: #6b7280;
  font-style: italic;
}

.roger-markdown table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
}

.roger-markdown th,
.roger-markdown td {
  border: 1px solid #e5e7eb;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
}

.roger-markdown th {
  background: #f9fafb;
  font-weight: 600;
}

.roger-markdown a {
  color: #22c55e;
  text-decoration: underline;
}

.roger-markdown a:hover {
  color: #16a34a;
}

.roger-markdown strong {
  font-weight: 600;
}

.roger-markdown em {
  font-style: italic;
}

/* Hide scrollbar for domain filter on mobile */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Mobile Touch Improvements */
@media (max-width: 640px) {

  /* Prevent text selection on buttons */
  .touch-manipulation {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  /* Larger touch targets on mobile */
  .roger-markdown {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Smoother scrolling on mobile */
  .roger-scrollbar {
    -webkit-overflow-scrolling: touch;
  }
}

/* Prevent iOS zoom on input focus */
@supports (-webkit-touch-callout: none) {

  textarea,
  input {
    font-size: 16px !important;
  }
}