icons
2 years ago
sass
1 year ago
chatgpt.css
1 year ago
messages.css
1 year ago
timeless.css
1 year ago
chatgpt.css
1360 lines
| 1 | .mwai-chatgpt-theme { |
| 2 | --mwai-spacing: 15px; |
| 3 | --mwai-fontSize: 15px; |
| 4 | --mwai-lineHeight: 1.5; |
| 5 | --mwai-borderRadius: 10px; |
| 6 | --mwai-width: 460px; |
| 7 | --mwai-maxHeight: 40vh; |
| 8 | --mwai-iconTextColor: white; |
| 9 | --mwai-iconTextBackgroundColor: #343541; |
| 10 | --mwai-fontColor: #FFFFFF; |
| 11 | --mwai-backgroundPrimaryColor: #454654; |
| 12 | --mwai-backgroundHeaderColor: #343541; |
| 13 | --mwai-bubbleColor: #343541; |
| 14 | --mwai-headerButtonsColor: #FFFFFF; |
| 15 | --mwai-conversationsBackgroundColor: #202123; |
| 16 | --mwai-conversationsTextColor: #FFFFFF; |
| 17 | --mwai-backgroundSecondaryColor: #343541; |
| 18 | --mwai-errorBackgroundColor: #6d2f2a; |
| 19 | --mwai-errorTextColor: #FFFFFF; |
| 20 | } |
| 21 | |
| 22 | .mwai-chatgpt-theme * { |
| 23 | box-sizing: border-box; |
| 24 | } |
| 25 | |
| 26 | .mwai-chatgpt-theme .mwai-content { |
| 27 | background: var(--mwai-backgroundSecondaryColor); |
| 28 | color: var(--mwai-fontColor); |
| 29 | font-size: var(--mwai-fontSize); |
| 30 | overflow: hidden; |
| 31 | display: flex; |
| 32 | flex-direction: column; |
| 33 | border-radius: var(--mwai-borderRadius); |
| 34 | } |
| 35 | |
| 36 | .mwai-chatgpt-theme .mwai-shortcuts { |
| 37 | display: flex; |
| 38 | justify-content: center; |
| 39 | margin: var(--mwai-spacing); |
| 40 | } |
| 41 | |
| 42 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut { |
| 43 | margin-right: calc(var(--mwai-spacing) / 2); |
| 44 | display: flex; |
| 45 | } |
| 46 | |
| 47 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-success { |
| 48 | color: #4caf50; |
| 49 | border: 1px solid #4caf50; |
| 50 | } |
| 51 | |
| 52 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-danger { |
| 53 | color: #f44336; |
| 54 | border: 1px solid #f44336; |
| 55 | } |
| 56 | |
| 57 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-warning { |
| 58 | color: #ff9800; |
| 59 | border: 1px solid #ff9800; |
| 60 | } |
| 61 | |
| 62 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-info { |
| 63 | color: #2196f3; |
| 64 | border: 1px solid #2196f3; |
| 65 | } |
| 66 | |
| 67 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon { |
| 68 | margin-right: 5px; |
| 69 | } |
| 70 | |
| 71 | .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img { |
| 72 | max-height: 16px; |
| 73 | width: auto; |
| 74 | } |
| 75 | |
| 76 | .mwai-chatgpt-theme .mwai-blocks { |
| 77 | display: flex; |
| 78 | flex-direction: column; |
| 79 | padding: var(--mwai-spacing); |
| 80 | } |
| 81 | |
| 82 | .mwai-chatgpt-theme .mwai-blocks .mwai-block p:first-child { |
| 83 | margin-top: 0; |
| 84 | } |
| 85 | |
| 86 | .mwai-chatgpt-theme .mwai-blocks button { |
| 87 | cursor: pointer; |
| 88 | } |
| 89 | |
| 90 | .mwai-chatgpt-theme .mwai-conversation { |
| 91 | overflow: auto; |
| 92 | } |
| 93 | |
| 94 | .mwai-chatgpt-theme .mwai-reply { |
| 95 | display: flex; |
| 96 | padding: var(--mwai-spacing); |
| 97 | position: relative; |
| 98 | line-height: var(--mwai-lineHeight); |
| 99 | transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| 100 | } |
| 101 | |
| 102 | .mwai-chatgpt-theme .mwai-reply.mwai-fade-out { |
| 103 | opacity: 0; |
| 104 | } |
| 105 | |
| 106 | .mwai-chatgpt-theme .mwai-reply.mwai-user { |
| 107 | background: var(--mwai-backgroundSecondaryColor); |
| 108 | } |
| 109 | |
| 110 | .mwai-chatgpt-theme .mwai-reply.mwai-ai { |
| 111 | background: var(--mwai-backgroundPrimaryColor); |
| 112 | } |
| 113 | |
| 114 | .mwai-chatgpt-theme .mwai-reply .mwai-name { |
| 115 | color: var(--mwai-fontColor); |
| 116 | margin-right: 5px; |
| 117 | } |
| 118 | |
| 119 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text { |
| 120 | opacity: 0.50; |
| 121 | white-space: nowrap; |
| 122 | } |
| 123 | |
| 124 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar { |
| 125 | margin-right: 10px; |
| 126 | display: flex; |
| 127 | align-items: center; |
| 128 | justify-content: center; |
| 129 | border-radius: 5px; |
| 130 | overflow: hidden; |
| 131 | } |
| 132 | |
| 133 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar img { |
| 134 | width: 32px; |
| 135 | height: 32px; |
| 136 | min-width: 32px; |
| 137 | min-height: 32px; |
| 138 | } |
| 139 | |
| 140 | .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img { |
| 141 | width: 28px; |
| 142 | height: 28px; |
| 143 | min-width: 28px; |
| 144 | min-height: 28px; |
| 145 | filter: brightness(0) invert(1); |
| 146 | } |
| 147 | |
| 148 | .mwai-chatgpt-theme .mwai-reply .mwai-text { |
| 149 | flex: auto; |
| 150 | font-size: var(--mwai-fontSize); |
| 151 | line-height: var(--mwai-lineHeight); |
| 152 | color: var(--mwai-fontColor); |
| 153 | } |
| 154 | |
| 155 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-image { |
| 156 | display: block; |
| 157 | max-width: 250px; |
| 158 | height: auto; |
| 159 | margin: 0 0 10px 0; |
| 160 | border-radius: var(--mwai-borderRadius); |
| 161 | } |
| 162 | |
| 163 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-filename { |
| 164 | display: flex; |
| 165 | text-decoration: none; |
| 166 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 167 | border-radius: var(--mwai-borderRadius); |
| 168 | padding: 5px 10px; |
| 169 | margin-bottom: 10px; |
| 170 | } |
| 171 | |
| 172 | .mwai-chatgpt-theme .mwai-reply .mwai-text * { |
| 173 | font-size: var(--mwai-fontSize); |
| 174 | } |
| 175 | |
| 176 | .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:first-child { |
| 177 | margin-top: 0; |
| 178 | } |
| 179 | |
| 180 | .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:last-child { |
| 181 | margin-bottom: 0; |
| 182 | } |
| 183 | |
| 184 | .mwai-chatgpt-theme .mwai-reply .mwai-text a { |
| 185 | color: #2196f3; |
| 186 | } |
| 187 | |
| 188 | .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 { |
| 189 | color: var(--mwai-fontColor); |
| 190 | } |
| 191 | |
| 192 | .mwai-chatgpt-theme .mwai-reply .mwai-text h1 { |
| 193 | font-size: 200%; |
| 194 | } |
| 195 | |
| 196 | .mwai-chatgpt-theme .mwai-reply .mwai-text h2 { |
| 197 | font-size: 160%; |
| 198 | } |
| 199 | |
| 200 | .mwai-chatgpt-theme .mwai-reply .mwai-text h3 { |
| 201 | font-size: 140%; |
| 202 | } |
| 203 | |
| 204 | .mwai-chatgpt-theme .mwai-reply .mwai-text h4 { |
| 205 | font-size: 120%; |
| 206 | } |
| 207 | |
| 208 | .mwai-chatgpt-theme .mwai-reply .mwai-text p code { |
| 209 | background: var(--mwai-backgroundSecondaryColor); |
| 210 | padding: 2px 6px; |
| 211 | border-radius: 8px; |
| 212 | font-size: 90%; |
| 213 | font-family: system-ui; |
| 214 | } |
| 215 | |
| 216 | .mwai-chatgpt-theme .mwai-reply .mwai-text pre { |
| 217 | color: var(--mwai-fontColor); |
| 218 | border-radius: var(--mwai-borderRadius); |
| 219 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 220 | break-after: auto; |
| 221 | white-space: pre-wrap; |
| 222 | font-size: 95%; |
| 223 | max-width: 100%; |
| 224 | width: 100%; |
| 225 | font-family: system-ui; |
| 226 | background: hsl(0 0% 0% / 30%); |
| 227 | } |
| 228 | |
| 229 | .mwai-chatgpt-theme .mwai-reply .mwai-text pre code { |
| 230 | padding: 0 !important; |
| 231 | font-family: system-ui; |
| 232 | } |
| 233 | |
| 234 | .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol { |
| 235 | padding: 0; |
| 236 | } |
| 237 | |
| 238 | .mwai-chatgpt-theme .mwai-reply .mwai-text ol { |
| 239 | margin: 0 0 0 20px; |
| 240 | } |
| 241 | |
| 242 | .mwai-chatgpt-theme .mwai-reply .mwai-text table { |
| 243 | width: 100%; |
| 244 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 245 | border-collapse: collapse; |
| 246 | } |
| 247 | |
| 248 | .mwai-chatgpt-theme .mwai-reply .mwai-text thead { |
| 249 | background: var(--mwai-backgroundSecondaryColor); |
| 250 | } |
| 251 | |
| 252 | .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td { |
| 253 | padding: 2px 5px; |
| 254 | } |
| 255 | |
| 256 | .mwai-chatgpt-theme .mwai-reply .mwai-text td { |
| 257 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 258 | } |
| 259 | |
| 260 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter { |
| 261 | display: inline-block; |
| 262 | } |
| 263 | |
| 264 | .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child { |
| 265 | margin-top: 0; |
| 266 | } |
| 267 | |
| 268 | .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child { |
| 269 | margin-top: 0; |
| 270 | } |
| 271 | |
| 272 | .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child { |
| 273 | margin-bottom: 0; |
| 274 | } |
| 275 | |
| 276 | .mwai-chatgpt-theme .mwai-reply.mwai-system { |
| 277 | background: var(--mwai-errorBackgroundColor); |
| 278 | color: var(--mwai-errorFontColor); |
| 279 | } |
| 280 | |
| 281 | .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name { |
| 282 | display: none; |
| 283 | } |
| 284 | |
| 285 | .mwai-chatgpt-theme .mwai-input { |
| 286 | display: flex; |
| 287 | padding: var(--mwai-spacing); |
| 288 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 289 | } |
| 290 | |
| 291 | .mwai-chatgpt-theme .mwai-input .mwai-input-text { |
| 292 | flex: auto; |
| 293 | position: relative; |
| 294 | background: var(--mwai-backgroundPrimaryColor); |
| 295 | border-radius: var(--mwai-borderRadius); |
| 296 | overflow: hidden; |
| 297 | display: flex; |
| 298 | padding: calc(var(--mwai-spacing) / 2); |
| 299 | } |
| 300 | |
| 301 | .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked { |
| 302 | background: var(--mwai-errorBackgroundColor); |
| 303 | } |
| 304 | |
| 305 | .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging { |
| 306 | filter: brightness(1.2); |
| 307 | } |
| 308 | |
| 309 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea { |
| 310 | background: inherit; |
| 311 | color: var(--mwai-fontColor); |
| 312 | padding-left: calc(var(--mwai-spacing) / 2); |
| 313 | flex: auto; |
| 314 | border: none; |
| 315 | font-size: var(--mwai-fontSize); |
| 316 | line-height: var(--mwai-lineHeight); |
| 317 | resize: none; |
| 318 | font-family: inherit; |
| 319 | margin: 0; |
| 320 | overflow: hidden; |
| 321 | min-height: inherit; |
| 322 | } |
| 323 | |
| 324 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus { |
| 325 | outline: none; |
| 326 | box-shadow: none; |
| 327 | } |
| 328 | |
| 329 | .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder { |
| 330 | color: var(--mwai-fontColor); |
| 331 | opacity: 0.5; |
| 332 | } |
| 333 | |
| 334 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone { |
| 335 | display: flex; |
| 336 | justify-content: center; |
| 337 | align-items: center; |
| 338 | } |
| 339 | |
| 340 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg { |
| 341 | opacity: 0.5; |
| 342 | filter: grayscale(100%); |
| 343 | transition: opacity 0.3s ease-out; |
| 344 | cursor: pointer; |
| 345 | } |
| 346 | |
| 347 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg { |
| 348 | opacity: 1; |
| 349 | } |
| 350 | |
| 351 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg { |
| 352 | opacity: 0; |
| 353 | cursor: not-allowed; |
| 354 | } |
| 355 | |
| 356 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon { |
| 357 | background: url("icons/dark-icons.svg"); |
| 358 | background-size: 500%; |
| 359 | background-position: 0px -96px; |
| 360 | width: 32px; |
| 361 | height: 32px; |
| 362 | z-index: 100; |
| 363 | } |
| 364 | |
| 365 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add { |
| 366 | background-position: -32px -96px; |
| 367 | } |
| 368 | |
| 369 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add { |
| 370 | background-position: -32px 0px; |
| 371 | } |
| 372 | |
| 373 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up { |
| 374 | background-position: -64px 0px; |
| 375 | } |
| 376 | |
| 377 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del { |
| 378 | background-position: -96px 0px; |
| 379 | } |
| 380 | |
| 381 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok { |
| 382 | background-position: -128px 0px; |
| 383 | } |
| 384 | |
| 385 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add { |
| 386 | background-position: -32px -64px; |
| 387 | } |
| 388 | |
| 389 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up { |
| 390 | background-position: -64px -64px; |
| 391 | } |
| 392 | |
| 393 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del { |
| 394 | background-position: -96px -64px; |
| 395 | } |
| 396 | |
| 397 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok { |
| 398 | background-position: -128px -64px; |
| 399 | } |
| 400 | |
| 401 | .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress { |
| 402 | position: absolute; |
| 403 | font-size: 8px; |
| 404 | width: 21px; |
| 405 | top: 24px; |
| 406 | left: 23px; |
| 407 | overflow: hidden; |
| 408 | text-align: center; |
| 409 | font-weight: bold; |
| 410 | color: white; |
| 411 | } |
| 412 | |
| 413 | .mwai-chatgpt-theme .mwai-input button { |
| 414 | margin-left: var(--mwai-spacing); |
| 415 | } |
| 416 | |
| 417 | .mwai-chatgpt-theme .mwai-compliance { |
| 418 | opacity: 0.50; |
| 419 | margin-top: calc(-1 * var(--mwai-spacing)); |
| 420 | padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing); |
| 421 | font-size: smaller; |
| 422 | color: var(--mwai-fontColor); |
| 423 | text-align: left; |
| 424 | } |
| 425 | |
| 426 | .mwai-chatgpt-theme .mwai-gallery { |
| 427 | display: grid; |
| 428 | grid-template-columns: repeat(3, 1fr); |
| 429 | grid-gap: 5px; |
| 430 | } |
| 431 | |
| 432 | .mwai-chatgpt-theme .mwai-gallery img { |
| 433 | width: 100%; |
| 434 | } |
| 435 | |
| 436 | .mwai-chatgpt-theme button { |
| 437 | color: var(--mwai-fontColor); |
| 438 | background: var(--mwai-backgroundSecondaryColor); |
| 439 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 440 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 441 | min-width: 70px; |
| 442 | border-radius: 5px; |
| 443 | cursor: pointer; |
| 444 | transition: all 0.2s ease-out; |
| 445 | display: flex; |
| 446 | align-items: center; |
| 447 | justify-content: center; |
| 448 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 449 | position: relative; |
| 450 | } |
| 451 | |
| 452 | .mwai-chatgpt-theme button .mwai-timer { |
| 453 | margin-left: 5px; |
| 454 | margin-right: 5px; |
| 455 | font-size: 11px; |
| 456 | } |
| 457 | |
| 458 | .mwai-chatgpt-theme button:hover { |
| 459 | background: var(--mwai-backgroundPrimaryColor); |
| 460 | } |
| 461 | |
| 462 | .mwai-chatgpt-theme button[disabled] { |
| 463 | cursor: not-allowed; |
| 464 | } |
| 465 | |
| 466 | .mwai-chatgpt-theme button[disabled] span { |
| 467 | opacity: 0.5; |
| 468 | } |
| 469 | |
| 470 | .mwai-chatgpt-theme button[disabled].mwai-busy span { |
| 471 | display: none; |
| 472 | } |
| 473 | |
| 474 | .mwai-chatgpt-theme button[disabled].mwai-busy:before { |
| 475 | content: ''; |
| 476 | width: 18px; |
| 477 | height: 18px; |
| 478 | margin: auto; |
| 479 | border: 3px solid transparent; |
| 480 | border-top-color: var(--mwai-fontColor); |
| 481 | border-radius: 50%; |
| 482 | animation: mwai-button-spinner 1s ease infinite; |
| 483 | } |
| 484 | |
| 485 | .mwai-chatgpt-theme.mwai-form-container { |
| 486 | padding: var(--mwai-spacing); |
| 487 | font-size: var(--mwai-fontSize); |
| 488 | color: var(--mwai-fontColor); |
| 489 | background: var(--mwai-backgroundSecondaryColor); |
| 490 | border-radius: var(--mwai-borderRadius); |
| 491 | } |
| 492 | |
| 493 | .mwai-chatgpt-theme.mwai-form-container fieldset { |
| 494 | border: 0; |
| 495 | margin: 0; |
| 496 | padding: 0; |
| 497 | display: flex; |
| 498 | flex-direction: column; |
| 499 | margin-bottom: 10px; |
| 500 | } |
| 501 | |
| 502 | .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 { |
| 503 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 504 | border: 0; |
| 505 | width: 100%; |
| 506 | border-radius: var(--mwai-borderRadius); |
| 507 | font-size: var(--mwai-fontSize); |
| 508 | background: var(--mwai-backgroundPrimaryColor); |
| 509 | color: var(--mwai-fontColor); |
| 510 | } |
| 511 | |
| 512 | .mwai-chatgpt-theme.mwai-form-container fieldset select { |
| 513 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 514 | border: 0; |
| 515 | width: 100%; |
| 516 | border-radius: var(--mwai-borderRadius); |
| 517 | font-size: var(--mwai-fontSize); |
| 518 | background: var(--mwai-backgroundPrimaryColor); |
| 519 | color: var(--mwai-fontColor); |
| 520 | } |
| 521 | |
| 522 | .mwai-chatgpt-theme.mwai-form-container fieldset textarea { |
| 523 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 524 | border: 0; |
| 525 | width: 100%; |
| 526 | border-radius: var(--mwai-borderRadius); |
| 527 | font-family: inherit; |
| 528 | font-size: var(--mwai-fontSize); |
| 529 | background: var(--mwai-backgroundPrimaryColor); |
| 530 | color: var(--mwai-fontColor); |
| 531 | } |
| 532 | |
| 533 | .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] { |
| 534 | opacity: 0.25; |
| 535 | } |
| 536 | |
| 537 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button { |
| 538 | height: 45px; |
| 539 | background: none; |
| 540 | width: 100%; |
| 541 | color: var(--mwai-fontColor); |
| 542 | font-size: var(--mwai-fontSize); |
| 543 | background-color: var(--mwai-backgroundSecondaryColor); |
| 544 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 545 | border-radius: var(--mwai-borderRadius); |
| 546 | cursor: pointer; |
| 547 | transition: all 0.2s ease-out; |
| 548 | position: relative; |
| 549 | } |
| 550 | |
| 551 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button:hover { |
| 552 | background: var(--mwai-backgroundPrimaryColor); |
| 553 | } |
| 554 | |
| 555 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled] span { |
| 556 | opacity: 0.25; |
| 557 | } |
| 558 | |
| 559 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled]:hover { |
| 560 | background: none; |
| 561 | cursor: not-allowed; |
| 562 | } |
| 563 | |
| 564 | .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 { |
| 565 | opacity: 0; |
| 566 | } |
| 567 | |
| 568 | .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 { |
| 569 | content: ''; |
| 570 | position: absolute; |
| 571 | width: 18px; |
| 572 | height: 18px; |
| 573 | top: 0; |
| 574 | left: 0; |
| 575 | right: 0; |
| 576 | bottom: 0; |
| 577 | margin: auto; |
| 578 | border: 3px solid transparent; |
| 579 | border-top-color: var(--mwai-fontColor); |
| 580 | border-radius: 50%; |
| 581 | animation: mwai-button-spinner 1s ease infinite; |
| 582 | } |
| 583 | |
| 584 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output { |
| 585 | font-size: var(--mwai-fontSize); |
| 586 | position: relative; |
| 587 | margin-top: var(--mwai-spacing); |
| 588 | padding: var(--mwai-spacing); |
| 589 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 590 | } |
| 591 | |
| 592 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error { |
| 593 | background: var(--mwai-errorBackgroundColor); |
| 594 | color: var(--mwai-errorFontColor); |
| 595 | } |
| 596 | |
| 597 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child { |
| 598 | margin-top: 0; |
| 599 | } |
| 600 | |
| 601 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child { |
| 602 | margin-bottom: 0; |
| 603 | } |
| 604 | |
| 605 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img { |
| 606 | max-width: 33%; |
| 607 | } |
| 608 | |
| 609 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child { |
| 610 | margin-top: 0; |
| 611 | } |
| 612 | |
| 613 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child { |
| 614 | margin-bottom: 0; |
| 615 | } |
| 616 | |
| 617 | .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container.mwai-has-content { |
| 618 | display: block; |
| 619 | } |
| 620 | |
| 621 | .mwai-chatgpt-theme.mwai-form-container .wp-block-columns { |
| 622 | margin: 0; |
| 623 | } |
| 624 | |
| 625 | .mwai-chatgpt-theme.mwai-discussions { |
| 626 | border-radius: var(--mwai-borderRadius); |
| 627 | background: var(--mwai-backgroundHeaderColor); |
| 628 | overflow: hidden; |
| 629 | } |
| 630 | |
| 631 | .mwai-chatgpt-theme.mwai-discussions * { |
| 632 | box-sizing: border-box; |
| 633 | } |
| 634 | |
| 635 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion { |
| 636 | display: flex; |
| 637 | gap: 5px; |
| 638 | padding-left: calc(var(--mwai-spacing) / 2); |
| 639 | padding-right: calc(var(--mwai-spacing) / 2); |
| 640 | padding-bottom: calc(var(--mwai-spacing) / 2); |
| 641 | color: var(--mwai-conversationsTextColor); |
| 642 | opacity: 0.65; |
| 643 | justify-content: space-between; |
| 644 | align-items: center; |
| 645 | } |
| 646 | |
| 647 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title { |
| 648 | flex: auto; |
| 649 | padding: 5px; |
| 650 | } |
| 651 | |
| 652 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions { |
| 653 | display: flex; |
| 654 | gap: 3px; |
| 655 | } |
| 656 | |
| 657 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-icon { |
| 658 | width: 32px; |
| 659 | height: 32px; |
| 660 | background: var(--mwai-iconTextBackgroundColor); |
| 661 | color: var(--mwai-iconTextColor); |
| 662 | border-radius: 50%; |
| 663 | cursor: pointer; |
| 664 | transition: all 0.2s ease-out; |
| 665 | display: flex; |
| 666 | align-items: center; |
| 667 | justify-content: center; |
| 668 | } |
| 669 | |
| 670 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-icon:hover { |
| 671 | background: var(--mwai-backgroundPrimaryColor); |
| 672 | } |
| 673 | |
| 674 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-icon:hover.mwai-danger { |
| 675 | background: var(--mwai-errorBackgroundColor); |
| 676 | } |
| 677 | |
| 678 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active, .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover { |
| 679 | cursor: pointer; |
| 680 | } |
| 681 | |
| 682 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-title, .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-title { |
| 683 | background: var(--mwai-backgroundPrimaryColor); |
| 684 | border-radius: var(--mwai-borderRadius); |
| 685 | opacity: 1; |
| 686 | } |
| 687 | |
| 688 | .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child { |
| 689 | margin-top: calc(var(--mwai-spacing) / 2); |
| 690 | } |
| 691 | |
| 692 | .mwai-chatgpt-theme.mwai-discussions .mwai-header { |
| 693 | color: var(--mwai-headerButtonsColor); |
| 694 | padding: var(--mwai-spacing); |
| 695 | display: flex; |
| 696 | justify-content: space-between; |
| 697 | align-items: center; |
| 698 | } |
| 699 | |
| 700 | .mwai-chatgpt-theme.mwai-discussions .mwai-content { |
| 701 | background: var(--mwai-conversationsBackgroundColor); |
| 702 | list-style: none; |
| 703 | padding: 0; |
| 704 | margin: 0; |
| 705 | } |
| 706 | |
| 707 | .mwai-chatgpt-theme.mwai-transition, .mwai-chatgpt-theme .mwai-transition { |
| 708 | opacity: 0; |
| 709 | transition: opacity 350ms ease-in-out; |
| 710 | } |
| 711 | |
| 712 | .mwai-chatgpt-theme.mwai-transition-visible, .mwai-chatgpt-theme .mwai-transition-visible { |
| 713 | opacity: 1; |
| 714 | } |
| 715 | |
| 716 | .mwai-chatgpt-theme .mwai-text { |
| 717 | overflow-wrap: anywhere; |
| 718 | } |
| 719 | |
| 720 | .mwai-chatgpt-theme .mwai-text img { |
| 721 | max-width: 100%; |
| 722 | } |
| 723 | |
| 724 | .mwai-chatgpt-theme .mwai-text div p:first-child { |
| 725 | margin-top: 0; |
| 726 | } |
| 727 | |
| 728 | .mwai-chatgpt-theme .mwai-text div p:last-child { |
| 729 | margin-bottom: 0; |
| 730 | } |
| 731 | |
| 732 | .mwai-chatgpt-theme .mwai-trigger { |
| 733 | position: absolute; |
| 734 | right: 0; |
| 735 | bottom: 0; |
| 736 | transition: all 0.2s ease-out; |
| 737 | z-index: 9999; |
| 738 | display: flex; |
| 739 | flex-direction: column; |
| 740 | align-items: end; |
| 741 | } |
| 742 | |
| 743 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container { |
| 744 | display: flex; |
| 745 | flex-direction: column; |
| 746 | align-items: flex-end; |
| 747 | } |
| 748 | |
| 749 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text { |
| 750 | background: var(--mwai-iconTextBackgroundColor); |
| 751 | color: var(--mwai-iconTextColor); |
| 752 | box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15); |
| 753 | max-width: 200px; |
| 754 | font-size: 13px; |
| 755 | margin-bottom: 15px; |
| 756 | padding: 10px 15px; |
| 757 | border-radius: 8px; |
| 758 | } |
| 759 | |
| 760 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 761 | color: var(--mwai-iconTextColor); |
| 762 | background: var(--mwai-iconTextBackgroundColor); |
| 763 | padding: 5px; |
| 764 | width: 20px; |
| 765 | height: 20px; |
| 766 | border-radius: 100%; |
| 767 | display: none; |
| 768 | justify-content: center; |
| 769 | align-items: center; |
| 770 | margin-bottom: 3px; |
| 771 | } |
| 772 | |
| 773 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover { |
| 774 | cursor: pointer; |
| 775 | } |
| 776 | |
| 777 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close { |
| 778 | display: flex; |
| 779 | font-size: 12px; |
| 780 | } |
| 781 | |
| 782 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover { |
| 783 | filter: brightness(1.2); |
| 784 | } |
| 785 | |
| 786 | @media (max-width: 760px) { |
| 787 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 788 | display: flex; |
| 789 | } |
| 790 | } |
| 791 | |
| 792 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon { |
| 793 | filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15)); |
| 794 | transition: all 0.2s ease-out; |
| 795 | } |
| 796 | |
| 797 | .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 798 | cursor: pointer; |
| 799 | transform: scale(1.05); |
| 800 | } |
| 801 | |
| 802 | .mwai-chatgpt-theme.mwai-window { |
| 803 | position: fixed; |
| 804 | right: 30px; |
| 805 | bottom: 30px; |
| 806 | width: var(--mwai-width); |
| 807 | z-index: 9999; |
| 808 | } |
| 809 | |
| 810 | .mwai-chatgpt-theme.mwai-window .mwai-header { |
| 811 | display: none; |
| 812 | justify-content: flex-end; |
| 813 | align-items: center; |
| 814 | border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0; |
| 815 | background: var(--mwai-backgroundHeaderColor); |
| 816 | } |
| 817 | |
| 818 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons { |
| 819 | display: flex; |
| 820 | align-items: center; |
| 821 | } |
| 822 | |
| 823 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button { |
| 824 | justify-content: center; |
| 825 | height: 32px; |
| 826 | width: 22px; |
| 827 | cursor: pointer; |
| 828 | display: flex; |
| 829 | justify-content: center; |
| 830 | align-items: center; |
| 831 | } |
| 832 | |
| 833 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 834 | transition: all 0.2s ease-out; |
| 835 | content: ' '; |
| 836 | cursor: pointer; |
| 837 | position: absolute; |
| 838 | height: 13px; |
| 839 | width: 13px; |
| 840 | border: 1px solid var(--mwai-headerButtonsColor); |
| 841 | } |
| 842 | |
| 843 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 844 | width: 16px; |
| 845 | height: 16px; |
| 846 | } |
| 847 | |
| 848 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button { |
| 849 | justify-content: center; |
| 850 | height: 32px; |
| 851 | width: 33px; |
| 852 | cursor: pointer; |
| 853 | border-radius: var(--mwai-borderRadius); |
| 854 | } |
| 855 | |
| 856 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before { |
| 857 | transition: all 0.2s ease-out; |
| 858 | transform: translate(16px, 5px) rotate(45deg); |
| 859 | } |
| 860 | |
| 861 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 862 | transition: all 0.2s ease-out; |
| 863 | transform: translate(16px, 5px) rotate(-45deg); |
| 864 | } |
| 865 | |
| 866 | .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 { |
| 867 | content: ' '; |
| 868 | cursor: pointer; |
| 869 | position: absolute; |
| 870 | height: 22px; |
| 871 | width: 1px; |
| 872 | background-color: var(--mwai-headerButtonsColor); |
| 873 | } |
| 874 | |
| 875 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before { |
| 876 | opacity: 1; |
| 877 | transform: translate(16px, 5px) rotate(135deg); |
| 878 | } |
| 879 | |
| 880 | .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after { |
| 881 | opacity: 1; |
| 882 | transform: translate(16px, 5px) rotate(45deg); |
| 883 | } |
| 884 | |
| 885 | .mwai-chatgpt-theme.mwai-window .mwai-content { |
| 886 | display: none; |
| 887 | opacity: 0; |
| 888 | max-height: var(--mwai-maxHeight); |
| 889 | border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius); |
| 890 | } |
| 891 | |
| 892 | .mwai-chatgpt-theme.mwai-window.mwai-bottom-left { |
| 893 | bottom: 30px; |
| 894 | right: inherit; |
| 895 | left: 30px; |
| 896 | } |
| 897 | |
| 898 | .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 899 | right: inherit; |
| 900 | left: 0; |
| 901 | } |
| 902 | |
| 903 | .mwai-chatgpt-theme.mwai-window.mwai-top-right { |
| 904 | top: 30px; |
| 905 | bottom: inherit; |
| 906 | right: 30px; |
| 907 | } |
| 908 | |
| 909 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger { |
| 910 | top: 0; |
| 911 | bottom: inherit; |
| 912 | } |
| 913 | |
| 914 | .mwai-chatgpt-theme.mwai-window.mwai-top-left { |
| 915 | top: 30px; |
| 916 | bottom: inherit; |
| 917 | right: inherit; |
| 918 | left: 30px; |
| 919 | } |
| 920 | |
| 921 | .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 922 | top: 0; |
| 923 | bottom: inherit; |
| 924 | right: inherit; |
| 925 | left: 0; |
| 926 | } |
| 927 | |
| 928 | .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 929 | align-items: flex-start; |
| 930 | } |
| 931 | |
| 932 | .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 933 | flex-direction: column-reverse; |
| 934 | } |
| 935 | |
| 936 | .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 { |
| 937 | margin-bottom: 0; |
| 938 | margin-top: 15px; |
| 939 | } |
| 940 | |
| 941 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons { |
| 942 | margin-bottom: 0px; |
| 943 | } |
| 944 | |
| 945 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 946 | width: 16px; |
| 947 | height: 16px; |
| 948 | } |
| 949 | |
| 950 | .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 951 | width: 13px; |
| 952 | height: 13px; |
| 953 | } |
| 954 | |
| 955 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window), .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open { |
| 956 | position: fixed; |
| 957 | left: 0 !important; |
| 958 | right: 0 !important; |
| 959 | bottom: 0 !important; |
| 960 | top: 0 !important; |
| 961 | width: 100%; |
| 962 | height: 100%; |
| 963 | max-height: 100%; |
| 964 | max-width: 100%; |
| 965 | display: flex; |
| 966 | flex-direction: column; |
| 967 | margin: 0; |
| 968 | z-index: 999999; |
| 969 | background-color: var(--mwai-backgroundSecondaryColor); |
| 970 | } |
| 971 | |
| 972 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header, .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header { |
| 973 | border-radius: 0; |
| 974 | } |
| 975 | |
| 976 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content { |
| 977 | height: 100%; |
| 978 | max-height: inherit; |
| 979 | border-radius: 0; |
| 980 | } |
| 981 | |
| 982 | .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation { |
| 983 | flex: auto; |
| 984 | max-height: none; |
| 985 | } |
| 986 | |
| 987 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { |
| 988 | display: flex; |
| 989 | } |
| 990 | |
| 991 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content { |
| 992 | display: flex; |
| 993 | transition: opacity 200ms ease-in-out 0s; |
| 994 | opacity: 1; |
| 995 | } |
| 996 | |
| 997 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger { |
| 998 | display: none; |
| 999 | } |
| 1000 | |
| 1001 | .mwai-chatgpt-theme .mwai-error { |
| 1002 | margin: var(--mwai-spacing); |
| 1003 | color: white; |
| 1004 | background: rgba(180, 55, 55, 0.55); |
| 1005 | padding: var(--mwai-spacing); |
| 1006 | border-radius: var(--mwai-borderRadius); |
| 1007 | } |
| 1008 | |
| 1009 | .mwai-chatgpt-theme .mwai-error:hover { |
| 1010 | cursor: pointer; |
| 1011 | background: rgba(180, 44, 44, 0.85); |
| 1012 | } |
| 1013 | |
| 1014 | .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container { |
| 1015 | background: var(--mwai-bubbleColor); |
| 1016 | width: 60px; |
| 1017 | height: 60px; |
| 1018 | border-radius: 100%; |
| 1019 | transition: all 0.2s ease-out; |
| 1020 | display: flex; |
| 1021 | justify-content: center; |
| 1022 | align-items: center; |
| 1023 | } |
| 1024 | |
| 1025 | .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container .mwai-icon { |
| 1026 | max-width: 50%; |
| 1027 | max-height: 50%; |
| 1028 | filter: none; |
| 1029 | } |
| 1030 | |
| 1031 | .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover { |
| 1032 | transform: none; |
| 1033 | } |
| 1034 | |
| 1035 | .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container .mwai-emoji { |
| 1036 | font-size: 30px !important; |
| 1037 | } |
| 1038 | |
| 1039 | .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container:hover { |
| 1040 | cursor: pointer; |
| 1041 | filter: brightness(1.1); |
| 1042 | } |
| 1043 | |
| 1044 | @media (max-width: 760px) { |
| 1045 | .mwai-chatgpt-theme.mwai-window.mwai-open { |
| 1046 | position: fixed; |
| 1047 | left: 0 !important; |
| 1048 | right: 0 !important; |
| 1049 | bottom: 0 !important; |
| 1050 | top: 0 !important; |
| 1051 | width: 100%; |
| 1052 | height: 100%; |
| 1053 | max-height: 100%; |
| 1054 | max-width: 100%; |
| 1055 | display: flex; |
| 1056 | flex-direction: column; |
| 1057 | margin: 0; |
| 1058 | z-index: 999999; |
| 1059 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1060 | } |
| 1061 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { |
| 1062 | border-radius: 0; |
| 1063 | } |
| 1064 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content { |
| 1065 | height: 100%; |
| 1066 | max-height: inherit; |
| 1067 | border-radius: 0; |
| 1068 | } |
| 1069 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content .mwai-conversation { |
| 1070 | flex: auto; |
| 1071 | max-height: none; |
| 1072 | } |
| 1073 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input { |
| 1074 | flex-direction: column; |
| 1075 | } |
| 1076 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button { |
| 1077 | font-size: 16px; |
| 1078 | margin-left: 0; |
| 1079 | width: 100%; |
| 1080 | } |
| 1081 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text { |
| 1082 | width: 100%; |
| 1083 | } |
| 1084 | .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 { |
| 1085 | font-size: 16px; |
| 1086 | } |
| 1087 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content { |
| 1088 | display: flex; |
| 1089 | transition: opacity 200ms ease-in-out 0s; |
| 1090 | opacity: 1; |
| 1091 | height: 100%; |
| 1092 | max-height: inherit; |
| 1093 | } |
| 1094 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content .mwai-conversation { |
| 1095 | flex: auto; |
| 1096 | max-height: none; |
| 1097 | } |
| 1098 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button { |
| 1099 | display: none !important; |
| 1100 | } |
| 1101 | .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger { |
| 1102 | display: none; |
| 1103 | } |
| 1104 | } |
| 1105 | |
| 1106 | @keyframes mwai-button-spinner { |
| 1107 | from { |
| 1108 | transform: rotate(0turn); |
| 1109 | } |
| 1110 | to { |
| 1111 | transform: rotate(1turn); |
| 1112 | } |
| 1113 | } |
| 1114 | |
| 1115 | .mwai-chatgpt-theme button:not(.mwai-busy):before { |
| 1116 | content: none !important; |
| 1117 | display: none !important; |
| 1118 | animation: none !important; |
| 1119 | } |
| 1120 | |
| 1121 | .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window), |
| 1122 | .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open { |
| 1123 | top: 32px; |
| 1124 | } |
| 1125 | |
| 1126 | .mwai-chatgpt-theme pre code.hljs { |
| 1127 | display: block; |
| 1128 | overflow-x: auto; |
| 1129 | padding: 1em; |
| 1130 | } |
| 1131 | |
| 1132 | .mwai-chatgpt-theme code.hljs { |
| 1133 | padding: 3px 5px; |
| 1134 | } |
| 1135 | |
| 1136 | .mwai-chatgpt-theme .hljs { |
| 1137 | color: #fff; |
| 1138 | } |
| 1139 | |
| 1140 | .mwai-chatgpt-theme .hljs-subst { |
| 1141 | color: #fff; |
| 1142 | } |
| 1143 | |
| 1144 | .mwai-chatgpt-theme .hljs-comment { |
| 1145 | color: #999; |
| 1146 | } |
| 1147 | |
| 1148 | .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 { |
| 1149 | color: #88aece; |
| 1150 | } |
| 1151 | |
| 1152 | .mwai-chatgpt-theme .hljs-attribute { |
| 1153 | color: #c59bc1; |
| 1154 | } |
| 1155 | |
| 1156 | .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 { |
| 1157 | color: #f08d49; |
| 1158 | } |
| 1159 | |
| 1160 | .mwai-chatgpt-theme .hljs-selector-class { |
| 1161 | color: #88aece; |
| 1162 | } |
| 1163 | |
| 1164 | .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 { |
| 1165 | color: #b5bd68; |
| 1166 | } |
| 1167 | |
| 1168 | .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo { |
| 1169 | color: #88aece; |
| 1170 | } |
| 1171 | |
| 1172 | .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title { |
| 1173 | color: #f08d49; |
| 1174 | } |
| 1175 | |
| 1176 | .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code { |
| 1177 | color: #ccc; |
| 1178 | } |
| 1179 | |
| 1180 | .mwai-chatgpt-theme .hljs-meta .hljs-string { |
| 1181 | color: #b5bd68; |
| 1182 | } |
| 1183 | |
| 1184 | .mwai-chatgpt-theme .hljs-deletion { |
| 1185 | color: #de7176; |
| 1186 | } |
| 1187 | |
| 1188 | .mwai-chatgpt-theme .hljs-addition { |
| 1189 | color: #76c490; |
| 1190 | } |
| 1191 | |
| 1192 | .mwai-chatgpt-theme .hljs-emphasis { |
| 1193 | font-style: italic; |
| 1194 | } |
| 1195 | |
| 1196 | .mwai-chatgpt-theme .hljs-strong { |
| 1197 | font-weight: 700; |
| 1198 | } |
| 1199 | |
| 1200 | .mwai-chatgpt-theme .mwai-reply-actions { |
| 1201 | position: absolute; |
| 1202 | border-radius: 5px; |
| 1203 | top: 10px; |
| 1204 | right: 10px; |
| 1205 | display: flex; |
| 1206 | align-items: center; |
| 1207 | padding: 2px 2px; |
| 1208 | z-index: 100; |
| 1209 | background: var(--mwai-backgroundPrimaryColor); |
| 1210 | box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); |
| 1211 | z-index: 100; |
| 1212 | } |
| 1213 | |
| 1214 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button { |
| 1215 | fill: var(--mwai-fontColor); |
| 1216 | padding: 3px 5px; |
| 1217 | width: 24px; |
| 1218 | height: 24px; |
| 1219 | background: var(--mwai-backgroundPrimaryColor); |
| 1220 | cursor: pointer; |
| 1221 | border-radius: 5px; |
| 1222 | } |
| 1223 | |
| 1224 | .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover { |
| 1225 | filter: brightness(1.2); |
| 1226 | } |
| 1227 | |
| 1228 | .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden { |
| 1229 | opacity: 0; |
| 1230 | } |
| 1231 | |
| 1232 | .mwai-chatgpt-theme .mwai-realtime { |
| 1233 | padding: var(--mwai-spacing); |
| 1234 | } |
| 1235 | |
| 1236 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer { |
| 1237 | display: flex; |
| 1238 | justify-content: center; |
| 1239 | align-items: center; |
| 1240 | } |
| 1241 | |
| 1242 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer hr { |
| 1243 | width: 100px; |
| 1244 | margin-right: var(--mwai-spacing); |
| 1245 | margin-left: var(--mwai-spacing); |
| 1246 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1247 | } |
| 1248 | |
| 1249 | .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer .mwai-animation { |
| 1250 | background: var(--mwai-backgroundPrimaryColor); |
| 1251 | } |
| 1252 | |
| 1253 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls { |
| 1254 | display: flex; |
| 1255 | justify-content: center; |
| 1256 | align-items: center; |
| 1257 | margin-bottom: var(--mwai-spacing); |
| 1258 | } |
| 1259 | |
| 1260 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls > * + * { |
| 1261 | margin-left: 10px; |
| 1262 | } |
| 1263 | |
| 1264 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button { |
| 1265 | border-radius: 100%; |
| 1266 | width: 50px; |
| 1267 | height: 50px; |
| 1268 | margin: 5px; |
| 1269 | padding: 5px; |
| 1270 | display: flex; |
| 1271 | align-items: center; |
| 1272 | justify-content: center; |
| 1273 | color: var(--mwai-fontColor); |
| 1274 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 1275 | background: none; |
| 1276 | cursor: pointer; |
| 1277 | transition: all 0.2s ease-out; |
| 1278 | min-width: inherit; |
| 1279 | max-width: inherit; |
| 1280 | } |
| 1281 | |
| 1282 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) { |
| 1283 | background: var(--mwai-backgroundPrimaryColor); |
| 1284 | } |
| 1285 | |
| 1286 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:disabled { |
| 1287 | opacity: 0.5; |
| 1288 | cursor: not-allowed; |
| 1289 | background: none; |
| 1290 | } |
| 1291 | |
| 1292 | .mwai-chatgpt-theme .mwai-realtime .mwai-controls button.mwai-active { |
| 1293 | border: 2px solid var(--mwai-fontColor); |
| 1294 | } |
| 1295 | |
| 1296 | .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript { |
| 1297 | margin: var(--mwai-spacing); |
| 1298 | margin-top: 0; |
| 1299 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 1300 | padding: calc(var(--mwai-spacing) / 2); |
| 1301 | border-radius: var(--mwai-borderRadius); |
| 1302 | display: flex; |
| 1303 | justify-content: center; |
| 1304 | font-size: 80%; |
| 1305 | } |
| 1306 | |
| 1307 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics { |
| 1308 | display: grid; |
| 1309 | grid-template-columns: 1fr 1fr 1fr; |
| 1310 | grid-row-gap: 10px; |
| 1311 | font-size: 14px; |
| 1312 | } |
| 1313 | |
| 1314 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div { |
| 1315 | display: flex; |
| 1316 | flex-direction: column; |
| 1317 | align-items: center; |
| 1318 | } |
| 1319 | |
| 1320 | .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label { |
| 1321 | font-size: 11px; |
| 1322 | opacity: 0.5; |
| 1323 | text-transform: uppercase; |
| 1324 | } |
| 1325 | |
| 1326 | .mwai-chatgpt-theme .mwai-realtime .mwai-options { |
| 1327 | margin-top: var(--mwai-spacing); |
| 1328 | display: flex; |
| 1329 | align-items: center; |
| 1330 | } |
| 1331 | |
| 1332 | .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option { |
| 1333 | cursor: pointer; |
| 1334 | opacity: 0.5; |
| 1335 | margin-right: 2px; |
| 1336 | } |
| 1337 | |
| 1338 | .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active { |
| 1339 | opacity: 1; |
| 1340 | } |
| 1341 | |
| 1342 | @media (max-width: 760px) { |
| 1343 | .mwai-chatgpt-theme.mwai-window { |
| 1344 | width: calc(100% - 40px); |
| 1345 | z-index: 9999999999; |
| 1346 | } |
| 1347 | .mwai-chatgpt-theme .mwai-input { |
| 1348 | flex-direction: column; |
| 1349 | } |
| 1350 | .mwai-chatgpt-theme .mwai-input .mwai-input-submit { |
| 1351 | margin: 15px 0 0 0; |
| 1352 | height: 40px; |
| 1353 | width: inherit; |
| 1354 | } |
| 1355 | .mwai-chatgpt-theme .mwai-name { |
| 1356 | margin-right: 0; |
| 1357 | max-width: inherit; |
| 1358 | } |
| 1359 | } |
| 1360 |