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