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