fraudTech commited on
Commit
4cb037f
·
verified ·
1 Parent(s): bb2abd9

Create app.css

Browse files
Files changed (1) hide show
  1. src/app.css +262 -0
src/app.css ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .app-root {
2
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
3
+ sans-serif;
4
+ min-height: 100vh;
5
+ background: #050816;
6
+ color: #f9fafb;
7
+ display: flex;
8
+ flex-direction: column;
9
+ }
10
+
11
+ .app-header {
12
+ padding: 1.25rem 1.5rem;
13
+ border-bottom: 1px solid rgba(148, 163, 184, 0.3);
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: space-between;
17
+ }
18
+
19
+ .app-subtitle {
20
+ margin-top: 0.25rem;
21
+ color: #9ca3af;
22
+ font-size: 0.9rem;
23
+ }
24
+
25
+ .app-controls {
26
+ display: flex;
27
+ align-items: center;
28
+ gap: 1rem;
29
+ }
30
+
31
+ .switch-label {
32
+ display: inline-flex;
33
+ align-items: center;
34
+ gap: 0.35rem;
35
+ font-size: 0.9rem;
36
+ color: #e5e7eb;
37
+ }
38
+
39
+ .app-main {
40
+ flex: 1;
41
+ display: grid;
42
+ grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
43
+ gap: 1.25rem;
44
+ padding: 1.25rem 1.5rem;
45
+ }
46
+
47
+ .chat-pane {
48
+ display: flex;
49
+ flex-direction: column;
50
+ min-height: 0;
51
+ }
52
+
53
+ .chat-window {
54
+ flex: 1;
55
+ min-height: 0;
56
+ overflow-y: auto;
57
+ padding: 1rem;
58
+ border-radius: 0.75rem;
59
+ background: radial-gradient(
60
+ circle at top left,
61
+ rgba(96, 165, 250, 0.25),
62
+ transparent 50%
63
+ );
64
+ border: 1px solid rgba(148, 163, 184, 0.4);
65
+ }
66
+
67
+ .chat-message {
68
+ display: flex;
69
+ gap: 0.75rem;
70
+ margin-bottom: 0.75rem;
71
+ }
72
+
73
+ .chat-message.user {
74
+ justify-content: flex-end;
75
+ }
76
+
77
+ .chat-message.user .message-content {
78
+ align-items: flex-end;
79
+ }
80
+
81
+ .avatar {
82
+ width: 2rem;
83
+ height: 2rem;
84
+ border-radius: 999px;
85
+ background: rgba(15, 23, 42, 0.9);
86
+ display: flex;
87
+ align-items: center;
88
+ justify-content: center;
89
+ font-size: 1.1rem;
90
+ }
91
+
92
+ .chat-message.user .avatar {
93
+ order: 2;
94
+ background: rgba(59, 130, 246, 0.8);
95
+ }
96
+
97
+ .message-content {
98
+ display: flex;
99
+ flex-direction: column;
100
+ max-width: 80%;
101
+ }
102
+
103
+ .bubble {
104
+ padding: 0.7rem 0.9rem;
105
+ border-radius: 0.85rem;
106
+ font-size: 0.95rem;
107
+ line-height: 1.4;
108
+ background: rgba(15, 23, 42, 0.9);
109
+ border: 1px solid rgba(148, 163, 184, 0.4);
110
+ white-space: pre-wrap;
111
+ }
112
+
113
+ .chat-message.user .bubble {
114
+ background: linear-gradient(to right, #2563eb, #7c3aed);
115
+ border-color: transparent;
116
+ }
117
+
118
+ .chat-input-row {
119
+ margin-top: 0.75rem;
120
+ display: flex;
121
+ gap: 0.75rem;
122
+ }
123
+
124
+ .chat-input-row textarea {
125
+ flex: 1;
126
+ resize: none;
127
+ border-radius: 0.75rem;
128
+ border: 1px solid rgba(148, 163, 184, 0.5);
129
+ padding: 0.6rem 0.8rem;
130
+ background: rgba(15, 23, 42, 0.85);
131
+ color: #f9fafb;
132
+ font-size: 0.95rem;
133
+ }
134
+
135
+ .chat-input-row textarea:focus {
136
+ outline: 2px solid rgba(59, 130, 246, 0.8);
137
+ outline-offset: 1px;
138
+ }
139
+
140
+ .chat-input-row button {
141
+ border-radius: 0.75rem;
142
+ padding: 0 1.25rem;
143
+ border: none;
144
+ font-weight: 500;
145
+ font-size: 0.95rem;
146
+ cursor: pointer;
147
+ background: linear-gradient(to right, #22c55e, #16a34a);
148
+ color: white;
149
+ display: flex;
150
+ align-items: center;
151
+ justify-content: center;
152
+ }
153
+
154
+ .chat-input-row button:disabled {
155
+ opacity: 0.5;
156
+ cursor: default;
157
+ }
158
+
159
+ .error-banner {
160
+ margin-top: 0.5rem;
161
+ padding: 0.6rem 0.8rem;
162
+ border-radius: 0.6rem;
163
+ background: rgba(248, 113, 113, 0.1);
164
+ border: 1px solid rgba(248, 113, 113, 0.4);
165
+ font-size: 0.85rem;
166
+ color: #fecaca;
167
+ }
168
+
169
+ .info-pane {
170
+ padding: 1rem;
171
+ border-radius: 0.75rem;
172
+ background: rgba(15, 23, 42, 0.95);
173
+ border: 1px solid rgba(148, 163, 184, 0.5);
174
+ font-size: 0.9rem;
175
+ color: #e5e7eb;
176
+ }
177
+
178
+ .info-pane h2 {
179
+ margin-top: 0;
180
+ margin-bottom: 0.75rem;
181
+ }
182
+
183
+ .inline-tag {
184
+ display: inline-block;
185
+ padding: 0.1rem 0.35rem;
186
+ border-radius: 999px;
187
+ background: rgba(59, 130, 246, 0.2);
188
+ font-size: 0.8rem;
189
+ }
190
+
191
+ .debug-toggle {
192
+ margin-top: 0.3rem;
193
+ font-size: 0.8rem;
194
+ padding: 0.2rem 0.5rem;
195
+ border-radius: 999px;
196
+ border: 1px solid rgba(148, 163, 184, 0.6);
197
+ background: transparent;
198
+ color: #e5e7eb;
199
+ cursor: pointer;
200
+ }
201
+
202
+ .debug-panel {
203
+ margin-top: 0.4rem;
204
+ padding: 0.5rem 0.6rem;
205
+ border-radius: 0.6rem;
206
+ background: rgba(15, 23, 42, 0.95);
207
+ border: 1px solid rgba(148, 163, 184, 0.5);
208
+ font-size: 0.8rem;
209
+ }
210
+
211
+ .debug-section + .debug-section {
212
+ margin-top: 0.5rem;
213
+ }
214
+
215
+ .llm-analysis {
216
+ max-height: 150px;
217
+ overflow: auto;
218
+ background: rgba(15, 23, 42, 0.9);
219
+ padding: 0.4rem 0.5rem;
220
+ border-radius: 0.4rem;
221
+ }
222
+
223
+ .typing {
224
+ display: inline-flex;
225
+ gap: 0.2rem;
226
+ }
227
+
228
+ .dot {
229
+ width: 0.3rem;
230
+ height: 0.3rem;
231
+ border-radius: 999px;
232
+ background: #e5e7eb;
233
+ animation: blink 1s infinite ease-in-out;
234
+ }
235
+
236
+ .dot:nth-child(2) {
237
+ animation-delay: 0.2s;
238
+ }
239
+
240
+ .dot:nth-child(3) {
241
+ animation-delay: 0.4s;
242
+ }
243
+
244
+ @keyframes blink {
245
+ 0%, 80%, 100% {
246
+ transform: translateY(0);
247
+ opacity: 0.4;
248
+ }
249
+ 40% {
250
+ transform: translateY(-2px);
251
+ opacity: 1;
252
+ }
253
+ }
254
+
255
+ @media (max-width: 900px) {
256
+ .app-main {
257
+ grid-template-columns: minmax(0, 1fr);
258
+ }
259
+ .info-pane {
260
+ margin-top: 1rem;
261
+ }
262
+ }