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