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