|
13 | 13 | border-bottom: 2px solid #e5e7eb; |
14 | 14 | } |
15 | 15 |
|
16 | | -.conversation-header h1 { |
| 16 | +.conversation-header h2 { |
17 | 17 | margin: 0; |
18 | 18 | color: #1f2937; |
19 | | - font-size: 2rem; |
| 19 | + font-size: 1.5rem; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | .header-actions { |
23 | 23 | display: flex; |
24 | 24 | gap: 10px; |
25 | 25 | } |
26 | 26 |
|
27 | | -.refresh-button, .create-button { |
| 27 | +.refresh-btn, .create-btn { |
28 | 28 | padding: 8px 16px; |
29 | 29 | border: none; |
30 | 30 | border-radius: 6px; |
|
34 | 34 | transition: all 0.2s; |
35 | 35 | } |
36 | 36 |
|
37 | | -.refresh-button { |
| 37 | +.refresh-btn { |
38 | 38 | background-color: #6b7280; |
39 | 39 | color: white; |
40 | 40 | } |
41 | 41 |
|
42 | | -.refresh-button:hover:not(:disabled) { |
| 42 | +.refresh-btn:hover:not(:disabled) { |
43 | 43 | background-color: #4b5563; |
44 | 44 | } |
45 | 45 |
|
46 | | -.create-button { |
| 46 | +.create-btn { |
47 | 47 | background-color: #3b82f6; |
48 | 48 | color: white; |
49 | 49 | } |
50 | 50 |
|
51 | | -.create-button:hover:not(:disabled) { |
| 51 | +.create-btn:hover:not(:disabled) { |
52 | 52 | background-color: #2563eb; |
53 | 53 | } |
54 | 54 |
|
55 | | -.refresh-button:disabled, .create-button:disabled { |
| 55 | +.refresh-btn:disabled, .create-btn:disabled { |
56 | 56 | opacity: 0.5; |
57 | 57 | cursor: not-allowed; |
58 | 58 | } |
|
76 | 76 | text-align: center; |
77 | 77 | } |
78 | 78 |
|
79 | | -.conversation-layout { |
| 79 | +.conversation-content { |
80 | 80 | display: grid; |
81 | 81 | grid-template-columns: 1fr 1fr; |
82 | 82 | gap: 20px; |
|
90 | 90 | padding: 20px; |
91 | 91 | } |
92 | 92 |
|
93 | | -.conversation-list h2 { |
| 93 | +.conversation-list h3 { |
94 | 94 | margin: 0 0 15px 0; |
95 | 95 | color: #1f2937; |
96 | 96 | font-size: 1.25rem; |
|
175 | 175 | gap: 5px; |
176 | 176 | } |
177 | 177 |
|
178 | | -.delete-button { |
| 178 | +.delete-btn { |
179 | 179 | background: none; |
180 | 180 | border: none; |
181 | 181 | cursor: pointer; |
|
185 | 185 | font-size: 16px; |
186 | 186 | } |
187 | 187 |
|
188 | | -.delete-button:hover { |
| 188 | +.delete-btn:hover { |
189 | 189 | background-color: #fee2e2; |
190 | 190 | } |
191 | 191 |
|
192 | | -.conversation-detail { |
| 192 | +.conversation-details { |
193 | 193 | background-color: #f9fafb; |
194 | 194 | border: 1px solid #e5e7eb; |
195 | 195 | border-radius: 8px; |
196 | 196 | padding: 20px; |
197 | 197 | } |
198 | 198 |
|
199 | | -.conversation-detail h2 { |
| 199 | +.conversation-details h3 { |
200 | 200 | margin: 0 0 15px 0; |
201 | 201 | color: #1f2937; |
202 | 202 | font-size: 1.25rem; |
|
278 | 278 | cursor: not-allowed; |
279 | 279 | } |
280 | 280 |
|
| 281 | +.send-btn { |
| 282 | + align-self: flex-start; |
| 283 | + padding: 8px 16px; |
| 284 | + background-color: #10b981; |
| 285 | + color: white; |
| 286 | + border: none; |
| 287 | + border-radius: 4px; |
| 288 | + cursor: pointer; |
| 289 | + font-size: 14px; |
| 290 | + font-weight: 500; |
| 291 | + transition: background-color 0.2s; |
| 292 | +} |
| 293 | + |
| 294 | +.send-btn:hover:not(:disabled) { |
| 295 | + background-color: #059669; |
| 296 | +} |
| 297 | + |
| 298 | +.send-btn:disabled { |
| 299 | + opacity: 0.5; |
| 300 | + cursor: not-allowed; |
| 301 | +} |
| 302 | + |
281 | 303 | .empty-state { |
282 | 304 | text-align: center; |
283 | 305 | padding: 60px 20px; |
|
289 | 311 | margin-bottom: 10px; |
290 | 312 | } |
291 | 313 |
|
| 314 | +/* New structure styles */ |
| 315 | +.loading { |
| 316 | + text-align: center; |
| 317 | + color: #6b7280; |
| 318 | + padding: 20px; |
| 319 | + font-style: italic; |
| 320 | +} |
| 321 | + |
| 322 | +.no-selection { |
| 323 | + text-align: center; |
| 324 | + color: #6b7280; |
| 325 | + padding: 40px 20px; |
| 326 | +} |
| 327 | + |
| 328 | +.details-content { |
| 329 | + display: flex; |
| 330 | + flex-direction: column; |
| 331 | + gap: 20px; |
| 332 | +} |
| 333 | + |
| 334 | +.details-info { |
| 335 | + background-color: white; |
| 336 | + border: 1px solid #d1d5db; |
| 337 | + border-radius: 6px; |
| 338 | + padding: 15px; |
| 339 | +} |
| 340 | + |
| 341 | +.detail-row { |
| 342 | + margin: 8px 0; |
| 343 | + font-size: 14px; |
| 344 | + display: flex; |
| 345 | + align-items: center; |
| 346 | + gap: 8px; |
| 347 | +} |
| 348 | + |
| 349 | +.detail-row strong { |
| 350 | + color: #374151; |
| 351 | + min-width: 120px; |
| 352 | +} |
| 353 | + |
| 354 | +.conversation-details .conversation-details { |
| 355 | + font-size: 12px; |
| 356 | + color: #6b7280; |
| 357 | + margin-top: 5px; |
| 358 | +} |
| 359 | + |
| 360 | +.conversation-details .conversation-details > div { |
| 361 | + margin: 2px 0; |
| 362 | +} |
| 363 | + |
| 364 | +.events-section { |
| 365 | + background-color: white; |
| 366 | + border: 1px solid #d1d5db; |
| 367 | + border-radius: 6px; |
| 368 | + padding: 15px; |
| 369 | +} |
| 370 | + |
| 371 | +.events-section h4 { |
| 372 | + margin: 0 0 15px 0; |
| 373 | + color: #1f2937; |
| 374 | + font-size: 1rem; |
| 375 | +} |
| 376 | + |
| 377 | +.no-events { |
| 378 | + text-align: center; |
| 379 | + color: #6b7280; |
| 380 | + padding: 20px; |
| 381 | + font-style: italic; |
| 382 | +} |
| 383 | + |
| 384 | +.message-section { |
| 385 | + background-color: white; |
| 386 | + border: 1px solid #d1d5db; |
| 387 | + border-radius: 6px; |
| 388 | + padding: 15px; |
| 389 | +} |
| 390 | + |
| 391 | +.message-section h4 { |
| 392 | + margin: 0 0 10px 0; |
| 393 | + color: #1f2937; |
| 394 | + font-size: 1rem; |
| 395 | +} |
| 396 | + |
| 397 | +.event-message { |
| 398 | + margin-top: 8px; |
| 399 | + padding: 8px; |
| 400 | + background-color: #f3f4f6; |
| 401 | + border-radius: 4px; |
| 402 | + font-size: 13px; |
| 403 | + line-height: 1.4; |
| 404 | +} |
| 405 | + |
292 | 406 | /* Events and Messages Styles */ |
293 | 407 | .conversation-events { |
294 | 408 | background-color: white; |
|
389 | 503 |
|
390 | 504 | /* Responsive design */ |
391 | 505 | @media (max-width: 768px) { |
392 | | - .conversation-layout { |
| 506 | + .conversation-content { |
393 | 507 | grid-template-columns: 1fr; |
394 | 508 | } |
395 | 509 |
|
|
0 commit comments