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