icons
2 years ago
chatgpt.css
3 days ago
foundation.css
3 days ago
messages.css
3 days ago
timeless.css
3 days ago
chatgpt.css
3394 lines
| 1 | @charset "UTF-8"; |
| 2 | /* |
| 3 | CHATGPT THEME — SPACING, INPUT, AND SAFE-AREA DOCS |
| 4 | |
| 5 | Overview |
| 6 | - ChatGPT-like styling with inline submit (no in-field absolute button on desktop). |
| 7 | - Balanced spacing that feels comfortable while preserving maximum content area. |
| 8 | |
| 9 | Spacing Strategy |
| 10 | - Bottom spacing is owned by the input/footer, not the shell (prevents double padding |
| 11 | and tiny lingering gaps when browser toolbars hide/show). The shell applies only top/side safe areas. |
| 12 | - When no footer is present, we add a consistent baseline under the input for both desktop and mobile |
| 13 | via a shared mixin (symmetrical with top spacing on desktop). |
| 14 | |
| 15 | Submit Button Strategy |
| 16 | - Inline button; center alignment handled by flex. No absolute positioning required here. |
| 17 | - Hover effects keep the button in place (no translation adjustments needed). |
| 18 | |
| 19 | Safe Areas & Viewport |
| 20 | - Use dvh (100dvh) in common fullscreen contexts; avoid hard height locks that fight the keyboard. |
| 21 | - Safe-area bottom is applied only where needed (e.g., footer or input in no-footer cases). |
| 22 | |
| 23 | Important |
| 24 | - Keep this documentation updated as we refine spacing, dvh, and safe-area behavior. |
| 25 | */ |
| 26 | @keyframes mwai-cursor-blink { |
| 27 | 0%, 49.9% { |
| 28 | background: var(--mwai-terminal-active-color); |
| 29 | color: var(--mwai-backgroundPrimaryColor); |
| 30 | } |
| 31 | 50%, 100% { |
| 32 | background: transparent; |
| 33 | color: var(--mwai-terminal-active-color); |
| 34 | } |
| 35 | } |
| 36 | .mwai-context-menu-portal .mwai-context-menu { |
| 37 | background: var(--mwai-backgroundHeaderColor); |
| 38 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 39 | border-radius: var(--mwai-borderRadius); |
| 40 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 41 | font-size: 13px; |
| 42 | color: var(--mwai-fontColor); |
| 43 | } |
| 44 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item { |
| 45 | display: flex; |
| 46 | align-items: center; |
| 47 | gap: 8px; |
| 48 | padding: 8px 12px; |
| 49 | cursor: pointer; |
| 50 | transition: background-color 0.2s; |
| 51 | } |
| 52 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover { |
| 53 | background-color: rgba(0, 0, 0, 0.05); |
| 54 | } |
| 55 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 56 | color: #dc3545; |
| 57 | } |
| 58 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 59 | background-color: rgba(220, 53, 69, 0.1); |
| 60 | } |
| 61 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg { |
| 62 | flex-shrink: 0; |
| 63 | } |
| 64 | |
| 65 | .mwai-chunks { |
| 66 | padding: 8px; |
| 67 | background: rgba(0, 0, 0, 0.03); |
| 68 | font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace; |
| 69 | font-size: 11px; |
| 70 | border-top: 1px solid rgba(0, 0, 0, 0.06); |
| 71 | } |
| 72 | .mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header { |
| 73 | margin-bottom: 0 !important; |
| 74 | } |
| 75 | .mwai-chunks .mwai-chunks-header { |
| 76 | display: flex; |
| 77 | align-items: center; |
| 78 | gap: 2px; |
| 79 | margin-bottom: 8px; |
| 80 | color: #6b7280; |
| 81 | font-size: 10px; |
| 82 | text-transform: uppercase; |
| 83 | letter-spacing: 0.05em; |
| 84 | } |
| 85 | .mwai-chunks .mwai-chunks-header .mwai-chunks-title { |
| 86 | flex: 1; |
| 87 | overflow: hidden; |
| 88 | text-overflow: ellipsis; |
| 89 | white-space: nowrap; |
| 90 | } |
| 91 | .mwai-chunks .mwai-chunks-header .mwai-chunks-status { |
| 92 | margin-left: 4px; |
| 93 | font-weight: 500; |
| 94 | } |
| 95 | .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle { |
| 96 | background: none; |
| 97 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 98 | border-radius: 3px; |
| 99 | padding: 2px; |
| 100 | width: 30px; |
| 101 | height: 20px; |
| 102 | cursor: pointer; |
| 103 | color: #6b7280; |
| 104 | display: flex; |
| 105 | align-items: center; |
| 106 | justify-content: center; |
| 107 | transition: all 0.2s ease; |
| 108 | margin-left: 4px; |
| 109 | } |
| 110 | .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover { |
| 111 | background: rgba(0, 0, 0, 0.05); |
| 112 | color: #374151; |
| 113 | } |
| 114 | .mwai-chunks .mwai-chunks-list { |
| 115 | max-height: 240px; |
| 116 | overflow-y: auto; |
| 117 | } |
| 118 | .mwai-chunks .mwai-chunk { |
| 119 | margin-bottom: 4px; |
| 120 | padding: 6px 8px; |
| 121 | background: white; |
| 122 | border-radius: 4px; |
| 123 | border: 1px solid rgba(0, 0, 0, 0.06); |
| 124 | transition: all 0.2s ease; |
| 125 | } |
| 126 | .mwai-chunks .mwai-chunk .mwai-chunk-header { |
| 127 | display: flex; |
| 128 | align-items: center; |
| 129 | gap: 8px; |
| 130 | cursor: pointer; |
| 131 | user-select: none; |
| 132 | } |
| 133 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 134 | color: #9ca3af; |
| 135 | font-size: 10px; |
| 136 | font-variant-numeric: tabular-nums; |
| 137 | } |
| 138 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type { |
| 139 | display: flex; |
| 140 | align-items: center; |
| 141 | gap: 4px; |
| 142 | padding: 2px 6px; |
| 143 | border-radius: 3px; |
| 144 | font-size: 10px; |
| 145 | font-weight: 500; |
| 146 | color: white; |
| 147 | } |
| 148 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 149 | flex: 1; |
| 150 | color: #374151; |
| 151 | overflow: hidden; |
| 152 | text-overflow: ellipsis; |
| 153 | white-space: nowrap; |
| 154 | } |
| 155 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 156 | color: #9ca3af; |
| 157 | transition: transform 0.2s ease; |
| 158 | } |
| 159 | .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 160 | margin-top: 8px; |
| 161 | padding: 8px; |
| 162 | background: rgba(0, 0, 0, 0.02); |
| 163 | border-radius: 3px; |
| 164 | overflow-x: auto; |
| 165 | } |
| 166 | .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 167 | margin: 0; |
| 168 | white-space: pre-wrap; |
| 169 | word-break: break-word; |
| 170 | color: #4b5563; |
| 171 | } |
| 172 | |
| 173 | .mwai-user-images { |
| 174 | display: flex; |
| 175 | flex-direction: column; |
| 176 | gap: 4px; |
| 177 | flex: 1 1 100%; |
| 178 | min-width: 0; |
| 179 | } |
| 180 | .mwai-user-images .mwai-user-image { |
| 181 | display: block; |
| 182 | width: 100%; |
| 183 | height: auto; |
| 184 | border-radius: var(--mwai-borderRadius); |
| 185 | } |
| 186 | |
| 187 | /* |
| 188 | CHATGPT THEME — SPACING, INPUT, AND SAFE-AREA DOCS |
| 189 | |
| 190 | Overview |
| 191 | - ChatGPT-like styling with inline submit (no in-field absolute button on desktop). |
| 192 | - Balanced spacing that feels comfortable while preserving maximum content area. |
| 193 | |
| 194 | Spacing Strategy |
| 195 | - Bottom spacing is owned by the input/footer, not the shell (prevents double padding |
| 196 | and tiny lingering gaps when browser toolbars hide/show). The shell applies only top/side safe areas. |
| 197 | - When no footer is present, we add a consistent baseline under the input for both desktop and mobile |
| 198 | via a shared mixin (symmetrical with top spacing on desktop). |
| 199 | |
| 200 | Submit Button Strategy |
| 201 | - Inline button; center alignment handled by flex. No absolute positioning required here. |
| 202 | - Hover effects keep the button in place (no translation adjustments needed). |
| 203 | |
| 204 | Safe Areas & Viewport |
| 205 | - Use dvh (100dvh) in common fullscreen contexts; avoid hard height locks that fight the keyboard. |
| 206 | - Safe-area bottom is applied only where needed (e.g., footer or input in no-footer cases). |
| 207 | |
| 208 | Important |
| 209 | - Keep this documentation updated as we refine spacing, dvh, and safe-area behavior. |
| 210 | */ |
| 211 | @keyframes mwaiIconTextZoomIn { |
| 212 | 0% { |
| 213 | transform: scale(0.92); |
| 214 | opacity: 0; |
| 215 | } |
| 216 | 100% { |
| 217 | transform: scale(1); |
| 218 | opacity: 1; |
| 219 | } |
| 220 | } |
| 221 | @keyframes mwaiIconTextSlideIn { |
| 222 | 0% { |
| 223 | transform: translateY(28px); |
| 224 | opacity: 0; |
| 225 | } |
| 226 | 70% { |
| 227 | transform: translateY(-3px); |
| 228 | opacity: 1; |
| 229 | } |
| 230 | 100% { |
| 231 | transform: translateY(0); |
| 232 | opacity: 1; |
| 233 | } |
| 234 | } |
| 235 | @keyframes mwaiIconTextSlideUp { |
| 236 | 0% { |
| 237 | transform: translateY(24px); |
| 238 | opacity: 0; |
| 239 | } |
| 240 | 100% { |
| 241 | transform: translateY(0); |
| 242 | opacity: 1; |
| 243 | } |
| 244 | } |
| 245 | @keyframes mwaiIconTextFadeOpacity { |
| 246 | 0% { |
| 247 | opacity: 0; |
| 248 | } |
| 249 | 100% { |
| 250 | opacity: 1; |
| 251 | } |
| 252 | } |
| 253 | @keyframes mwaiIconTextFadeTransform { |
| 254 | 0% { |
| 255 | transform: translateY(8px) scale(0.98); |
| 256 | } |
| 257 | 100% { |
| 258 | transform: translateY(0) scale(1); |
| 259 | } |
| 260 | } |
| 261 | .mwai-chatgpt-theme { |
| 262 | font-family: var(--mwai-fontFamily, inherit); |
| 263 | --mwai-spacing: 15px; |
| 264 | --mwai-fontSize: 15px; |
| 265 | --mwai-lineHeight: 1.5; |
| 266 | --mwai-borderRadius: 10px; |
| 267 | --mwai-borderColor: #4f4f4f32; |
| 268 | --mwai-width: 460px; |
| 269 | --mwai-maxHeight: 40vh; |
| 270 | --mwai-iconTextColor: white; |
| 271 | --mwai-iconTextBackgroundColor: #212121; |
| 272 | --mwai-fontColor: #ECECEC; |
| 273 | --mwai-backgroundPrimaryColor: #2f2f2f; |
| 274 | --mwai-backgroundHeaderColor: #212121; |
| 275 | --mwai-bubbleColor: #212121; |
| 276 | --mwai-iconSize: 60px; |
| 277 | --mwai-accentColor: #0d7df2; |
| 278 | --mwai-headerColor: #ECECEC; |
| 279 | --mwai-conversationsBackgroundColor: #171717; |
| 280 | --mwai-conversationsTextColor: #ECECEC; |
| 281 | --mwai-backgroundSecondaryColor: #212121; |
| 282 | --mwai-errorBackgroundColor: #6d2f2a; |
| 283 | --mwai-errorTextColor: #FFFFFF; |
| 284 | } |
| 285 | .mwai-chatgpt-theme * { |
| 286 | box-sizing: border-box; |
| 287 | } |
| 288 | .mwai-chatgpt-theme .mwai-body { |
| 289 | background: var(--mwai-backgroundSecondaryColor); |
| 290 | color: var(--mwai-fontColor); |
| 291 | font-size: var(--mwai-fontSize); |
| 292 | overflow: hidden; |
| 293 | display: flex; |
| 294 | flex-direction: column; |
| 295 | border-radius: var(--mwai-borderRadius); |
| 296 | position: relative; |
| 297 | } |
| 298 | .mwai-chatgpt-theme .mwai-drag-overlay { |
| 299 | position: absolute; |
| 300 | top: 0; |
| 301 | left: 0; |
| 302 | right: 0; |
| 303 | bottom: 0; |
| 304 | background: rgba(33, 33, 33, 0.95); |
| 305 | z-index: 100; |
| 306 | display: flex; |
| 307 | align-items: center; |
| 308 | justify-content: center; |
| 309 | border-radius: var(--mwai-borderRadius); |
| 310 | pointer-events: none; |
| 311 | } |
| 312 | .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-content { |
| 313 | display: flex; |
| 314 | flex-direction: column; |
| 315 | align-items: center; |
| 316 | gap: 8px; |
| 317 | padding: 20px; |
| 318 | } |
| 319 | .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-icons { |
| 320 | display: flex; |
| 321 | gap: 8px; |
| 322 | color: var(--mwai-accentColor); |
| 323 | } |
| 324 | .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-title { |
| 325 | font-size: 15px; |
| 326 | font-weight: 500; |
| 327 | color: var(--mwai-fontColor); |
| 328 | } |
| 329 | .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-subtitle { |
| 330 | font-size: 12px; |
| 331 | color: var(--mwai-fontColor); |
| 332 | opacity: 0.7; |
| 333 | text-align: center; |
| 334 | } |
| 335 | .mwai-chatgpt-theme .mwai-drag-overlay.mwai-blocked .mwai-drag-overlay-icons { |
| 336 | color: #ef4444; |
| 337 | } |
| 338 | .mwai-chatgpt-theme .mwai-drag-overlay.mwai-blocked .mwai-drag-overlay-title { |
| 339 | color: #ef4444; |
| 340 | } |
| 341 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-name { |
| 342 | color: var(--mwai-headerColor); |
| 343 | font-size: var(--mwai-fontSize); |
| 344 | } |
| 345 | .mwai-chatgpt-theme .mwai-shortcuts { |
| 346 | display: flex; |
| 347 | justify-content: center; |
| 348 | margin: var(--mwai-spacing); |
| 349 | } |
| 350 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut { |
| 351 | margin-right: calc(var(--mwai-spacing) / 2); |
| 352 | display: flex; |
| 353 | } |
| 354 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-success { |
| 355 | color: #4caf50; |
| 356 | border: 1px solid #4caf50; |
| 357 | } |
| 358 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-danger { |
| 359 | color: #f44336; |
| 360 | border: 1px solid #f44336; |
| 361 | } |
| 362 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-warning { |
| 363 | color: #ff9800; |
| 364 | border: 1px solid #ff9800; |
| 365 | } |
| 366 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-info { |
| 367 | color: #2196f3; |
| 368 | border: 1px solid #2196f3; |
| 369 | } |
| 370 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon { |
| 371 | margin-right: 5px; |
| 372 | } |
| 373 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img { |
| 374 | max-height: 16px; |
| 375 | width: auto; |
| 376 | } |
| 377 | .mwai-chatgpt-theme .mwai-blocks { |
| 378 | display: flex; |
| 379 | flex-direction: column; |
| 380 | padding: var(--mwai-spacing); |
| 381 | } |
| 382 | .mwai-chatgpt-theme .mwai-blocks .mwai-block p:first-child { |
| 383 | margin-top: 0; |
| 384 | } |
| 385 | .mwai-chatgpt-theme .mwai-blocks button { |
| 386 | cursor: pointer; |
| 387 | } |
| 388 | .mwai-chatgpt-theme .mwai-conversation { |
| 389 | overflow: auto; |
| 390 | flex: 1 1 auto; |
| 391 | max-height: var(--mwai-maxHeight); |
| 392 | min-height: 0; |
| 393 | } |
| 394 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar { |
| 395 | width: 8px; |
| 396 | background: transparent; |
| 397 | } |
| 398 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-track { |
| 399 | background: rgba(255, 255, 255, 0.05); |
| 400 | border-radius: 4px; |
| 401 | } |
| 402 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb { |
| 403 | background: rgba(255, 255, 255, 0.15); |
| 404 | border-radius: 4px; |
| 405 | transition: background 0.2s ease; |
| 406 | } |
| 407 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:hover { |
| 408 | background: rgba(255, 255, 255, 0.25); |
| 409 | } |
| 410 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:active { |
| 411 | background: rgba(255, 255, 255, 0.3); |
| 412 | } |
| 413 | .mwai-chatgpt-theme .mwai-conversation { |
| 414 | scrollbar-width: thin; |
| 415 | scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.05); |
| 416 | } |
| 417 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line { |
| 418 | line-height: 1.5; |
| 419 | } |
| 420 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-prompt { |
| 421 | opacity: 0.95; |
| 422 | } |
| 423 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-text { |
| 424 | opacity: 0.98; |
| 425 | } |
| 426 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-system { |
| 427 | opacity: 0.75; |
| 428 | } |
| 429 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-prompt { |
| 430 | color: var(--mwai-headerColor); |
| 431 | } |
| 432 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text { |
| 433 | flex: 1; |
| 434 | opacity: 0.92; |
| 435 | } |
| 436 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text .mwai-image { |
| 437 | max-width: 100%; |
| 438 | height: auto; |
| 439 | } |
| 440 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text pre { |
| 441 | background: transparent; |
| 442 | border: 1px solid rgba(255, 255, 255, 0.08); |
| 443 | padding: 8px; |
| 444 | border-radius: 4px; |
| 445 | } |
| 446 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text code { |
| 447 | font-family: inherit; |
| 448 | } |
| 449 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-typed { |
| 450 | white-space: pre-wrap; |
| 451 | } |
| 452 | .mwai-chatgpt-theme .mwai-reply { |
| 453 | display: flex; |
| 454 | padding: var(--mwai-spacing); |
| 455 | position: relative; |
| 456 | line-height: var(--mwai-lineHeight); |
| 457 | transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| 458 | background: transparent; |
| 459 | } |
| 460 | .mwai-chatgpt-theme .mwai-reply.mwai-fade-out { |
| 461 | opacity: 0; |
| 462 | } |
| 463 | .mwai-chatgpt-theme .mwai-reply.mwai-user { |
| 464 | display: block; |
| 465 | background: transparent; |
| 466 | text-align: right; |
| 467 | } |
| 468 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-name { |
| 469 | display: none; |
| 470 | } |
| 471 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images { |
| 472 | display: inline-flex; |
| 473 | flex-wrap: wrap; |
| 474 | justify-content: flex-end; |
| 475 | gap: 4px; |
| 476 | margin-bottom: 8px; |
| 477 | max-width: 70%; |
| 478 | } |
| 479 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images .mwai-user-image { |
| 480 | max-width: 100%; |
| 481 | max-height: 300px; |
| 482 | width: auto; |
| 483 | height: auto; |
| 484 | border-radius: var(--mwai-borderRadius); |
| 485 | object-fit: contain; |
| 486 | } |
| 487 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) { |
| 488 | display: inline-grid; |
| 489 | grid-template-columns: repeat(2, 1fr); |
| 490 | gap: 4px; |
| 491 | } |
| 492 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image { |
| 493 | width: 160px; |
| 494 | height: 160px; |
| 495 | object-fit: cover; |
| 496 | border-radius: var(--mwai-borderRadius); |
| 497 | } |
| 498 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:nth-child(1) { |
| 499 | border-top-left-radius: var(--mwai-borderRadius); |
| 500 | border-top-right-radius: 4px; |
| 501 | border-bottom-left-radius: var(--mwai-borderRadius); |
| 502 | border-bottom-right-radius: 4px; |
| 503 | } |
| 504 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:nth-child(2) { |
| 505 | border-top-left-radius: 4px; |
| 506 | border-top-right-radius: var(--mwai-borderRadius); |
| 507 | border-bottom-left-radius: 4px; |
| 508 | border-bottom-right-radius: 4px; |
| 509 | } |
| 510 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-text { |
| 511 | display: inline-block; |
| 512 | text-align: left; |
| 513 | max-width: 70%; |
| 514 | background: var(--mwai-accentColor); |
| 515 | padding: 10px 16px; |
| 516 | border-radius: 20px; |
| 517 | word-wrap: break-word; |
| 518 | overflow-wrap: break-word; |
| 519 | } |
| 520 | .mwai-chatgpt-theme .mwai-reply.mwai-ai { |
| 521 | align-items: flex-start; |
| 522 | background: transparent; |
| 523 | } |
| 524 | .mwai-chatgpt-theme .mwai-reply.mwai-ai:has(.mwai-name-text) { |
| 525 | flex-direction: column; |
| 526 | } |
| 527 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-name-text { |
| 528 | display: block; |
| 529 | font-size: 0.75em; |
| 530 | font-weight: 600; |
| 531 | opacity: 0.6; |
| 532 | margin-bottom: 4px; |
| 533 | } |
| 534 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-text { |
| 535 | max-width: 100%; |
| 536 | } |
| 537 | .mwai-chatgpt-theme .mwai-reply.mwai-error { |
| 538 | background: var(--mwai-backgroundPrimaryColor); |
| 539 | } |
| 540 | .mwai-chatgpt-theme .mwai-reply .mwai-name { |
| 541 | color: var(--mwai-fontColor); |
| 542 | margin-right: 5px; |
| 543 | } |
| 544 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text { |
| 545 | opacity: 0.5; |
| 546 | white-space: nowrap; |
| 547 | } |
| 548 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar { |
| 549 | margin-right: 10px; |
| 550 | display: flex; |
| 551 | align-items: center; |
| 552 | justify-content: center; |
| 553 | border-radius: 8px; |
| 554 | overflow: hidden; |
| 555 | } |
| 556 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar img { |
| 557 | width: 32px; |
| 558 | height: 32px; |
| 559 | min-width: 32px; |
| 560 | min-height: 32px; |
| 561 | } |
| 562 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img { |
| 563 | width: 28px; |
| 564 | height: 28px; |
| 565 | min-width: 28px; |
| 566 | min-height: 28px; |
| 567 | filter: brightness(0) invert(1); |
| 568 | } |
| 569 | .mwai-chatgpt-theme .mwai-reply .mwai-text { |
| 570 | flex: auto; |
| 571 | font-size: var(--mwai-fontSize); |
| 572 | line-height: var(--mwai-lineHeight); |
| 573 | color: var(--mwai-fontColor); |
| 574 | } |
| 575 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-image { |
| 576 | display: block; |
| 577 | max-width: 250px; |
| 578 | height: auto; |
| 579 | margin: 0 0 10px 0; |
| 580 | border-radius: var(--mwai-borderRadius); |
| 581 | } |
| 582 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-filename { |
| 583 | display: flex; |
| 584 | text-decoration: none; |
| 585 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 586 | border-radius: var(--mwai-borderRadius); |
| 587 | padding: 5px 10px; |
| 588 | margin-bottom: 10px; |
| 589 | } |
| 590 | .mwai-chatgpt-theme .mwai-reply .mwai-text * { |
| 591 | font-size: var(--mwai-fontSize); |
| 592 | } |
| 593 | .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:first-child { |
| 594 | margin-top: 0; |
| 595 | } |
| 596 | .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:last-child { |
| 597 | margin-bottom: 0; |
| 598 | } |
| 599 | .mwai-chatgpt-theme .mwai-reply .mwai-text a { |
| 600 | color: #2196f3; |
| 601 | } |
| 602 | .mwai-chatgpt-theme .mwai-reply .mwai-text h1, .mwai-chatgpt-theme .mwai-reply .mwai-text h2, .mwai-chatgpt-theme .mwai-reply .mwai-text h3, .mwai-chatgpt-theme .mwai-reply .mwai-text h4, .mwai-chatgpt-theme .mwai-reply .mwai-text h5, .mwai-chatgpt-theme .mwai-reply .mwai-text h6 { |
| 603 | color: var(--mwai-fontColor); |
| 604 | margin: 0px; |
| 605 | line-height: 1.2; |
| 606 | } |
| 607 | .mwai-chatgpt-theme .mwai-reply .mwai-text h1 { |
| 608 | font-size: 150%; |
| 609 | } |
| 610 | .mwai-chatgpt-theme .mwai-reply .mwai-text h2 { |
| 611 | font-size: 130%; |
| 612 | } |
| 613 | .mwai-chatgpt-theme .mwai-reply .mwai-text h3 { |
| 614 | font-size: 115%; |
| 615 | } |
| 616 | .mwai-chatgpt-theme .mwai-reply .mwai-text h4 { |
| 617 | font-size: 105%; |
| 618 | } |
| 619 | .mwai-chatgpt-theme .mwai-reply .mwai-text h5 { |
| 620 | font-size: 100%; |
| 621 | } |
| 622 | .mwai-chatgpt-theme .mwai-reply .mwai-text h6 { |
| 623 | font-size: 95%; |
| 624 | font-weight: bold; |
| 625 | } |
| 626 | .mwai-chatgpt-theme .mwai-reply .mwai-text p code { |
| 627 | background: var(--mwai-backgroundSecondaryColor); |
| 628 | padding: 2px 6px; |
| 629 | border-radius: 8px; |
| 630 | font-size: 90%; |
| 631 | font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; |
| 632 | } |
| 633 | .mwai-chatgpt-theme .mwai-reply .mwai-text pre { |
| 634 | color: var(--mwai-fontColor); |
| 635 | border-radius: var(--mwai-borderRadius); |
| 636 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 637 | break-after: auto; |
| 638 | white-space: pre-wrap; |
| 639 | font-size: 90%; |
| 640 | max-width: 100%; |
| 641 | width: 100%; |
| 642 | font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; |
| 643 | background: hsl(0 0% 0% / 30%); |
| 644 | } |
| 645 | .mwai-chatgpt-theme .mwai-reply .mwai-text pre code { |
| 646 | padding: 0 !important; |
| 647 | background: transparent; |
| 648 | font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; |
| 649 | } |
| 650 | .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol { |
| 651 | padding: 0; |
| 652 | } |
| 653 | .mwai-chatgpt-theme .mwai-reply .mwai-text ul { |
| 654 | list-style: disc; |
| 655 | margin: 0 0 0 15px; |
| 656 | } |
| 657 | .mwai-chatgpt-theme .mwai-reply .mwai-text ol { |
| 658 | list-style: decimal; |
| 659 | margin: 0 0 0 15px; |
| 660 | } |
| 661 | .mwai-chatgpt-theme .mwai-reply .mwai-text table { |
| 662 | width: 100%; |
| 663 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 664 | border-collapse: collapse; |
| 665 | } |
| 666 | .mwai-chatgpt-theme .mwai-reply .mwai-text thead { |
| 667 | background: var(--mwai-backgroundSecondaryColor); |
| 668 | } |
| 669 | .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td { |
| 670 | padding: 2px 5px; |
| 671 | } |
| 672 | .mwai-chatgpt-theme .mwai-reply .mwai-text td { |
| 673 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 674 | } |
| 675 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter { |
| 676 | display: inline-block; |
| 677 | } |
| 678 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child { |
| 679 | margin-top: 0; |
| 680 | } |
| 681 | .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child { |
| 682 | margin-top: 0; |
| 683 | } |
| 684 | .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child { |
| 685 | margin-bottom: 0; |
| 686 | } |
| 687 | .mwai-chatgpt-theme .mwai-reply.mwai-system { |
| 688 | background: var(--mwai-errorBackgroundColor); |
| 689 | color: var(--mwai-errorFontColor); |
| 690 | } |
| 691 | .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name { |
| 692 | display: none; |
| 693 | } |
| 694 | .mwai-chatgpt-theme .mwai-reply.mwai-error { |
| 695 | border-top: 1px dashed #ff5656; |
| 696 | border-bottom: 1px dashed #ff5656; |
| 697 | } |
| 698 | .mwai-chatgpt-theme .mwai-input { |
| 699 | display: flex; |
| 700 | align-items: flex-end; |
| 701 | gap: 4px; |
| 702 | padding: 4px 6px 5px 4px !important; |
| 703 | margin: var(--mwai-spacing); |
| 704 | background: var(--mwai-backgroundPrimaryColor); |
| 705 | border: 1px solid var(--mwai-borderColor); |
| 706 | border-radius: 26px; |
| 707 | position: relative; |
| 708 | transition: border-color 0.2s ease; |
| 709 | } |
| 710 | .mwai-chatgpt-theme .mwai-input:focus-within { |
| 711 | border-color: rgba(255, 255, 255, 0.25); |
| 712 | border-color: color-mix(in srgb, var(--mwai-accentColor) 55%, transparent); |
| 713 | } |
| 714 | .mwai-chatgpt-theme .mwai-input .mwai-input-text { |
| 715 | flex: auto; |
| 716 | position: relative; |
| 717 | display: flex; |
| 718 | overflow: hidden; |
| 719 | border-radius: var(--mwai-borderRadius); |
| 720 | background: transparent; |
| 721 | border: none; |
| 722 | padding: 0; |
| 723 | align-items: flex-end; |
| 724 | gap: 4px; |
| 725 | border-radius: 0; |
| 726 | overflow: visible; |
| 727 | } |
| 728 | .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked { |
| 729 | background: var(--mwai-errorBackgroundColor); |
| 730 | border-radius: 16px; |
| 731 | padding: 4px 8px; |
| 732 | margin: -4px -8px; |
| 733 | } |
| 734 | .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging { |
| 735 | filter: brightness(1.2); |
| 736 | } |
| 737 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea { |
| 738 | background: transparent; |
| 739 | color: var(--mwai-fontColor); |
| 740 | flex: auto; |
| 741 | border: none; |
| 742 | font-size: var(--mwai-fontSize); |
| 743 | resize: none; |
| 744 | font-family: inherit; |
| 745 | margin: 0; |
| 746 | overflow: hidden; |
| 747 | min-height: inherit; |
| 748 | } |
| 749 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus { |
| 750 | outline: none; |
| 751 | box-shadow: none; |
| 752 | } |
| 753 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea { |
| 754 | padding: 6px 4px; |
| 755 | margin: 0 !important; |
| 756 | line-height: 1.4; |
| 757 | min-height: unset; |
| 758 | } |
| 759 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus { |
| 760 | outline: none; |
| 761 | box-shadow: none; |
| 762 | } |
| 763 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder { |
| 764 | color: var(--mwai-fontColor); |
| 765 | opacity: 0.5; |
| 766 | } |
| 767 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone { |
| 768 | display: flex; |
| 769 | justify-content: center; |
| 770 | align-items: center; |
| 771 | } |
| 772 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg { |
| 773 | opacity: 0.5; |
| 774 | filter: grayscale(100%); |
| 775 | transition: opacity 0.3s ease-out; |
| 776 | cursor: pointer; |
| 777 | } |
| 778 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg { |
| 779 | opacity: 1; |
| 780 | } |
| 781 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg { |
| 782 | opacity: 0; |
| 783 | cursor: not-allowed; |
| 784 | } |
| 785 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone { |
| 786 | flex-shrink: 0; |
| 787 | width: 32px; |
| 788 | height: 32px; |
| 789 | min-width: 32px; |
| 790 | min-height: 32px; |
| 791 | background: transparent; |
| 792 | border: none; |
| 793 | border-radius: 50%; |
| 794 | display: flex; |
| 795 | align-items: center; |
| 796 | justify-content: center; |
| 797 | cursor: pointer; |
| 798 | padding: 0; |
| 799 | margin: 0; |
| 800 | } |
| 801 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg { |
| 802 | color: var(--mwai-fontColor); |
| 803 | opacity: 0.7; |
| 804 | width: 18px; |
| 805 | height: 18px; |
| 806 | } |
| 807 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone:hover { |
| 808 | background: rgba(255, 255, 255, 0.1); |
| 809 | } |
| 810 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone:hover svg { |
| 811 | opacity: 1; |
| 812 | } |
| 813 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) { |
| 814 | background: url(icons/dark-icons.svg); |
| 815 | background-size: 500%; |
| 816 | background-position: 0px -96px; |
| 817 | width: 32px; |
| 818 | height: 32px; |
| 819 | z-index: 100; |
| 820 | } |
| 821 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-idle-add { |
| 822 | background-position: -32px -96px; |
| 823 | } |
| 824 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-add { |
| 825 | background-position: -32px 0px; |
| 826 | } |
| 827 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-up { |
| 828 | background-position: -64px 0px; |
| 829 | } |
| 830 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-del { |
| 831 | background-position: -96px 0px; |
| 832 | } |
| 833 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-ok { |
| 834 | background-position: -128px 0px; |
| 835 | } |
| 836 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-add { |
| 837 | background-position: -32px -64px; |
| 838 | } |
| 839 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-up { |
| 840 | background-position: -64px -64px; |
| 841 | } |
| 842 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-del { |
| 843 | background-position: -96px -64px; |
| 844 | } |
| 845 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-ok { |
| 846 | background-position: -128px -64px; |
| 847 | } |
| 848 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) .mwai-file-upload-progress { |
| 849 | position: absolute; |
| 850 | font-size: 8px; |
| 851 | width: 21px; |
| 852 | top: 24px; |
| 853 | left: 23px; |
| 854 | overflow: hidden; |
| 855 | text-align: center; |
| 856 | font-weight: bold; |
| 857 | color: white; |
| 858 | } |
| 859 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload { |
| 860 | flex-shrink: 0; |
| 861 | order: -1; |
| 862 | } |
| 863 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload { |
| 864 | width: 32px; |
| 865 | height: 32px; |
| 866 | min-width: 32px; |
| 867 | min-height: 32px; |
| 868 | background: transparent; |
| 869 | border: none; |
| 870 | border-radius: 50%; |
| 871 | display: flex; |
| 872 | align-items: center; |
| 873 | justify-content: center; |
| 874 | cursor: pointer; |
| 875 | box-sizing: border-box; |
| 876 | padding: 0; |
| 877 | margin: 0; |
| 878 | } |
| 879 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload svg { |
| 880 | color: var(--mwai-fontColor); |
| 881 | opacity: 0.7; |
| 882 | width: 18px; |
| 883 | height: 18px; |
| 884 | } |
| 885 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload:hover { |
| 886 | background: rgba(255, 255, 255, 0.1); |
| 887 | } |
| 888 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload:hover svg { |
| 889 | opacity: 1; |
| 890 | } |
| 891 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file { |
| 892 | background: var(--mwai-accentColor); |
| 893 | } |
| 894 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file svg { |
| 895 | color: white; |
| 896 | opacity: 1; |
| 897 | } |
| 898 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-check { |
| 899 | display: block; |
| 900 | } |
| 901 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-x { |
| 902 | display: none; |
| 903 | } |
| 904 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file { |
| 905 | background: #c53030; |
| 906 | } |
| 907 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-check { |
| 908 | display: none; |
| 909 | } |
| 910 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-x { |
| 911 | display: block; |
| 912 | } |
| 913 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit { |
| 914 | flex-shrink: 0; |
| 915 | width: 32px; |
| 916 | height: 32px; |
| 917 | min-width: 32px; |
| 918 | min-height: 32px; |
| 919 | padding: 0; |
| 920 | margin: 0; |
| 921 | border-radius: 50%; |
| 922 | border: none; |
| 923 | background: rgba(255, 255, 255, 0.1); |
| 924 | color: rgba(255, 255, 255, 0.4); |
| 925 | display: flex; |
| 926 | align-items: center; |
| 927 | justify-content: center; |
| 928 | cursor: not-allowed; |
| 929 | transition: background 0.15s ease, color 0.15s ease, filter 0.15s ease; |
| 930 | } |
| 931 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit svg { |
| 932 | width: 18px; |
| 933 | height: 18px; |
| 934 | } |
| 935 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-has-content { |
| 936 | background: var(--mwai-accentColor); |
| 937 | color: white; |
| 938 | cursor: pointer; |
| 939 | } |
| 940 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-has-content:hover { |
| 941 | filter: brightness(1.15); |
| 942 | } |
| 943 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-busy { |
| 944 | width: auto; |
| 945 | min-width: 32px; |
| 946 | padding: 0 12px; |
| 947 | border-radius: 16px; |
| 948 | background: rgba(255, 255, 255, 0.15); |
| 949 | cursor: wait; |
| 950 | gap: 6px; |
| 951 | } |
| 952 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-busy .mwai-timer { |
| 953 | font-size: 13px; |
| 954 | color: rgba(255, 255, 255, 0.8); |
| 955 | margin: 0; |
| 956 | } |
| 957 | .mwai-chatgpt-theme .mwai-input button.mwai-input-submit:disabled:not(.mwai-has-content) { |
| 958 | cursor: not-allowed; |
| 959 | } |
| 960 | .mwai-chatgpt-theme .mwai-files { |
| 961 | display: flex; |
| 962 | flex-wrap: wrap; |
| 963 | gap: 8px; |
| 964 | padding: 0 var(--mwai-spacing) 0 var(--mwai-spacing); |
| 965 | } |
| 966 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview { |
| 967 | background: var(--mwai-backgroundPrimaryColor); |
| 968 | border: 1px solid var(--mwai-borderColor); |
| 969 | border-radius: 12px; |
| 970 | padding: 8px 12px; |
| 971 | display: flex; |
| 972 | align-items: center; |
| 973 | gap: 8px; |
| 974 | max-width: 200px; |
| 975 | } |
| 976 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content { |
| 977 | display: flex; |
| 978 | align-items: center; |
| 979 | gap: 8px; |
| 980 | width: 100%; |
| 981 | } |
| 982 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail { |
| 983 | width: 32px; |
| 984 | height: 32px; |
| 985 | border-radius: 6px; |
| 986 | object-fit: cover; |
| 987 | } |
| 988 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon { |
| 989 | width: 32px; |
| 990 | height: 32px; |
| 991 | display: flex; |
| 992 | align-items: center; |
| 993 | justify-content: center; |
| 994 | color: var(--mwai-fontColor); |
| 995 | opacity: 0.7; |
| 996 | } |
| 997 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info { |
| 998 | flex: 1; |
| 999 | min-width: 0; |
| 1000 | } |
| 1001 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info .mwai-file-name { |
| 1002 | font-size: 12px; |
| 1003 | white-space: nowrap; |
| 1004 | overflow: hidden; |
| 1005 | text-overflow: ellipsis; |
| 1006 | } |
| 1007 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info .mwai-file-size { |
| 1008 | font-size: 10px; |
| 1009 | opacity: 0.6; |
| 1010 | } |
| 1011 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove { |
| 1012 | width: 24px; |
| 1013 | height: 24px; |
| 1014 | min-width: 24px; |
| 1015 | padding: 0; |
| 1016 | border: none; |
| 1017 | background: transparent; |
| 1018 | color: var(--mwai-fontColor); |
| 1019 | opacity: 0.5; |
| 1020 | cursor: pointer; |
| 1021 | display: flex; |
| 1022 | align-items: center; |
| 1023 | justify-content: center; |
| 1024 | } |
| 1025 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover { |
| 1026 | opacity: 1; |
| 1027 | color: #ef4444; |
| 1028 | } |
| 1029 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg { |
| 1030 | width: 16px; |
| 1031 | height: 16px; |
| 1032 | } |
| 1033 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress { |
| 1034 | flex: 1; |
| 1035 | height: 4px; |
| 1036 | background: rgba(255, 255, 255, 0.1); |
| 1037 | border-radius: 2px; |
| 1038 | overflow: hidden; |
| 1039 | } |
| 1040 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar { |
| 1041 | height: 100%; |
| 1042 | background: var(--mwai-accentColor); |
| 1043 | transition: width 0.2s ease; |
| 1044 | } |
| 1045 | .mwai-chatgpt-theme .mwai-compliance { |
| 1046 | opacity: 0.5; |
| 1047 | /* Remove negative margin that pushed footer/content up when input is none */ |
| 1048 | margin-top: 0; |
| 1049 | padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing); |
| 1050 | font-size: smaller; |
| 1051 | color: var(--mwai-fontColor); |
| 1052 | text-align: left; |
| 1053 | } |
| 1054 | .mwai-chatgpt-theme .mwai-gallery { |
| 1055 | display: grid; |
| 1056 | grid-template-columns: repeat(3, 1fr); |
| 1057 | grid-gap: 5px; |
| 1058 | } |
| 1059 | .mwai-chatgpt-theme .mwai-gallery img { |
| 1060 | width: 100%; |
| 1061 | } |
| 1062 | .mwai-chatgpt-theme button { |
| 1063 | color: var(--mwai-fontColor); |
| 1064 | background: var(--mwai-backgroundSecondaryColor); |
| 1065 | border: 1px solid var(--mwai-borderColor); |
| 1066 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 1067 | min-width: 70px; |
| 1068 | border-radius: 5px; |
| 1069 | cursor: pointer; |
| 1070 | transition: all 0.2s ease-out; |
| 1071 | display: flex; |
| 1072 | align-items: center; |
| 1073 | justify-content: center; |
| 1074 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 1075 | position: relative; |
| 1076 | } |
| 1077 | .mwai-chatgpt-theme button .mwai-timer { |
| 1078 | margin-left: 5px; |
| 1079 | margin-right: 5px; |
| 1080 | font-size: 11px; |
| 1081 | } |
| 1082 | .mwai-chatgpt-theme button:hover { |
| 1083 | background: var(--mwai-backgroundPrimaryColor); |
| 1084 | } |
| 1085 | .mwai-chatgpt-theme button[disabled] { |
| 1086 | cursor: not-allowed; |
| 1087 | } |
| 1088 | .mwai-chatgpt-theme button[disabled] span { |
| 1089 | opacity: 0.5; |
| 1090 | } |
| 1091 | .mwai-chatgpt-theme button[disabled].mwai-busy span { |
| 1092 | display: none; |
| 1093 | } |
| 1094 | .mwai-chatgpt-theme button[disabled].mwai-busy:before { |
| 1095 | content: ""; |
| 1096 | width: 18px; |
| 1097 | height: 18px; |
| 1098 | margin: auto; |
| 1099 | border: 3px solid transparent; |
| 1100 | border-top-color: var(--mwai-fontColor); |
| 1101 | border-radius: 50%; |
| 1102 | animation: mwai-button-spinner 1s ease infinite; |
| 1103 | } |
| 1104 | .mwai-chatgpt-theme.mwai-form-container { |
| 1105 | padding: var(--mwai-spacing); |
| 1106 | font-size: var(--mwai-fontSize); |
| 1107 | color: var(--mwai-fontColor); |
| 1108 | background: var(--mwai-backgroundSecondaryColor); |
| 1109 | border-radius: var(--mwai-borderRadius); |
| 1110 | } |
| 1111 | .mwai-chatgpt-theme.mwai-form-container fieldset { |
| 1112 | border: 0; |
| 1113 | margin: 0; |
| 1114 | padding: 0; |
| 1115 | display: flex; |
| 1116 | flex-direction: column; |
| 1117 | margin-bottom: 10px; |
| 1118 | } |
| 1119 | .mwai-chatgpt-theme.mwai-form-container fieldset input[type=text], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=email], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=tel], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=url], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=password], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=number], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=date], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=datetime], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=datetime-local], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=month], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=search], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=time], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=week], .mwai-chatgpt-theme.mwai-form-container fieldset select, .mwai-chatgpt-theme.mwai-form-container fieldset textarea { |
| 1120 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 1121 | border: 0; |
| 1122 | width: 100%; |
| 1123 | border-radius: var(--mwai-borderRadius); |
| 1124 | font-size: var(--mwai-fontSize); |
| 1125 | background: var(--mwai-backgroundPrimaryColor); |
| 1126 | color: var(--mwai-fontColor); |
| 1127 | } |
| 1128 | .mwai-chatgpt-theme.mwai-form-container fieldset select { |
| 1129 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 1130 | border: 0; |
| 1131 | width: 100%; |
| 1132 | border-radius: var(--mwai-borderRadius); |
| 1133 | font-size: var(--mwai-fontSize); |
| 1134 | background: var(--mwai-backgroundPrimaryColor); |
| 1135 | color: var(--mwai-fontColor); |
| 1136 | } |
| 1137 | .mwai-chatgpt-theme.mwai-form-container fieldset textarea { |
| 1138 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 1139 | border: 0; |
| 1140 | width: 100%; |
| 1141 | border-radius: var(--mwai-borderRadius); |
| 1142 | font-family: inherit; |
| 1143 | font-size: var(--mwai-fontSize); |
| 1144 | background: var(--mwai-backgroundPrimaryColor); |
| 1145 | color: var(--mwai-fontColor); |
| 1146 | } |
| 1147 | .mwai-chatgpt-theme.mwai-form-container fieldset input[disabled], .mwai-chatgpt-theme.mwai-form-container fieldset select[disabled], .mwai-chatgpt-theme.mwai-form-container fieldset textarea[disabled] { |
| 1148 | opacity: 0.25; |
| 1149 | } |
| 1150 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button { |
| 1151 | height: 45px; |
| 1152 | background: none; |
| 1153 | width: 100%; |
| 1154 | color: var(--mwai-fontColor); |
| 1155 | font-size: var(--mwai-fontSize); |
| 1156 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1157 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1158 | border-radius: var(--mwai-borderRadius); |
| 1159 | cursor: pointer; |
| 1160 | transition: all 0.2s ease-out; |
| 1161 | position: relative; |
| 1162 | } |
| 1163 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button:hover { |
| 1164 | background: var(--mwai-backgroundPrimaryColor); |
| 1165 | } |
| 1166 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled] span { |
| 1167 | opacity: 0.25; |
| 1168 | } |
| 1169 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled]:hover { |
| 1170 | background: none; |
| 1171 | cursor: not-allowed; |
| 1172 | } |
| 1173 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit.mwai-loading button span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset.mwai-loading button span { |
| 1174 | opacity: 0; |
| 1175 | } |
| 1176 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit.mwai-loading button::after, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset.mwai-loading button::after { |
| 1177 | content: ""; |
| 1178 | position: absolute; |
| 1179 | width: 18px; |
| 1180 | height: 18px; |
| 1181 | top: 0; |
| 1182 | left: 0; |
| 1183 | right: 0; |
| 1184 | bottom: 0; |
| 1185 | margin: auto; |
| 1186 | border: 3px solid transparent; |
| 1187 | border-top-color: var(--mwai-fontColor); |
| 1188 | border-radius: 50%; |
| 1189 | animation: mwai-button-spinner 1s ease infinite; |
| 1190 | } |
| 1191 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output { |
| 1192 | font-size: var(--mwai-fontSize); |
| 1193 | position: relative; |
| 1194 | margin-top: var(--mwai-spacing); |
| 1195 | padding: var(--mwai-spacing); |
| 1196 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1197 | } |
| 1198 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error { |
| 1199 | background: var(--mwai-errorBackgroundColor); |
| 1200 | color: var(--mwai-errorFontColor); |
| 1201 | } |
| 1202 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child { |
| 1203 | margin-top: 0; |
| 1204 | } |
| 1205 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child { |
| 1206 | margin-bottom: 0; |
| 1207 | } |
| 1208 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img { |
| 1209 | max-width: 33%; |
| 1210 | } |
| 1211 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child { |
| 1212 | margin-top: 0; |
| 1213 | } |
| 1214 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child { |
| 1215 | margin-bottom: 0; |
| 1216 | } |
| 1217 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container.mwai-has-content { |
| 1218 | display: block; |
| 1219 | } |
| 1220 | .mwai-chatgpt-theme.mwai-form-container .wp-block-columns { |
| 1221 | margin: 0; |
| 1222 | } |
| 1223 | .mwai-chatgpt-theme .mwai-chunks { |
| 1224 | background: rgba(255, 255, 255, 0.05); |
| 1225 | border-top: 1px solid rgba(255, 255, 255, 0.1); |
| 1226 | } |
| 1227 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header { |
| 1228 | color: #9ca3af; |
| 1229 | } |
| 1230 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk { |
| 1231 | background: rgba(255, 255, 255, 0.08); |
| 1232 | border: 1px solid rgba(255, 255, 255, 0.1); |
| 1233 | } |
| 1234 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 1235 | color: #6b7280; |
| 1236 | } |
| 1237 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 1238 | color: #e5e7eb; |
| 1239 | } |
| 1240 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 1241 | color: #6b7280; |
| 1242 | } |
| 1243 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 1244 | background: rgba(0, 0, 0, 0.2); |
| 1245 | } |
| 1246 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 1247 | color: #d1d5db; |
| 1248 | } |
| 1249 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window { |
| 1250 | filter: none; |
| 1251 | } |
| 1252 | @media (max-width: 760px) { |
| 1253 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header { |
| 1254 | display: none !important; |
| 1255 | } |
| 1256 | } |
| 1257 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-window-box { |
| 1258 | display: flex; |
| 1259 | flex-direction: column; |
| 1260 | filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15)); |
| 1261 | opacity: 0; |
| 1262 | transform: scale(0.5); |
| 1263 | transform-origin: bottom right; |
| 1264 | transition: opacity 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| 1265 | } |
| 1266 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box { |
| 1267 | width: 100%; |
| 1268 | height: 100%; |
| 1269 | } |
| 1270 | @media (min-width: 761px) { |
| 1271 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header { |
| 1272 | display: flex !important; |
| 1273 | } |
| 1274 | } |
| 1275 | @media (max-width: 760px) { |
| 1276 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header { |
| 1277 | display: none !important; |
| 1278 | } |
| 1279 | } |
| 1280 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body { |
| 1281 | display: flex !important; |
| 1282 | } |
| 1283 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box { |
| 1284 | opacity: 1; |
| 1285 | transform: scale(0.92); |
| 1286 | } |
| 1287 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box { |
| 1288 | opacity: 1; |
| 1289 | transform: scale(1); |
| 1290 | } |
| 1291 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box { |
| 1292 | opacity: 0; |
| 1293 | transform: scale(0.85); |
| 1294 | transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1); |
| 1295 | } |
| 1296 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger { |
| 1297 | display: none !important; |
| 1298 | } |
| 1299 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container { |
| 1300 | transform: scale(1); |
| 1301 | opacity: 1; |
| 1302 | } |
| 1303 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box { |
| 1304 | transform-origin: calc(100% - 32px) calc(100% - 32px); |
| 1305 | } |
| 1306 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box { |
| 1307 | transform-origin: 32px calc(100% - 32px); |
| 1308 | } |
| 1309 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box { |
| 1310 | transform-origin: calc(100% - 32px) 32px; |
| 1311 | } |
| 1312 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box { |
| 1313 | transform-origin: 32px 32px; |
| 1314 | } |
| 1315 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box { |
| 1316 | transform-origin: center center; |
| 1317 | } |
| 1318 | @media (max-width: 760px) { |
| 1319 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box { |
| 1320 | transform-origin: center center !important; |
| 1321 | } |
| 1322 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header { |
| 1323 | display: none !important; |
| 1324 | } |
| 1325 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger { |
| 1326 | position: fixed !important; |
| 1327 | z-index: 9999 !important; |
| 1328 | } |
| 1329 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger { |
| 1330 | bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important; |
| 1331 | right: 20px !important; |
| 1332 | left: auto !important; |
| 1333 | top: auto !important; |
| 1334 | } |
| 1335 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger { |
| 1336 | bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important; |
| 1337 | left: 20px !important; |
| 1338 | right: auto !important; |
| 1339 | top: auto !important; |
| 1340 | } |
| 1341 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger { |
| 1342 | top: 20px !important; |
| 1343 | right: 20px !important; |
| 1344 | left: auto !important; |
| 1345 | bottom: auto !important; |
| 1346 | } |
| 1347 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger { |
| 1348 | top: 20px !important; |
| 1349 | left: 20px !important; |
| 1350 | right: auto !important; |
| 1351 | bottom: auto !important; |
| 1352 | } |
| 1353 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger { |
| 1354 | display: none !important; |
| 1355 | } |
| 1356 | } |
| 1357 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container { |
| 1358 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 1359 | } |
| 1360 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1361 | transition: transform 0.2s ease-out; |
| 1362 | } |
| 1363 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 1364 | transform: scale(1.1); |
| 1365 | } |
| 1366 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 1367 | transform: scale(0.9); |
| 1368 | } |
| 1369 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 1370 | transform: scale(0.8); |
| 1371 | opacity: 0.3; |
| 1372 | } |
| 1373 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 1374 | display: none; |
| 1375 | } |
| 1376 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger { |
| 1377 | display: none !important; |
| 1378 | } |
| 1379 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1380 | opacity: 1 !important; |
| 1381 | transition: none !important; |
| 1382 | } |
| 1383 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1384 | will-change: transform, opacity; |
| 1385 | transform: none; |
| 1386 | } |
| 1387 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-right .mwai-icon-text { |
| 1388 | transform-origin: right bottom; |
| 1389 | } |
| 1390 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-left .mwai-icon-text { |
| 1391 | transform-origin: left bottom; |
| 1392 | } |
| 1393 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-right .mwai-icon-text { |
| 1394 | transform-origin: right top; |
| 1395 | } |
| 1396 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-left .mwai-icon-text { |
| 1397 | transform-origin: left top; |
| 1398 | } |
| 1399 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-center-open .mwai-icon-text { |
| 1400 | transform-origin: center center; |
| 1401 | } |
| 1402 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1403 | animation: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both; |
| 1404 | } |
| 1405 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text { |
| 1406 | transform: scale(1.02); |
| 1407 | } |
| 1408 | @media (prefers-reduced-motion: reduce) { |
| 1409 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1410 | animation: none !important; |
| 1411 | transform: none !important; |
| 1412 | } |
| 1413 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1414 | opacity: 1 !important; |
| 1415 | transition: none !important; |
| 1416 | } |
| 1417 | } |
| 1418 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window { |
| 1419 | filter: none; |
| 1420 | } |
| 1421 | @media (max-width: 760px) { |
| 1422 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header { |
| 1423 | display: none !important; |
| 1424 | } |
| 1425 | } |
| 1426 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-window-box { |
| 1427 | display: flex; |
| 1428 | flex-direction: column; |
| 1429 | filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15)); |
| 1430 | opacity: 0; |
| 1431 | transform: translateY(100%); |
| 1432 | transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| 1433 | } |
| 1434 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box { |
| 1435 | width: 100%; |
| 1436 | height: 100%; |
| 1437 | } |
| 1438 | @media (min-width: 761px) { |
| 1439 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header { |
| 1440 | display: flex !important; |
| 1441 | } |
| 1442 | } |
| 1443 | @media (max-width: 760px) { |
| 1444 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header { |
| 1445 | display: none !important; |
| 1446 | } |
| 1447 | } |
| 1448 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body { |
| 1449 | display: flex !important; |
| 1450 | } |
| 1451 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box { |
| 1452 | opacity: 0.5; |
| 1453 | transform: translateY(20px); |
| 1454 | } |
| 1455 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box { |
| 1456 | opacity: 1; |
| 1457 | transform: translateY(0); |
| 1458 | } |
| 1459 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box { |
| 1460 | opacity: 0; |
| 1461 | transform: translateY(100%); |
| 1462 | transition: opacity 200ms ease-in, transform 200ms ease-in; |
| 1463 | } |
| 1464 | @media (max-width: 760px) { |
| 1465 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header { |
| 1466 | display: none !important; |
| 1467 | } |
| 1468 | } |
| 1469 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container { |
| 1470 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 1471 | } |
| 1472 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1473 | transition: transform 0.2s ease-out; |
| 1474 | } |
| 1475 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 1476 | transform: scale(1.1); |
| 1477 | } |
| 1478 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 1479 | transform: scale(0.9); |
| 1480 | } |
| 1481 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 1482 | opacity: 0; |
| 1483 | } |
| 1484 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger { |
| 1485 | display: none !important; |
| 1486 | } |
| 1487 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger { |
| 1488 | display: none !important; |
| 1489 | } |
| 1490 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger { |
| 1491 | display: none !important; |
| 1492 | } |
| 1493 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 1494 | display: none; |
| 1495 | } |
| 1496 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1497 | opacity: 1 !important; |
| 1498 | transition: none !important; |
| 1499 | } |
| 1500 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1501 | will-change: transform, opacity; |
| 1502 | transform: none; |
| 1503 | } |
| 1504 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1505 | animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both; |
| 1506 | backface-visibility: hidden; |
| 1507 | } |
| 1508 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text { |
| 1509 | transform: translateY(-2px); |
| 1510 | } |
| 1511 | @media (prefers-reduced-motion: reduce) { |
| 1512 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1513 | animation: none !important; |
| 1514 | transform: none !important; |
| 1515 | } |
| 1516 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1517 | opacity: 1 !important; |
| 1518 | transition: none !important; |
| 1519 | } |
| 1520 | } |
| 1521 | @media (max-width: 760px) { |
| 1522 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header { |
| 1523 | display: none !important; |
| 1524 | } |
| 1525 | } |
| 1526 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box { |
| 1527 | display: flex; |
| 1528 | flex-direction: column; |
| 1529 | filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15)); |
| 1530 | opacity: 0; |
| 1531 | transform: translateY(8px) scale(0.98); |
| 1532 | transform-origin: center bottom; |
| 1533 | will-change: opacity, transform; |
| 1534 | transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1); |
| 1535 | } |
| 1536 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box { |
| 1537 | width: 100%; |
| 1538 | height: 100%; |
| 1539 | } |
| 1540 | @media (min-width: 761px) { |
| 1541 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 1542 | display: flex !important; |
| 1543 | } |
| 1544 | } |
| 1545 | @media (max-width: 760px) { |
| 1546 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 1547 | display: none !important; |
| 1548 | } |
| 1549 | } |
| 1550 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body { |
| 1551 | display: flex !important; |
| 1552 | opacity: 1 !important; |
| 1553 | transition: none !important; |
| 1554 | } |
| 1555 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 1556 | opacity: 1 !important; |
| 1557 | transition: none !important; |
| 1558 | } |
| 1559 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box { |
| 1560 | opacity: 1; |
| 1561 | transform: translateY(0) scale(1); |
| 1562 | } |
| 1563 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body { |
| 1564 | opacity: 1 !important; |
| 1565 | transition: none !important; |
| 1566 | } |
| 1567 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box { |
| 1568 | opacity: 1; |
| 1569 | transform: translateY(0) scale(1); |
| 1570 | } |
| 1571 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box { |
| 1572 | opacity: 0; |
| 1573 | transform: translateY(8px) scale(0.98); |
| 1574 | transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1); |
| 1575 | } |
| 1576 | @media (prefers-reduced-motion: reduce) { |
| 1577 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box { |
| 1578 | transition: opacity 120ms linear !important; |
| 1579 | transform: none !important; |
| 1580 | } |
| 1581 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box, .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box { |
| 1582 | opacity: 1; |
| 1583 | } |
| 1584 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box { |
| 1585 | opacity: 0; |
| 1586 | } |
| 1587 | } |
| 1588 | @media (max-width: 760px) { |
| 1589 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header { |
| 1590 | display: none !important; |
| 1591 | } |
| 1592 | } |
| 1593 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container { |
| 1594 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 1595 | } |
| 1596 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1597 | transition: transform 0.2s ease-out; |
| 1598 | } |
| 1599 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 1600 | transform: scale(1.1); |
| 1601 | } |
| 1602 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 1603 | transform: scale(0.9); |
| 1604 | } |
| 1605 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 1606 | opacity: 0; |
| 1607 | } |
| 1608 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger { |
| 1609 | display: none !important; |
| 1610 | } |
| 1611 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger { |
| 1612 | display: none !important; |
| 1613 | } |
| 1614 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger { |
| 1615 | display: none !important; |
| 1616 | } |
| 1617 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 1618 | display: none; |
| 1619 | } |
| 1620 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1621 | opacity: 1 !important; |
| 1622 | transition: none !important; |
| 1623 | } |
| 1624 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1625 | will-change: transform, opacity; |
| 1626 | transform: none; |
| 1627 | } |
| 1628 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1629 | animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both; |
| 1630 | } |
| 1631 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text { |
| 1632 | transform: scale(1.01); |
| 1633 | } |
| 1634 | @media (prefers-reduced-motion: reduce) { |
| 1635 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1636 | animation: none !important; |
| 1637 | transform: none !important; |
| 1638 | } |
| 1639 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1640 | opacity: 1 !important; |
| 1641 | transition: none !important; |
| 1642 | } |
| 1643 | } |
| 1644 | .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box { |
| 1645 | display: flex; |
| 1646 | flex-direction: column; |
| 1647 | filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1)); |
| 1648 | } |
| 1649 | .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container { |
| 1650 | opacity: 1 !important; |
| 1651 | transition: none !important; |
| 1652 | } |
| 1653 | .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text { |
| 1654 | animation: none !important; |
| 1655 | transition: none !important; |
| 1656 | opacity: 1 !important; |
| 1657 | transform: none !important; |
| 1658 | } |
| 1659 | .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box { |
| 1660 | width: 100%; |
| 1661 | height: 100%; |
| 1662 | } |
| 1663 | |
| 1664 | .mwai-chatgpt-theme .mwai-footer { |
| 1665 | display: flex; |
| 1666 | align-items: center; |
| 1667 | background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor)); |
| 1668 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1669 | padding: 6px var(--mwai-spacing); |
| 1670 | } |
| 1671 | .mwai-chatgpt-theme .mwai-footer:empty { |
| 1672 | display: none; |
| 1673 | } |
| 1674 | .mwai-chatgpt-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) { |
| 1675 | display: none; |
| 1676 | } |
| 1677 | .mwai-chatgpt-theme .mwai-footer .mwai-tools { |
| 1678 | display: flex; |
| 1679 | align-items: center; |
| 1680 | gap: 8px; |
| 1681 | margin-right: calc(var(--mwai-spacing) / 2); |
| 1682 | } |
| 1683 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload { |
| 1684 | display: inline-block; |
| 1685 | } |
| 1686 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide { |
| 1687 | display: inline-flex; |
| 1688 | align-items: center; |
| 1689 | justify-content: center; |
| 1690 | position: relative; |
| 1691 | min-width: 16px; |
| 1692 | height: 16px; |
| 1693 | color: var(--mwai-fontColor); |
| 1694 | opacity: 0.75; |
| 1695 | margin: 0; |
| 1696 | } |
| 1697 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover { |
| 1698 | opacity: 1; |
| 1699 | } |
| 1700 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg { |
| 1701 | width: 16px; |
| 1702 | height: 16px; |
| 1703 | } |
| 1704 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count { |
| 1705 | position: absolute; |
| 1706 | top: -5px; |
| 1707 | right: -6px; |
| 1708 | min-width: 12px; |
| 1709 | height: 12px; |
| 1710 | padding: 0 2px; |
| 1711 | border-radius: 999px; |
| 1712 | background: var(--mwai-backgroundHeaderColor); |
| 1713 | color: #fff; |
| 1714 | border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor)); |
| 1715 | font-size: 8px; |
| 1716 | font-family: system-ui; |
| 1717 | font-weight: 700; |
| 1718 | line-height: 1; |
| 1719 | display: inline-flex; |
| 1720 | align-items: center; |
| 1721 | justify-content: center; |
| 1722 | user-select: none; |
| 1723 | cursor: pointer; |
| 1724 | } |
| 1725 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after { |
| 1726 | content: attr(data-count); |
| 1727 | } |
| 1728 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after { |
| 1729 | content: "-"; |
| 1730 | } |
| 1731 | .mwai-chatgpt-theme .mwai-footer .mwai-compliance { |
| 1732 | opacity: 0.5; |
| 1733 | font-size: 11px; |
| 1734 | line-height: 11px; |
| 1735 | color: var(--mwai-fontColor); |
| 1736 | flex: 1; |
| 1737 | text-align: left; |
| 1738 | padding: calc(var(--mwai-spacing) / 2) 0; |
| 1739 | margin: 0; |
| 1740 | } |
| 1741 | .mwai-chatgpt-theme .mwai-footer .mwai-tools + .mwai-compliance { |
| 1742 | text-align: right; |
| 1743 | } |
| 1744 | .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input { |
| 1745 | padding-bottom: var(--mwai-spacing); |
| 1746 | } |
| 1747 | @media (max-width: 760px) { |
| 1748 | .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input { |
| 1749 | padding-bottom: var(--mwai-spacing); |
| 1750 | } |
| 1751 | } |
| 1752 | |
| 1753 | .mwai-chatgpt-theme .mwai-files { |
| 1754 | display: flex; |
| 1755 | flex-direction: column; |
| 1756 | gap: 8px; |
| 1757 | padding: var(--mwai-spacing); |
| 1758 | background: var(--mwai-backgroundSecondaryColor); |
| 1759 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1760 | } |
| 1761 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar { |
| 1762 | width: 6px; |
| 1763 | } |
| 1764 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-track { |
| 1765 | background: var(--mwai-backgroundPrimaryColor); |
| 1766 | border-radius: 3px; |
| 1767 | } |
| 1768 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb { |
| 1769 | background: var(--mwai-backgroundHeaderColor); |
| 1770 | border-radius: 3px; |
| 1771 | } |
| 1772 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb:hover { |
| 1773 | background: var(--mwai-primaryColor); |
| 1774 | } |
| 1775 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview { |
| 1776 | position: relative; |
| 1777 | } |
| 1778 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content { |
| 1779 | display: flex; |
| 1780 | align-items: center; |
| 1781 | gap: 8px; |
| 1782 | } |
| 1783 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail { |
| 1784 | width: 32px; |
| 1785 | height: 32px; |
| 1786 | object-fit: cover; |
| 1787 | border-radius: 4px; |
| 1788 | border: 1px solid var(--mwai-backgroundHeaderColor); |
| 1789 | display: block; |
| 1790 | flex-shrink: 0; |
| 1791 | } |
| 1792 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon { |
| 1793 | width: 32px; |
| 1794 | height: 32px; |
| 1795 | display: flex; |
| 1796 | align-items: center; |
| 1797 | justify-content: center; |
| 1798 | background: var(--mwai-backgroundSecondaryColor); |
| 1799 | border-radius: 4px; |
| 1800 | color: var(--mwai-fontColor); |
| 1801 | opacity: 0.6; |
| 1802 | flex-shrink: 0; |
| 1803 | } |
| 1804 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon svg { |
| 1805 | width: 18px; |
| 1806 | height: 18px; |
| 1807 | } |
| 1808 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info { |
| 1809 | flex: 1; |
| 1810 | min-width: 0; |
| 1811 | display: flex; |
| 1812 | flex-direction: column; |
| 1813 | gap: 2px; |
| 1814 | } |
| 1815 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-name { |
| 1816 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 1817 | color: var(--mwai-fontColor); |
| 1818 | white-space: nowrap; |
| 1819 | overflow: hidden; |
| 1820 | text-overflow: ellipsis; |
| 1821 | line-height: 1.2; |
| 1822 | } |
| 1823 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-size { |
| 1824 | font-size: calc(var(--mwai-fontSize) * 0.7); |
| 1825 | color: var(--mwai-fontColor); |
| 1826 | opacity: 0.5; |
| 1827 | line-height: 1; |
| 1828 | } |
| 1829 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress { |
| 1830 | position: absolute; |
| 1831 | bottom: 0; |
| 1832 | left: 0; |
| 1833 | right: 0; |
| 1834 | height: 2px; |
| 1835 | background: var(--mwai-backgroundHeaderColor); |
| 1836 | border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2); |
| 1837 | overflow: hidden; |
| 1838 | } |
| 1839 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar { |
| 1840 | height: 100%; |
| 1841 | background: var(--mwai-primaryColor); |
| 1842 | transition: width 0.3s ease; |
| 1843 | } |
| 1844 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove { |
| 1845 | display: flex; |
| 1846 | align-items: center; |
| 1847 | justify-content: center; |
| 1848 | background: none; |
| 1849 | cursor: pointer; |
| 1850 | color: var(--mwai-fontColor); |
| 1851 | padding: 4px; |
| 1852 | border: none; |
| 1853 | line-height: 0; |
| 1854 | min-width: inherit; |
| 1855 | margin-left: auto; |
| 1856 | opacity: 0.6; |
| 1857 | transition: opacity 0.2s ease; |
| 1858 | } |
| 1859 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover { |
| 1860 | opacity: 1; |
| 1861 | } |
| 1862 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg { |
| 1863 | width: 20px; |
| 1864 | height: 20px; |
| 1865 | } |
| 1866 | .mwai-chatgpt-theme .mwai-files:empty { |
| 1867 | display: none; |
| 1868 | } |
| 1869 | .mwai-chatgpt-theme .mwai-file-upload-icon { |
| 1870 | margin-bottom: -3px; |
| 1871 | } |
| 1872 | .mwai-chatgpt-theme .mwai-spin { |
| 1873 | animation: mwai-spin 1s linear infinite; |
| 1874 | } |
| 1875 | @keyframes mwai-spin { |
| 1876 | from { |
| 1877 | transform: rotate(0deg); |
| 1878 | } |
| 1879 | to { |
| 1880 | transform: rotate(360deg); |
| 1881 | } |
| 1882 | } |
| 1883 | .mwai-chatgpt-theme .mwai-terminal { |
| 1884 | --mwai-terminal-active-color: var(--mwai-fontColor); |
| 1885 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace; |
| 1886 | font-size: 12px; |
| 1887 | background: var(--mwai-backgroundPrimaryColor); |
| 1888 | color: var(--mwai-fontColor); |
| 1889 | padding: var(--mwai-spacing); |
| 1890 | height: 100%; |
| 1891 | overflow-y: auto; |
| 1892 | cursor: text; |
| 1893 | display: flex; |
| 1894 | flex-direction: column; |
| 1895 | flex: 1 1 auto; |
| 1896 | min-height: 0; |
| 1897 | padding-bottom: calc(var(--mwai-spacing) * 1.25); |
| 1898 | } |
| 1899 | .mwai-chatgpt-theme .mwai-terminal:focus { |
| 1900 | outline: none; |
| 1901 | } |
| 1902 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line { |
| 1903 | display: flex; |
| 1904 | align-items: flex-start; |
| 1905 | margin: calc(var(--mwai-spacing) / 2) 0; |
| 1906 | white-space: pre-wrap; |
| 1907 | word-wrap: break-word; |
| 1908 | word-break: break-word; |
| 1909 | } |
| 1910 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user { |
| 1911 | color: var(--mwai-fontColor); |
| 1912 | opacity: 0.35; |
| 1913 | } |
| 1914 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing { |
| 1915 | color: var(--mwai-terminal-active-color); |
| 1916 | opacity: 1; |
| 1917 | } |
| 1918 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt { |
| 1919 | color: var(--mwai-terminal-active-color); |
| 1920 | } |
| 1921 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant { |
| 1922 | color: var(--mwai-fontColor); |
| 1923 | } |
| 1924 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system { |
| 1925 | color: #608b4e; |
| 1926 | font-style: italic; |
| 1927 | } |
| 1928 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt { |
| 1929 | color: var(--mwai-terminal-active-color); |
| 1930 | margin-left: -4px; |
| 1931 | margin-right: 4px; |
| 1932 | display: inline-flex; |
| 1933 | align-items: center; |
| 1934 | height: 1.5em; |
| 1935 | line-height: 1.2; |
| 1936 | flex-shrink: 0; |
| 1937 | align-self: flex-start; |
| 1938 | } |
| 1939 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt svg { |
| 1940 | display: block; |
| 1941 | width: 1.4em; |
| 1942 | height: 1.4em; |
| 1943 | } |
| 1944 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-text { |
| 1945 | color: inherit; |
| 1946 | } |
| 1947 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-input-wrapper { |
| 1948 | flex: 1; |
| 1949 | display: inline; |
| 1950 | white-space: pre-wrap; |
| 1951 | word-wrap: break-word; |
| 1952 | word-break: break-word; |
| 1953 | } |
| 1954 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-typed { |
| 1955 | color: var(--mwai-terminal-active-color); |
| 1956 | white-space: pre-wrap; |
| 1957 | word-wrap: break-word; |
| 1958 | word-break: break-word; |
| 1959 | } |
| 1960 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor { |
| 1961 | display: inline-block; |
| 1962 | min-width: 8px; |
| 1963 | height: 1.35em; |
| 1964 | color: var(--mwai-terminal-active-color); |
| 1965 | background: var(--mwai-terminal-active-color); |
| 1966 | opacity: 0.35; |
| 1967 | vertical-align: text-bottom; |
| 1968 | line-height: inherit; |
| 1969 | } |
| 1970 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active { |
| 1971 | opacity: 1; |
| 1972 | color: var(--mwai-backgroundPrimaryColor); |
| 1973 | animation: mwai-cursor-blink 1s infinite; |
| 1974 | } |
| 1975 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing { |
| 1976 | opacity: 1; |
| 1977 | color: var(--mwai-backgroundPrimaryColor); |
| 1978 | } |
| 1979 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive { |
| 1980 | opacity: 0.35; |
| 1981 | } |
| 1982 | .mwai-chatgpt-theme .mwai-terminal { |
| 1983 | scrollbar-width: thin; |
| 1984 | scrollbar-color: rgba(128, 128, 128, 0.3) transparent; |
| 1985 | } |
| 1986 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar { |
| 1987 | width: 8px; |
| 1988 | background: transparent; |
| 1989 | } |
| 1990 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-track { |
| 1991 | background: transparent; |
| 1992 | } |
| 1993 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb { |
| 1994 | background: rgba(128, 128, 128, 0.3); |
| 1995 | border-radius: 4px; |
| 1996 | } |
| 1997 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb:hover { |
| 1998 | background: rgba(128, 128, 128, 0.5); |
| 1999 | } |
| 2000 | .mwai-chatgpt-theme .mwai-terminal + .mwai-compliance { |
| 2001 | margin-top: 0; |
| 2002 | } |
| 2003 | .mwai-chatgpt-theme.mwai-transition, .mwai-chatgpt-theme .mwai-transition { |
| 2004 | opacity: 0; |
| 2005 | transition: opacity 350ms ease-in-out; |
| 2006 | } |
| 2007 | .mwai-chatgpt-theme.mwai-transition-visible, .mwai-chatgpt-theme .mwai-transition-visible { |
| 2008 | opacity: 1; |
| 2009 | } |
| 2010 | .mwai-chatgpt-theme .mwai-text { |
| 2011 | overflow-wrap: anywhere; |
| 2012 | } |
| 2013 | .mwai-chatgpt-theme .mwai-text img, .mwai-chatgpt-theme .mwai-text svg { |
| 2014 | max-width: 100%; |
| 2015 | } |
| 2016 | .mwai-chatgpt-theme .mwai-text div p:first-child { |
| 2017 | margin-top: 0; |
| 2018 | } |
| 2019 | .mwai-chatgpt-theme .mwai-text div p:last-child { |
| 2020 | margin-bottom: 0; |
| 2021 | } |
| 2022 | .mwai-chatgpt-theme .mwai-trigger { |
| 2023 | position: absolute; |
| 2024 | right: 0; |
| 2025 | bottom: 0; |
| 2026 | transition: all 0.2s ease-out; |
| 2027 | z-index: 9999; |
| 2028 | display: flex; |
| 2029 | flex-direction: column; |
| 2030 | align-items: end; |
| 2031 | } |
| 2032 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container { |
| 2033 | display: flex; |
| 2034 | flex-direction: column; |
| 2035 | align-items: flex-end; |
| 2036 | position: relative; |
| 2037 | z-index: 2; |
| 2038 | } |
| 2039 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text { |
| 2040 | background: var(--mwai-iconTextBackgroundColor); |
| 2041 | color: var(--mwai-iconTextColor); |
| 2042 | box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15); |
| 2043 | max-width: 200px; |
| 2044 | font-size: 13px; |
| 2045 | margin-bottom: 15px; |
| 2046 | padding: 10px 15px; |
| 2047 | border-radius: 8px; |
| 2048 | position: relative; |
| 2049 | user-select: none; |
| 2050 | -webkit-user-select: none; |
| 2051 | -ms-user-select: none; |
| 2052 | } |
| 2053 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 2054 | --mwai-icon-close-size: 28px; |
| 2055 | color: var(--mwai-iconTextColor); |
| 2056 | background: var(--mwai-iconTextBackgroundColor); |
| 2057 | font-size: 13px; |
| 2058 | line-height: 1; |
| 2059 | width: var(--mwai-icon-close-size); |
| 2060 | height: var(--mwai-icon-close-size); |
| 2061 | min-width: var(--mwai-icon-close-size); |
| 2062 | min-height: var(--mwai-icon-close-size); |
| 2063 | border-radius: 50%; |
| 2064 | display: flex; |
| 2065 | opacity: 0; |
| 2066 | visibility: hidden; |
| 2067 | pointer-events: none; |
| 2068 | transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms; |
| 2069 | justify-content: center; |
| 2070 | align-items: center; |
| 2071 | position: absolute; |
| 2072 | right: 0; |
| 2073 | top: 0; |
| 2074 | transform: translate(40%, -40%); |
| 2075 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); |
| 2076 | z-index: 2; |
| 2077 | cursor: pointer; |
| 2078 | pointer-events: auto; |
| 2079 | -webkit-tap-highlight-color: transparent; |
| 2080 | user-select: none; |
| 2081 | -webkit-user-select: none; |
| 2082 | -ms-user-select: none; |
| 2083 | } |
| 2084 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover { |
| 2085 | cursor: pointer; |
| 2086 | } |
| 2087 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close { |
| 2088 | opacity: 1; |
| 2089 | visibility: visible; |
| 2090 | pointer-events: auto; |
| 2091 | transform: translate(40%, -40%) scale(1); |
| 2092 | transition: opacity 120ms ease, transform 120ms ease, visibility 0s; |
| 2093 | } |
| 2094 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover { |
| 2095 | filter: brightness(1.1); |
| 2096 | transform: translate(40%, -40%) scale(1.06); |
| 2097 | } |
| 2098 | @media (max-width: 760px) { |
| 2099 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 2100 | opacity: 1; |
| 2101 | visibility: visible; |
| 2102 | pointer-events: auto; |
| 2103 | transform: translate(40%, -40%) scale(1); |
| 2104 | transition: opacity 120ms ease, transform 120ms ease, visibility 0s; |
| 2105 | } |
| 2106 | } |
| 2107 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container { |
| 2108 | position: relative; |
| 2109 | z-index: 1; |
| 2110 | } |
| 2111 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon { |
| 2112 | filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15)); |
| 2113 | transition: all 0.2s ease-out; |
| 2114 | } |
| 2115 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 2116 | cursor: pointer; |
| 2117 | transform: scale(1.05); |
| 2118 | } |
| 2119 | .mwai-chatgpt-theme.mwai-window { |
| 2120 | position: fixed; |
| 2121 | right: 30px; |
| 2122 | bottom: 30px; |
| 2123 | width: var(--mwai-width); |
| 2124 | z-index: 9999; |
| 2125 | } |
| 2126 | .mwai-chatgpt-theme.mwai-window .mwai-window-box { |
| 2127 | position: relative; |
| 2128 | z-index: 1; |
| 2129 | } |
| 2130 | .mwai-chatgpt-theme.mwai-window .mwai-header { |
| 2131 | display: none; |
| 2132 | justify-content: space-between; |
| 2133 | align-items: center; |
| 2134 | padding: 0 0 0 15px; |
| 2135 | border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0; |
| 2136 | background: var(--mwai-backgroundHeaderColor); |
| 2137 | } |
| 2138 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons { |
| 2139 | display: flex; |
| 2140 | align-items: center; |
| 2141 | margin-left: auto; |
| 2142 | } |
| 2143 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button { |
| 2144 | justify-content: center; |
| 2145 | height: 32px; |
| 2146 | width: 32px; |
| 2147 | cursor: pointer; |
| 2148 | display: flex; |
| 2149 | justify-content: center; |
| 2150 | align-items: center; |
| 2151 | } |
| 2152 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 2153 | transition: all 0.2s ease-out; |
| 2154 | content: " "; |
| 2155 | cursor: pointer; |
| 2156 | position: absolute; |
| 2157 | height: 20px; |
| 2158 | width: 20px; |
| 2159 | background-color: var(--mwai-headerColor); |
| 2160 | -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain; |
| 2161 | mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain; |
| 2162 | } |
| 2163 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 2164 | width: 22px; |
| 2165 | height: 22px; |
| 2166 | } |
| 2167 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button { |
| 2168 | justify-content: center; |
| 2169 | height: 32px; |
| 2170 | width: 32px; |
| 2171 | cursor: pointer; |
| 2172 | border-radius: var(--mwai-borderRadius); |
| 2173 | margin-left: -10px; |
| 2174 | } |
| 2175 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before { |
| 2176 | transition: all 0.2s ease-out; |
| 2177 | transform: translate(16px, 5px) rotate(45deg); |
| 2178 | } |
| 2179 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 2180 | transition: all 0.2s ease-out; |
| 2181 | transform: translate(16px, 5px) rotate(-45deg); |
| 2182 | } |
| 2183 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 2184 | content: " "; |
| 2185 | cursor: pointer; |
| 2186 | position: absolute; |
| 2187 | height: 22px; |
| 2188 | width: 1.2px; |
| 2189 | background-color: var(--mwai-headerColor); |
| 2190 | } |
| 2191 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before { |
| 2192 | opacity: 1; |
| 2193 | transform: translate(16px, 5px) rotate(135deg); |
| 2194 | } |
| 2195 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after { |
| 2196 | opacity: 1; |
| 2197 | transform: translate(16px, 5px) rotate(45deg); |
| 2198 | } |
| 2199 | .mwai-chatgpt-theme.mwai-window.mwai-opening, .mwai-chatgpt-theme.mwai-window.mwai-closing { |
| 2200 | cursor: default !important; |
| 2201 | } |
| 2202 | .mwai-chatgpt-theme.mwai-window.mwai-opening .mwai-header, .mwai-chatgpt-theme.mwai-window.mwai-closing .mwai-header { |
| 2203 | cursor: default !important; |
| 2204 | } |
| 2205 | .mwai-chatgpt-theme.mwai-window .mwai-body { |
| 2206 | display: none; |
| 2207 | opacity: 0; |
| 2208 | max-height: var(--mwai-maxHeight); |
| 2209 | border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius); |
| 2210 | } |
| 2211 | .mwai-chatgpt-theme.mwai-window.mwai-bottom-left { |
| 2212 | bottom: 30px; |
| 2213 | right: inherit; |
| 2214 | left: 30px; |
| 2215 | } |
| 2216 | .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 2217 | right: inherit; |
| 2218 | left: 0; |
| 2219 | } |
| 2220 | .mwai-chatgpt-theme.mwai-window.mwai-top-right { |
| 2221 | top: 30px; |
| 2222 | bottom: inherit; |
| 2223 | right: 30px; |
| 2224 | } |
| 2225 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger { |
| 2226 | top: 0; |
| 2227 | bottom: inherit; |
| 2228 | } |
| 2229 | .mwai-chatgpt-theme.mwai-window.mwai-top-left { |
| 2230 | top: 30px; |
| 2231 | bottom: inherit; |
| 2232 | right: inherit; |
| 2233 | left: 30px; |
| 2234 | } |
| 2235 | .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 2236 | top: 0; |
| 2237 | bottom: inherit; |
| 2238 | right: inherit; |
| 2239 | left: 0; |
| 2240 | } |
| 2241 | .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open { |
| 2242 | top: 50%; |
| 2243 | left: 50%; |
| 2244 | transform: translate(-50%, -50%); |
| 2245 | right: auto; |
| 2246 | bottom: auto; |
| 2247 | } |
| 2248 | @media (max-width: 760px) { |
| 2249 | .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open { |
| 2250 | width: calc(100% - 40px); |
| 2251 | max-width: var(--mwai-width); |
| 2252 | } |
| 2253 | } |
| 2254 | .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 2255 | align-items: flex-start; |
| 2256 | } |
| 2257 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 2258 | flex-direction: column-reverse; |
| 2259 | } |
| 2260 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger .mwai-icon-text, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger .mwai-icon-text { |
| 2261 | margin-bottom: 0; |
| 2262 | margin-top: 15px; |
| 2263 | } |
| 2264 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons { |
| 2265 | margin-bottom: 0px; |
| 2266 | } |
| 2267 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 2268 | width: 20px; |
| 2269 | height: 20px; |
| 2270 | -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E"); |
| 2271 | mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E"); |
| 2272 | } |
| 2273 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 2274 | width: 22px; |
| 2275 | height: 22px; |
| 2276 | } |
| 2277 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) { |
| 2278 | position: fixed; |
| 2279 | left: 0 !important; |
| 2280 | right: 0 !important; |
| 2281 | bottom: 0 !important; |
| 2282 | top: 0 !important; |
| 2283 | width: 100%; |
| 2284 | height: 100%; |
| 2285 | height: 100vh; |
| 2286 | height: 100dvh; |
| 2287 | max-height: 100dvh; |
| 2288 | max-width: 100%; |
| 2289 | display: flex; |
| 2290 | flex-direction: column; |
| 2291 | margin: 0; |
| 2292 | z-index: 999999; |
| 2293 | background-color: var(--mwai-backgroundSecondaryColor); |
| 2294 | } |
| 2295 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header { |
| 2296 | border-radius: 0; |
| 2297 | } |
| 2298 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body { |
| 2299 | flex: 1; |
| 2300 | min-height: 0; |
| 2301 | max-height: inherit; |
| 2302 | border-radius: 0; |
| 2303 | display: flex !important; |
| 2304 | flex-direction: column !important; |
| 2305 | } |
| 2306 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation { |
| 2307 | flex: 0 1 auto !important; |
| 2308 | max-height: none; |
| 2309 | overflow-y: auto; |
| 2310 | min-height: 0; |
| 2311 | } |
| 2312 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer { |
| 2313 | flex: 1 1 auto !important; |
| 2314 | min-height: 0; |
| 2315 | } |
| 2316 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input { |
| 2317 | flex: 0 0 auto; |
| 2318 | } |
| 2319 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer { |
| 2320 | flex: 0 0 auto; |
| 2321 | } |
| 2322 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files { |
| 2323 | flex: 0 0 auto; |
| 2324 | } |
| 2325 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) { |
| 2326 | display: flex !important; |
| 2327 | visibility: visible !important; |
| 2328 | opacity: 1 !important; |
| 2329 | } |
| 2330 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box { |
| 2331 | width: 100%; |
| 2332 | height: 100%; |
| 2333 | display: flex; |
| 2334 | flex-direction: column; |
| 2335 | } |
| 2336 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header { |
| 2337 | display: flex !important; |
| 2338 | visibility: visible !important; |
| 2339 | opacity: 1 !important; |
| 2340 | flex: 0 0 auto; |
| 2341 | } |
| 2342 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body { |
| 2343 | display: flex !important; |
| 2344 | visibility: visible !important; |
| 2345 | opacity: 1 !important; |
| 2346 | flex: 1 1 auto; |
| 2347 | flex-direction: column; |
| 2348 | min-height: 0; |
| 2349 | height: 100%; |
| 2350 | } |
| 2351 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open { |
| 2352 | position: fixed; |
| 2353 | left: 0 !important; |
| 2354 | right: 0 !important; |
| 2355 | bottom: 0 !important; |
| 2356 | top: 0 !important; |
| 2357 | width: 100%; |
| 2358 | height: 100%; |
| 2359 | height: 100vh; |
| 2360 | height: 100dvh; |
| 2361 | max-height: 100dvh; |
| 2362 | max-width: 100%; |
| 2363 | display: flex; |
| 2364 | flex-direction: column; |
| 2365 | margin: 0; |
| 2366 | z-index: 999999; |
| 2367 | background-color: var(--mwai-backgroundSecondaryColor); |
| 2368 | } |
| 2369 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header { |
| 2370 | border-radius: 0; |
| 2371 | } |
| 2372 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body { |
| 2373 | flex: 1; |
| 2374 | min-height: 0; |
| 2375 | max-height: inherit; |
| 2376 | border-radius: 0; |
| 2377 | display: flex !important; |
| 2378 | flex-direction: column !important; |
| 2379 | } |
| 2380 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 2381 | flex: 0 1 auto !important; |
| 2382 | max-height: none; |
| 2383 | overflow-y: auto; |
| 2384 | min-height: 0; |
| 2385 | } |
| 2386 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer { |
| 2387 | flex: 1 1 auto !important; |
| 2388 | min-height: 0; |
| 2389 | } |
| 2390 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input { |
| 2391 | flex: 0 0 auto; |
| 2392 | } |
| 2393 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer { |
| 2394 | flex: 0 0 auto; |
| 2395 | } |
| 2396 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files { |
| 2397 | flex: 0 0 auto; |
| 2398 | } |
| 2399 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open { |
| 2400 | transform: none !important; |
| 2401 | } |
| 2402 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box { |
| 2403 | width: 100%; |
| 2404 | height: 100%; |
| 2405 | display: flex; |
| 2406 | flex-direction: column; |
| 2407 | } |
| 2408 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body { |
| 2409 | flex: 1 1 auto; |
| 2410 | min-height: 0; |
| 2411 | } |
| 2412 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { |
| 2413 | display: flex; |
| 2414 | } |
| 2415 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body { |
| 2416 | display: flex; |
| 2417 | transition: opacity 200ms ease-in-out 0s; |
| 2418 | opacity: 1; |
| 2419 | } |
| 2420 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger { |
| 2421 | display: none; |
| 2422 | } |
| 2423 | .mwai-chatgpt-theme .mwai-body > .mwai-error { |
| 2424 | margin: var(--mwai-spacing); |
| 2425 | color: white; |
| 2426 | background: rgba(180, 55, 55, 0.55); |
| 2427 | padding: var(--mwai-spacing); |
| 2428 | border-radius: var(--mwai-borderRadius); |
| 2429 | } |
| 2430 | .mwai-chatgpt-theme .mwai-body > .mwai-error:hover { |
| 2431 | cursor: pointer; |
| 2432 | background: rgba(180, 44, 44, 0.85); |
| 2433 | } |
| 2434 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text { |
| 2435 | color: #ff5656; |
| 2436 | } |
| 2437 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text a { |
| 2438 | color: #ff5656; |
| 2439 | text-decoration: underline; |
| 2440 | } |
| 2441 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button { |
| 2442 | fill: var(--mwai-fontColor); |
| 2443 | padding: 3px 5px; |
| 2444 | width: 24px; |
| 2445 | height: 24px; |
| 2446 | background: var(--mwai-backgroundPrimaryColor); |
| 2447 | cursor: pointer; |
| 2448 | border-radius: 5px; |
| 2449 | } |
| 2450 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover { |
| 2451 | filter: brightness(1.2); |
| 2452 | } |
| 2453 | .mwai-chatgpt-theme .mwai-reply-actions { |
| 2454 | opacity: 0; |
| 2455 | transition: opacity 0.2s ease-in-out; |
| 2456 | } |
| 2457 | .mwai-chatgpt-theme .mwai-reply:hover .mwai-reply-actions { |
| 2458 | opacity: 1 !important; |
| 2459 | } |
| 2460 | .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions { |
| 2461 | opacity: 1 !important; |
| 2462 | } |
| 2463 | .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden { |
| 2464 | opacity: 1 !important; |
| 2465 | } |
| 2466 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container { |
| 2467 | background: var(--mwai-bubbleColor); |
| 2468 | width: var(--mwai-iconSize, 60px); |
| 2469 | height: var(--mwai-iconSize, 60px); |
| 2470 | border-radius: 100%; |
| 2471 | transition: all 0.2s ease-out; |
| 2472 | display: flex; |
| 2473 | justify-content: center; |
| 2474 | align-items: center; |
| 2475 | } |
| 2476 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon { |
| 2477 | max-width: 50%; |
| 2478 | max-height: 50%; |
| 2479 | filter: none; |
| 2480 | } |
| 2481 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 2482 | transform: none; |
| 2483 | } |
| 2484 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji { |
| 2485 | font-size: calc(var(--mwai-iconSize, 60px) / 2); |
| 2486 | } |
| 2487 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover { |
| 2488 | cursor: pointer; |
| 2489 | filter: brightness(1.1); |
| 2490 | } |
| 2491 | @media (max-width: 760px) { |
| 2492 | .mwai-chatgpt-theme.mwai-window.mwai-open { |
| 2493 | position: fixed; |
| 2494 | top: var(--mwai-vv-offset-top, 0) !important; |
| 2495 | left: 0 !important; |
| 2496 | right: 0 !important; |
| 2497 | bottom: var(--mwai-vv-offset-bottom, 0) !important; |
| 2498 | width: 100%; |
| 2499 | min-height: 100%; |
| 2500 | min-height: 100vh; |
| 2501 | min-height: var(--mwai-vv-height, 100dvh); |
| 2502 | height: var(--mwai-vv-height, 100dvh); |
| 2503 | max-height: var(--mwai-vv-height, 100dvh); |
| 2504 | max-width: 100%; |
| 2505 | margin: 0; |
| 2506 | z-index: 999999; |
| 2507 | background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor)); |
| 2508 | border-radius: 0 !important; |
| 2509 | box-shadow: none !important; |
| 2510 | border: none !important; |
| 2511 | padding-top: env(safe-area-inset-top, 0); |
| 2512 | padding-left: env(safe-area-inset-left, 0); |
| 2513 | padding-right: env(safe-area-inset-right, 0); |
| 2514 | box-sizing: border-box; |
| 2515 | } |
| 2516 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-window-box { |
| 2517 | width: 100%; |
| 2518 | height: 100%; |
| 2519 | flex: 1; |
| 2520 | display: flex; |
| 2521 | flex-direction: column; |
| 2522 | border-radius: 0 !important; |
| 2523 | box-shadow: none !important; |
| 2524 | border: none !important; |
| 2525 | background: transparent !important; |
| 2526 | min-height: 0; |
| 2527 | } |
| 2528 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { |
| 2529 | display: none !important; |
| 2530 | } |
| 2531 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body { |
| 2532 | flex: 1; |
| 2533 | min-height: 0; |
| 2534 | display: flex; |
| 2535 | flex-direction: column; |
| 2536 | border-radius: 0 !important; |
| 2537 | overflow: hidden; |
| 2538 | background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor)); |
| 2539 | } |
| 2540 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 2541 | flex: 1; |
| 2542 | overflow-y: auto; |
| 2543 | max-height: none; |
| 2544 | min-height: 0; |
| 2545 | } |
| 2546 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-input { |
| 2547 | flex-shrink: 0; |
| 2548 | position: relative; |
| 2549 | } |
| 2550 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-footer { |
| 2551 | flex-shrink: 0; |
| 2552 | position: relative; |
| 2553 | } |
| 2554 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input { |
| 2555 | padding-bottom: env(safe-area-inset-bottom, 0); |
| 2556 | } |
| 2557 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header { |
| 2558 | display: flex; |
| 2559 | position: sticky; |
| 2560 | top: 0; |
| 2561 | left: 0; |
| 2562 | right: 0; |
| 2563 | min-height: 50px; |
| 2564 | background: var(--mwai-backgroundHeaderColor); |
| 2565 | border-bottom: 1px solid var(--mwai-lineColor); |
| 2566 | padding: 0 15px; |
| 2567 | padding-top: env(safe-area-inset-top, 0); |
| 2568 | padding-left: calc(15px + env(safe-area-inset-left, 0)); |
| 2569 | padding-right: calc(15px + env(safe-area-inset-right, 0)); |
| 2570 | align-items: center; |
| 2571 | justify-content: space-between; |
| 2572 | z-index: 10; |
| 2573 | flex-shrink: 0; |
| 2574 | } |
| 2575 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title { |
| 2576 | font-size: 16px; |
| 2577 | font-weight: 600; |
| 2578 | color: var(--mwai-headerColor); |
| 2579 | flex: 1; |
| 2580 | overflow: hidden; |
| 2581 | text-overflow: ellipsis; |
| 2582 | white-space: nowrap; |
| 2583 | } |
| 2584 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close { |
| 2585 | all: unset; |
| 2586 | display: flex; |
| 2587 | align-items: center; |
| 2588 | justify-content: center; |
| 2589 | width: 32px; |
| 2590 | height: 32px; |
| 2591 | min-width: 32px; |
| 2592 | cursor: pointer; |
| 2593 | border-radius: 6px; |
| 2594 | transition: background-color 0.2s ease; |
| 2595 | -webkit-tap-highlight-color: transparent; |
| 2596 | } |
| 2597 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:hover, .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:active { |
| 2598 | background-color: var(--mwai-backgroundSecondaryColor); |
| 2599 | } |
| 2600 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg { |
| 2601 | width: 20px; |
| 2602 | height: 20px; |
| 2603 | } |
| 2604 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path { |
| 2605 | stroke: var(--mwai-headerColor); |
| 2606 | } |
| 2607 | .mwai-chatgpt-theme.mwai-window.mwai-open.mwai-center-open { |
| 2608 | top: var(--mwai-vv-offset-top, 0) !important; |
| 2609 | left: 0 !important; |
| 2610 | transform: none !important; |
| 2611 | right: 0 !important; |
| 2612 | bottom: var(--mwai-vv-offset-bottom, 0) !important; |
| 2613 | width: 100% !important; |
| 2614 | max-width: 100% !important; |
| 2615 | height: var(--mwai-vv-height, 100dvh) !important; |
| 2616 | } |
| 2617 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input { |
| 2618 | flex-direction: column; |
| 2619 | } |
| 2620 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button:not(.mwai-input-submit) { |
| 2621 | font-size: 16px; |
| 2622 | margin-left: 0; |
| 2623 | width: 100%; |
| 2624 | } |
| 2625 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text { |
| 2626 | width: 100%; |
| 2627 | } |
| 2628 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea { |
| 2629 | font-size: 16px; |
| 2630 | } |
| 2631 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body { |
| 2632 | display: flex; |
| 2633 | transition: opacity 200ms ease-in-out 0s; |
| 2634 | opacity: 1; |
| 2635 | flex: 1; |
| 2636 | min-height: 0; |
| 2637 | max-height: inherit; |
| 2638 | } |
| 2639 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 2640 | flex: 1; |
| 2641 | max-height: none; |
| 2642 | min-height: 0; |
| 2643 | } |
| 2644 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button { |
| 2645 | display: none !important; |
| 2646 | } |
| 2647 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger { |
| 2648 | display: none; |
| 2649 | } |
| 2650 | } |
| 2651 | @keyframes mwai-button-spinner { |
| 2652 | from { |
| 2653 | transform: rotate(0turn); |
| 2654 | } |
| 2655 | to { |
| 2656 | transform: rotate(1turn); |
| 2657 | } |
| 2658 | } |
| 2659 | .mwai-chatgpt-theme button:not(.mwai-busy):before { |
| 2660 | content: none !important; |
| 2661 | display: none !important; |
| 2662 | animation: none !important; |
| 2663 | } |
| 2664 | .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window), |
| 2665 | .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open { |
| 2666 | top: 32px; |
| 2667 | } |
| 2668 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line { |
| 2669 | display: flex; |
| 2670 | align-items: flex-start; |
| 2671 | color: var(--mwai-terminal-active-color, var(--mwai-fontColor)); |
| 2672 | } |
| 2673 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt { |
| 2674 | color: var(--mwai-terminal-active-color, currentColor); |
| 2675 | margin-left: -4px; |
| 2676 | margin-right: 4px; |
| 2677 | display: inline-flex; |
| 2678 | align-items: center; |
| 2679 | height: 1.5em; |
| 2680 | line-height: 1.2; |
| 2681 | flex-shrink: 0; |
| 2682 | align-self: flex-start; |
| 2683 | } |
| 2684 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg { |
| 2685 | display: block; |
| 2686 | width: 1.4em; |
| 2687 | height: 1.4em; |
| 2688 | } |
| 2689 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper { |
| 2690 | flex: 1; |
| 2691 | display: inline; |
| 2692 | white-space: pre-wrap; |
| 2693 | word-wrap: break-word; |
| 2694 | word-break: break-word; |
| 2695 | } |
| 2696 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed { |
| 2697 | white-space: pre-wrap; |
| 2698 | word-wrap: break-word; |
| 2699 | word-break: break-word; |
| 2700 | } |
| 2701 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor { |
| 2702 | display: inline-block; |
| 2703 | min-width: 8px; |
| 2704 | height: 1.35em; |
| 2705 | color: currentColor; |
| 2706 | background: currentColor; |
| 2707 | opacity: 0.35; |
| 2708 | vertical-align: text-bottom; |
| 2709 | line-height: inherit; |
| 2710 | } |
| 2711 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active { |
| 2712 | opacity: 1; |
| 2713 | color: var(--mwai-backgroundPrimaryColor, #1a1a2e); |
| 2714 | animation: mwai-cursor-blink 1s infinite; |
| 2715 | } |
| 2716 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing { |
| 2717 | opacity: 1; |
| 2718 | color: var(--mwai-backgroundPrimaryColor, #1a1a2e); |
| 2719 | } |
| 2720 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive { |
| 2721 | opacity: 0.35; |
| 2722 | } |
| 2723 | .mwai-chatgpt-theme pre code.hljs { |
| 2724 | display: block; |
| 2725 | overflow-x: auto; |
| 2726 | padding: 1em; |
| 2727 | } |
| 2728 | .mwai-chatgpt-theme code.hljs { |
| 2729 | padding: 3px 5px; |
| 2730 | } |
| 2731 | .mwai-chatgpt-theme .hljs { |
| 2732 | color: #fff; |
| 2733 | } |
| 2734 | .mwai-chatgpt-theme .hljs-subst { |
| 2735 | color: #fff; |
| 2736 | } |
| 2737 | .mwai-chatgpt-theme .hljs-comment { |
| 2738 | color: #999; |
| 2739 | } |
| 2740 | .mwai-chatgpt-theme .hljs-attr, .mwai-chatgpt-theme .hljs-doctag, .mwai-chatgpt-theme .hljs-keyword, .mwai-chatgpt-theme .hljs-meta .hljs-keyword, .mwai-chatgpt-theme .hljs-section, .mwai-chatgpt-theme .hljs-selector-tag { |
| 2741 | color: #88aece; |
| 2742 | } |
| 2743 | .mwai-chatgpt-theme .hljs-attribute { |
| 2744 | color: #c59bc1; |
| 2745 | } |
| 2746 | .mwai-chatgpt-theme .hljs-name, .mwai-chatgpt-theme .hljs-number, .mwai-chatgpt-theme .hljs-quote, .mwai-chatgpt-theme .hljs-selector-id, .mwai-chatgpt-theme .hljs-template-tag, .mwai-chatgpt-theme .hljs-type { |
| 2747 | color: #f08d49; |
| 2748 | } |
| 2749 | .mwai-chatgpt-theme .hljs-selector-class { |
| 2750 | color: #88aece; |
| 2751 | } |
| 2752 | .mwai-chatgpt-theme .hljs-link, .mwai-chatgpt-theme .hljs-regexp, .mwai-chatgpt-theme .hljs-selector-attr, .mwai-chatgpt-theme .hljs-string, .mwai-chatgpt-theme .hljs-symbol, .mwai-chatgpt-theme .hljs-template-variable, .mwai-chatgpt-theme .hljs-variable { |
| 2753 | color: #b5bd68; |
| 2754 | } |
| 2755 | .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo { |
| 2756 | color: #88aece; |
| 2757 | } |
| 2758 | .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title { |
| 2759 | color: #f08d49; |
| 2760 | } |
| 2761 | .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code { |
| 2762 | color: #ccc; |
| 2763 | } |
| 2764 | .mwai-chatgpt-theme .hljs-meta .hljs-string { |
| 2765 | color: #b5bd68; |
| 2766 | } |
| 2767 | .mwai-chatgpt-theme .hljs-deletion { |
| 2768 | color: #de7176; |
| 2769 | } |
| 2770 | .mwai-chatgpt-theme .hljs-addition { |
| 2771 | color: #76c490; |
| 2772 | } |
| 2773 | .mwai-chatgpt-theme .hljs-emphasis { |
| 2774 | font-style: italic; |
| 2775 | } |
| 2776 | .mwai-chatgpt-theme .hljs-strong { |
| 2777 | font-weight: 700; |
| 2778 | } |
| 2779 | .mwai-chatgpt-theme .mwai-reply-actions { |
| 2780 | position: absolute; |
| 2781 | border-radius: 5px; |
| 2782 | top: 10px; |
| 2783 | right: 10px; |
| 2784 | display: flex; |
| 2785 | align-items: center; |
| 2786 | padding: 2px 2px; |
| 2787 | z-index: 100; |
| 2788 | background: var(--mwai-backgroundPrimaryColor); |
| 2789 | box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); |
| 2790 | z-index: 100; |
| 2791 | } |
| 2792 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button, |
| 2793 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button, |
| 2794 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-pdf-button { |
| 2795 | fill: var(--mwai-fontColor); |
| 2796 | padding: 3px 5px; |
| 2797 | width: 24px; |
| 2798 | height: 24px; |
| 2799 | background: var(--mwai-backgroundPrimaryColor); |
| 2800 | cursor: pointer; |
| 2801 | border-radius: 5px; |
| 2802 | } |
| 2803 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover, |
| 2804 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button:hover, |
| 2805 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-pdf-button:hover { |
| 2806 | filter: brightness(1.2); |
| 2807 | } |
| 2808 | .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden { |
| 2809 | opacity: 0; |
| 2810 | } |
| 2811 | .mwai-chatgpt-theme .mwai-realtime { |
| 2812 | padding: var(--mwai-spacing); |
| 2813 | } |
| 2814 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer { |
| 2815 | display: flex; |
| 2816 | justify-content: center; |
| 2817 | align-items: center; |
| 2818 | } |
| 2819 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer hr { |
| 2820 | width: 100px; |
| 2821 | margin-right: var(--mwai-spacing); |
| 2822 | margin-left: var(--mwai-spacing); |
| 2823 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2824 | } |
| 2825 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer .mwai-animation { |
| 2826 | background: var(--mwai-backgroundPrimaryColor); |
| 2827 | } |
| 2828 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls { |
| 2829 | display: flex; |
| 2830 | justify-content: center; |
| 2831 | align-items: center; |
| 2832 | margin-bottom: var(--mwai-spacing); |
| 2833 | } |
| 2834 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls > * + * { |
| 2835 | margin-left: 10px; |
| 2836 | } |
| 2837 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button { |
| 2838 | border-radius: 100%; |
| 2839 | width: 50px; |
| 2840 | height: 50px; |
| 2841 | margin: 5px; |
| 2842 | padding: 5px; |
| 2843 | display: flex; |
| 2844 | align-items: center; |
| 2845 | justify-content: center; |
| 2846 | color: var(--mwai-fontColor); |
| 2847 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2848 | background: none; |
| 2849 | cursor: pointer; |
| 2850 | transition: all 0.2s ease-out; |
| 2851 | min-width: inherit; |
| 2852 | max-width: inherit; |
| 2853 | } |
| 2854 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) { |
| 2855 | background: var(--mwai-backgroundPrimaryColor); |
| 2856 | } |
| 2857 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:disabled { |
| 2858 | opacity: 0.5; |
| 2859 | cursor: not-allowed; |
| 2860 | background: none; |
| 2861 | } |
| 2862 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button.mwai-active { |
| 2863 | border: 2px solid var(--mwai-fontColor); |
| 2864 | } |
| 2865 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode { |
| 2866 | flex-direction: column; |
| 2867 | gap: 8px; |
| 2868 | } |
| 2869 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk { |
| 2870 | border-radius: calc(var(--mwai-borderRadius) * 0.8); |
| 2871 | width: auto; |
| 2872 | min-width: 120px; |
| 2873 | padding: 12px 24px; |
| 2874 | margin: 5px; |
| 2875 | display: flex; |
| 2876 | align-items: center; |
| 2877 | justify-content: center; |
| 2878 | gap: 8px; |
| 2879 | color: var(--mwai-fontColor); |
| 2880 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2881 | background: none; |
| 2882 | cursor: pointer; |
| 2883 | transition: all 0.2s ease-out; |
| 2884 | font-family: inherit; |
| 2885 | font-size: var(--mwai-fontSize); |
| 2886 | line-height: 1.2; |
| 2887 | font-weight: 500; |
| 2888 | height: auto; |
| 2889 | user-select: none; |
| 2890 | -webkit-user-select: none; |
| 2891 | -webkit-touch-callout: none; |
| 2892 | touch-action: manipulation; |
| 2893 | } |
| 2894 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) { |
| 2895 | background: var(--mwai-backgroundPrimaryColor); |
| 2896 | } |
| 2897 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled { |
| 2898 | opacity: 0.5; |
| 2899 | cursor: not-allowed; |
| 2900 | background: none; |
| 2901 | } |
| 2902 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active { |
| 2903 | border: 2px solid var(--mwai-fontColor); |
| 2904 | background: var(--mwai-backgroundPrimaryColor); |
| 2905 | } |
| 2906 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg { |
| 2907 | width: 18px; |
| 2908 | height: 18px; |
| 2909 | } |
| 2910 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint { |
| 2911 | font-size: 12px; |
| 2912 | color: var(--mwai-fontColor); |
| 2913 | opacity: 0.6; |
| 2914 | text-align: center; |
| 2915 | margin: 0; |
| 2916 | } |
| 2917 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript { |
| 2918 | margin: var(--mwai-spacing); |
| 2919 | margin-top: 0; |
| 2920 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2921 | padding: calc(var(--mwai-spacing) / 2); |
| 2922 | padding-right: calc(var(--mwai-spacing) / 2 + 10px); |
| 2923 | border-radius: var(--mwai-borderRadius); |
| 2924 | font-size: 80%; |
| 2925 | text-align: center; |
| 2926 | max-height: 120px; |
| 2927 | overflow-y: auto; |
| 2928 | overflow-x: hidden; |
| 2929 | word-wrap: break-word; |
| 2930 | overflow-wrap: break-word; |
| 2931 | } |
| 2932 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar { |
| 2933 | width: 6px; |
| 2934 | } |
| 2935 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track { |
| 2936 | background: transparent; |
| 2937 | margin: 4px 0; |
| 2938 | } |
| 2939 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb { |
| 2940 | background: var(--mwai-backgroundHeaderColor); |
| 2941 | border-radius: 10px; |
| 2942 | } |
| 2943 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover { |
| 2944 | background: var(--mwai-primaryColor); |
| 2945 | } |
| 2946 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript { |
| 2947 | scrollbar-width: thin; |
| 2948 | scrollbar-color: var(--mwai-backgroundHeaderColor) transparent; |
| 2949 | } |
| 2950 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics { |
| 2951 | display: grid; |
| 2952 | grid-template-columns: 1fr 1fr 1fr; |
| 2953 | grid-row-gap: 10px; |
| 2954 | font-size: 14px; |
| 2955 | } |
| 2956 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div { |
| 2957 | display: flex; |
| 2958 | flex-direction: column; |
| 2959 | align-items: center; |
| 2960 | } |
| 2961 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label { |
| 2962 | font-size: 11px; |
| 2963 | opacity: 0.5; |
| 2964 | text-transform: uppercase; |
| 2965 | } |
| 2966 | .mwai-chatgpt-theme .mwai-realtime .mwai-options { |
| 2967 | margin-top: var(--mwai-spacing); |
| 2968 | display: flex; |
| 2969 | align-items: center; |
| 2970 | } |
| 2971 | .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option { |
| 2972 | cursor: pointer; |
| 2973 | opacity: 0.5; |
| 2974 | margin-right: 2px; |
| 2975 | } |
| 2976 | .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active { |
| 2977 | opacity: 1; |
| 2978 | } |
| 2979 | .mwai-chatgpt-theme.mwai-discussions { |
| 2980 | border-radius: var(--mwai-borderRadius); |
| 2981 | background: var(--mwai-backgroundHeaderColor); |
| 2982 | overflow: hidden; |
| 2983 | } |
| 2984 | .mwai-chatgpt-theme.mwai-discussions * { |
| 2985 | box-sizing: border-box; |
| 2986 | } |
| 2987 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion { |
| 2988 | display: flex; |
| 2989 | position: relative; |
| 2990 | padding-left: calc(var(--mwai-spacing) / 2); |
| 2991 | padding-right: calc(var(--mwai-spacing) / 2); |
| 2992 | padding-bottom: calc(var(--mwai-spacing) / 2); |
| 2993 | color: var(--mwai-conversationsTextColor); |
| 2994 | opacity: 0.65; |
| 2995 | align-items: center; |
| 2996 | } |
| 2997 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-content { |
| 2998 | flex: 1; |
| 2999 | padding: 5px 10px; |
| 3000 | overflow: hidden; |
| 3001 | } |
| 3002 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title { |
| 3003 | display: block; |
| 3004 | overflow: hidden; |
| 3005 | text-overflow: ellipsis; |
| 3006 | white-space: nowrap; |
| 3007 | font-size: var(--mwai-fontSize); |
| 3008 | margin-bottom: 4px; |
| 3009 | } |
| 3010 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info { |
| 3011 | display: flex; |
| 3012 | gap: 12px; |
| 3013 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 3014 | opacity: 0.7; |
| 3015 | } |
| 3016 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item { |
| 3017 | display: flex; |
| 3018 | align-items: center; |
| 3019 | gap: 4px; |
| 3020 | } |
| 3021 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg { |
| 3022 | opacity: 0.6; |
| 3023 | } |
| 3024 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions { |
| 3025 | position: absolute; |
| 3026 | top: 50%; |
| 3027 | right: calc(var(--mwai-spacing) / 2); |
| 3028 | transform: translateY(-50%); |
| 3029 | opacity: 0; |
| 3030 | transition: opacity 0.2s ease-out; |
| 3031 | z-index: 100; |
| 3032 | } |
| 3033 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon { |
| 3034 | width: 28px; |
| 3035 | height: 28px; |
| 3036 | display: flex; |
| 3037 | align-items: center; |
| 3038 | justify-content: center; |
| 3039 | cursor: pointer; |
| 3040 | color: var(--mwai-conversationsTextColor); |
| 3041 | } |
| 3042 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active { |
| 3043 | cursor: pointer; |
| 3044 | } |
| 3045 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content { |
| 3046 | background: var(--mwai-backgroundPrimaryColor); |
| 3047 | border-radius: var(--mwai-borderRadius); |
| 3048 | opacity: 1; |
| 3049 | } |
| 3050 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover { |
| 3051 | cursor: pointer; |
| 3052 | } |
| 3053 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content { |
| 3054 | background: var(--mwai-backgroundPrimaryColor); |
| 3055 | border-radius: var(--mwai-borderRadius); |
| 3056 | opacity: 1; |
| 3057 | } |
| 3058 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions { |
| 3059 | opacity: 1; |
| 3060 | } |
| 3061 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions { |
| 3062 | opacity: 1; |
| 3063 | } |
| 3064 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child { |
| 3065 | margin-top: calc(var(--mwai-spacing) / 2); |
| 3066 | } |
| 3067 | .mwai-chatgpt-theme.mwai-discussions .mwai-header { |
| 3068 | color: var(--mwai-headerColor); |
| 3069 | padding: var(--mwai-spacing); |
| 3070 | display: flex; |
| 3071 | justify-content: space-between; |
| 3072 | align-items: center; |
| 3073 | gap: 10px; |
| 3074 | } |
| 3075 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button { |
| 3076 | background: var(--mwai-backgroundPrimaryColor); |
| 3077 | color: var(--mwai-fontColor); |
| 3078 | border: none; |
| 3079 | padding: 8px 16px; |
| 3080 | border-radius: var(--mwai-borderRadius); |
| 3081 | cursor: pointer; |
| 3082 | transition: all 0.2s ease-out; |
| 3083 | } |
| 3084 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) { |
| 3085 | background: var(--mwai-iconTextBackgroundColor); |
| 3086 | } |
| 3087 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled { |
| 3088 | opacity: 0.5; |
| 3089 | cursor: not-allowed; |
| 3090 | } |
| 3091 | .mwai-chatgpt-theme.mwai-discussions .mwai-header .mwai-refresh-btn { |
| 3092 | padding: 8px; |
| 3093 | display: flex; |
| 3094 | align-items: center; |
| 3095 | justify-content: center; |
| 3096 | } |
| 3097 | .mwai-chatgpt-theme.mwai-discussions .mwai-body { |
| 3098 | background: var(--mwai-conversationsBackgroundColor); |
| 3099 | list-style: none; |
| 3100 | padding: 0; |
| 3101 | margin: 0; |
| 3102 | position: relative; |
| 3103 | min-height: 200px; |
| 3104 | display: flex; |
| 3105 | flex-direction: column; |
| 3106 | border-radius: 0; |
| 3107 | z-index: 1; |
| 3108 | } |
| 3109 | .mwai-chatgpt-theme.mwai-discussions .mwai-loading-overlay { |
| 3110 | position: absolute; |
| 3111 | top: 0; |
| 3112 | left: 0; |
| 3113 | right: 0; |
| 3114 | bottom: 0; |
| 3115 | background: var(--mwai-conversationsBackgroundColor); |
| 3116 | opacity: 0.9; |
| 3117 | display: flex; |
| 3118 | align-items: center; |
| 3119 | justify-content: center; |
| 3120 | z-index: 10; |
| 3121 | } |
| 3122 | .mwai-chatgpt-theme.mwai-discussions .mwai-spinner { |
| 3123 | animation: spin 1s linear infinite; |
| 3124 | color: var(--mwai-fontColor); |
| 3125 | } |
| 3126 | @keyframes spin { |
| 3127 | from { |
| 3128 | transform: rotate(0deg); |
| 3129 | } |
| 3130 | to { |
| 3131 | transform: rotate(360deg); |
| 3132 | } |
| 3133 | } |
| 3134 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination { |
| 3135 | background: var(--mwai-backgroundHeaderColor); |
| 3136 | padding: var(--mwai-spacing); |
| 3137 | display: flex; |
| 3138 | justify-content: space-between; |
| 3139 | align-items: center; |
| 3140 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 3141 | } |
| 3142 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button { |
| 3143 | background: var(--mwai-backgroundPrimaryColor); |
| 3144 | color: var(--mwai-fontColor); |
| 3145 | border: none; |
| 3146 | padding: 8px 12px; |
| 3147 | border-radius: var(--mwai-borderRadius); |
| 3148 | cursor: pointer; |
| 3149 | transition: all 0.2s ease-out; |
| 3150 | display: flex; |
| 3151 | align-items: center; |
| 3152 | justify-content: center; |
| 3153 | } |
| 3154 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) { |
| 3155 | background: var(--mwai-iconTextBackgroundColor); |
| 3156 | } |
| 3157 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled { |
| 3158 | opacity: 0.3; |
| 3159 | cursor: not-allowed; |
| 3160 | } |
| 3161 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination span { |
| 3162 | color: var(--mwai-headerColor); |
| 3163 | font-size: var(--mwai-fontSize); |
| 3164 | font-weight: 500; |
| 3165 | } |
| 3166 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination .mwai-page-indicator { |
| 3167 | color: var(--mwai-headerColor); |
| 3168 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 3169 | font-weight: 400; |
| 3170 | opacity: 0.8; |
| 3171 | } |
| 3172 | .mwai-chatgpt-theme .mwai-files { |
| 3173 | padding: var(--mwai-spacing) var(--mwai-spacing) 0 var(--mwai-spacing); |
| 3174 | border: none; |
| 3175 | } |
| 3176 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-reply-actions { |
| 3177 | display: none; |
| 3178 | } |
| 3179 | .mwai-chatgpt-theme .mwai-conversation > .mwai-reply.mwai-ai:first-child .mwai-reply-actions { |
| 3180 | display: none; |
| 3181 | } |
| 3182 | .mwai-chatgpt-theme .mwai-reply.mwai-ai { |
| 3183 | align-items: flex-start; |
| 3184 | } |
| 3185 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-avatar { |
| 3186 | width: 32px; |
| 3187 | height: 32px; |
| 3188 | min-width: 32px; |
| 3189 | min-height: 32px; |
| 3190 | background: transparent; |
| 3191 | border-radius: 0; |
| 3192 | margin-top: -2px; |
| 3193 | } |
| 3194 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-avatar img { |
| 3195 | width: 32px; |
| 3196 | height: 32px; |
| 3197 | min-width: 32px; |
| 3198 | min-height: 32px; |
| 3199 | } |
| 3200 | .mwai-chatgpt-theme .mwai-reply.mwai-ai > div:has(> .mwai-text) { |
| 3201 | display: flex; |
| 3202 | flex-direction: column; |
| 3203 | align-items: flex-start; |
| 3204 | flex: 1; |
| 3205 | } |
| 3206 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions { |
| 3207 | position: static; |
| 3208 | background: transparent; |
| 3209 | box-shadow: none; |
| 3210 | padding: 5px 0 0 0; |
| 3211 | margin-left: -7px; |
| 3212 | } |
| 3213 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions.mwai-hidden { |
| 3214 | opacity: 1; |
| 3215 | } |
| 3216 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button, |
| 3217 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button, |
| 3218 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button { |
| 3219 | background: transparent; |
| 3220 | padding: 0; |
| 3221 | width: 32px; |
| 3222 | height: 32px; |
| 3223 | border-radius: 50%; |
| 3224 | display: flex; |
| 3225 | align-items: center; |
| 3226 | justify-content: center; |
| 3227 | cursor: pointer; |
| 3228 | opacity: 0.2; |
| 3229 | transition: opacity 0.15s ease; |
| 3230 | } |
| 3231 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button svg, |
| 3232 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button svg, |
| 3233 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button svg { |
| 3234 | width: 18px; |
| 3235 | height: 18px; |
| 3236 | } |
| 3237 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button:hover, |
| 3238 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button:hover, |
| 3239 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button:hover { |
| 3240 | background: rgba(255, 255, 255, 0.1); |
| 3241 | opacity: 1; |
| 3242 | } |
| 3243 | .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button svg { |
| 3244 | width: 22px; |
| 3245 | height: 22px; |
| 3246 | } |
| 3247 | .mwai-chatgpt-theme .mwai-chunks { |
| 3248 | background: rgba(255, 255, 255, 0.05); |
| 3249 | } |
| 3250 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header { |
| 3251 | color: #9ca3af; |
| 3252 | } |
| 3253 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle { |
| 3254 | border-color: rgba(255, 255, 255, 0.1); |
| 3255 | color: #9ca3af; |
| 3256 | } |
| 3257 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover { |
| 3258 | background: rgba(255, 255, 255, 0.05); |
| 3259 | color: #e5e7eb; |
| 3260 | } |
| 3261 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk { |
| 3262 | background: rgba(255, 255, 255, 0.08); |
| 3263 | } |
| 3264 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 3265 | color: #e5e7eb; |
| 3266 | } |
| 3267 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 3268 | color: #e5e7eb; |
| 3269 | } |
| 3270 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 3271 | color: #e5e7eb; |
| 3272 | } |
| 3273 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 3274 | background: rgba(0, 0, 0, 0.2); |
| 3275 | } |
| 3276 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 3277 | color: #d1d5db; |
| 3278 | } |
| 3279 | |
| 3280 | @media (max-width: 760px) { |
| 3281 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input { |
| 3282 | flex-direction: row; |
| 3283 | align-items: flex-end; |
| 3284 | gap: 4px; |
| 3285 | } |
| 3286 | .mwai-chatgpt-theme .mwai-input { |
| 3287 | margin: 10px var(--mwai-spacing); |
| 3288 | } |
| 3289 | .mwai-chatgpt-theme .mwai-files { |
| 3290 | padding: 0 var(--mwai-spacing) 0 var(--mwai-spacing); |
| 3291 | } |
| 3292 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images { |
| 3293 | max-width: 90%; |
| 3294 | } |
| 3295 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image { |
| 3296 | width: 120px; |
| 3297 | height: 120px; |
| 3298 | } |
| 3299 | .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-text { |
| 3300 | max-width: 90%; |
| 3301 | } |
| 3302 | .mwai-chatgpt-theme .mwai-name { |
| 3303 | margin-right: 0; |
| 3304 | max-width: inherit; |
| 3305 | } |
| 3306 | } |
| 3307 | |
| 3308 | .mwai-chatgpt-theme.mwai-discussions .mwai-header { |
| 3309 | background: var(--mwai-backgroundSecondaryColor); |
| 3310 | color: var(--mwai-fontColor); |
| 3311 | border-bottom: 1px solid var(--mwai-backgroundPrimaryColor); |
| 3312 | } |
| 3313 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button { |
| 3314 | background: var(--mwai-backgroundSecondaryColor); |
| 3315 | color: var(--mwai-fontColor); |
| 3316 | border: 1px solid var(--mwai-borderColor); |
| 3317 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 3318 | border-radius: 5px; |
| 3319 | cursor: pointer; |
| 3320 | transition: all 0.2s ease-out; |
| 3321 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 3322 | margin-left: 0; |
| 3323 | } |
| 3324 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) { |
| 3325 | background: var(--mwai-backgroundPrimaryColor); |
| 3326 | } |
| 3327 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled { |
| 3328 | opacity: 0.5; |
| 3329 | cursor: not-allowed; |
| 3330 | } |
| 3331 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination { |
| 3332 | background: var(--mwai-backgroundSecondaryColor); |
| 3333 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 3334 | } |
| 3335 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button { |
| 3336 | background: var(--mwai-backgroundSecondaryColor); |
| 3337 | color: var(--mwai-fontColor); |
| 3338 | border: 1px solid var(--mwai-borderColor); |
| 3339 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 3340 | border-radius: 5px; |
| 3341 | cursor: pointer; |
| 3342 | transition: all 0.2s ease-out; |
| 3343 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 3344 | margin-left: 0; |
| 3345 | } |
| 3346 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) { |
| 3347 | background: var(--mwai-backgroundPrimaryColor); |
| 3348 | } |
| 3349 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled { |
| 3350 | opacity: 0.5; |
| 3351 | cursor: not-allowed; |
| 3352 | } |
| 3353 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer, |
| 3354 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination { |
| 3355 | background: var(--mwai-backgroundSecondaryColor); |
| 3356 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 3357 | } |
| 3358 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button, |
| 3359 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button { |
| 3360 | width: 100%; |
| 3361 | background: var(--mwai-backgroundSecondaryColor); |
| 3362 | color: var(--mwai-fontColor); |
| 3363 | border: 1px solid var(--mwai-borderColor); |
| 3364 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 3365 | border-radius: 5px; |
| 3366 | cursor: pointer; |
| 3367 | transition: all 0.2s ease-out; |
| 3368 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 3369 | } |
| 3370 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover, |
| 3371 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover { |
| 3372 | background: var(--mwai-backgroundPrimaryColor); |
| 3373 | } |
| 3374 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled, |
| 3375 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled { |
| 3376 | opacity: 0.5; |
| 3377 | cursor: not-allowed; |
| 3378 | } |
| 3379 | |
| 3380 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu { |
| 3381 | background: var(--mwai-backgroundSecondaryColor); |
| 3382 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 3383 | color: var(--mwai-fontColor); |
| 3384 | } |
| 3385 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item:hover { |
| 3386 | background-color: var(--mwai-backgroundPrimaryColor); |
| 3387 | } |
| 3388 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 3389 | color: var(--mwai-errorTextColor); |
| 3390 | } |
| 3391 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 3392 | background-color: var(--mwai-errorBackgroundColor); |
| 3393 | } |
| 3394 |