|
105 | 105 | } |
106 | 106 |
|
107 | 107 | .ai-context-mode-wrapper { |
108 | | - width: 300px; |
| 108 | + width: 320px; |
109 | 109 | } |
110 | 110 |
|
111 | 111 | .ai-slider-container { |
|
114 | 114 | border-radius: 6px; |
115 | 115 | padding: 3px; |
116 | 116 | position: relative; |
117 | | - margin-bottom: 8px; |
| 117 | + margin-bottom: 0px; |
118 | 118 | } |
119 | 119 |
|
120 | 120 | .ai-slider-option { |
121 | 121 | flex: 1; |
122 | 122 | text-align: center; |
123 | | - padding: 4px 8px; |
| 123 | + padding: 8px 8px; |
124 | 124 | font-size: 12px; |
125 | 125 | cursor: pointer; |
126 | 126 | position: relative; |
|
219 | 219 | color: var(--text, #e2e8f0); |
220 | 220 | } |
221 | 221 |
|
222 | | -.ai-hidden { |
| 222 | +#ai-drop-zone.hidden { |
223 | 223 | display: none !important; |
224 | 224 | } |
225 | 225 |
|
|
302 | 302 |
|
303 | 303 | .ai-modal { |
304 | 304 | display: none; |
305 | | - position: fixed; |
| 305 | + position: absolute; |
306 | 306 | top: 0; |
307 | 307 | left: 0; |
308 | 308 | width: 100%; |
|
311 | 311 | z-index: 10001; |
312 | 312 | } |
313 | 313 |
|
314 | | -.ai-modal.ai-show { |
| 314 | +.ai-modal.show { |
315 | 315 | display: flex; |
316 | 316 | align-items: center; |
317 | 317 | justify-content: center; |
318 | 318 | } |
319 | 319 |
|
320 | 320 | .ai-modal-content { |
321 | | - background: white; |
| 321 | + background: var(--bg, white); |
322 | 322 | padding: 20px; |
323 | 323 | border-radius: 4px; |
324 | | - max-width: 400px; |
325 | | - width: 100%; |
| 324 | + max-width: 300px; |
| 325 | + width: calc(100% - 40px); |
| 326 | + margin: 0 20px; |
| 327 | + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
326 | 328 | } |
327 | 329 |
|
328 | 330 | .ai-modal-actions { |
|
333 | 335 | } |
334 | 336 |
|
335 | 337 | .ai-modal-button { |
336 | | - padding: 8px 16px; |
337 | | - border-radius: 4px; |
| 338 | + padding: 6px 12px; |
| 339 | + border-radius: 6px; |
338 | 340 | cursor: pointer; |
| 341 | + font-size: 13px; |
| 342 | + font-family: inherit; |
| 343 | + font-weight: 500; |
| 344 | + transition: all 0.2s ease; |
339 | 345 | } |
340 | 346 |
|
341 | | -.cancel-button { |
342 | | - background: none; |
343 | | - border: 1px solid #ddd; |
| 347 | +.ai-cancel-button { |
| 348 | + background: var(--bg, #ffffff); |
| 349 | + color: var(--text, #1e293b); |
| 350 | + border: 1px solid var(--border, #e2e8f0); |
| 351 | +} |
| 352 | + |
| 353 | +.ai-cancel-button:hover { |
| 354 | + background: var(--hover, #f8fafc); |
| 355 | + border-color: var(--button-bg, #3b82f6); |
344 | 356 | } |
345 | 357 |
|
346 | | -.confirm-button { |
347 | | - background: #e74c3c; |
| 358 | +.ai-confirm-button { |
| 359 | + background: var(--button-bg, #ef4444); |
348 | 360 | color: white; |
349 | 361 | border: none; |
350 | 362 | } |
351 | 363 |
|
| 364 | +.ai-confirm-button:hover { |
| 365 | + background: var(--button-hover-bg, #dc2626); |
| 366 | +} |
| 367 | + |
| 368 | +[data-theme="dark"] .ai-cancel-button { |
| 369 | + background: var(--bg, #1e293b); |
| 370 | + border-color: var(--border, #4d4d4d); |
| 371 | + color: var(--text, #e2e8f0); |
| 372 | +} |
| 373 | + |
| 374 | +[data-theme="dark"] .ai-cancel-button:hover { |
| 375 | + background: var(--hover, #334155); |
| 376 | + border-color: var(--button-bg, #3b82f6); |
| 377 | +} |
| 378 | + |
352 | 379 | .ai-theme-toggle { |
353 | 380 | background: none; |
354 | 381 | border: none; |
|
419 | 446 | background: #2d2d2d; |
420 | 447 | } |
421 | 448 |
|
422 | | -[data-theme="dark"] .ai-cancel-button { |
423 | | - border-color: #4d4d4d; |
424 | | - color: #fff; |
425 | | -} |
426 | | - |
427 | | -[data-theme="dark"] .ai-theme-toggle { |
428 | | - color: #fff; |
429 | | -} |
430 | | - |
431 | 449 | .image-preview { |
432 | 450 | position: relative; |
433 | 451 | display: inline-block; |
|
760 | 778 | color: var(--light-text, #94a3b8); |
761 | 779 | } |
762 | 780 |
|
763 | | -#screenshot-btn { |
| 781 | +#ai-screenshot-btn { |
764 | 782 | padding: 6px; |
765 | 783 | background: var(--bg, #ffffff); |
766 | 784 | color: var(--text, #1e293b); |
|
777 | 795 | box-sizing: border-box; |
778 | 796 | } |
779 | 797 |
|
780 | | -#screenshot-btn:hover { |
| 798 | +#ai-screenshot-btn:hover { |
781 | 799 | background: var(--hover, #f8fafc); |
782 | 800 | border-color: var(--button-bg, #3b82f6); |
783 | 801 | } |
784 | 802 |
|
785 | | -#screenshot-btn svg { |
| 803 | +#ai-screenshot-btn svg { |
786 | 804 | width: 16px; |
787 | 805 | height: 16px; |
788 | 806 | } |
789 | 807 |
|
790 | | -#screenshot-btn.hidden { |
| 808 | +#ai-screenshot-btn.hidden { |
791 | 809 | display: none; |
792 | 810 | } |
793 | 811 |
|
|
0 commit comments