icons
2 years ago
sass
10 months ago
chatgpt.css
10 months ago
messages.css
10 months ago
timeless.css
10 months ago
chatgpt.css
2503 lines
| 1 | @keyframes mwai-caret-blink { |
| 2 | to { |
| 3 | visibility: hidden; |
| 4 | } |
| 5 | } |
| 6 | .mwai-context-menu-portal .mwai-context-menu { |
| 7 | background: var(--mwai-backgroundHeaderColor); |
| 8 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 9 | border-radius: var(--mwai-borderRadius); |
| 10 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 11 | font-size: 13px; |
| 12 | color: var(--mwai-fontColor); |
| 13 | } |
| 14 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item { |
| 15 | display: flex; |
| 16 | align-items: center; |
| 17 | gap: 8px; |
| 18 | padding: 8px 12px; |
| 19 | cursor: pointer; |
| 20 | transition: background-color 0.2s; |
| 21 | } |
| 22 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover { |
| 23 | background-color: rgba(0, 0, 0, 0.05); |
| 24 | } |
| 25 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 26 | color: #dc3545; |
| 27 | } |
| 28 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 29 | background-color: rgba(220, 53, 69, 0.1); |
| 30 | } |
| 31 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg { |
| 32 | flex-shrink: 0; |
| 33 | } |
| 34 | |
| 35 | .mwai-chunks { |
| 36 | padding: 8px; |
| 37 | background: rgba(0, 0, 0, 0.03); |
| 38 | font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace; |
| 39 | font-size: 11px; |
| 40 | border-top: 1px solid rgba(0, 0, 0, 0.06); |
| 41 | } |
| 42 | .mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header { |
| 43 | margin-bottom: 0 !important; |
| 44 | } |
| 45 | .mwai-chunks .mwai-chunks-header { |
| 46 | display: flex; |
| 47 | align-items: center; |
| 48 | gap: 2px; |
| 49 | margin-bottom: 8px; |
| 50 | color: #6b7280; |
| 51 | font-size: 10px; |
| 52 | text-transform: uppercase; |
| 53 | letter-spacing: 0.05em; |
| 54 | } |
| 55 | .mwai-chunks .mwai-chunks-header .mwai-chunks-title { |
| 56 | flex: 1; |
| 57 | overflow: hidden; |
| 58 | text-overflow: ellipsis; |
| 59 | white-space: nowrap; |
| 60 | } |
| 61 | .mwai-chunks .mwai-chunks-header .mwai-chunks-status { |
| 62 | margin-left: 4px; |
| 63 | font-weight: 500; |
| 64 | } |
| 65 | .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle { |
| 66 | background: none; |
| 67 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 68 | border-radius: 3px; |
| 69 | padding: 2px; |
| 70 | width: 30px; |
| 71 | height: 20px; |
| 72 | cursor: pointer; |
| 73 | color: #6b7280; |
| 74 | display: flex; |
| 75 | align-items: center; |
| 76 | justify-content: center; |
| 77 | transition: all 0.2s ease; |
| 78 | margin-left: 4px; |
| 79 | } |
| 80 | .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover { |
| 81 | background: rgba(0, 0, 0, 0.05); |
| 82 | color: #374151; |
| 83 | } |
| 84 | .mwai-chunks .mwai-chunk { |
| 85 | margin-bottom: 4px; |
| 86 | padding: 6px 8px; |
| 87 | background: white; |
| 88 | border-radius: 4px; |
| 89 | border: 1px solid rgba(0, 0, 0, 0.06); |
| 90 | transition: all 0.2s ease; |
| 91 | } |
| 92 | .mwai-chunks .mwai-chunk .mwai-chunk-header { |
| 93 | display: flex; |
| 94 | align-items: center; |
| 95 | gap: 8px; |
| 96 | cursor: pointer; |
| 97 | user-select: none; |
| 98 | } |
| 99 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 100 | color: #9ca3af; |
| 101 | font-size: 10px; |
| 102 | font-variant-numeric: tabular-nums; |
| 103 | } |
| 104 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type { |
| 105 | display: flex; |
| 106 | align-items: center; |
| 107 | gap: 4px; |
| 108 | padding: 2px 6px; |
| 109 | border-radius: 3px; |
| 110 | font-size: 10px; |
| 111 | font-weight: 500; |
| 112 | color: white; |
| 113 | } |
| 114 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 115 | flex: 1; |
| 116 | color: #374151; |
| 117 | overflow: hidden; |
| 118 | text-overflow: ellipsis; |
| 119 | white-space: nowrap; |
| 120 | } |
| 121 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 122 | color: #9ca3af; |
| 123 | transition: transform 0.2s ease; |
| 124 | } |
| 125 | .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 126 | margin-top: 8px; |
| 127 | padding: 8px; |
| 128 | background: rgba(0, 0, 0, 0.02); |
| 129 | border-radius: 3px; |
| 130 | overflow-x: auto; |
| 131 | } |
| 132 | .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 133 | margin: 0; |
| 134 | white-space: pre-wrap; |
| 135 | word-break: break-word; |
| 136 | color: #4b5563; |
| 137 | } |
| 138 | |
| 139 | .mwai-chatgpt-theme { |
| 140 | font-family: var(--mwai-fontFamily, inherit); |
| 141 | --mwai-spacing: 15px; |
| 142 | --mwai-fontSize: 15px; |
| 143 | --mwai-lineHeight: 1.5; |
| 144 | --mwai-borderRadius: 10px; |
| 145 | --mwai-borderColor: #4f4f4f; |
| 146 | --mwai-width: 460px; |
| 147 | --mwai-maxHeight: 40vh; |
| 148 | --mwai-iconTextColor: white; |
| 149 | --mwai-iconTextBackgroundColor: #343541; |
| 150 | --mwai-fontColor: #FFFFFF; |
| 151 | --mwai-backgroundPrimaryColor: #454654; |
| 152 | --mwai-backgroundHeaderColor: #343541; |
| 153 | --mwai-bubbleColor: #343541; |
| 154 | --mwai-accentColor: #10a37f; |
| 155 | --mwai-headerColor: #FFFFFF; |
| 156 | --mwai-conversationsBackgroundColor: #202123; |
| 157 | --mwai-conversationsTextColor: #FFFFFF; |
| 158 | --mwai-backgroundSecondaryColor: #343541; |
| 159 | --mwai-errorBackgroundColor: #6d2f2a; |
| 160 | --mwai-errorTextColor: #FFFFFF; |
| 161 | } |
| 162 | .mwai-chatgpt-theme * { |
| 163 | box-sizing: border-box; |
| 164 | } |
| 165 | .mwai-chatgpt-theme .mwai-body { |
| 166 | background: var(--mwai-backgroundSecondaryColor); |
| 167 | color: var(--mwai-fontColor); |
| 168 | font-size: var(--mwai-fontSize); |
| 169 | overflow: hidden; |
| 170 | display: flex; |
| 171 | flex-direction: column; |
| 172 | border-radius: var(--mwai-borderRadius); |
| 173 | } |
| 174 | .mwai-chatgpt-theme .mwai-shortcuts { |
| 175 | display: flex; |
| 176 | justify-content: center; |
| 177 | margin: var(--mwai-spacing); |
| 178 | } |
| 179 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut { |
| 180 | margin-right: calc(var(--mwai-spacing) / 2); |
| 181 | display: flex; |
| 182 | } |
| 183 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-success { |
| 184 | color: #4caf50; |
| 185 | border: 1px solid #4caf50; |
| 186 | } |
| 187 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-danger { |
| 188 | color: #f44336; |
| 189 | border: 1px solid #f44336; |
| 190 | } |
| 191 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-warning { |
| 192 | color: #ff9800; |
| 193 | border: 1px solid #ff9800; |
| 194 | } |
| 195 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-info { |
| 196 | color: #2196f3; |
| 197 | border: 1px solid #2196f3; |
| 198 | } |
| 199 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon { |
| 200 | margin-right: 5px; |
| 201 | } |
| 202 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img { |
| 203 | max-height: 16px; |
| 204 | width: auto; |
| 205 | } |
| 206 | .mwai-chatgpt-theme .mwai-blocks { |
| 207 | display: flex; |
| 208 | flex-direction: column; |
| 209 | padding: var(--mwai-spacing); |
| 210 | } |
| 211 | .mwai-chatgpt-theme .mwai-blocks .mwai-block p:first-child { |
| 212 | margin-top: 0; |
| 213 | } |
| 214 | .mwai-chatgpt-theme .mwai-blocks button { |
| 215 | cursor: pointer; |
| 216 | } |
| 217 | .mwai-chatgpt-theme .mwai-conversation { |
| 218 | overflow: auto; |
| 219 | flex: 1 1 auto; |
| 220 | min-height: 0; |
| 221 | scrollbar-width: thin; |
| 222 | scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.05); |
| 223 | } |
| 224 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar { |
| 225 | width: 8px; |
| 226 | background: transparent; |
| 227 | } |
| 228 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-track { |
| 229 | background: rgba(255, 255, 255, 0.05); |
| 230 | border-radius: 4px; |
| 231 | } |
| 232 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb { |
| 233 | background: rgba(255, 255, 255, 0.15); |
| 234 | border-radius: 4px; |
| 235 | transition: background 0.2s ease; |
| 236 | } |
| 237 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:hover { |
| 238 | background: rgba(255, 255, 255, 0.25); |
| 239 | } |
| 240 | .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:active { |
| 241 | background: rgba(255, 255, 255, 0.3); |
| 242 | } |
| 243 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line { |
| 244 | line-height: 1.5; |
| 245 | } |
| 246 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-prompt { |
| 247 | opacity: 0.95; |
| 248 | } |
| 249 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-text { |
| 250 | opacity: 0.98; |
| 251 | } |
| 252 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-system { |
| 253 | opacity: 0.75; |
| 254 | } |
| 255 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-prompt { |
| 256 | color: var(--mwai-headerColor); |
| 257 | } |
| 258 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text { |
| 259 | flex: 1; |
| 260 | opacity: 0.92; |
| 261 | } |
| 262 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text .mwai-image { |
| 263 | max-width: 100%; |
| 264 | height: auto; |
| 265 | } |
| 266 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text pre { |
| 267 | background: transparent; |
| 268 | border: 1px solid rgba(255, 255, 255, 0.08); |
| 269 | padding: 8px; |
| 270 | border-radius: 4px; |
| 271 | } |
| 272 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text code { |
| 273 | font-family: inherit; |
| 274 | } |
| 275 | .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-typed { |
| 276 | white-space: pre-wrap; |
| 277 | } |
| 278 | .mwai-chatgpt-theme .mwai-reply { |
| 279 | display: flex; |
| 280 | padding: var(--mwai-spacing); |
| 281 | position: relative; |
| 282 | line-height: var(--mwai-lineHeight); |
| 283 | transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| 284 | } |
| 285 | .mwai-chatgpt-theme .mwai-reply.mwai-fade-out { |
| 286 | opacity: 0; |
| 287 | } |
| 288 | .mwai-chatgpt-theme .mwai-reply.mwai-user { |
| 289 | background: var(--mwai-backgroundSecondaryColor); |
| 290 | } |
| 291 | .mwai-chatgpt-theme .mwai-reply.mwai-ai, .mwai-chatgpt-theme .mwai-reply.mwai-error { |
| 292 | background: var(--mwai-backgroundPrimaryColor); |
| 293 | } |
| 294 | .mwai-chatgpt-theme .mwai-reply .mwai-name { |
| 295 | color: var(--mwai-fontColor); |
| 296 | margin-right: 5px; |
| 297 | } |
| 298 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text { |
| 299 | opacity: 0.5; |
| 300 | white-space: nowrap; |
| 301 | } |
| 302 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar { |
| 303 | margin-right: 10px; |
| 304 | display: flex; |
| 305 | align-items: center; |
| 306 | justify-content: center; |
| 307 | border-radius: 5px; |
| 308 | overflow: hidden; |
| 309 | } |
| 310 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar img { |
| 311 | width: 32px; |
| 312 | height: 32px; |
| 313 | min-width: 32px; |
| 314 | min-height: 32px; |
| 315 | } |
| 316 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img { |
| 317 | width: 28px; |
| 318 | height: 28px; |
| 319 | min-width: 28px; |
| 320 | min-height: 28px; |
| 321 | filter: brightness(0) invert(1); |
| 322 | } |
| 323 | .mwai-chatgpt-theme .mwai-reply .mwai-text { |
| 324 | flex: auto; |
| 325 | font-size: var(--mwai-fontSize); |
| 326 | line-height: var(--mwai-lineHeight); |
| 327 | color: var(--mwai-fontColor); |
| 328 | } |
| 329 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-image { |
| 330 | display: block; |
| 331 | max-width: 250px; |
| 332 | height: auto; |
| 333 | margin: 0 0 10px 0; |
| 334 | border-radius: var(--mwai-borderRadius); |
| 335 | } |
| 336 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-filename { |
| 337 | display: flex; |
| 338 | text-decoration: none; |
| 339 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 340 | border-radius: var(--mwai-borderRadius); |
| 341 | padding: 5px 10px; |
| 342 | margin-bottom: 10px; |
| 343 | } |
| 344 | .mwai-chatgpt-theme .mwai-reply .mwai-text * { |
| 345 | font-size: var(--mwai-fontSize); |
| 346 | } |
| 347 | .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:first-child { |
| 348 | margin-top: 0; |
| 349 | } |
| 350 | .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:last-child { |
| 351 | margin-bottom: 0; |
| 352 | } |
| 353 | .mwai-chatgpt-theme .mwai-reply .mwai-text a { |
| 354 | color: #2196f3; |
| 355 | } |
| 356 | .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 { |
| 357 | color: var(--mwai-fontColor); |
| 358 | } |
| 359 | .mwai-chatgpt-theme .mwai-reply .mwai-text h1 { |
| 360 | font-size: 200%; |
| 361 | } |
| 362 | .mwai-chatgpt-theme .mwai-reply .mwai-text h2 { |
| 363 | font-size: 160%; |
| 364 | } |
| 365 | .mwai-chatgpt-theme .mwai-reply .mwai-text h3 { |
| 366 | font-size: 140%; |
| 367 | } |
| 368 | .mwai-chatgpt-theme .mwai-reply .mwai-text h4 { |
| 369 | font-size: 120%; |
| 370 | } |
| 371 | .mwai-chatgpt-theme .mwai-reply .mwai-text p code { |
| 372 | background: var(--mwai-backgroundSecondaryColor); |
| 373 | padding: 2px 6px; |
| 374 | border-radius: 8px; |
| 375 | font-size: 90%; |
| 376 | font-family: system-ui; |
| 377 | } |
| 378 | .mwai-chatgpt-theme .mwai-reply .mwai-text pre { |
| 379 | color: var(--mwai-fontColor); |
| 380 | border-radius: var(--mwai-borderRadius); |
| 381 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 382 | break-after: auto; |
| 383 | white-space: pre-wrap; |
| 384 | font-size: 95%; |
| 385 | max-width: 100%; |
| 386 | width: 100%; |
| 387 | font-family: system-ui; |
| 388 | background: hsl(0 0% 0% / 30%); |
| 389 | } |
| 390 | .mwai-chatgpt-theme .mwai-reply .mwai-text pre code { |
| 391 | padding: 0 !important; |
| 392 | font-family: system-ui; |
| 393 | } |
| 394 | .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol { |
| 395 | padding: 0; |
| 396 | } |
| 397 | .mwai-chatgpt-theme .mwai-reply .mwai-text ol { |
| 398 | margin: 0 0 0 20px; |
| 399 | } |
| 400 | .mwai-chatgpt-theme .mwai-reply .mwai-text table { |
| 401 | width: 100%; |
| 402 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 403 | border-collapse: collapse; |
| 404 | } |
| 405 | .mwai-chatgpt-theme .mwai-reply .mwai-text thead { |
| 406 | background: var(--mwai-backgroundSecondaryColor); |
| 407 | } |
| 408 | .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td { |
| 409 | padding: 2px 5px; |
| 410 | } |
| 411 | .mwai-chatgpt-theme .mwai-reply .mwai-text td { |
| 412 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 413 | } |
| 414 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter { |
| 415 | display: inline-block; |
| 416 | } |
| 417 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child { |
| 418 | margin-top: 0; |
| 419 | } |
| 420 | .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child { |
| 421 | margin-top: 0; |
| 422 | } |
| 423 | .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child { |
| 424 | margin-bottom: 0; |
| 425 | } |
| 426 | .mwai-chatgpt-theme .mwai-reply.mwai-system { |
| 427 | background: var(--mwai-errorBackgroundColor); |
| 428 | color: var(--mwai-errorFontColor); |
| 429 | } |
| 430 | .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name { |
| 431 | display: none; |
| 432 | } |
| 433 | .mwai-chatgpt-theme .mwai-reply.mwai-error { |
| 434 | border-top: 1px dashed #ff5656; |
| 435 | border-bottom: 1px dashed #ff5656; |
| 436 | } |
| 437 | .mwai-chatgpt-theme .mwai-input { |
| 438 | display: flex; |
| 439 | padding: var(--mwai-spacing); |
| 440 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 441 | } |
| 442 | .mwai-chatgpt-theme .mwai-input .mwai-input-text { |
| 443 | flex: auto; |
| 444 | position: relative; |
| 445 | background: var(--mwai-backgroundPrimaryColor); |
| 446 | border-radius: var(--mwai-borderRadius); |
| 447 | overflow: hidden; |
| 448 | display: flex; |
| 449 | padding: calc(var(--mwai-spacing) / 2); |
| 450 | } |
| 451 | .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked { |
| 452 | background: var(--mwai-errorBackgroundColor); |
| 453 | } |
| 454 | .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging { |
| 455 | filter: brightness(1.2); |
| 456 | } |
| 457 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea { |
| 458 | background: inherit; |
| 459 | color: var(--mwai-fontColor); |
| 460 | padding-left: calc(var(--mwai-spacing) / 2); |
| 461 | flex: auto; |
| 462 | border: none; |
| 463 | font-size: var(--mwai-fontSize); |
| 464 | line-height: var(--mwai-lineHeight); |
| 465 | resize: none; |
| 466 | font-family: inherit; |
| 467 | margin: 0; |
| 468 | overflow: hidden; |
| 469 | min-height: inherit; |
| 470 | } |
| 471 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus { |
| 472 | outline: none; |
| 473 | box-shadow: none; |
| 474 | } |
| 475 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder { |
| 476 | color: var(--mwai-fontColor); |
| 477 | opacity: 0.5; |
| 478 | } |
| 479 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone { |
| 480 | display: flex; |
| 481 | justify-content: center; |
| 482 | align-items: center; |
| 483 | } |
| 484 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg { |
| 485 | opacity: 0.5; |
| 486 | filter: grayscale(100%); |
| 487 | transition: opacity 0.3s ease-out; |
| 488 | cursor: pointer; |
| 489 | } |
| 490 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg { |
| 491 | opacity: 1; |
| 492 | } |
| 493 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg { |
| 494 | opacity: 0; |
| 495 | cursor: not-allowed; |
| 496 | } |
| 497 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon { |
| 498 | background: url("icons/dark-icons.svg"); |
| 499 | background-size: 500%; |
| 500 | background-position: 0px -96px; |
| 501 | width: 32px; |
| 502 | height: 32px; |
| 503 | z-index: 100; |
| 504 | } |
| 505 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add { |
| 506 | background-position: -32px -96px; |
| 507 | } |
| 508 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add { |
| 509 | background-position: -32px 0px; |
| 510 | } |
| 511 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up { |
| 512 | background-position: -64px 0px; |
| 513 | } |
| 514 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del { |
| 515 | background-position: -96px 0px; |
| 516 | } |
| 517 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok { |
| 518 | background-position: -128px 0px; |
| 519 | } |
| 520 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add { |
| 521 | background-position: -32px -64px; |
| 522 | } |
| 523 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up { |
| 524 | background-position: -64px -64px; |
| 525 | } |
| 526 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del { |
| 527 | background-position: -96px -64px; |
| 528 | } |
| 529 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok { |
| 530 | background-position: -128px -64px; |
| 531 | } |
| 532 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress { |
| 533 | position: absolute; |
| 534 | font-size: 8px; |
| 535 | width: 21px; |
| 536 | top: 24px; |
| 537 | left: 23px; |
| 538 | overflow: hidden; |
| 539 | text-align: center; |
| 540 | font-weight: bold; |
| 541 | color: white; |
| 542 | } |
| 543 | .mwai-chatgpt-theme .mwai-input button { |
| 544 | margin-left: var(--mwai-spacing); |
| 545 | } |
| 546 | .mwai-chatgpt-theme .mwai-compliance { |
| 547 | opacity: 0.5; |
| 548 | /* Remove negative margin that pushed footer/content up when input is none */ |
| 549 | margin-top: 0; |
| 550 | padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing); |
| 551 | font-size: smaller; |
| 552 | color: var(--mwai-fontColor); |
| 553 | text-align: left; |
| 554 | } |
| 555 | .mwai-chatgpt-theme .mwai-gallery { |
| 556 | display: grid; |
| 557 | grid-template-columns: repeat(3, 1fr); |
| 558 | grid-gap: 5px; |
| 559 | } |
| 560 | .mwai-chatgpt-theme .mwai-gallery img { |
| 561 | width: 100%; |
| 562 | } |
| 563 | .mwai-chatgpt-theme button { |
| 564 | color: var(--mwai-fontColor); |
| 565 | background: var(--mwai-backgroundSecondaryColor); |
| 566 | border: 1px solid var(--mwai-borderColor); |
| 567 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 568 | min-width: 70px; |
| 569 | border-radius: 5px; |
| 570 | cursor: pointer; |
| 571 | transition: all 0.2s ease-out; |
| 572 | display: flex; |
| 573 | align-items: center; |
| 574 | justify-content: center; |
| 575 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 576 | position: relative; |
| 577 | } |
| 578 | .mwai-chatgpt-theme button .mwai-timer { |
| 579 | margin-left: 5px; |
| 580 | margin-right: 5px; |
| 581 | font-size: 11px; |
| 582 | } |
| 583 | .mwai-chatgpt-theme button:hover { |
| 584 | background: var(--mwai-backgroundPrimaryColor); |
| 585 | } |
| 586 | .mwai-chatgpt-theme button[disabled] { |
| 587 | cursor: not-allowed; |
| 588 | } |
| 589 | .mwai-chatgpt-theme button[disabled] span { |
| 590 | opacity: 0.5; |
| 591 | } |
| 592 | .mwai-chatgpt-theme button[disabled].mwai-busy span { |
| 593 | display: none; |
| 594 | } |
| 595 | .mwai-chatgpt-theme button[disabled].mwai-busy:before { |
| 596 | content: ""; |
| 597 | width: 18px; |
| 598 | height: 18px; |
| 599 | margin: auto; |
| 600 | border: 3px solid transparent; |
| 601 | border-top-color: var(--mwai-fontColor); |
| 602 | border-radius: 50%; |
| 603 | animation: mwai-button-spinner 1s ease infinite; |
| 604 | } |
| 605 | .mwai-chatgpt-theme.mwai-form-container { |
| 606 | padding: var(--mwai-spacing); |
| 607 | font-size: var(--mwai-fontSize); |
| 608 | color: var(--mwai-fontColor); |
| 609 | background: var(--mwai-backgroundSecondaryColor); |
| 610 | border-radius: var(--mwai-borderRadius); |
| 611 | } |
| 612 | .mwai-chatgpt-theme.mwai-form-container fieldset { |
| 613 | border: 0; |
| 614 | margin: 0; |
| 615 | padding: 0; |
| 616 | display: flex; |
| 617 | flex-direction: column; |
| 618 | margin-bottom: 10px; |
| 619 | } |
| 620 | .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 { |
| 621 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 622 | border: 0; |
| 623 | width: 100%; |
| 624 | border-radius: var(--mwai-borderRadius); |
| 625 | font-size: var(--mwai-fontSize); |
| 626 | background: var(--mwai-backgroundPrimaryColor); |
| 627 | color: var(--mwai-fontColor); |
| 628 | } |
| 629 | .mwai-chatgpt-theme.mwai-form-container fieldset select { |
| 630 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 631 | border: 0; |
| 632 | width: 100%; |
| 633 | border-radius: var(--mwai-borderRadius); |
| 634 | font-size: var(--mwai-fontSize); |
| 635 | background: var(--mwai-backgroundPrimaryColor); |
| 636 | color: var(--mwai-fontColor); |
| 637 | } |
| 638 | .mwai-chatgpt-theme.mwai-form-container fieldset textarea { |
| 639 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 640 | border: 0; |
| 641 | width: 100%; |
| 642 | border-radius: var(--mwai-borderRadius); |
| 643 | font-family: inherit; |
| 644 | font-size: var(--mwai-fontSize); |
| 645 | background: var(--mwai-backgroundPrimaryColor); |
| 646 | color: var(--mwai-fontColor); |
| 647 | } |
| 648 | .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] { |
| 649 | opacity: 0.25; |
| 650 | } |
| 651 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button { |
| 652 | height: 45px; |
| 653 | background: none; |
| 654 | width: 100%; |
| 655 | color: var(--mwai-fontColor); |
| 656 | font-size: var(--mwai-fontSize); |
| 657 | background-color: var(--mwai-backgroundSecondaryColor); |
| 658 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 659 | border-radius: var(--mwai-borderRadius); |
| 660 | cursor: pointer; |
| 661 | transition: all 0.2s ease-out; |
| 662 | position: relative; |
| 663 | } |
| 664 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button:hover { |
| 665 | background: var(--mwai-backgroundPrimaryColor); |
| 666 | } |
| 667 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled] span { |
| 668 | opacity: 0.25; |
| 669 | } |
| 670 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled]:hover { |
| 671 | background: none; |
| 672 | cursor: not-allowed; |
| 673 | } |
| 674 | .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 { |
| 675 | opacity: 0; |
| 676 | } |
| 677 | .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 { |
| 678 | content: ""; |
| 679 | position: absolute; |
| 680 | width: 18px; |
| 681 | height: 18px; |
| 682 | top: 0; |
| 683 | left: 0; |
| 684 | right: 0; |
| 685 | bottom: 0; |
| 686 | margin: auto; |
| 687 | border: 3px solid transparent; |
| 688 | border-top-color: var(--mwai-fontColor); |
| 689 | border-radius: 50%; |
| 690 | animation: mwai-button-spinner 1s ease infinite; |
| 691 | } |
| 692 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output { |
| 693 | font-size: var(--mwai-fontSize); |
| 694 | position: relative; |
| 695 | margin-top: var(--mwai-spacing); |
| 696 | padding: var(--mwai-spacing); |
| 697 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 698 | } |
| 699 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error { |
| 700 | background: var(--mwai-errorBackgroundColor); |
| 701 | color: var(--mwai-errorFontColor); |
| 702 | } |
| 703 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child { |
| 704 | margin-top: 0; |
| 705 | } |
| 706 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child { |
| 707 | margin-bottom: 0; |
| 708 | } |
| 709 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img { |
| 710 | max-width: 33%; |
| 711 | } |
| 712 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child { |
| 713 | margin-top: 0; |
| 714 | } |
| 715 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child { |
| 716 | margin-bottom: 0; |
| 717 | } |
| 718 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container.mwai-has-content { |
| 719 | display: block; |
| 720 | } |
| 721 | .mwai-chatgpt-theme.mwai-form-container .wp-block-columns { |
| 722 | margin: 0; |
| 723 | } |
| 724 | .mwai-chatgpt-theme .mwai-chunks { |
| 725 | background: rgba(255, 255, 255, 0.05); |
| 726 | border-top: 1px solid rgba(255, 255, 255, 0.1); |
| 727 | } |
| 728 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header { |
| 729 | color: #9ca3af; |
| 730 | } |
| 731 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk { |
| 732 | background: rgba(255, 255, 255, 0.08); |
| 733 | border: 1px solid rgba(255, 255, 255, 0.1); |
| 734 | } |
| 735 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 736 | color: #6b7280; |
| 737 | } |
| 738 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 739 | color: #e5e7eb; |
| 740 | } |
| 741 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 742 | color: #6b7280; |
| 743 | } |
| 744 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 745 | background: rgba(0, 0, 0, 0.2); |
| 746 | } |
| 747 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 748 | color: #d1d5db; |
| 749 | } |
| 750 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window { |
| 751 | filter: none; |
| 752 | } |
| 753 | @media (max-width: 760px) { |
| 754 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header { |
| 755 | display: none !important; |
| 756 | } |
| 757 | } |
| 758 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-window-box { |
| 759 | display: flex; |
| 760 | flex-direction: column; |
| 761 | filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15)); |
| 762 | opacity: 0; |
| 763 | transform: scale(0.5); |
| 764 | transform-origin: bottom right; |
| 765 | 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); |
| 766 | } |
| 767 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box { |
| 768 | width: 100%; |
| 769 | height: 100%; |
| 770 | } |
| 771 | @media (min-width: 761px) { |
| 772 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header { |
| 773 | display: flex !important; |
| 774 | } |
| 775 | } |
| 776 | @media (max-width: 760px) { |
| 777 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header { |
| 778 | display: none !important; |
| 779 | } |
| 780 | } |
| 781 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body { |
| 782 | display: flex !important; |
| 783 | } |
| 784 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box { |
| 785 | opacity: 1; |
| 786 | transform: scale(0.92); |
| 787 | } |
| 788 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box { |
| 789 | opacity: 1; |
| 790 | transform: scale(1); |
| 791 | } |
| 792 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box { |
| 793 | opacity: 0; |
| 794 | transform: scale(0.85); |
| 795 | transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1); |
| 796 | } |
| 797 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger { |
| 798 | display: flex !important; |
| 799 | } |
| 800 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger .mwai-icon-container { |
| 801 | transform: scale(0.5); |
| 802 | opacity: 0; |
| 803 | transition: transform 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 150ms, opacity 150ms ease-out 150ms; |
| 804 | } |
| 805 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container { |
| 806 | transform: scale(1); |
| 807 | opacity: 1; |
| 808 | } |
| 809 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box { |
| 810 | transform-origin: calc(100% - 32px) calc(100% - 32px); |
| 811 | } |
| 812 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box { |
| 813 | transform-origin: 32px calc(100% - 32px); |
| 814 | } |
| 815 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box { |
| 816 | transform-origin: calc(100% - 32px) 32px; |
| 817 | } |
| 818 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box { |
| 819 | transform-origin: 32px 32px; |
| 820 | } |
| 821 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box { |
| 822 | transform-origin: center center; |
| 823 | } |
| 824 | @media (max-width: 760px) { |
| 825 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box { |
| 826 | transform-origin: center center !important; |
| 827 | } |
| 828 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header { |
| 829 | display: none !important; |
| 830 | } |
| 831 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger { |
| 832 | position: fixed !important; |
| 833 | z-index: 9999 !important; |
| 834 | } |
| 835 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger { |
| 836 | bottom: 20px !important; |
| 837 | right: 20px !important; |
| 838 | left: auto !important; |
| 839 | top: auto !important; |
| 840 | } |
| 841 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger { |
| 842 | bottom: 20px !important; |
| 843 | left: 20px !important; |
| 844 | right: auto !important; |
| 845 | top: auto !important; |
| 846 | } |
| 847 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger { |
| 848 | top: 20px !important; |
| 849 | right: 20px !important; |
| 850 | left: auto !important; |
| 851 | bottom: auto !important; |
| 852 | } |
| 853 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger { |
| 854 | top: 20px !important; |
| 855 | left: 20px !important; |
| 856 | right: auto !important; |
| 857 | bottom: auto !important; |
| 858 | } |
| 859 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger { |
| 860 | display: none !important; |
| 861 | } |
| 862 | } |
| 863 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container { |
| 864 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 865 | } |
| 866 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 867 | transition: transform 0.2s ease-out; |
| 868 | } |
| 869 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 870 | transform: scale(1.1); |
| 871 | } |
| 872 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 873 | transform: scale(0.9); |
| 874 | } |
| 875 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 876 | transform: scale(0.8); |
| 877 | opacity: 0.3; |
| 878 | } |
| 879 | .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 880 | display: none; |
| 881 | } |
| 882 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window { |
| 883 | filter: none; |
| 884 | } |
| 885 | @media (max-width: 760px) { |
| 886 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header { |
| 887 | display: none !important; |
| 888 | } |
| 889 | } |
| 890 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-window-box { |
| 891 | display: flex; |
| 892 | flex-direction: column; |
| 893 | filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15)); |
| 894 | opacity: 0; |
| 895 | transform: translateY(100%); |
| 896 | transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| 897 | } |
| 898 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box { |
| 899 | width: 100%; |
| 900 | height: 100%; |
| 901 | } |
| 902 | @media (min-width: 761px) { |
| 903 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header { |
| 904 | display: flex !important; |
| 905 | } |
| 906 | } |
| 907 | @media (max-width: 760px) { |
| 908 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header { |
| 909 | display: none !important; |
| 910 | } |
| 911 | } |
| 912 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body { |
| 913 | display: flex !important; |
| 914 | } |
| 915 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box { |
| 916 | opacity: 0.5; |
| 917 | transform: translateY(20px); |
| 918 | } |
| 919 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box { |
| 920 | opacity: 1; |
| 921 | transform: translateY(0); |
| 922 | } |
| 923 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box { |
| 924 | opacity: 0; |
| 925 | transform: translateY(100%); |
| 926 | transition: opacity 200ms ease-in, transform 200ms ease-in; |
| 927 | } |
| 928 | @media (max-width: 760px) { |
| 929 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header { |
| 930 | display: none !important; |
| 931 | } |
| 932 | } |
| 933 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container { |
| 934 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 935 | } |
| 936 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 937 | transition: transform 0.2s ease-out; |
| 938 | } |
| 939 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 940 | transform: scale(1.1); |
| 941 | } |
| 942 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 943 | transform: scale(0.9); |
| 944 | } |
| 945 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 946 | opacity: 0; |
| 947 | } |
| 948 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger { |
| 949 | display: flex !important; |
| 950 | } |
| 951 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger .mwai-icon-container { |
| 952 | opacity: 0; |
| 953 | transition-delay: 150ms; |
| 954 | } |
| 955 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container { |
| 956 | opacity: 1; |
| 957 | } |
| 958 | .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 959 | display: none; |
| 960 | } |
| 961 | @media (max-width: 760px) { |
| 962 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header { |
| 963 | display: none !important; |
| 964 | } |
| 965 | } |
| 966 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box { |
| 967 | display: flex; |
| 968 | flex-direction: column; |
| 969 | filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15)); |
| 970 | opacity: 0; |
| 971 | transition: opacity 300ms ease-in-out; |
| 972 | } |
| 973 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box { |
| 974 | width: 100%; |
| 975 | height: 100%; |
| 976 | } |
| 977 | @media (min-width: 761px) { |
| 978 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 979 | display: flex !important; |
| 980 | } |
| 981 | } |
| 982 | @media (max-width: 760px) { |
| 983 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 984 | display: none !important; |
| 985 | } |
| 986 | } |
| 987 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body { |
| 988 | display: flex !important; |
| 989 | } |
| 990 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box { |
| 991 | opacity: 0.5; |
| 992 | } |
| 993 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box { |
| 994 | opacity: 1; |
| 995 | } |
| 996 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box { |
| 997 | opacity: 0; |
| 998 | } |
| 999 | @media (max-width: 760px) { |
| 1000 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header { |
| 1001 | display: none !important; |
| 1002 | } |
| 1003 | } |
| 1004 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container { |
| 1005 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 1006 | } |
| 1007 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1008 | transition: transform 0.2s ease-out; |
| 1009 | } |
| 1010 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 1011 | transform: scale(1.1); |
| 1012 | } |
| 1013 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 1014 | transform: scale(0.9); |
| 1015 | } |
| 1016 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 1017 | opacity: 0; |
| 1018 | } |
| 1019 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger { |
| 1020 | display: flex !important; |
| 1021 | } |
| 1022 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger .mwai-icon-container { |
| 1023 | opacity: 0; |
| 1024 | transition-delay: 150ms; |
| 1025 | } |
| 1026 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container { |
| 1027 | opacity: 1; |
| 1028 | } |
| 1029 | .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 1030 | display: none; |
| 1031 | } |
| 1032 | .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box { |
| 1033 | display: flex; |
| 1034 | flex-direction: column; |
| 1035 | filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1)); |
| 1036 | } |
| 1037 | .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box { |
| 1038 | width: 100%; |
| 1039 | height: 100%; |
| 1040 | } |
| 1041 | |
| 1042 | .mwai-chatgpt-theme .mwai-footer { |
| 1043 | display: flex; |
| 1044 | align-items: center; |
| 1045 | background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor)); |
| 1046 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1047 | padding: 6px var(--mwai-spacing); |
| 1048 | } |
| 1049 | .mwai-chatgpt-theme .mwai-footer .mwai-tools { |
| 1050 | display: flex; |
| 1051 | align-items: center; |
| 1052 | gap: 8px; |
| 1053 | margin-right: calc(var(--mwai-spacing) / 2); |
| 1054 | } |
| 1055 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload { |
| 1056 | display: inline-block; |
| 1057 | } |
| 1058 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide { |
| 1059 | display: inline-flex; |
| 1060 | align-items: center; |
| 1061 | justify-content: center; |
| 1062 | position: relative; |
| 1063 | min-width: 16px; |
| 1064 | height: 16px; |
| 1065 | color: var(--mwai-fontColor); |
| 1066 | opacity: 0.75; |
| 1067 | margin: 0; |
| 1068 | } |
| 1069 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover { |
| 1070 | opacity: 1; |
| 1071 | } |
| 1072 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg { |
| 1073 | width: 16px; |
| 1074 | height: 16px; |
| 1075 | } |
| 1076 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count { |
| 1077 | position: absolute; |
| 1078 | top: -5px; |
| 1079 | right: -6px; |
| 1080 | min-width: 12px; |
| 1081 | height: 12px; |
| 1082 | padding: 0 2px; |
| 1083 | border-radius: 999px; |
| 1084 | background: var(--mwai-backgroundHeaderColor); |
| 1085 | color: #fff; |
| 1086 | border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor)); |
| 1087 | font-size: 8px; |
| 1088 | font-family: system-ui; |
| 1089 | font-weight: 700; |
| 1090 | line-height: 1; |
| 1091 | display: inline-flex; |
| 1092 | align-items: center; |
| 1093 | justify-content: center; |
| 1094 | user-select: none; |
| 1095 | cursor: pointer; |
| 1096 | } |
| 1097 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after { |
| 1098 | content: attr(data-count); |
| 1099 | } |
| 1100 | .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after { |
| 1101 | content: "-"; |
| 1102 | } |
| 1103 | .mwai-chatgpt-theme .mwai-footer .mwai-compliance { |
| 1104 | opacity: 0.5; |
| 1105 | font-size: 11px; |
| 1106 | line-height: 11px; |
| 1107 | color: var(--mwai-fontColor); |
| 1108 | flex: 1; |
| 1109 | text-align: left; |
| 1110 | padding: calc(var(--mwai-spacing) / 2) 0; |
| 1111 | margin: 0; |
| 1112 | } |
| 1113 | .mwai-chatgpt-theme .mwai-footer .mwai-tools + .mwai-compliance { |
| 1114 | text-align: right; |
| 1115 | } |
| 1116 | |
| 1117 | .mwai-chatgpt-theme .mwai-files { |
| 1118 | display: flex; |
| 1119 | flex-direction: column; |
| 1120 | padding: var(--mwai-spacing); |
| 1121 | background: var(--mwai-backgroundSecondaryColor); |
| 1122 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1123 | max-height: 150px; |
| 1124 | overflow-y: auto; |
| 1125 | } |
| 1126 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar { |
| 1127 | width: 6px; |
| 1128 | } |
| 1129 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-track { |
| 1130 | background: var(--mwai-backgroundPrimaryColor); |
| 1131 | border-radius: 3px; |
| 1132 | } |
| 1133 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb { |
| 1134 | background: var(--mwai-backgroundHeaderColor); |
| 1135 | border-radius: 3px; |
| 1136 | } |
| 1137 | .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb:hover { |
| 1138 | background: var(--mwai-primaryColor); |
| 1139 | } |
| 1140 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview { |
| 1141 | position: relative; |
| 1142 | } |
| 1143 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content { |
| 1144 | display: flex; |
| 1145 | align-items: center; |
| 1146 | gap: 8px; |
| 1147 | } |
| 1148 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail { |
| 1149 | width: 32px; |
| 1150 | height: 32px; |
| 1151 | object-fit: cover; |
| 1152 | border-radius: 4px; |
| 1153 | border: 1px solid var(--mwai-backgroundHeaderColor); |
| 1154 | display: block; |
| 1155 | flex-shrink: 0; |
| 1156 | } |
| 1157 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon { |
| 1158 | width: 32px; |
| 1159 | height: 32px; |
| 1160 | display: flex; |
| 1161 | align-items: center; |
| 1162 | justify-content: center; |
| 1163 | background: var(--mwai-backgroundSecondaryColor); |
| 1164 | border-radius: 4px; |
| 1165 | color: var(--mwai-fontColor); |
| 1166 | opacity: 0.6; |
| 1167 | flex-shrink: 0; |
| 1168 | } |
| 1169 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon svg { |
| 1170 | width: 18px; |
| 1171 | height: 18px; |
| 1172 | } |
| 1173 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info { |
| 1174 | flex: 1; |
| 1175 | min-width: 0; |
| 1176 | display: flex; |
| 1177 | flex-direction: column; |
| 1178 | gap: 2px; |
| 1179 | } |
| 1180 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-name { |
| 1181 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 1182 | color: var(--mwai-fontColor); |
| 1183 | white-space: nowrap; |
| 1184 | overflow: hidden; |
| 1185 | text-overflow: ellipsis; |
| 1186 | line-height: 1.2; |
| 1187 | } |
| 1188 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-size { |
| 1189 | font-size: calc(var(--mwai-fontSize) * 0.7); |
| 1190 | color: var(--mwai-fontColor); |
| 1191 | opacity: 0.5; |
| 1192 | line-height: 1; |
| 1193 | } |
| 1194 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress { |
| 1195 | position: absolute; |
| 1196 | bottom: 0; |
| 1197 | left: 0; |
| 1198 | right: 0; |
| 1199 | height: 2px; |
| 1200 | background: var(--mwai-backgroundHeaderColor); |
| 1201 | border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2); |
| 1202 | overflow: hidden; |
| 1203 | } |
| 1204 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar { |
| 1205 | height: 100%; |
| 1206 | background: var(--mwai-primaryColor); |
| 1207 | transition: width 0.3s ease; |
| 1208 | } |
| 1209 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove { |
| 1210 | display: flex; |
| 1211 | align-items: center; |
| 1212 | justify-content: center; |
| 1213 | background: none; |
| 1214 | cursor: pointer; |
| 1215 | color: var(--mwai-fontColor); |
| 1216 | padding: 4px; |
| 1217 | border: none; |
| 1218 | line-height: 0; |
| 1219 | min-width: inherit; |
| 1220 | margin-left: auto; |
| 1221 | opacity: 0.6; |
| 1222 | transition: opacity 0.2s ease; |
| 1223 | } |
| 1224 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover { |
| 1225 | opacity: 1; |
| 1226 | } |
| 1227 | .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg { |
| 1228 | width: 20px; |
| 1229 | height: 20px; |
| 1230 | } |
| 1231 | .mwai-chatgpt-theme .mwai-files:empty { |
| 1232 | display: none; |
| 1233 | } |
| 1234 | .mwai-chatgpt-theme .mwai-file-upload-icon { |
| 1235 | margin-bottom: -3px; |
| 1236 | } |
| 1237 | .mwai-chatgpt-theme .mwai-terminal { |
| 1238 | --mwai-terminal-active-color: var(--mwai-fontColor); |
| 1239 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace; |
| 1240 | font-size: 12px; |
| 1241 | background: var(--mwai-backgroundPrimaryColor); |
| 1242 | color: var(--mwai-fontColor); |
| 1243 | padding: var(--mwai-spacing); |
| 1244 | height: 100%; |
| 1245 | overflow-y: auto; |
| 1246 | cursor: text; |
| 1247 | display: flex; |
| 1248 | flex-direction: column; |
| 1249 | flex: 1 1 auto; |
| 1250 | min-height: 0; |
| 1251 | padding-bottom: calc(var(--mwai-spacing) * 1.25); |
| 1252 | scrollbar-width: thin; |
| 1253 | scrollbar-color: rgba(128, 128, 128, 0.3) transparent; |
| 1254 | } |
| 1255 | .mwai-chatgpt-theme .mwai-terminal:focus { |
| 1256 | outline: none; |
| 1257 | } |
| 1258 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line { |
| 1259 | display: flex; |
| 1260 | align-items: flex-start; |
| 1261 | margin: calc(var(--mwai-spacing) / 2) 0; |
| 1262 | white-space: pre-wrap; |
| 1263 | word-wrap: break-word; |
| 1264 | word-break: break-word; |
| 1265 | } |
| 1266 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user { |
| 1267 | color: var(--mwai-fontColor); |
| 1268 | opacity: 0.35; |
| 1269 | } |
| 1270 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing { |
| 1271 | color: var(--mwai-terminal-active-color); |
| 1272 | opacity: 1; |
| 1273 | } |
| 1274 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt { |
| 1275 | color: var(--mwai-terminal-active-color); |
| 1276 | } |
| 1277 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant { |
| 1278 | color: var(--mwai-fontColor); |
| 1279 | } |
| 1280 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system { |
| 1281 | color: #608b4e; |
| 1282 | font-style: italic; |
| 1283 | } |
| 1284 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt { |
| 1285 | color: var(--mwai-terminal-active-color); |
| 1286 | margin-left: -4px; |
| 1287 | margin-right: 4px; |
| 1288 | display: inline-flex; |
| 1289 | align-items: center; |
| 1290 | height: 1.5em; |
| 1291 | line-height: 1.2; |
| 1292 | flex-shrink: 0; |
| 1293 | align-self: flex-start; |
| 1294 | } |
| 1295 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt svg { |
| 1296 | display: block; |
| 1297 | width: 1.4em; |
| 1298 | height: 1.4em; |
| 1299 | } |
| 1300 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-text { |
| 1301 | color: inherit; |
| 1302 | } |
| 1303 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-input-wrapper { |
| 1304 | flex: 1; |
| 1305 | display: inline; |
| 1306 | white-space: pre-wrap; |
| 1307 | word-wrap: break-word; |
| 1308 | word-break: break-word; |
| 1309 | } |
| 1310 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-typed { |
| 1311 | color: var(--mwai-terminal-active-color); |
| 1312 | white-space: pre-wrap; |
| 1313 | word-wrap: break-word; |
| 1314 | word-break: break-word; |
| 1315 | } |
| 1316 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor { |
| 1317 | display: inline-block; |
| 1318 | width: 8px; |
| 1319 | height: 16px; |
| 1320 | background: var(--mwai-terminal-active-color); |
| 1321 | vertical-align: text-bottom; |
| 1322 | margin-left: 2px; |
| 1323 | transition: opacity 0.2s ease; |
| 1324 | opacity: 0.35; |
| 1325 | animation: none; |
| 1326 | } |
| 1327 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active { |
| 1328 | opacity: 1; |
| 1329 | animation: mwai-caret-blink 1s steps(2, start) infinite; |
| 1330 | } |
| 1331 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing { |
| 1332 | opacity: 1; |
| 1333 | animation: none; |
| 1334 | } |
| 1335 | .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive { |
| 1336 | opacity: 0.35; |
| 1337 | animation: none; |
| 1338 | } |
| 1339 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar { |
| 1340 | width: 8px; |
| 1341 | background: transparent; |
| 1342 | } |
| 1343 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-track { |
| 1344 | background: transparent; |
| 1345 | } |
| 1346 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb { |
| 1347 | background: rgba(128, 128, 128, 0.3); |
| 1348 | border-radius: 4px; |
| 1349 | } |
| 1350 | .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb:hover { |
| 1351 | background: rgba(128, 128, 128, 0.5); |
| 1352 | } |
| 1353 | .mwai-chatgpt-theme .mwai-terminal + .mwai-compliance { |
| 1354 | margin-top: 0; |
| 1355 | } |
| 1356 | .mwai-chatgpt-theme.mwai-transition, .mwai-chatgpt-theme .mwai-transition { |
| 1357 | opacity: 0; |
| 1358 | transition: opacity 350ms ease-in-out; |
| 1359 | } |
| 1360 | .mwai-chatgpt-theme.mwai-transition-visible, .mwai-chatgpt-theme .mwai-transition-visible { |
| 1361 | opacity: 1; |
| 1362 | } |
| 1363 | .mwai-chatgpt-theme .mwai-text { |
| 1364 | overflow-wrap: anywhere; |
| 1365 | } |
| 1366 | .mwai-chatgpt-theme .mwai-text img { |
| 1367 | max-width: 100%; |
| 1368 | } |
| 1369 | .mwai-chatgpt-theme .mwai-text div p:first-child { |
| 1370 | margin-top: 0; |
| 1371 | } |
| 1372 | .mwai-chatgpt-theme .mwai-text div p:last-child { |
| 1373 | margin-bottom: 0; |
| 1374 | } |
| 1375 | .mwai-chatgpt-theme .mwai-trigger { |
| 1376 | position: absolute; |
| 1377 | right: 0; |
| 1378 | bottom: 0; |
| 1379 | transition: all 0.2s ease-out; |
| 1380 | z-index: 9999; |
| 1381 | display: flex; |
| 1382 | flex-direction: column; |
| 1383 | align-items: end; |
| 1384 | } |
| 1385 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container { |
| 1386 | display: flex; |
| 1387 | flex-direction: column; |
| 1388 | align-items: flex-end; |
| 1389 | } |
| 1390 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text { |
| 1391 | background: var(--mwai-iconTextBackgroundColor); |
| 1392 | color: var(--mwai-iconTextColor); |
| 1393 | box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15); |
| 1394 | max-width: 200px; |
| 1395 | font-size: 13px; |
| 1396 | margin-bottom: 15px; |
| 1397 | padding: 10px 15px; |
| 1398 | border-radius: 8px; |
| 1399 | } |
| 1400 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 1401 | color: var(--mwai-iconTextColor); |
| 1402 | background: var(--mwai-iconTextBackgroundColor); |
| 1403 | padding: 0; |
| 1404 | width: 24px; |
| 1405 | height: 24px; |
| 1406 | border-radius: 50%; |
| 1407 | display: none; |
| 1408 | justify-content: center; |
| 1409 | align-items: center; |
| 1410 | margin-bottom: 3px; |
| 1411 | } |
| 1412 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover { |
| 1413 | cursor: pointer; |
| 1414 | } |
| 1415 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close { |
| 1416 | display: flex; |
| 1417 | font-size: 12px; |
| 1418 | } |
| 1419 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover { |
| 1420 | filter: brightness(1.2); |
| 1421 | } |
| 1422 | @media (max-width: 760px) { |
| 1423 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 1424 | display: flex; |
| 1425 | } |
| 1426 | } |
| 1427 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1428 | filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15)); |
| 1429 | transition: all 0.2s ease-out; |
| 1430 | } |
| 1431 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 1432 | cursor: pointer; |
| 1433 | transform: scale(1.05); |
| 1434 | } |
| 1435 | .mwai-chatgpt-theme.mwai-window { |
| 1436 | position: fixed; |
| 1437 | right: 30px; |
| 1438 | bottom: 30px; |
| 1439 | width: var(--mwai-width); |
| 1440 | z-index: 9999; |
| 1441 | } |
| 1442 | .mwai-chatgpt-theme.mwai-window .mwai-header { |
| 1443 | display: none; |
| 1444 | justify-content: flex-end; |
| 1445 | align-items: center; |
| 1446 | border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0; |
| 1447 | background: var(--mwai-backgroundHeaderColor); |
| 1448 | } |
| 1449 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons { |
| 1450 | display: flex; |
| 1451 | align-items: center; |
| 1452 | } |
| 1453 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button { |
| 1454 | justify-content: center; |
| 1455 | height: 32px; |
| 1456 | width: 32px; |
| 1457 | cursor: pointer; |
| 1458 | display: flex; |
| 1459 | justify-content: center; |
| 1460 | align-items: center; |
| 1461 | } |
| 1462 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 1463 | transition: all 0.2s ease-out; |
| 1464 | content: " "; |
| 1465 | cursor: pointer; |
| 1466 | position: absolute; |
| 1467 | height: 13px; |
| 1468 | width: 13px; |
| 1469 | border: 1px solid var(--mwai-headerColor); |
| 1470 | } |
| 1471 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 1472 | width: 16px; |
| 1473 | height: 16px; |
| 1474 | } |
| 1475 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button { |
| 1476 | justify-content: center; |
| 1477 | height: 32px; |
| 1478 | width: 32px; |
| 1479 | cursor: pointer; |
| 1480 | border-radius: var(--mwai-borderRadius); |
| 1481 | margin-left: -10px; |
| 1482 | } |
| 1483 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before { |
| 1484 | transition: all 0.2s ease-out; |
| 1485 | transform: translate(16px, 5px) rotate(45deg); |
| 1486 | } |
| 1487 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 1488 | transition: all 0.2s ease-out; |
| 1489 | transform: translate(16px, 5px) rotate(-45deg); |
| 1490 | } |
| 1491 | .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 { |
| 1492 | content: " "; |
| 1493 | cursor: pointer; |
| 1494 | position: absolute; |
| 1495 | height: 22px; |
| 1496 | width: 1px; |
| 1497 | background-color: var(--mwai-headerColor); |
| 1498 | } |
| 1499 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before { |
| 1500 | opacity: 1; |
| 1501 | transform: translate(16px, 5px) rotate(135deg); |
| 1502 | } |
| 1503 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after { |
| 1504 | opacity: 1; |
| 1505 | transform: translate(16px, 5px) rotate(45deg); |
| 1506 | } |
| 1507 | .mwai-chatgpt-theme.mwai-window .mwai-body { |
| 1508 | display: none; |
| 1509 | opacity: 0; |
| 1510 | max-height: var(--mwai-maxHeight); |
| 1511 | border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius); |
| 1512 | } |
| 1513 | .mwai-chatgpt-theme.mwai-window.mwai-bottom-left { |
| 1514 | bottom: 30px; |
| 1515 | right: inherit; |
| 1516 | left: 30px; |
| 1517 | } |
| 1518 | .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 1519 | right: inherit; |
| 1520 | left: 0; |
| 1521 | } |
| 1522 | .mwai-chatgpt-theme.mwai-window.mwai-top-right { |
| 1523 | top: 30px; |
| 1524 | bottom: inherit; |
| 1525 | right: 30px; |
| 1526 | } |
| 1527 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger { |
| 1528 | top: 0; |
| 1529 | bottom: inherit; |
| 1530 | } |
| 1531 | .mwai-chatgpt-theme.mwai-window.mwai-top-left { |
| 1532 | top: 30px; |
| 1533 | bottom: inherit; |
| 1534 | right: inherit; |
| 1535 | left: 30px; |
| 1536 | } |
| 1537 | .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 1538 | top: 0; |
| 1539 | bottom: inherit; |
| 1540 | right: inherit; |
| 1541 | left: 0; |
| 1542 | } |
| 1543 | .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open { |
| 1544 | top: 50%; |
| 1545 | left: 50%; |
| 1546 | transform: translate(-50%, -50%); |
| 1547 | right: inherit; |
| 1548 | bottom: inherit; |
| 1549 | } |
| 1550 | @media (max-width: 760px) { |
| 1551 | .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open { |
| 1552 | width: calc(100% - 40px); |
| 1553 | max-width: var(--mwai-width); |
| 1554 | } |
| 1555 | } |
| 1556 | .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 1557 | align-items: flex-start; |
| 1558 | } |
| 1559 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 1560 | flex-direction: column-reverse; |
| 1561 | } |
| 1562 | .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 { |
| 1563 | margin-bottom: 0; |
| 1564 | margin-top: 15px; |
| 1565 | } |
| 1566 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons { |
| 1567 | margin-bottom: 0px; |
| 1568 | } |
| 1569 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 1570 | width: 16px; |
| 1571 | height: 16px; |
| 1572 | } |
| 1573 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 1574 | width: 13px; |
| 1575 | height: 13px; |
| 1576 | } |
| 1577 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) { |
| 1578 | position: fixed; |
| 1579 | left: 0 !important; |
| 1580 | right: 0 !important; |
| 1581 | bottom: 0 !important; |
| 1582 | top: 0 !important; |
| 1583 | width: 100%; |
| 1584 | height: 100%; |
| 1585 | max-height: 100%; |
| 1586 | max-width: 100%; |
| 1587 | display: flex; |
| 1588 | flex-direction: column; |
| 1589 | margin: 0; |
| 1590 | z-index: 999999; |
| 1591 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1592 | display: flex !important; |
| 1593 | visibility: visible !important; |
| 1594 | opacity: 1 !important; |
| 1595 | } |
| 1596 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header { |
| 1597 | border-radius: 0; |
| 1598 | } |
| 1599 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body { |
| 1600 | height: 100%; |
| 1601 | max-height: inherit; |
| 1602 | border-radius: 0; |
| 1603 | display: flex !important; |
| 1604 | flex-direction: column !important; |
| 1605 | } |
| 1606 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation { |
| 1607 | flex: 0 1 auto !important; |
| 1608 | max-height: none; |
| 1609 | overflow-y: auto; |
| 1610 | min-height: 0; |
| 1611 | } |
| 1612 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer { |
| 1613 | flex: 1 1 auto !important; |
| 1614 | min-height: 0; |
| 1615 | } |
| 1616 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input { |
| 1617 | flex: 0 0 auto; |
| 1618 | } |
| 1619 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer { |
| 1620 | flex: 0 0 auto; |
| 1621 | } |
| 1622 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files { |
| 1623 | flex: 0 0 auto; |
| 1624 | } |
| 1625 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box { |
| 1626 | width: 100%; |
| 1627 | height: 100%; |
| 1628 | display: flex; |
| 1629 | flex-direction: column; |
| 1630 | } |
| 1631 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header { |
| 1632 | display: flex !important; |
| 1633 | visibility: visible !important; |
| 1634 | opacity: 1 !important; |
| 1635 | flex: 0 0 auto; |
| 1636 | } |
| 1637 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body { |
| 1638 | display: flex !important; |
| 1639 | visibility: visible !important; |
| 1640 | opacity: 1 !important; |
| 1641 | flex: 1 1 auto; |
| 1642 | flex-direction: column; |
| 1643 | min-height: 0; |
| 1644 | height: 100%; |
| 1645 | } |
| 1646 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open { |
| 1647 | position: fixed; |
| 1648 | left: 0 !important; |
| 1649 | right: 0 !important; |
| 1650 | bottom: 0 !important; |
| 1651 | top: 0 !important; |
| 1652 | width: 100%; |
| 1653 | height: 100%; |
| 1654 | max-height: 100%; |
| 1655 | max-width: 100%; |
| 1656 | display: flex; |
| 1657 | flex-direction: column; |
| 1658 | margin: 0; |
| 1659 | z-index: 999999; |
| 1660 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1661 | } |
| 1662 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header { |
| 1663 | border-radius: 0; |
| 1664 | } |
| 1665 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body { |
| 1666 | height: 100%; |
| 1667 | max-height: inherit; |
| 1668 | border-radius: 0; |
| 1669 | display: flex !important; |
| 1670 | flex-direction: column !important; |
| 1671 | } |
| 1672 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 1673 | flex: 0 1 auto !important; |
| 1674 | max-height: none; |
| 1675 | overflow-y: auto; |
| 1676 | min-height: 0; |
| 1677 | } |
| 1678 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer { |
| 1679 | flex: 1 1 auto !important; |
| 1680 | min-height: 0; |
| 1681 | } |
| 1682 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input { |
| 1683 | flex: 0 0 auto; |
| 1684 | } |
| 1685 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer { |
| 1686 | flex: 0 0 auto; |
| 1687 | } |
| 1688 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files { |
| 1689 | flex: 0 0 auto; |
| 1690 | } |
| 1691 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box { |
| 1692 | width: 100%; |
| 1693 | height: 100%; |
| 1694 | display: flex; |
| 1695 | flex-direction: column; |
| 1696 | } |
| 1697 | .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body { |
| 1698 | flex: 1 1 auto; |
| 1699 | min-height: 0; |
| 1700 | } |
| 1701 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { |
| 1702 | display: flex; |
| 1703 | } |
| 1704 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body { |
| 1705 | display: flex; |
| 1706 | transition: opacity 200ms ease-in-out 0s; |
| 1707 | opacity: 1; |
| 1708 | } |
| 1709 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger { |
| 1710 | display: none; |
| 1711 | } |
| 1712 | .mwai-chatgpt-theme .mwai-body > .mwai-error { |
| 1713 | margin: var(--mwai-spacing); |
| 1714 | color: white; |
| 1715 | background: rgba(180, 55, 55, 0.55); |
| 1716 | padding: var(--mwai-spacing); |
| 1717 | border-radius: var(--mwai-borderRadius); |
| 1718 | } |
| 1719 | .mwai-chatgpt-theme .mwai-body > .mwai-error:hover { |
| 1720 | cursor: pointer; |
| 1721 | background: rgba(180, 44, 44, 0.85); |
| 1722 | } |
| 1723 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text { |
| 1724 | color: #ff5656; |
| 1725 | } |
| 1726 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text a { |
| 1727 | color: #ff5656; |
| 1728 | text-decoration: underline; |
| 1729 | } |
| 1730 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button { |
| 1731 | fill: var(--mwai-fontColor); |
| 1732 | padding: 3px 5px; |
| 1733 | width: 24px; |
| 1734 | height: 24px; |
| 1735 | background: var(--mwai-backgroundPrimaryColor); |
| 1736 | cursor: pointer; |
| 1737 | border-radius: 5px; |
| 1738 | } |
| 1739 | .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover { |
| 1740 | filter: brightness(1.2); |
| 1741 | } |
| 1742 | .mwai-chatgpt-theme .mwai-reply-actions { |
| 1743 | opacity: 0; |
| 1744 | transition: opacity 0.2s ease-in-out; |
| 1745 | } |
| 1746 | .mwai-chatgpt-theme .mwai-reply:hover .mwai-reply-actions { |
| 1747 | opacity: 1 !important; |
| 1748 | } |
| 1749 | .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions { |
| 1750 | opacity: 1 !important; |
| 1751 | } |
| 1752 | .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden { |
| 1753 | opacity: 1 !important; |
| 1754 | } |
| 1755 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container { |
| 1756 | background: var(--mwai-bubbleColor) !important; |
| 1757 | width: 60px !important; |
| 1758 | height: 60px !important; |
| 1759 | border-radius: 100% !important; |
| 1760 | transition: all 0.2s ease-out; |
| 1761 | display: flex !important; |
| 1762 | justify-content: center !important; |
| 1763 | align-items: center !important; |
| 1764 | } |
| 1765 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1766 | max-width: 50% !important; |
| 1767 | max-height: 50% !important; |
| 1768 | filter: none !important; |
| 1769 | } |
| 1770 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 1771 | transform: none !important; |
| 1772 | } |
| 1773 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji { |
| 1774 | font-size: 30px !important; |
| 1775 | } |
| 1776 | .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover { |
| 1777 | cursor: pointer; |
| 1778 | filter: brightness(1.1); |
| 1779 | } |
| 1780 | @media (max-width: 760px) { |
| 1781 | .mwai-chatgpt-theme.mwai-window.mwai-open { |
| 1782 | position: fixed; |
| 1783 | top: 0 !important; |
| 1784 | top: env(safe-area-inset-top, 0) !important; |
| 1785 | left: 0 !important; |
| 1786 | left: env(safe-area-inset-left, 0) !important; |
| 1787 | right: 0 !important; |
| 1788 | right: env(safe-area-inset-right, 0) !important; |
| 1789 | bottom: 0 !important; |
| 1790 | bottom: env(safe-area-inset-bottom, 0) !important; |
| 1791 | width: 100%; |
| 1792 | height: 100%; |
| 1793 | height: 100vh; |
| 1794 | height: 100dvh; |
| 1795 | max-height: 100%; |
| 1796 | max-width: 100%; |
| 1797 | margin: 0; |
| 1798 | z-index: 999999; |
| 1799 | background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor)); |
| 1800 | border-radius: 0 !important; |
| 1801 | box-shadow: none !important; |
| 1802 | border: none !important; |
| 1803 | } |
| 1804 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-window-box { |
| 1805 | width: 100%; |
| 1806 | height: 100%; |
| 1807 | display: flex; |
| 1808 | flex-direction: column; |
| 1809 | border-radius: 0 !important; |
| 1810 | box-shadow: none !important; |
| 1811 | border: none !important; |
| 1812 | background: transparent !important; |
| 1813 | } |
| 1814 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { |
| 1815 | display: none !important; |
| 1816 | } |
| 1817 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body { |
| 1818 | flex: 1; |
| 1819 | min-height: 0; |
| 1820 | display: flex; |
| 1821 | flex-direction: column; |
| 1822 | border-radius: 0 !important; |
| 1823 | overflow: hidden; |
| 1824 | background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor)); |
| 1825 | } |
| 1826 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 1827 | flex: 1; |
| 1828 | overflow-y: auto; |
| 1829 | max-height: none; |
| 1830 | } |
| 1831 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-input { |
| 1832 | flex-shrink: 0; |
| 1833 | } |
| 1834 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header { |
| 1835 | display: flex; |
| 1836 | position: sticky; |
| 1837 | top: 0; |
| 1838 | left: 0; |
| 1839 | right: 0; |
| 1840 | height: 50px; |
| 1841 | background: var(--mwai-backgroundHeaderColor); |
| 1842 | border-bottom: 1px solid var(--mwai-lineColor); |
| 1843 | padding: 0 15px; |
| 1844 | padding-left: calc(15px + env(safe-area-inset-left, 0)); |
| 1845 | padding-right: calc(15px + env(safe-area-inset-right, 0)); |
| 1846 | align-items: center; |
| 1847 | justify-content: space-between; |
| 1848 | z-index: 10; |
| 1849 | } |
| 1850 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title { |
| 1851 | font-size: 16px; |
| 1852 | font-weight: 600; |
| 1853 | color: var(--mwai-headerColor); |
| 1854 | flex: 1; |
| 1855 | overflow: hidden; |
| 1856 | text-overflow: ellipsis; |
| 1857 | white-space: nowrap; |
| 1858 | } |
| 1859 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close { |
| 1860 | all: unset; |
| 1861 | display: flex; |
| 1862 | align-items: center; |
| 1863 | justify-content: center; |
| 1864 | width: 32px; |
| 1865 | height: 32px; |
| 1866 | min-width: 32px; |
| 1867 | cursor: pointer; |
| 1868 | border-radius: 6px; |
| 1869 | transition: background-color 0.2s ease; |
| 1870 | -webkit-tap-highlight-color: transparent; |
| 1871 | } |
| 1872 | .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 { |
| 1873 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1874 | } |
| 1875 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg { |
| 1876 | width: 20px; |
| 1877 | height: 20px; |
| 1878 | } |
| 1879 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path { |
| 1880 | stroke: var(--mwai-headerColor); |
| 1881 | } |
| 1882 | .mwai-chatgpt-theme.mwai-window.mwai-open.mwai-center-open { |
| 1883 | top: 0 !important; |
| 1884 | left: 0 !important; |
| 1885 | transform: none !important; |
| 1886 | right: 0 !important; |
| 1887 | bottom: 0 !important; |
| 1888 | width: 100% !important; |
| 1889 | max-width: 100% !important; |
| 1890 | } |
| 1891 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input { |
| 1892 | flex-direction: column; |
| 1893 | } |
| 1894 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button { |
| 1895 | font-size: 16px; |
| 1896 | margin-left: 0; |
| 1897 | width: 100%; |
| 1898 | } |
| 1899 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text { |
| 1900 | width: 100%; |
| 1901 | } |
| 1902 | .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 { |
| 1903 | font-size: 16px; |
| 1904 | } |
| 1905 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body { |
| 1906 | display: flex; |
| 1907 | transition: opacity 200ms ease-in-out 0s; |
| 1908 | opacity: 1; |
| 1909 | height: 100%; |
| 1910 | max-height: inherit; |
| 1911 | } |
| 1912 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 1913 | flex: auto; |
| 1914 | max-height: none; |
| 1915 | } |
| 1916 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button { |
| 1917 | display: none !important; |
| 1918 | } |
| 1919 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger { |
| 1920 | display: none; |
| 1921 | } |
| 1922 | } |
| 1923 | @keyframes mwai-button-spinner { |
| 1924 | from { |
| 1925 | transform: rotate(0turn); |
| 1926 | } |
| 1927 | to { |
| 1928 | transform: rotate(1turn); |
| 1929 | } |
| 1930 | } |
| 1931 | .mwai-chatgpt-theme button:not(.mwai-busy):before { |
| 1932 | content: none !important; |
| 1933 | display: none !important; |
| 1934 | animation: none !important; |
| 1935 | } |
| 1936 | .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window), |
| 1937 | .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open { |
| 1938 | top: 32px; |
| 1939 | } |
| 1940 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line { |
| 1941 | display: flex; |
| 1942 | align-items: flex-start; |
| 1943 | color: var(--mwai-terminal-active-color, var(--mwai-fontColor)); |
| 1944 | } |
| 1945 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt { |
| 1946 | color: var(--mwai-terminal-active-color, currentColor); |
| 1947 | margin-left: -4px; |
| 1948 | margin-right: 4px; |
| 1949 | display: inline-flex; |
| 1950 | align-items: center; |
| 1951 | height: 1.5em; |
| 1952 | line-height: 1.2; |
| 1953 | flex-shrink: 0; |
| 1954 | align-self: flex-start; |
| 1955 | } |
| 1956 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg { |
| 1957 | display: block; |
| 1958 | width: 1.4em; |
| 1959 | height: 1.4em; |
| 1960 | } |
| 1961 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper { |
| 1962 | flex: 1; |
| 1963 | display: inline; |
| 1964 | white-space: pre-wrap; |
| 1965 | word-wrap: break-word; |
| 1966 | word-break: break-word; |
| 1967 | } |
| 1968 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed { |
| 1969 | white-space: pre-wrap; |
| 1970 | word-wrap: break-word; |
| 1971 | word-break: break-word; |
| 1972 | } |
| 1973 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor { |
| 1974 | display: inline-block; |
| 1975 | width: 8px; |
| 1976 | height: 16px; |
| 1977 | background: currentColor; |
| 1978 | vertical-align: text-bottom; |
| 1979 | margin-left: 2px; |
| 1980 | transition: opacity 0.2s ease; |
| 1981 | opacity: 0.35; |
| 1982 | animation: none; |
| 1983 | } |
| 1984 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active { |
| 1985 | opacity: 1; |
| 1986 | animation: mwai-caret-blink 1s steps(2, start) infinite; |
| 1987 | } |
| 1988 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing { |
| 1989 | opacity: 1; |
| 1990 | animation: none; |
| 1991 | } |
| 1992 | .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive { |
| 1993 | opacity: 0.35; |
| 1994 | animation: none; |
| 1995 | } |
| 1996 | .mwai-chatgpt-theme pre code.hljs { |
| 1997 | display: block; |
| 1998 | overflow-x: auto; |
| 1999 | padding: 1em; |
| 2000 | } |
| 2001 | .mwai-chatgpt-theme code.hljs { |
| 2002 | padding: 3px 5px; |
| 2003 | } |
| 2004 | .mwai-chatgpt-theme .hljs { |
| 2005 | color: #fff; |
| 2006 | } |
| 2007 | .mwai-chatgpt-theme .hljs-subst { |
| 2008 | color: #fff; |
| 2009 | } |
| 2010 | .mwai-chatgpt-theme .hljs-comment { |
| 2011 | color: #999; |
| 2012 | } |
| 2013 | .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 { |
| 2014 | color: #88aece; |
| 2015 | } |
| 2016 | .mwai-chatgpt-theme .hljs-attribute { |
| 2017 | color: #c59bc1; |
| 2018 | } |
| 2019 | .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 { |
| 2020 | color: #f08d49; |
| 2021 | } |
| 2022 | .mwai-chatgpt-theme .hljs-selector-class { |
| 2023 | color: #88aece; |
| 2024 | } |
| 2025 | .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 { |
| 2026 | color: #b5bd68; |
| 2027 | } |
| 2028 | .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo { |
| 2029 | color: #88aece; |
| 2030 | } |
| 2031 | .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title { |
| 2032 | color: #f08d49; |
| 2033 | } |
| 2034 | .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code { |
| 2035 | color: #ccc; |
| 2036 | } |
| 2037 | .mwai-chatgpt-theme .hljs-meta .hljs-string { |
| 2038 | color: #b5bd68; |
| 2039 | } |
| 2040 | .mwai-chatgpt-theme .hljs-deletion { |
| 2041 | color: #de7176; |
| 2042 | } |
| 2043 | .mwai-chatgpt-theme .hljs-addition { |
| 2044 | color: #76c490; |
| 2045 | } |
| 2046 | .mwai-chatgpt-theme .hljs-emphasis { |
| 2047 | font-style: italic; |
| 2048 | } |
| 2049 | .mwai-chatgpt-theme .hljs-strong { |
| 2050 | font-weight: 700; |
| 2051 | } |
| 2052 | .mwai-chatgpt-theme .mwai-reply-actions { |
| 2053 | position: absolute; |
| 2054 | border-radius: 5px; |
| 2055 | top: 10px; |
| 2056 | right: 10px; |
| 2057 | display: flex; |
| 2058 | align-items: center; |
| 2059 | padding: 2px 2px; |
| 2060 | z-index: 100; |
| 2061 | background: var(--mwai-backgroundPrimaryColor); |
| 2062 | box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); |
| 2063 | z-index: 100; |
| 2064 | } |
| 2065 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button { |
| 2066 | fill: var(--mwai-fontColor); |
| 2067 | padding: 3px 5px; |
| 2068 | width: 24px; |
| 2069 | height: 24px; |
| 2070 | background: var(--mwai-backgroundPrimaryColor); |
| 2071 | cursor: pointer; |
| 2072 | border-radius: 5px; |
| 2073 | } |
| 2074 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover { |
| 2075 | filter: brightness(1.2); |
| 2076 | } |
| 2077 | .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden { |
| 2078 | opacity: 0; |
| 2079 | } |
| 2080 | .mwai-chatgpt-theme .mwai-realtime { |
| 2081 | padding: var(--mwai-spacing); |
| 2082 | } |
| 2083 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer { |
| 2084 | display: flex; |
| 2085 | justify-content: center; |
| 2086 | align-items: center; |
| 2087 | } |
| 2088 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer hr { |
| 2089 | width: 100px; |
| 2090 | margin-right: var(--mwai-spacing); |
| 2091 | margin-left: var(--mwai-spacing); |
| 2092 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2093 | } |
| 2094 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer .mwai-animation { |
| 2095 | background: var(--mwai-backgroundPrimaryColor); |
| 2096 | } |
| 2097 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls { |
| 2098 | display: flex; |
| 2099 | justify-content: center; |
| 2100 | align-items: center; |
| 2101 | margin-bottom: var(--mwai-spacing); |
| 2102 | } |
| 2103 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls > * + * { |
| 2104 | margin-left: 10px; |
| 2105 | } |
| 2106 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button { |
| 2107 | border-radius: 100%; |
| 2108 | width: 50px; |
| 2109 | height: 50px; |
| 2110 | margin: 5px; |
| 2111 | padding: 5px; |
| 2112 | display: flex; |
| 2113 | align-items: center; |
| 2114 | justify-content: center; |
| 2115 | color: var(--mwai-fontColor); |
| 2116 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2117 | background: none; |
| 2118 | cursor: pointer; |
| 2119 | transition: all 0.2s ease-out; |
| 2120 | min-width: inherit; |
| 2121 | max-width: inherit; |
| 2122 | } |
| 2123 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) { |
| 2124 | background: var(--mwai-backgroundPrimaryColor); |
| 2125 | } |
| 2126 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:disabled { |
| 2127 | opacity: 0.5; |
| 2128 | cursor: not-allowed; |
| 2129 | background: none; |
| 2130 | } |
| 2131 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button.mwai-active { |
| 2132 | border: 2px solid var(--mwai-fontColor); |
| 2133 | } |
| 2134 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript { |
| 2135 | margin: var(--mwai-spacing); |
| 2136 | margin-top: 0; |
| 2137 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2138 | padding: calc(var(--mwai-spacing) / 2); |
| 2139 | border-radius: var(--mwai-borderRadius); |
| 2140 | display: flex; |
| 2141 | justify-content: center; |
| 2142 | font-size: 80%; |
| 2143 | } |
| 2144 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics { |
| 2145 | display: grid; |
| 2146 | grid-template-columns: 1fr 1fr 1fr; |
| 2147 | grid-row-gap: 10px; |
| 2148 | font-size: 14px; |
| 2149 | } |
| 2150 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div { |
| 2151 | display: flex; |
| 2152 | flex-direction: column; |
| 2153 | align-items: center; |
| 2154 | } |
| 2155 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label { |
| 2156 | font-size: 11px; |
| 2157 | opacity: 0.5; |
| 2158 | text-transform: uppercase; |
| 2159 | } |
| 2160 | .mwai-chatgpt-theme .mwai-realtime .mwai-options { |
| 2161 | margin-top: var(--mwai-spacing); |
| 2162 | display: flex; |
| 2163 | align-items: center; |
| 2164 | } |
| 2165 | .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option { |
| 2166 | cursor: pointer; |
| 2167 | opacity: 0.5; |
| 2168 | margin-right: 2px; |
| 2169 | } |
| 2170 | .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active { |
| 2171 | opacity: 1; |
| 2172 | } |
| 2173 | .mwai-chatgpt-theme.mwai-discussions { |
| 2174 | border-radius: var(--mwai-borderRadius); |
| 2175 | background: var(--mwai-backgroundHeaderColor); |
| 2176 | overflow: hidden; |
| 2177 | } |
| 2178 | .mwai-chatgpt-theme.mwai-discussions * { |
| 2179 | box-sizing: border-box; |
| 2180 | } |
| 2181 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion { |
| 2182 | display: flex; |
| 2183 | position: relative; |
| 2184 | padding-left: calc(var(--mwai-spacing) / 2); |
| 2185 | padding-right: calc(var(--mwai-spacing) / 2); |
| 2186 | padding-bottom: calc(var(--mwai-spacing) / 2); |
| 2187 | color: var(--mwai-conversationsTextColor); |
| 2188 | opacity: 0.65; |
| 2189 | align-items: center; |
| 2190 | } |
| 2191 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-content { |
| 2192 | flex: 1; |
| 2193 | padding: 5px 10px; |
| 2194 | overflow: hidden; |
| 2195 | } |
| 2196 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title { |
| 2197 | display: block; |
| 2198 | overflow: hidden; |
| 2199 | text-overflow: ellipsis; |
| 2200 | white-space: nowrap; |
| 2201 | font-size: var(--mwai-fontSize); |
| 2202 | margin-bottom: 4px; |
| 2203 | } |
| 2204 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info { |
| 2205 | display: flex; |
| 2206 | gap: 12px; |
| 2207 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 2208 | opacity: 0.7; |
| 2209 | } |
| 2210 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item { |
| 2211 | display: flex; |
| 2212 | align-items: center; |
| 2213 | gap: 4px; |
| 2214 | } |
| 2215 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg { |
| 2216 | opacity: 0.6; |
| 2217 | } |
| 2218 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions { |
| 2219 | position: absolute; |
| 2220 | top: 50%; |
| 2221 | right: calc(var(--mwai-spacing) / 2); |
| 2222 | transform: translateY(-50%); |
| 2223 | opacity: 0; |
| 2224 | transition: opacity 0.2s ease-out; |
| 2225 | z-index: 100; |
| 2226 | } |
| 2227 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon { |
| 2228 | width: 28px; |
| 2229 | height: 28px; |
| 2230 | display: flex; |
| 2231 | align-items: center; |
| 2232 | justify-content: center; |
| 2233 | cursor: pointer; |
| 2234 | color: var(--mwai-conversationsTextColor); |
| 2235 | } |
| 2236 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active { |
| 2237 | cursor: pointer; |
| 2238 | } |
| 2239 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content { |
| 2240 | background: var(--mwai-backgroundPrimaryColor); |
| 2241 | border-radius: var(--mwai-borderRadius); |
| 2242 | opacity: 1; |
| 2243 | } |
| 2244 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover { |
| 2245 | cursor: pointer; |
| 2246 | } |
| 2247 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content { |
| 2248 | background: var(--mwai-backgroundPrimaryColor); |
| 2249 | border-radius: var(--mwai-borderRadius); |
| 2250 | opacity: 1; |
| 2251 | } |
| 2252 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions { |
| 2253 | opacity: 1; |
| 2254 | } |
| 2255 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions { |
| 2256 | opacity: 1; |
| 2257 | } |
| 2258 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child { |
| 2259 | margin-top: calc(var(--mwai-spacing) / 2); |
| 2260 | } |
| 2261 | .mwai-chatgpt-theme.mwai-discussions .mwai-header { |
| 2262 | color: var(--mwai-headerColor); |
| 2263 | padding: var(--mwai-spacing); |
| 2264 | display: flex; |
| 2265 | justify-content: space-between; |
| 2266 | align-items: center; |
| 2267 | gap: 10px; |
| 2268 | } |
| 2269 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button { |
| 2270 | background: var(--mwai-backgroundPrimaryColor); |
| 2271 | color: var(--mwai-fontColor); |
| 2272 | border: none; |
| 2273 | padding: 8px 16px; |
| 2274 | border-radius: var(--mwai-borderRadius); |
| 2275 | cursor: pointer; |
| 2276 | transition: all 0.2s ease-out; |
| 2277 | } |
| 2278 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) { |
| 2279 | background: var(--mwai-iconTextBackgroundColor); |
| 2280 | } |
| 2281 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled { |
| 2282 | opacity: 0.5; |
| 2283 | cursor: not-allowed; |
| 2284 | } |
| 2285 | .mwai-chatgpt-theme.mwai-discussions .mwai-header .mwai-refresh-btn { |
| 2286 | padding: 8px; |
| 2287 | display: flex; |
| 2288 | align-items: center; |
| 2289 | justify-content: center; |
| 2290 | } |
| 2291 | .mwai-chatgpt-theme.mwai-discussions .mwai-body { |
| 2292 | background: var(--mwai-conversationsBackgroundColor); |
| 2293 | list-style: none; |
| 2294 | padding: 0; |
| 2295 | margin: 0; |
| 2296 | position: relative; |
| 2297 | min-height: 200px; |
| 2298 | display: flex; |
| 2299 | flex-direction: column; |
| 2300 | border-radius: 0; |
| 2301 | z-index: 1; |
| 2302 | } |
| 2303 | .mwai-chatgpt-theme.mwai-discussions .mwai-loading-overlay { |
| 2304 | position: absolute; |
| 2305 | top: 0; |
| 2306 | left: 0; |
| 2307 | right: 0; |
| 2308 | bottom: 0; |
| 2309 | background: var(--mwai-conversationsBackgroundColor); |
| 2310 | opacity: 0.9; |
| 2311 | display: flex; |
| 2312 | align-items: center; |
| 2313 | justify-content: center; |
| 2314 | z-index: 10; |
| 2315 | } |
| 2316 | .mwai-chatgpt-theme.mwai-discussions .mwai-spinner { |
| 2317 | animation: spin 1s linear infinite; |
| 2318 | color: var(--mwai-fontColor); |
| 2319 | } |
| 2320 | @keyframes spin { |
| 2321 | from { |
| 2322 | transform: rotate(0deg); |
| 2323 | } |
| 2324 | to { |
| 2325 | transform: rotate(360deg); |
| 2326 | } |
| 2327 | } |
| 2328 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination { |
| 2329 | background: var(--mwai-backgroundHeaderColor); |
| 2330 | padding: var(--mwai-spacing); |
| 2331 | display: flex; |
| 2332 | justify-content: space-between; |
| 2333 | align-items: center; |
| 2334 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2335 | } |
| 2336 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button { |
| 2337 | background: var(--mwai-backgroundPrimaryColor); |
| 2338 | color: var(--mwai-fontColor); |
| 2339 | border: none; |
| 2340 | padding: 8px 12px; |
| 2341 | border-radius: var(--mwai-borderRadius); |
| 2342 | cursor: pointer; |
| 2343 | transition: all 0.2s ease-out; |
| 2344 | display: flex; |
| 2345 | align-items: center; |
| 2346 | justify-content: center; |
| 2347 | } |
| 2348 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) { |
| 2349 | background: var(--mwai-iconTextBackgroundColor); |
| 2350 | } |
| 2351 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled { |
| 2352 | opacity: 0.3; |
| 2353 | cursor: not-allowed; |
| 2354 | } |
| 2355 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination span { |
| 2356 | color: var(--mwai-headerColor); |
| 2357 | font-size: var(--mwai-fontSize); |
| 2358 | font-weight: 500; |
| 2359 | } |
| 2360 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination .mwai-page-indicator { |
| 2361 | color: var(--mwai-headerColor); |
| 2362 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 2363 | font-weight: 400; |
| 2364 | opacity: 0.8; |
| 2365 | } |
| 2366 | .mwai-chatgpt-theme .mwai-chunks { |
| 2367 | background: rgba(255, 255, 255, 0.05); |
| 2368 | } |
| 2369 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header { |
| 2370 | color: #9ca3af; |
| 2371 | } |
| 2372 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle { |
| 2373 | border-color: rgba(255, 255, 255, 0.1); |
| 2374 | color: #9ca3af; |
| 2375 | } |
| 2376 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover { |
| 2377 | background: rgba(255, 255, 255, 0.05); |
| 2378 | color: #e5e7eb; |
| 2379 | } |
| 2380 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk { |
| 2381 | background: rgba(255, 255, 255, 0.08); |
| 2382 | } |
| 2383 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 2384 | color: #e5e7eb; |
| 2385 | } |
| 2386 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 2387 | color: #e5e7eb; |
| 2388 | } |
| 2389 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 2390 | color: #e5e7eb; |
| 2391 | } |
| 2392 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 2393 | background: rgba(0, 0, 0, 0.2); |
| 2394 | } |
| 2395 | .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 2396 | color: #d1d5db; |
| 2397 | } |
| 2398 | |
| 2399 | @media (max-width: 760px) { |
| 2400 | .mwai-chatgpt-theme .mwai-input { |
| 2401 | flex-direction: column; |
| 2402 | padding: var(--mwai-spacing); |
| 2403 | background: var(--mwai-backgroundSecondaryColor); |
| 2404 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2405 | } |
| 2406 | .mwai-chatgpt-theme .mwai-input .mwai-input-submit { |
| 2407 | margin: 15px 0 0 0; |
| 2408 | height: 40px; |
| 2409 | width: 100%; |
| 2410 | } |
| 2411 | .mwai-chatgpt-theme .mwai-name { |
| 2412 | margin-right: 0; |
| 2413 | max-width: inherit; |
| 2414 | } |
| 2415 | } |
| 2416 | |
| 2417 | .mwai-chatgpt-theme.mwai-discussions .mwai-header { |
| 2418 | background: var(--mwai-backgroundSecondaryColor); |
| 2419 | color: var(--mwai-fontColor); |
| 2420 | border-bottom: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2421 | } |
| 2422 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button { |
| 2423 | background: var(--mwai-backgroundSecondaryColor); |
| 2424 | color: var(--mwai-fontColor); |
| 2425 | border: 1px solid var(--mwai-borderColor); |
| 2426 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 2427 | border-radius: 5px; |
| 2428 | cursor: pointer; |
| 2429 | transition: all 0.2s ease-out; |
| 2430 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 2431 | margin-left: 0; |
| 2432 | } |
| 2433 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) { |
| 2434 | background: var(--mwai-backgroundPrimaryColor); |
| 2435 | } |
| 2436 | .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled { |
| 2437 | opacity: 0.5; |
| 2438 | cursor: not-allowed; |
| 2439 | } |
| 2440 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination { |
| 2441 | background: var(--mwai-backgroundSecondaryColor); |
| 2442 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2443 | } |
| 2444 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button { |
| 2445 | background: var(--mwai-backgroundSecondaryColor); |
| 2446 | color: var(--mwai-fontColor); |
| 2447 | border: 1px solid var(--mwai-borderColor); |
| 2448 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 2449 | border-radius: 5px; |
| 2450 | cursor: pointer; |
| 2451 | transition: all 0.2s ease-out; |
| 2452 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 2453 | margin-left: 0; |
| 2454 | } |
| 2455 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) { |
| 2456 | background: var(--mwai-backgroundPrimaryColor); |
| 2457 | } |
| 2458 | .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled { |
| 2459 | opacity: 0.5; |
| 2460 | cursor: not-allowed; |
| 2461 | } |
| 2462 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer, |
| 2463 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination { |
| 2464 | background: var(--mwai-backgroundSecondaryColor); |
| 2465 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2466 | } |
| 2467 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button, |
| 2468 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button { |
| 2469 | width: 100%; |
| 2470 | background: var(--mwai-backgroundSecondaryColor); |
| 2471 | color: var(--mwai-fontColor); |
| 2472 | border: 1px solid var(--mwai-borderColor); |
| 2473 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 2474 | border-radius: 5px; |
| 2475 | cursor: pointer; |
| 2476 | transition: all 0.2s ease-out; |
| 2477 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 2478 | } |
| 2479 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover, |
| 2480 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover { |
| 2481 | background: var(--mwai-backgroundPrimaryColor); |
| 2482 | } |
| 2483 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled, |
| 2484 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled { |
| 2485 | opacity: 0.5; |
| 2486 | cursor: not-allowed; |
| 2487 | } |
| 2488 | |
| 2489 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu { |
| 2490 | background: var(--mwai-backgroundSecondaryColor); |
| 2491 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2492 | color: var(--mwai-fontColor); |
| 2493 | } |
| 2494 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item:hover { |
| 2495 | background-color: var(--mwai-backgroundPrimaryColor); |
| 2496 | } |
| 2497 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 2498 | color: var(--mwai-errorTextColor); |
| 2499 | } |
| 2500 | .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 2501 | background-color: var(--mwai-errorBackgroundColor); |
| 2502 | } |
| 2503 |