timeless.css
3028 lines
| 1 | @charset "UTF-8"; |
| 2 | /* |
| 3 | TIMELESS THEME — SPACING, INPUT, AND SAFE-AREA DOCS |
| 4 | |
| 5 | Overview |
| 6 | - Clean, balanced layout with a circular submit button and unified footer tools. |
| 7 | - Focuses on readability and subtle motion; matches modern app patterns. |
| 8 | |
| 9 | Spacing Strategy |
| 10 | - Bottom spacing is owned by the input/footer (not the shell) to avoid double padding |
| 11 | and tiny gaps when browser toolbars show/hide. The shell applies only top/side safe areas. |
| 12 | - When no footer is present, we add a consistent baseline under the input via a shared mixin. |
| 13 | |
| 14 | Submit Button Strategy |
| 15 | - Circular submit with a theme token `--mwai-submitSize` so sizes aren’t hard-coded. |
| 16 | - Hover scaling stays centered to avoid visual drift. |
| 17 | |
| 18 | Safe Areas & Viewport |
| 19 | - Uses dvh (100dvh) patterns and avoids hard height locks; respects safe-area only where needed. |
| 20 | |
| 21 | Important |
| 22 | - Keep this documentation updated as spacing/safe-area rules evolve across platforms. |
| 23 | */ |
| 24 | @keyframes mwai-caret-blink { |
| 25 | to { |
| 26 | visibility: hidden; |
| 27 | } |
| 28 | } |
| 29 | .mwai-context-menu-portal .mwai-context-menu { |
| 30 | background: var(--mwai-backgroundHeaderColor); |
| 31 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 32 | border-radius: var(--mwai-borderRadius); |
| 33 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 34 | font-size: 13px; |
| 35 | color: var(--mwai-fontColor); |
| 36 | } |
| 37 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item { |
| 38 | display: flex; |
| 39 | align-items: center; |
| 40 | gap: 8px; |
| 41 | padding: 8px 12px; |
| 42 | cursor: pointer; |
| 43 | transition: background-color 0.2s; |
| 44 | } |
| 45 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover { |
| 46 | background-color: rgba(0, 0, 0, 0.05); |
| 47 | } |
| 48 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 49 | color: #dc3545; |
| 50 | } |
| 51 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 52 | background-color: rgba(220, 53, 69, 0.1); |
| 53 | } |
| 54 | .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg { |
| 55 | flex-shrink: 0; |
| 56 | } |
| 57 | |
| 58 | .mwai-chunks { |
| 59 | padding: 8px; |
| 60 | background: rgba(0, 0, 0, 0.03); |
| 61 | font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace; |
| 62 | font-size: 11px; |
| 63 | border-top: 1px solid rgba(0, 0, 0, 0.06); |
| 64 | } |
| 65 | .mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header { |
| 66 | margin-bottom: 0 !important; |
| 67 | } |
| 68 | .mwai-chunks .mwai-chunks-header { |
| 69 | display: flex; |
| 70 | align-items: center; |
| 71 | gap: 2px; |
| 72 | margin-bottom: 8px; |
| 73 | color: #6b7280; |
| 74 | font-size: 10px; |
| 75 | text-transform: uppercase; |
| 76 | letter-spacing: 0.05em; |
| 77 | } |
| 78 | .mwai-chunks .mwai-chunks-header .mwai-chunks-title { |
| 79 | flex: 1; |
| 80 | overflow: hidden; |
| 81 | text-overflow: ellipsis; |
| 82 | white-space: nowrap; |
| 83 | } |
| 84 | .mwai-chunks .mwai-chunks-header .mwai-chunks-status { |
| 85 | margin-left: 4px; |
| 86 | font-weight: 500; |
| 87 | } |
| 88 | .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle { |
| 89 | background: none; |
| 90 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 91 | border-radius: 3px; |
| 92 | padding: 2px; |
| 93 | width: 30px; |
| 94 | height: 20px; |
| 95 | cursor: pointer; |
| 96 | color: #6b7280; |
| 97 | display: flex; |
| 98 | align-items: center; |
| 99 | justify-content: center; |
| 100 | transition: all 0.2s ease; |
| 101 | margin-left: 4px; |
| 102 | } |
| 103 | .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover { |
| 104 | background: rgba(0, 0, 0, 0.05); |
| 105 | color: #374151; |
| 106 | } |
| 107 | .mwai-chunks .mwai-chunk { |
| 108 | margin-bottom: 4px; |
| 109 | padding: 6px 8px; |
| 110 | background: white; |
| 111 | border-radius: 4px; |
| 112 | border: 1px solid rgba(0, 0, 0, 0.06); |
| 113 | transition: all 0.2s ease; |
| 114 | } |
| 115 | .mwai-chunks .mwai-chunk .mwai-chunk-header { |
| 116 | display: flex; |
| 117 | align-items: center; |
| 118 | gap: 8px; |
| 119 | cursor: pointer; |
| 120 | user-select: none; |
| 121 | } |
| 122 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time { |
| 123 | color: #9ca3af; |
| 124 | font-size: 10px; |
| 125 | font-variant-numeric: tabular-nums; |
| 126 | } |
| 127 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type { |
| 128 | display: flex; |
| 129 | align-items: center; |
| 130 | gap: 4px; |
| 131 | padding: 2px 6px; |
| 132 | border-radius: 3px; |
| 133 | font-size: 10px; |
| 134 | font-weight: 500; |
| 135 | color: white; |
| 136 | } |
| 137 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data { |
| 138 | flex: 1; |
| 139 | color: #374151; |
| 140 | overflow: hidden; |
| 141 | text-overflow: ellipsis; |
| 142 | white-space: nowrap; |
| 143 | } |
| 144 | .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand { |
| 145 | color: #9ca3af; |
| 146 | transition: transform 0.2s ease; |
| 147 | } |
| 148 | .mwai-chunks .mwai-chunk .mwai-chunk-details { |
| 149 | margin-top: 8px; |
| 150 | padding: 8px; |
| 151 | background: rgba(0, 0, 0, 0.02); |
| 152 | border-radius: 3px; |
| 153 | overflow-x: auto; |
| 154 | } |
| 155 | .mwai-chunks .mwai-chunk .mwai-chunk-details pre { |
| 156 | margin: 0; |
| 157 | white-space: pre-wrap; |
| 158 | word-break: break-word; |
| 159 | color: #4b5563; |
| 160 | } |
| 161 | |
| 162 | /* |
| 163 | TIMELESS THEME — SPACING, INPUT, AND SAFE-AREA DOCS |
| 164 | |
| 165 | Overview |
| 166 | - Clean, balanced layout with a circular submit button and unified footer tools. |
| 167 | - Focuses on readability and subtle motion; matches modern app patterns. |
| 168 | |
| 169 | Spacing Strategy |
| 170 | - Bottom spacing is owned by the input/footer (not the shell) to avoid double padding |
| 171 | and tiny gaps when browser toolbars show/hide. The shell applies only top/side safe areas. |
| 172 | - When no footer is present, we add a consistent baseline under the input via a shared mixin. |
| 173 | |
| 174 | Submit Button Strategy |
| 175 | - Circular submit with a theme token `--mwai-submitSize` so sizes aren’t hard-coded. |
| 176 | - Hover scaling stays centered to avoid visual drift. |
| 177 | |
| 178 | Safe Areas & Viewport |
| 179 | - Uses dvh (100dvh) patterns and avoids hard height locks; respects safe-area only where needed. |
| 180 | |
| 181 | Important |
| 182 | - Keep this documentation updated as spacing/safe-area rules evolve across platforms. |
| 183 | */ |
| 184 | @keyframes mwaiIconTextZoomIn { |
| 185 | 0% { |
| 186 | transform: scale(0.92); |
| 187 | opacity: 0; |
| 188 | } |
| 189 | 100% { |
| 190 | transform: scale(1); |
| 191 | opacity: 1; |
| 192 | } |
| 193 | } |
| 194 | @keyframes mwaiIconTextSlideIn { |
| 195 | 0% { |
| 196 | transform: translateY(28px); |
| 197 | opacity: 0; |
| 198 | } |
| 199 | 70% { |
| 200 | transform: translateY(-3px); |
| 201 | opacity: 1; |
| 202 | } |
| 203 | 100% { |
| 204 | transform: translateY(0); |
| 205 | opacity: 1; |
| 206 | } |
| 207 | } |
| 208 | @keyframes mwaiIconTextSlideUp { |
| 209 | 0% { |
| 210 | transform: translateY(24px); |
| 211 | opacity: 0; |
| 212 | } |
| 213 | 100% { |
| 214 | transform: translateY(0); |
| 215 | opacity: 1; |
| 216 | } |
| 217 | } |
| 218 | @keyframes mwaiIconTextFadeOpacity { |
| 219 | 0% { |
| 220 | opacity: 0; |
| 221 | } |
| 222 | 100% { |
| 223 | opacity: 1; |
| 224 | } |
| 225 | } |
| 226 | @keyframes mwaiIconTextFadeTransform { |
| 227 | 0% { |
| 228 | transform: translateY(8px) scale(0.98); |
| 229 | } |
| 230 | 100% { |
| 231 | transform: translateY(0) scale(1); |
| 232 | } |
| 233 | } |
| 234 | .mwai-timeless-theme { |
| 235 | font-family: var(--mwai-fontFamily, inherit); |
| 236 | --mwai-spacing: 15px; |
| 237 | --mwai-fontSize: 13px; |
| 238 | --mwai-lineHeight: 1.5; |
| 239 | --mwai-borderRadius: 10px; |
| 240 | --mwai-borderColor: #c5c5c5; |
| 241 | --mwai-width: 360px; |
| 242 | --mwai-maxHeight: 40vh; |
| 243 | --mwai-iconTextColor: #FFFFFF; |
| 244 | --mwai-iconTextBackgroundColor: var(--mwai-backgroundUserColor); |
| 245 | --mwai-fontColor: black; |
| 246 | --mwai-backgroundPrimaryColor: #fafafa; |
| 247 | --mwai-backgroundHeaderColor: linear-gradient(130deg, #2831dc 0%, #09a9f8 100%); |
| 248 | --mwai-bubbleColor: #2768db; |
| 249 | --mwai-accentColor: #2768db; |
| 250 | --mwai-headerColor: white; |
| 251 | --mwai-conversationsBackgroundColor: white; |
| 252 | --mwai-backgroundUserColor: linear-gradient(130deg, #2768db 0%, #4a80e1 100%); |
| 253 | --mwai-backgroundAiColor: #F1F3F7; |
| 254 | --mwai-backgroundAiSecondaryColor: #ddd; |
| 255 | --mwai-errorBackgroundColor: #6d2f2a; |
| 256 | --mwai-errorTextColor: #FFFFFF; |
| 257 | --mwai-headerHeight: 80px; |
| 258 | font-size: var(--mwai-fontSize); |
| 259 | } |
| 260 | .mwai-timeless-theme * { |
| 261 | box-sizing: border-box; |
| 262 | } |
| 263 | .mwai-timeless-theme.mwai-window .mwai-header { |
| 264 | height: var(--mwai-headerHeight); |
| 265 | padding: var(--mwai-spacing); |
| 266 | } |
| 267 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-avatar img { |
| 268 | width: 48px; |
| 269 | height: 48px; |
| 270 | } |
| 271 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-name { |
| 272 | color: white; |
| 273 | font-size: 140%; |
| 274 | /* Match the left header padding for symmetric spacing around the avatar */ |
| 275 | margin-left: var(--mwai-spacing); |
| 276 | } |
| 277 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-name small { |
| 278 | font-size: 75%; |
| 279 | display: block; |
| 280 | } |
| 281 | .mwai-timeless-theme .mwai-body { |
| 282 | display: flex; |
| 283 | background: var(--mwai-backgroundPrimaryColor); |
| 284 | font-size: var(--mwai-fontSize); |
| 285 | color: var(--mwai-fontColor); |
| 286 | border-radius: var(--mwai-borderRadius); |
| 287 | flex-direction: column; |
| 288 | } |
| 289 | .mwai-timeless-theme .mwai-shortcuts { |
| 290 | display: flex; |
| 291 | flex-direction: column; |
| 292 | align-items: flex-end; |
| 293 | } |
| 294 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut { |
| 295 | margin-bottom: 5px; |
| 296 | font-size: var(--mwai-fontSize); |
| 297 | height: inherit; |
| 298 | min-height: inherit; |
| 299 | width: inherit; |
| 300 | min-width: 90px; |
| 301 | border-radius: var(--mwai-borderRadius); |
| 302 | padding: 7px 12px; |
| 303 | cursor: pointer; |
| 304 | display: flex; |
| 305 | align-items: center; |
| 306 | justify-content: end; |
| 307 | } |
| 308 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut.mwai-success { |
| 309 | background: #4caf50; |
| 310 | color: white; |
| 311 | box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15); |
| 312 | } |
| 313 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut.mwai-danger { |
| 314 | background: #f44336; |
| 315 | color: white; |
| 316 | box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15); |
| 317 | } |
| 318 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut.mwai-warning { |
| 319 | background: #ff9800; |
| 320 | color: white; |
| 321 | box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15); |
| 322 | } |
| 323 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut.mwai-info { |
| 324 | background: #2196f3; |
| 325 | color: white; |
| 326 | box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15); |
| 327 | } |
| 328 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut .mwai-icon { |
| 329 | margin-right: 5px; |
| 330 | } |
| 331 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img { |
| 332 | max-height: 16px; |
| 333 | width: auto; |
| 334 | } |
| 335 | .mwai-timeless-theme .mwai-shortcuts .mwai-shortcut:hover { |
| 336 | filter: brightness(1.1); |
| 337 | } |
| 338 | .mwai-timeless-theme .mwai-blocks { |
| 339 | display: flex; |
| 340 | flex-direction: column; |
| 341 | padding: var(--mwai-spacing); |
| 342 | border-top: 0.5px solid rgba(0, 0, 0, 0.15); |
| 343 | background: var(--mwai-backgroundAiColor); |
| 344 | } |
| 345 | .mwai-timeless-theme .mwai-blocks .mwai-block p:first-child { |
| 346 | margin-top: 0; |
| 347 | } |
| 348 | .mwai-timeless-theme .mwai-blocks button { |
| 349 | cursor: pointer; |
| 350 | } |
| 351 | .mwai-timeless-theme .mwai-conversation { |
| 352 | display: flex; |
| 353 | flex-direction: column; |
| 354 | overflow: auto; |
| 355 | max-height: var(--mwai-maxHeight); |
| 356 | padding: var(--mwai-spacing); |
| 357 | scrollbar-width: thin; |
| 358 | scrollbar-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.05); |
| 359 | } |
| 360 | .mwai-timeless-theme .mwai-conversation::-webkit-scrollbar { |
| 361 | width: 8px; |
| 362 | background: transparent; |
| 363 | } |
| 364 | .mwai-timeless-theme .mwai-conversation::-webkit-scrollbar-track { |
| 365 | background: rgba(0, 0, 0, 0.05); |
| 366 | border-radius: 4px; |
| 367 | } |
| 368 | .mwai-timeless-theme .mwai-conversation::-webkit-scrollbar-thumb { |
| 369 | background: rgba(0, 0, 0, 0.15); |
| 370 | border-radius: 4px; |
| 371 | transition: background 0.2s ease; |
| 372 | } |
| 373 | .mwai-timeless-theme .mwai-conversation::-webkit-scrollbar-thumb:hover { |
| 374 | background: rgba(0, 0, 0, 0.25); |
| 375 | } |
| 376 | .mwai-timeless-theme .mwai-conversation::-webkit-scrollbar-thumb:active { |
| 377 | background: rgba(0, 0, 0, 0.3); |
| 378 | } |
| 379 | .mwai-timeless-theme .mwai-conversation .mwai-reply { |
| 380 | margin-bottom: var(--mwai-spacing); |
| 381 | padding: 7px 12px; |
| 382 | border-radius: var(--mwai-borderRadius); |
| 383 | font-size: var(--mwai-fontSize); |
| 384 | color: var(--mwai-fontColor); |
| 385 | position: relative; |
| 386 | } |
| 387 | .mwai-timeless-theme .mwai-conversation .mwai-reply .mwai-name, |
| 388 | .mwai-timeless-theme .mwai-conversation .mwai-reply .mwai-name-text { |
| 389 | display: none; |
| 390 | } |
| 391 | .mwai-timeless-theme .mwai-conversation .mwai-reply * > p:first-child { |
| 392 | margin-top: 0; |
| 393 | } |
| 394 | .mwai-timeless-theme .mwai-conversation .mwai-reply * > p:last-child { |
| 395 | margin-bottom: 0; |
| 396 | } |
| 397 | .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-ai, .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-error { |
| 398 | align-self: flex-start; |
| 399 | background: var(--mwai-backgroundAiColor); |
| 400 | } |
| 401 | .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-error { |
| 402 | border: 1px solid #ff5656; |
| 403 | } |
| 404 | .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-user { |
| 405 | align-self: flex-end; |
| 406 | background: var(--mwai-backgroundUserColor); |
| 407 | color: white; |
| 408 | } |
| 409 | .mwai-timeless-theme .mwai-conversation.mwai-terminal { |
| 410 | --mwai-terminal-active-color: var(--mwai-accentColor); |
| 411 | } |
| 412 | .mwai-timeless-theme .mwai-text { |
| 413 | flex: auto; |
| 414 | } |
| 415 | .mwai-timeless-theme .mwai-text .mwai-image { |
| 416 | display: block; |
| 417 | max-width: 250px; |
| 418 | height: auto; |
| 419 | margin: 5px 0 10px 0; |
| 420 | border-radius: var(--mwai-borderRadius); |
| 421 | border: 1px solid rgba(255, 255, 255, 0.4588235294); |
| 422 | } |
| 423 | .mwai-timeless-theme .mwai-text .mwai-filename { |
| 424 | display: flex; |
| 425 | text-decoration: none; |
| 426 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 427 | border-radius: var(--mwai-borderRadius); |
| 428 | color: white; |
| 429 | padding: 5px 10px; |
| 430 | margin-bottom: 10px; |
| 431 | } |
| 432 | .mwai-timeless-theme .mwai-text > span > p > *:first-child { |
| 433 | margin-top: 0; |
| 434 | } |
| 435 | .mwai-timeless-theme .mwai-text a { |
| 436 | color: #2196f3; |
| 437 | } |
| 438 | .mwai-timeless-theme .mwai-text h1, .mwai-timeless-theme .mwai-text h2, .mwai-timeless-theme .mwai-text h3, .mwai-timeless-theme .mwai-text h4, .mwai-timeless-theme .mwai-text h5, .mwai-timeless-theme .mwai-text h6 { |
| 439 | margin: 0px; |
| 440 | line-height: 1.2; |
| 441 | } |
| 442 | .mwai-timeless-theme .mwai-text h1 { |
| 443 | font-size: 150%; |
| 444 | } |
| 445 | .mwai-timeless-theme .mwai-text h2 { |
| 446 | font-size: 130%; |
| 447 | } |
| 448 | .mwai-timeless-theme .mwai-text h3 { |
| 449 | font-size: 115%; |
| 450 | } |
| 451 | .mwai-timeless-theme .mwai-text h4 { |
| 452 | font-size: 105%; |
| 453 | } |
| 454 | .mwai-timeless-theme .mwai-text h5 { |
| 455 | font-size: 100%; |
| 456 | } |
| 457 | .mwai-timeless-theme .mwai-text h6 { |
| 458 | font-size: 95%; |
| 459 | font-weight: bold; |
| 460 | } |
| 461 | .mwai-timeless-theme .mwai-text p { |
| 462 | font-size: var(--mwai-fontSize); |
| 463 | line-height: var(--mwai-lineHeight); |
| 464 | } |
| 465 | .mwai-timeless-theme .mwai-text p code { |
| 466 | background: var(--mwai-backgroundAiSecondaryColor); |
| 467 | padding: 2px 6px; |
| 468 | border-radius: 8px; |
| 469 | font-size: calc(var(--mwai-fontSize) * 0.9); |
| 470 | font-family: system-ui; |
| 471 | } |
| 472 | .mwai-timeless-theme .mwai-text pre { |
| 473 | color: var(--mwai-fontColor); |
| 474 | border-radius: var(--mwai-borderRadius); |
| 475 | break-after: auto; |
| 476 | white-space: pre-wrap; |
| 477 | max-width: 100%; |
| 478 | width: 100%; |
| 479 | font-family: system-ui; |
| 480 | background: var(--mwai-backgroundAiSecondaryColor); |
| 481 | padding: var(--mwai-spacing); |
| 482 | } |
| 483 | .mwai-timeless-theme .mwai-text pre code { |
| 484 | padding: 0 !important; |
| 485 | font-family: system-ui; |
| 486 | background: var(--mwai-backgroundAiSecondaryColor); |
| 487 | } |
| 488 | .mwai-timeless-theme .mwai-text ul { |
| 489 | list-style: disc; |
| 490 | padding: 0; |
| 491 | margin: 0 0 0 15px; |
| 492 | } |
| 493 | .mwai-timeless-theme .mwai-text ol { |
| 494 | list-style: decimal; |
| 495 | padding: 0; |
| 496 | margin: 0 0 0 15px; |
| 497 | } |
| 498 | .mwai-timeless-theme .mwai-text table { |
| 499 | width: 100%; |
| 500 | border: 2px solid var(--mwai-backgroundAiSecondaryColor); |
| 501 | border-collapse: collapse; |
| 502 | } |
| 503 | .mwai-timeless-theme .mwai-text thead { |
| 504 | background: var(--mwai-backgroundAiSecondaryColor); |
| 505 | } |
| 506 | .mwai-timeless-theme .mwai-text tr, |
| 507 | .mwai-timeless-theme .mwai-text td { |
| 508 | padding: 2px 5px; |
| 509 | } |
| 510 | .mwai-timeless-theme .mwai-text td { |
| 511 | border: 2px solid var(--mwai-backgroundAiSecondaryColor); |
| 512 | } |
| 513 | .mwai-timeless-theme .mwai-text .mwai-typewriter { |
| 514 | display: inline-block; |
| 515 | } |
| 516 | .mwai-timeless-theme .mwai-text .mwai-typewriter > :first-child { |
| 517 | margin-top: 0; |
| 518 | } |
| 519 | .mwai-timeless-theme .mwai-text > *:first-child { |
| 520 | margin-top: 0; |
| 521 | } |
| 522 | .mwai-timeless-theme .mwai-text > *:last-child { |
| 523 | margin-bottom: 0; |
| 524 | } |
| 525 | .mwai-timeless-theme button { |
| 526 | background: var(--mwai-backgroundUserColor); |
| 527 | color: white; |
| 528 | border: none; |
| 529 | transition: all 0.5s; |
| 530 | padding: 7px 12px; |
| 531 | border-radius: var(--mwai-borderRadius); |
| 532 | } |
| 533 | .mwai-timeless-theme .mwai-input { |
| 534 | display: flex; |
| 535 | align-items: center; |
| 536 | position: relative; |
| 537 | width: 100%; |
| 538 | border-top: 0.5px solid rgba(0, 0, 0, 0.15); |
| 539 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 540 | position: relative; |
| 541 | /* Submit button as a neat circle around the icon */ |
| 542 | } |
| 543 | .mwai-timeless-theme .mwai-input .mwai-input-text { |
| 544 | flex: auto; |
| 545 | position: relative; |
| 546 | display: flex; |
| 547 | overflow: hidden; |
| 548 | border-radius: var(--mwai-borderRadius); |
| 549 | width: 100%; |
| 550 | background: var(--mwai-backgroundPrimaryColor); |
| 551 | overflow: hidden; |
| 552 | } |
| 553 | .mwai-timeless-theme .mwai-input .mwai-input-text.mwai-blocked img { |
| 554 | filter: grayscale(100%); |
| 555 | opacity: 0.5; |
| 556 | } |
| 557 | .mwai-timeless-theme .mwai-input .mwai-input-text.mwai-dragging { |
| 558 | border: 1px dashed var(--mwai-backgroundAiSecondaryColor); |
| 559 | } |
| 560 | .mwai-timeless-theme .mwai-input .mwai-input-text textarea { |
| 561 | background: var(--mwai-backgroundPrimaryColor); |
| 562 | color: var(--mwai-fontColor); |
| 563 | flex: auto; |
| 564 | border: none; |
| 565 | font-size: var(--mwai-fontSize); |
| 566 | resize: none; |
| 567 | font-family: inherit; |
| 568 | margin: 0; |
| 569 | overflow: hidden; |
| 570 | min-height: inherit; |
| 571 | box-shadow: none; |
| 572 | outline: none; |
| 573 | } |
| 574 | .mwai-timeless-theme .mwai-input .mwai-input-text textarea:focus { |
| 575 | outline: none; |
| 576 | box-shadow: none; |
| 577 | } |
| 578 | .mwai-timeless-theme .mwai-input .mwai-input-text textarea::placeholder { |
| 579 | color: rgba(0, 0, 0, 0.25); |
| 580 | } |
| 581 | .mwai-timeless-theme .mwai-input .mwai-input-text .mwai-microphone { |
| 582 | display: flex; |
| 583 | justify-content: center; |
| 584 | align-items: center; |
| 585 | } |
| 586 | .mwai-timeless-theme .mwai-input .mwai-input-text .mwai-microphone svg { |
| 587 | opacity: 0.5; |
| 588 | filter: grayscale(100%); |
| 589 | transition: opacity 0.3s ease-out; |
| 590 | cursor: pointer; |
| 591 | } |
| 592 | .mwai-timeless-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg { |
| 593 | opacity: 1; |
| 594 | } |
| 595 | .mwai-timeless-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg { |
| 596 | opacity: 0; |
| 597 | cursor: not-allowed; |
| 598 | } |
| 599 | .mwai-timeless-theme .mwai-input button { |
| 600 | margin-left: var(--mwai-spacing); |
| 601 | border-radius: 100%; |
| 602 | cursor: pointer; |
| 603 | height: 48px; |
| 604 | width: 48px; |
| 605 | min-width: 48px; |
| 606 | min-height: 48px; |
| 607 | transition: filter 0.2s ease, transform 0.15s ease-out; |
| 608 | } |
| 609 | .mwai-timeless-theme .mwai-input button img { |
| 610 | width: 20px; |
| 611 | height: 20px; |
| 612 | margin: auto; |
| 613 | display: block; |
| 614 | filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg) brightness(1000%) contrast(100%); |
| 615 | } |
| 616 | .mwai-timeless-theme .mwai-input button .mwai-timer { |
| 617 | font-size: 18px; |
| 618 | font-weight: 600; |
| 619 | color: rgba(0, 0, 0, 0.25); |
| 620 | letter-spacing: 0.5px; |
| 621 | font-variant-numeric: tabular-nums; |
| 622 | margin-right: var(--mwai-spacing); |
| 623 | } |
| 624 | .mwai-timeless-theme .mwai-input button:hover { |
| 625 | filter: brightness(1.2); |
| 626 | } |
| 627 | .mwai-timeless-theme .mwai-input button[disabled] { |
| 628 | cursor: not-allowed; |
| 629 | background: transparent !important; |
| 630 | border: none !important; |
| 631 | } |
| 632 | .mwai-timeless-theme .mwai-input button[disabled] .mwai-timer { |
| 633 | display: block; |
| 634 | } |
| 635 | .mwai-timeless-theme .mwai-input .mwai-input-submit { |
| 636 | background: var(--mwai-backgroundHeaderColor); |
| 637 | display: inline-flex; |
| 638 | align-items: center; |
| 639 | justify-content: center; |
| 640 | /* Theme token to avoid hard-coded sizes */ |
| 641 | --mwai-submitSize: 40px; |
| 642 | width: var(--mwai-submitSize); |
| 643 | height: var(--mwai-submitSize); |
| 644 | min-width: var(--mwai-submitSize); |
| 645 | min-height: var(--mwai-submitSize); |
| 646 | padding: 0; |
| 647 | border-radius: 50%; |
| 648 | margin-right: -5px; /* slight optical alignment against container padding */ |
| 649 | } |
| 650 | .mwai-timeless-theme .mwai-input .mwai-input-submit svg, .mwai-timeless-theme .mwai-input .mwai-input-submit img { |
| 651 | transition: transform 0.15s ease-out; |
| 652 | } |
| 653 | .mwai-timeless-theme .mwai-input .mwai-input-submit:hover svg, .mwai-timeless-theme .mwai-input .mwai-input-submit:hover img { |
| 654 | transform: scale(1.1); |
| 655 | } |
| 656 | .mwai-timeless-theme .mwai-footer { |
| 657 | display: flex; |
| 658 | align-items: center; |
| 659 | background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor)); |
| 660 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 661 | padding: 6px var(--mwai-spacing); |
| 662 | } |
| 663 | .mwai-timeless-theme .mwai-footer:empty { |
| 664 | display: none; |
| 665 | } |
| 666 | .mwai-timeless-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) { |
| 667 | display: none; |
| 668 | } |
| 669 | .mwai-timeless-theme .mwai-footer .mwai-tools { |
| 670 | display: flex; |
| 671 | align-items: center; |
| 672 | gap: 8px; |
| 673 | margin-right: calc(var(--mwai-spacing) / 2); |
| 674 | } |
| 675 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload { |
| 676 | display: inline-block; |
| 677 | } |
| 678 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide { |
| 679 | display: inline-flex; |
| 680 | align-items: center; |
| 681 | justify-content: center; |
| 682 | position: relative; |
| 683 | min-width: 16px; |
| 684 | height: 16px; |
| 685 | color: var(--mwai-fontColor); |
| 686 | opacity: 0.75; |
| 687 | margin: 0; |
| 688 | } |
| 689 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover { |
| 690 | opacity: 1; |
| 691 | } |
| 692 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg { |
| 693 | width: 16px; |
| 694 | height: 16px; |
| 695 | } |
| 696 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count { |
| 697 | position: absolute; |
| 698 | top: -5px; |
| 699 | right: -6px; |
| 700 | min-width: 12px; |
| 701 | height: 12px; |
| 702 | padding: 0 2px; |
| 703 | border-radius: 999px; |
| 704 | background: var(--mwai-backgroundHeaderColor); |
| 705 | color: #fff; |
| 706 | border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor)); |
| 707 | font-size: 8px; |
| 708 | font-family: system-ui; |
| 709 | font-weight: 700; |
| 710 | line-height: 1; |
| 711 | display: inline-flex; |
| 712 | align-items: center; |
| 713 | justify-content: center; |
| 714 | user-select: none; |
| 715 | cursor: pointer; |
| 716 | } |
| 717 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after { |
| 718 | content: attr(data-count); |
| 719 | } |
| 720 | .mwai-timeless-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after { |
| 721 | content: "-"; |
| 722 | } |
| 723 | .mwai-timeless-theme .mwai-footer .mwai-compliance { |
| 724 | opacity: 0.5; |
| 725 | font-size: 11px; |
| 726 | line-height: 11px; |
| 727 | color: var(--mwai-fontColor); |
| 728 | flex: 1; |
| 729 | text-align: left; |
| 730 | padding: calc(var(--mwai-spacing) / 2) 0; |
| 731 | margin: 0; |
| 732 | } |
| 733 | .mwai-timeless-theme .mwai-footer .mwai-tools + .mwai-compliance { |
| 734 | text-align: right; |
| 735 | } |
| 736 | .mwai-timeless-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-timeless-theme .mwai-body:last-child .mwai-input { |
| 737 | padding-bottom: var(--mwai-spacing); |
| 738 | } |
| 739 | @media (max-width: 760px) { |
| 740 | .mwai-timeless-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-timeless-theme .mwai-body:last-child .mwai-input { |
| 741 | padding-bottom: var(--mwai-spacing); |
| 742 | } |
| 743 | } |
| 744 | .mwai-timeless-theme .mwai-gallery { |
| 745 | display: grid; |
| 746 | grid-template-columns: repeat(3, 1fr); |
| 747 | grid-gap: 5px; |
| 748 | } |
| 749 | .mwai-timeless-theme .mwai-gallery img { |
| 750 | width: 100%; |
| 751 | } |
| 752 | .mwai-timeless-theme .mwai-files { |
| 753 | border-top: 0.5px solid rgba(0, 0, 0, 0.15); |
| 754 | background: var(--mwai-backgroundAiColor); |
| 755 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 756 | } |
| 757 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window { |
| 758 | filter: none; |
| 759 | } |
| 760 | @media (max-width: 760px) { |
| 761 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-header { |
| 762 | display: none !important; |
| 763 | } |
| 764 | } |
| 765 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-window-box { |
| 766 | display: flex; |
| 767 | flex-direction: column; |
| 768 | filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15)); |
| 769 | opacity: 0; |
| 770 | transform: scale(0.5); |
| 771 | transform-origin: bottom right; |
| 772 | transition: opacity 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| 773 | } |
| 774 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box { |
| 775 | width: 100%; |
| 776 | height: 100%; |
| 777 | } |
| 778 | @media (min-width: 761px) { |
| 779 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header { |
| 780 | display: flex !important; |
| 781 | } |
| 782 | } |
| 783 | @media (max-width: 760px) { |
| 784 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header { |
| 785 | display: none !important; |
| 786 | } |
| 787 | } |
| 788 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body { |
| 789 | display: flex !important; |
| 790 | } |
| 791 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box { |
| 792 | opacity: 1; |
| 793 | transform: scale(0.92); |
| 794 | } |
| 795 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box { |
| 796 | opacity: 1; |
| 797 | transform: scale(1); |
| 798 | } |
| 799 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box { |
| 800 | opacity: 0; |
| 801 | transform: scale(0.85); |
| 802 | transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1); |
| 803 | } |
| 804 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger { |
| 805 | display: none !important; |
| 806 | } |
| 807 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container { |
| 808 | transform: scale(1); |
| 809 | opacity: 1; |
| 810 | } |
| 811 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box { |
| 812 | transform-origin: calc(100% - 32px) calc(100% - 32px); |
| 813 | } |
| 814 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box { |
| 815 | transform-origin: 32px calc(100% - 32px); |
| 816 | } |
| 817 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box { |
| 818 | transform-origin: calc(100% - 32px) 32px; |
| 819 | } |
| 820 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box { |
| 821 | transform-origin: 32px 32px; |
| 822 | } |
| 823 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box { |
| 824 | transform-origin: center center; |
| 825 | } |
| 826 | @media (max-width: 760px) { |
| 827 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box { |
| 828 | transform-origin: center center !important; |
| 829 | } |
| 830 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-header { |
| 831 | display: none !important; |
| 832 | } |
| 833 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-trigger { |
| 834 | position: fixed !important; |
| 835 | z-index: 9999 !important; |
| 836 | } |
| 837 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger { |
| 838 | bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important; |
| 839 | right: 20px !important; |
| 840 | left: auto !important; |
| 841 | top: auto !important; |
| 842 | } |
| 843 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger { |
| 844 | bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important; |
| 845 | left: 20px !important; |
| 846 | right: auto !important; |
| 847 | top: auto !important; |
| 848 | } |
| 849 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger { |
| 850 | top: 20px !important; |
| 851 | right: 20px !important; |
| 852 | left: auto !important; |
| 853 | bottom: auto !important; |
| 854 | } |
| 855 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger { |
| 856 | top: 20px !important; |
| 857 | left: 20px !important; |
| 858 | right: auto !important; |
| 859 | bottom: auto !important; |
| 860 | } |
| 861 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger { |
| 862 | display: none !important; |
| 863 | } |
| 864 | } |
| 865 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container { |
| 866 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 867 | } |
| 868 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 869 | transition: transform 0.2s ease-out; |
| 870 | } |
| 871 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 872 | transform: scale(1.1); |
| 873 | } |
| 874 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 875 | transform: scale(0.9); |
| 876 | } |
| 877 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 878 | transform: scale(0.8); |
| 879 | opacity: 0.3; |
| 880 | } |
| 881 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 882 | display: none; |
| 883 | } |
| 884 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger { |
| 885 | display: none !important; |
| 886 | } |
| 887 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 888 | opacity: 1 !important; |
| 889 | transition: none !important; |
| 890 | } |
| 891 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 892 | will-change: transform, opacity; |
| 893 | transform: none; |
| 894 | } |
| 895 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-right .mwai-icon-text { |
| 896 | transform-origin: right bottom; |
| 897 | } |
| 898 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-left .mwai-icon-text { |
| 899 | transform-origin: left bottom; |
| 900 | } |
| 901 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-right .mwai-icon-text { |
| 902 | transform-origin: right top; |
| 903 | } |
| 904 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-left .mwai-icon-text { |
| 905 | transform-origin: left top; |
| 906 | } |
| 907 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-center-open .mwai-icon-text { |
| 908 | transform-origin: center center; |
| 909 | } |
| 910 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 911 | animation: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both; |
| 912 | } |
| 913 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text { |
| 914 | transform: scale(1.02); |
| 915 | } |
| 916 | @media (prefers-reduced-motion: reduce) { |
| 917 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 918 | animation: none !important; |
| 919 | transform: none !important; |
| 920 | } |
| 921 | .mwai-timeless-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 922 | opacity: 1 !important; |
| 923 | transition: none !important; |
| 924 | } |
| 925 | } |
| 926 | .mwai-timeless-theme.mwai-animation-slide.mwai-window { |
| 927 | filter: none; |
| 928 | } |
| 929 | @media (max-width: 760px) { |
| 930 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-header { |
| 931 | display: none !important; |
| 932 | } |
| 933 | } |
| 934 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-window-box { |
| 935 | display: flex; |
| 936 | flex-direction: column; |
| 937 | filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15)); |
| 938 | opacity: 0; |
| 939 | transform: translateY(100%); |
| 940 | transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94); |
| 941 | } |
| 942 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box { |
| 943 | width: 100%; |
| 944 | height: 100%; |
| 945 | } |
| 946 | @media (min-width: 761px) { |
| 947 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header { |
| 948 | display: flex !important; |
| 949 | } |
| 950 | } |
| 951 | @media (max-width: 760px) { |
| 952 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header { |
| 953 | display: none !important; |
| 954 | } |
| 955 | } |
| 956 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body { |
| 957 | display: flex !important; |
| 958 | } |
| 959 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box { |
| 960 | opacity: 0.5; |
| 961 | transform: translateY(20px); |
| 962 | } |
| 963 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box { |
| 964 | opacity: 1; |
| 965 | transform: translateY(0); |
| 966 | } |
| 967 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box { |
| 968 | opacity: 0; |
| 969 | transform: translateY(100%); |
| 970 | transition: opacity 200ms ease-in, transform 200ms ease-in; |
| 971 | } |
| 972 | @media (max-width: 760px) { |
| 973 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-header { |
| 974 | display: none !important; |
| 975 | } |
| 976 | } |
| 977 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container { |
| 978 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 979 | } |
| 980 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 981 | transition: transform 0.2s ease-out; |
| 982 | } |
| 983 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 984 | transform: scale(1.1); |
| 985 | } |
| 986 | .mwai-timeless-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 987 | transform: scale(0.9); |
| 988 | } |
| 989 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 990 | opacity: 0; |
| 991 | } |
| 992 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger { |
| 993 | display: none !important; |
| 994 | } |
| 995 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger { |
| 996 | display: none !important; |
| 997 | } |
| 998 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger { |
| 999 | display: none !important; |
| 1000 | } |
| 1001 | .mwai-timeless-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 1002 | display: none; |
| 1003 | } |
| 1004 | .mwai-timeless-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1005 | opacity: 1 !important; |
| 1006 | transition: none !important; |
| 1007 | } |
| 1008 | .mwai-timeless-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1009 | will-change: transform, opacity; |
| 1010 | transform: none; |
| 1011 | } |
| 1012 | .mwai-timeless-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1013 | animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both; |
| 1014 | backface-visibility: hidden; |
| 1015 | } |
| 1016 | .mwai-timeless-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text { |
| 1017 | transform: translateY(-2px); |
| 1018 | } |
| 1019 | @media (prefers-reduced-motion: reduce) { |
| 1020 | .mwai-timeless-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1021 | animation: none !important; |
| 1022 | transform: none !important; |
| 1023 | } |
| 1024 | .mwai-timeless-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1025 | opacity: 1 !important; |
| 1026 | transition: none !important; |
| 1027 | } |
| 1028 | } |
| 1029 | @media (max-width: 760px) { |
| 1030 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-header { |
| 1031 | display: none !important; |
| 1032 | } |
| 1033 | } |
| 1034 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-window-box { |
| 1035 | display: flex; |
| 1036 | flex-direction: column; |
| 1037 | filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15)); |
| 1038 | opacity: 0; |
| 1039 | transform: translateY(8px) scale(0.98); |
| 1040 | transform-origin: center bottom; |
| 1041 | will-change: opacity, transform; |
| 1042 | transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1); |
| 1043 | } |
| 1044 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box { |
| 1045 | width: 100%; |
| 1046 | height: 100%; |
| 1047 | } |
| 1048 | @media (min-width: 761px) { |
| 1049 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 1050 | display: flex !important; |
| 1051 | } |
| 1052 | } |
| 1053 | @media (max-width: 760px) { |
| 1054 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 1055 | display: none !important; |
| 1056 | } |
| 1057 | } |
| 1058 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body { |
| 1059 | display: flex !important; |
| 1060 | opacity: 1 !important; |
| 1061 | transition: none !important; |
| 1062 | } |
| 1063 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header { |
| 1064 | opacity: 1 !important; |
| 1065 | transition: none !important; |
| 1066 | } |
| 1067 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box { |
| 1068 | opacity: 1; |
| 1069 | transform: translateY(0) scale(1); |
| 1070 | } |
| 1071 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body { |
| 1072 | opacity: 1 !important; |
| 1073 | transition: none !important; |
| 1074 | } |
| 1075 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box { |
| 1076 | opacity: 1; |
| 1077 | transform: translateY(0) scale(1); |
| 1078 | } |
| 1079 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box { |
| 1080 | opacity: 0; |
| 1081 | transform: translateY(8px) scale(0.98); |
| 1082 | transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1); |
| 1083 | } |
| 1084 | @media (prefers-reduced-motion: reduce) { |
| 1085 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-window-box { |
| 1086 | transition: opacity 120ms linear !important; |
| 1087 | transform: none !important; |
| 1088 | } |
| 1089 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box, .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box { |
| 1090 | opacity: 1; |
| 1091 | } |
| 1092 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box { |
| 1093 | opacity: 0; |
| 1094 | } |
| 1095 | } |
| 1096 | @media (max-width: 760px) { |
| 1097 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-header { |
| 1098 | display: none !important; |
| 1099 | } |
| 1100 | } |
| 1101 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container { |
| 1102 | transition: transform 0.2s ease-out, opacity 0.2s ease-out; |
| 1103 | } |
| 1104 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1105 | transition: transform 0.2s ease-out; |
| 1106 | } |
| 1107 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon { |
| 1108 | transform: scale(1.1); |
| 1109 | } |
| 1110 | .mwai-timeless-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon { |
| 1111 | transform: scale(0.9); |
| 1112 | } |
| 1113 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container { |
| 1114 | opacity: 0; |
| 1115 | } |
| 1116 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger { |
| 1117 | display: none !important; |
| 1118 | } |
| 1119 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger { |
| 1120 | display: none !important; |
| 1121 | } |
| 1122 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger { |
| 1123 | display: none !important; |
| 1124 | } |
| 1125 | .mwai-timeless-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger { |
| 1126 | display: none; |
| 1127 | } |
| 1128 | .mwai-timeless-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1129 | opacity: 1 !important; |
| 1130 | transition: none !important; |
| 1131 | } |
| 1132 | .mwai-timeless-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1133 | will-change: transform, opacity; |
| 1134 | transform: none; |
| 1135 | } |
| 1136 | .mwai-timeless-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1137 | animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both; |
| 1138 | } |
| 1139 | .mwai-timeless-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text { |
| 1140 | transform: scale(1.01); |
| 1141 | } |
| 1142 | @media (prefers-reduced-motion: reduce) { |
| 1143 | .mwai-timeless-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text { |
| 1144 | animation: none !important; |
| 1145 | transform: none !important; |
| 1146 | } |
| 1147 | .mwai-timeless-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container { |
| 1148 | opacity: 1 !important; |
| 1149 | transition: none !important; |
| 1150 | } |
| 1151 | } |
| 1152 | .mwai-timeless-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box { |
| 1153 | display: flex; |
| 1154 | flex-direction: column; |
| 1155 | filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1)); |
| 1156 | } |
| 1157 | .mwai-timeless-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container { |
| 1158 | opacity: 1 !important; |
| 1159 | transition: none !important; |
| 1160 | } |
| 1161 | .mwai-timeless-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text { |
| 1162 | animation: none !important; |
| 1163 | transition: none !important; |
| 1164 | opacity: 1 !important; |
| 1165 | transform: none !important; |
| 1166 | } |
| 1167 | .mwai-timeless-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box { |
| 1168 | width: 100%; |
| 1169 | height: 100%; |
| 1170 | } |
| 1171 | .mwai-timeless-theme.mwai-window .mwai-input-submit { |
| 1172 | margin-right: -5px; /* subtle overlap for visual balance on desktop */ |
| 1173 | margin-left: 0; |
| 1174 | } |
| 1175 | .mwai-timeless-theme.mwai-window.mwai-fullscreen .mwai-input-submit { |
| 1176 | margin-right: 0; /* no overlap in fullscreen */ |
| 1177 | } |
| 1178 | .mwai-timeless-theme.mwai-form-container { |
| 1179 | padding: var(--mwai-spacing); |
| 1180 | font-size: var(--mwai-fontSize); |
| 1181 | color: var(--mwai-fontColor); |
| 1182 | background: var(--mwai-backgroundPrimaryColor); |
| 1183 | border-radius: var(--mwai-borderRadius); |
| 1184 | } |
| 1185 | .mwai-timeless-theme.mwai-form-container fieldset { |
| 1186 | border: 0; |
| 1187 | margin: 0; |
| 1188 | padding: 0; |
| 1189 | display: flex; |
| 1190 | flex-direction: column; |
| 1191 | margin-bottom: 10px; |
| 1192 | } |
| 1193 | .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 { |
| 1194 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 1195 | border: 0; |
| 1196 | width: 100%; |
| 1197 | border-radius: var(--mwai-borderRadius); |
| 1198 | font-size: var(--mwai-fontSize); |
| 1199 | background: var(--mwai-backgroundAiColor) !important; |
| 1200 | color: var(--mwai-fontColor); |
| 1201 | } |
| 1202 | .mwai-timeless-theme.mwai-form-container fieldset select { |
| 1203 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 1204 | border: 0; |
| 1205 | width: 100%; |
| 1206 | border-radius: var(--mwai-borderRadius); |
| 1207 | font-size: var(--mwai-fontSize); |
| 1208 | background: var(--mwai-backgroundPrimaryColor); |
| 1209 | color: var(--mwai-fontColor); |
| 1210 | } |
| 1211 | .mwai-timeless-theme.mwai-form-container fieldset textarea { |
| 1212 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 1213 | border: 0; |
| 1214 | width: 100%; |
| 1215 | border-radius: var(--mwai-borderRadius); |
| 1216 | font-family: inherit; |
| 1217 | font-size: var(--mwai-fontSize); |
| 1218 | background: var(--mwai-backgroundPrimaryColor); |
| 1219 | color: var(--mwai-fontColor); |
| 1220 | } |
| 1221 | .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] { |
| 1222 | opacity: 0.25; |
| 1223 | } |
| 1224 | .mwai-timeless-theme.mwai-form-container .mwai-form-submit button, .mwai-timeless-theme.mwai-form-container .mwai-form-reset button { |
| 1225 | height: 45px; |
| 1226 | background: none; |
| 1227 | width: 100%; |
| 1228 | color: white; |
| 1229 | font-size: var(--mwai-fontSize); |
| 1230 | background: var(--mwai-backgroundUserColor); |
| 1231 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1232 | border-radius: var(--mwai-borderRadius); |
| 1233 | cursor: pointer; |
| 1234 | transition: all 0.2s ease-out; |
| 1235 | position: relative; |
| 1236 | } |
| 1237 | .mwai-timeless-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-timeless-theme.mwai-form-container .mwai-form-reset button:hover { |
| 1238 | filter: brightness(1.2); |
| 1239 | } |
| 1240 | .mwai-timeless-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-timeless-theme.mwai-form-container .mwai-form-reset button[disabled] span { |
| 1241 | opacity: 0.25; |
| 1242 | } |
| 1243 | .mwai-timeless-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-timeless-theme.mwai-form-container .mwai-form-reset button[disabled]:hover { |
| 1244 | filter: brightness(1); |
| 1245 | cursor: not-allowed; |
| 1246 | } |
| 1247 | .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 { |
| 1248 | opacity: 0; |
| 1249 | } |
| 1250 | .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 { |
| 1251 | content: ""; |
| 1252 | position: absolute; |
| 1253 | width: 18px; |
| 1254 | height: 18px; |
| 1255 | top: 0; |
| 1256 | left: 0; |
| 1257 | right: 0; |
| 1258 | bottom: 0; |
| 1259 | margin: auto; |
| 1260 | border: 3px solid transparent; |
| 1261 | border-top-color: white; |
| 1262 | border-radius: 50%; |
| 1263 | animation: mwai-button-spinner 1s ease infinite; |
| 1264 | } |
| 1265 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output { |
| 1266 | font-size: var(--mwai-fontSize); |
| 1267 | position: relative; |
| 1268 | margin-top: var(--mwai-spacing); |
| 1269 | padding: var(--mwai-spacing); |
| 1270 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1271 | } |
| 1272 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error { |
| 1273 | background: var(--mwai-errorBackgroundColor); |
| 1274 | color: var(--mwai-errorFontColor); |
| 1275 | } |
| 1276 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > * { |
| 1277 | color: var(--mwai-fontColor) !important; |
| 1278 | } |
| 1279 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child { |
| 1280 | margin-top: 0; |
| 1281 | } |
| 1282 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child { |
| 1283 | margin-bottom: 0; |
| 1284 | } |
| 1285 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img { |
| 1286 | max-width: 33%; |
| 1287 | } |
| 1288 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child { |
| 1289 | margin-top: 0; |
| 1290 | } |
| 1291 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child { |
| 1292 | margin-bottom: 0; |
| 1293 | } |
| 1294 | .mwai-timeless-theme.mwai-form-container .mwai-form-output-container.mwai-has-content { |
| 1295 | display: block; |
| 1296 | } |
| 1297 | .mwai-timeless-theme.mwai-form-container .wp-block-columns { |
| 1298 | margin: 0; |
| 1299 | } |
| 1300 | |
| 1301 | .mwai-timeless-theme .mwai-files { |
| 1302 | display: flex; |
| 1303 | flex-direction: column; |
| 1304 | gap: 8px; |
| 1305 | padding: var(--mwai-spacing); |
| 1306 | background: var(--mwai-backgroundSecondaryColor); |
| 1307 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 1308 | } |
| 1309 | .mwai-timeless-theme .mwai-files::-webkit-scrollbar { |
| 1310 | width: 6px; |
| 1311 | } |
| 1312 | .mwai-timeless-theme .mwai-files::-webkit-scrollbar-track { |
| 1313 | background: var(--mwai-backgroundPrimaryColor); |
| 1314 | border-radius: 3px; |
| 1315 | } |
| 1316 | .mwai-timeless-theme .mwai-files::-webkit-scrollbar-thumb { |
| 1317 | background: var(--mwai-backgroundHeaderColor); |
| 1318 | border-radius: 3px; |
| 1319 | } |
| 1320 | .mwai-timeless-theme .mwai-files::-webkit-scrollbar-thumb:hover { |
| 1321 | background: var(--mwai-primaryColor); |
| 1322 | } |
| 1323 | .mwai-timeless-theme .mwai-files .mwai-file-preview { |
| 1324 | position: relative; |
| 1325 | } |
| 1326 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-content { |
| 1327 | display: flex; |
| 1328 | align-items: center; |
| 1329 | gap: 8px; |
| 1330 | } |
| 1331 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail { |
| 1332 | width: 32px; |
| 1333 | height: 32px; |
| 1334 | object-fit: cover; |
| 1335 | border-radius: 4px; |
| 1336 | border: 1px solid var(--mwai-backgroundHeaderColor); |
| 1337 | display: block; |
| 1338 | flex-shrink: 0; |
| 1339 | } |
| 1340 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-icon { |
| 1341 | width: 32px; |
| 1342 | height: 32px; |
| 1343 | display: flex; |
| 1344 | align-items: center; |
| 1345 | justify-content: center; |
| 1346 | background: var(--mwai-backgroundSecondaryColor); |
| 1347 | border-radius: 4px; |
| 1348 | color: var(--mwai-fontColor); |
| 1349 | opacity: 0.6; |
| 1350 | flex-shrink: 0; |
| 1351 | } |
| 1352 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-icon svg { |
| 1353 | width: 18px; |
| 1354 | height: 18px; |
| 1355 | } |
| 1356 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-info { |
| 1357 | flex: 1; |
| 1358 | min-width: 0; |
| 1359 | display: flex; |
| 1360 | flex-direction: column; |
| 1361 | gap: 2px; |
| 1362 | } |
| 1363 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-name { |
| 1364 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 1365 | color: var(--mwai-fontColor); |
| 1366 | white-space: nowrap; |
| 1367 | overflow: hidden; |
| 1368 | text-overflow: ellipsis; |
| 1369 | line-height: 1.2; |
| 1370 | } |
| 1371 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-size { |
| 1372 | font-size: calc(var(--mwai-fontSize) * 0.7); |
| 1373 | color: var(--mwai-fontColor); |
| 1374 | opacity: 0.5; |
| 1375 | line-height: 1; |
| 1376 | } |
| 1377 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-progress { |
| 1378 | position: absolute; |
| 1379 | bottom: 0; |
| 1380 | left: 0; |
| 1381 | right: 0; |
| 1382 | height: 2px; |
| 1383 | background: var(--mwai-backgroundHeaderColor); |
| 1384 | border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2); |
| 1385 | overflow: hidden; |
| 1386 | } |
| 1387 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar { |
| 1388 | height: 100%; |
| 1389 | background: var(--mwai-primaryColor); |
| 1390 | transition: width 0.3s ease; |
| 1391 | } |
| 1392 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-remove { |
| 1393 | display: flex; |
| 1394 | align-items: center; |
| 1395 | justify-content: center; |
| 1396 | background: none; |
| 1397 | cursor: pointer; |
| 1398 | color: var(--mwai-fontColor); |
| 1399 | padding: 4px; |
| 1400 | border: none; |
| 1401 | line-height: 0; |
| 1402 | min-width: inherit; |
| 1403 | margin-left: auto; |
| 1404 | opacity: 0.6; |
| 1405 | transition: opacity 0.2s ease; |
| 1406 | } |
| 1407 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover { |
| 1408 | opacity: 1; |
| 1409 | } |
| 1410 | .mwai-timeless-theme .mwai-files .mwai-file-preview .mwai-file-remove svg { |
| 1411 | width: 20px; |
| 1412 | height: 20px; |
| 1413 | } |
| 1414 | .mwai-timeless-theme .mwai-files:empty { |
| 1415 | display: none; |
| 1416 | } |
| 1417 | .mwai-timeless-theme .mwai-file-upload-icon { |
| 1418 | margin-bottom: -3px; |
| 1419 | } |
| 1420 | .mwai-timeless-theme .mwai-terminal { |
| 1421 | --mwai-terminal-active-color: var(--mwai-fontColor); |
| 1422 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace; |
| 1423 | font-size: 12px; |
| 1424 | background: var(--mwai-backgroundPrimaryColor); |
| 1425 | color: var(--mwai-fontColor); |
| 1426 | padding: var(--mwai-spacing); |
| 1427 | height: 100%; |
| 1428 | overflow-y: auto; |
| 1429 | cursor: text; |
| 1430 | display: flex; |
| 1431 | flex-direction: column; |
| 1432 | flex: 1 1 auto; |
| 1433 | min-height: 0; |
| 1434 | padding-bottom: calc(var(--mwai-spacing) * 1.25); |
| 1435 | scrollbar-width: thin; |
| 1436 | scrollbar-color: rgba(128, 128, 128, 0.3) transparent; |
| 1437 | } |
| 1438 | .mwai-timeless-theme .mwai-terminal:focus { |
| 1439 | outline: none; |
| 1440 | } |
| 1441 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-line { |
| 1442 | display: flex; |
| 1443 | align-items: flex-start; |
| 1444 | margin: calc(var(--mwai-spacing) / 2) 0; |
| 1445 | white-space: pre-wrap; |
| 1446 | word-wrap: break-word; |
| 1447 | word-break: break-word; |
| 1448 | } |
| 1449 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user { |
| 1450 | color: var(--mwai-fontColor); |
| 1451 | opacity: 0.35; |
| 1452 | } |
| 1453 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing { |
| 1454 | color: var(--mwai-terminal-active-color); |
| 1455 | opacity: 1; |
| 1456 | } |
| 1457 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt { |
| 1458 | color: var(--mwai-terminal-active-color); |
| 1459 | } |
| 1460 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant { |
| 1461 | color: var(--mwai-fontColor); |
| 1462 | } |
| 1463 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system { |
| 1464 | color: #608b4e; |
| 1465 | font-style: italic; |
| 1466 | } |
| 1467 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-prompt { |
| 1468 | color: var(--mwai-terminal-active-color); |
| 1469 | margin-left: -4px; |
| 1470 | margin-right: 4px; |
| 1471 | display: inline-flex; |
| 1472 | align-items: center; |
| 1473 | height: 1.5em; |
| 1474 | line-height: 1.2; |
| 1475 | flex-shrink: 0; |
| 1476 | align-self: flex-start; |
| 1477 | } |
| 1478 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-prompt svg { |
| 1479 | display: block; |
| 1480 | width: 1.4em; |
| 1481 | height: 1.4em; |
| 1482 | } |
| 1483 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-text { |
| 1484 | color: inherit; |
| 1485 | } |
| 1486 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-input-wrapper { |
| 1487 | flex: 1; |
| 1488 | display: inline; |
| 1489 | white-space: pre-wrap; |
| 1490 | word-wrap: break-word; |
| 1491 | word-break: break-word; |
| 1492 | } |
| 1493 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-typed { |
| 1494 | color: var(--mwai-terminal-active-color); |
| 1495 | white-space: pre-wrap; |
| 1496 | word-wrap: break-word; |
| 1497 | word-break: break-word; |
| 1498 | } |
| 1499 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-cursor { |
| 1500 | display: inline-block; |
| 1501 | width: 8px; |
| 1502 | height: 16px; |
| 1503 | background: var(--mwai-terminal-active-color); |
| 1504 | vertical-align: text-bottom; |
| 1505 | margin-left: 2px; |
| 1506 | transition: opacity 0.2s ease; |
| 1507 | opacity: 0.35; |
| 1508 | animation: none; |
| 1509 | } |
| 1510 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active { |
| 1511 | opacity: 1; |
| 1512 | animation: mwai-caret-blink 1s steps(2, start) infinite; |
| 1513 | } |
| 1514 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing { |
| 1515 | opacity: 1; |
| 1516 | animation: none; |
| 1517 | } |
| 1518 | .mwai-timeless-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive { |
| 1519 | opacity: 0.35; |
| 1520 | animation: none; |
| 1521 | } |
| 1522 | .mwai-timeless-theme .mwai-terminal::-webkit-scrollbar { |
| 1523 | width: 8px; |
| 1524 | background: transparent; |
| 1525 | } |
| 1526 | .mwai-timeless-theme .mwai-terminal::-webkit-scrollbar-track { |
| 1527 | background: transparent; |
| 1528 | } |
| 1529 | .mwai-timeless-theme .mwai-terminal::-webkit-scrollbar-thumb { |
| 1530 | background: rgba(128, 128, 128, 0.3); |
| 1531 | border-radius: 4px; |
| 1532 | } |
| 1533 | .mwai-timeless-theme .mwai-terminal::-webkit-scrollbar-thumb:hover { |
| 1534 | background: rgba(128, 128, 128, 0.5); |
| 1535 | } |
| 1536 | .mwai-timeless-theme .mwai-terminal + .mwai-compliance { |
| 1537 | margin-top: 0; |
| 1538 | } |
| 1539 | .mwai-timeless-theme.mwai-transition, .mwai-timeless-theme .mwai-transition { |
| 1540 | opacity: 0; |
| 1541 | transition: opacity 350ms ease-in-out; |
| 1542 | } |
| 1543 | .mwai-timeless-theme.mwai-transition-visible, .mwai-timeless-theme .mwai-transition-visible { |
| 1544 | opacity: 1; |
| 1545 | } |
| 1546 | .mwai-timeless-theme .mwai-text { |
| 1547 | overflow-wrap: anywhere; |
| 1548 | } |
| 1549 | .mwai-timeless-theme .mwai-text img, .mwai-timeless-theme .mwai-text svg { |
| 1550 | max-width: 100%; |
| 1551 | } |
| 1552 | .mwai-timeless-theme .mwai-text div p:first-child { |
| 1553 | margin-top: 0; |
| 1554 | } |
| 1555 | .mwai-timeless-theme .mwai-text div p:last-child { |
| 1556 | margin-bottom: 0; |
| 1557 | } |
| 1558 | .mwai-timeless-theme .mwai-trigger { |
| 1559 | position: absolute; |
| 1560 | right: 0; |
| 1561 | bottom: 0; |
| 1562 | transition: all 0.2s ease-out; |
| 1563 | z-index: 9999; |
| 1564 | display: flex; |
| 1565 | flex-direction: column; |
| 1566 | align-items: end; |
| 1567 | } |
| 1568 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container { |
| 1569 | display: flex; |
| 1570 | flex-direction: column; |
| 1571 | align-items: flex-end; |
| 1572 | position: relative; |
| 1573 | z-index: 2; |
| 1574 | } |
| 1575 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text { |
| 1576 | background: var(--mwai-iconTextBackgroundColor); |
| 1577 | color: var(--mwai-iconTextColor); |
| 1578 | box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15); |
| 1579 | max-width: 200px; |
| 1580 | font-size: 13px; |
| 1581 | margin-bottom: 15px; |
| 1582 | padding: 10px 15px; |
| 1583 | border-radius: 8px; |
| 1584 | position: relative; |
| 1585 | user-select: none; |
| 1586 | -webkit-user-select: none; |
| 1587 | -ms-user-select: none; |
| 1588 | } |
| 1589 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 1590 | --mwai-icon-close-size: 28px; |
| 1591 | color: var(--mwai-iconTextColor); |
| 1592 | background: var(--mwai-iconTextBackgroundColor); |
| 1593 | font-size: 13px; |
| 1594 | line-height: 1; |
| 1595 | width: var(--mwai-icon-close-size); |
| 1596 | height: var(--mwai-icon-close-size); |
| 1597 | min-width: var(--mwai-icon-close-size); |
| 1598 | min-height: var(--mwai-icon-close-size); |
| 1599 | border-radius: 50%; |
| 1600 | display: flex; |
| 1601 | opacity: 0; |
| 1602 | visibility: hidden; |
| 1603 | pointer-events: none; |
| 1604 | transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms; |
| 1605 | justify-content: center; |
| 1606 | align-items: center; |
| 1607 | position: absolute; |
| 1608 | right: 0; |
| 1609 | top: 0; |
| 1610 | transform: translate(40%, -40%); |
| 1611 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); |
| 1612 | z-index: 2; |
| 1613 | cursor: pointer; |
| 1614 | pointer-events: auto; |
| 1615 | -webkit-tap-highlight-color: transparent; |
| 1616 | user-select: none; |
| 1617 | -webkit-user-select: none; |
| 1618 | -ms-user-select: none; |
| 1619 | } |
| 1620 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container:hover { |
| 1621 | cursor: pointer; |
| 1622 | } |
| 1623 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close { |
| 1624 | opacity: 1; |
| 1625 | visibility: visible; |
| 1626 | pointer-events: auto; |
| 1627 | transform: translate(40%, -40%) scale(1); |
| 1628 | transition: opacity 120ms ease, transform 120ms ease, visibility 0s; |
| 1629 | } |
| 1630 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover { |
| 1631 | filter: brightness(1.1); |
| 1632 | transform: translate(40%, -40%) scale(1.06); |
| 1633 | } |
| 1634 | @media (max-width: 760px) { |
| 1635 | .mwai-timeless-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { |
| 1636 | opacity: 1; |
| 1637 | visibility: visible; |
| 1638 | pointer-events: auto; |
| 1639 | transform: translate(40%, -40%) scale(1); |
| 1640 | transition: opacity 120ms ease, transform 120ms ease, visibility 0s; |
| 1641 | } |
| 1642 | } |
| 1643 | .mwai-timeless-theme .mwai-trigger .mwai-icon-container { |
| 1644 | position: relative; |
| 1645 | z-index: 1; |
| 1646 | } |
| 1647 | .mwai-timeless-theme .mwai-trigger .mwai-icon-container .mwai-icon { |
| 1648 | filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15)); |
| 1649 | transition: all 0.2s ease-out; |
| 1650 | } |
| 1651 | .mwai-timeless-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 1652 | cursor: pointer; |
| 1653 | transform: scale(1.05); |
| 1654 | } |
| 1655 | .mwai-timeless-theme.mwai-window { |
| 1656 | position: fixed; |
| 1657 | right: 30px; |
| 1658 | bottom: 30px; |
| 1659 | width: var(--mwai-width); |
| 1660 | z-index: 9999; |
| 1661 | } |
| 1662 | .mwai-timeless-theme.mwai-window .mwai-window-box { |
| 1663 | position: relative; |
| 1664 | z-index: 1; |
| 1665 | } |
| 1666 | .mwai-timeless-theme.mwai-window .mwai-header { |
| 1667 | display: none; |
| 1668 | justify-content: flex-end; |
| 1669 | align-items: center; |
| 1670 | border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0; |
| 1671 | background: var(--mwai-backgroundHeaderColor); |
| 1672 | } |
| 1673 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons { |
| 1674 | display: flex; |
| 1675 | align-items: center; |
| 1676 | } |
| 1677 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button { |
| 1678 | justify-content: center; |
| 1679 | height: 32px; |
| 1680 | width: 32px; |
| 1681 | cursor: pointer; |
| 1682 | display: flex; |
| 1683 | justify-content: center; |
| 1684 | align-items: center; |
| 1685 | } |
| 1686 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 1687 | transition: all 0.2s ease-out; |
| 1688 | content: " "; |
| 1689 | cursor: pointer; |
| 1690 | position: absolute; |
| 1691 | height: 13px; |
| 1692 | width: 13px; |
| 1693 | border: 1px solid var(--mwai-headerColor); |
| 1694 | } |
| 1695 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 1696 | width: 16px; |
| 1697 | height: 16px; |
| 1698 | } |
| 1699 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button { |
| 1700 | justify-content: center; |
| 1701 | height: 32px; |
| 1702 | width: 32px; |
| 1703 | cursor: pointer; |
| 1704 | border-radius: var(--mwai-borderRadius); |
| 1705 | margin-left: -10px; |
| 1706 | } |
| 1707 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before { |
| 1708 | transition: all 0.2s ease-out; |
| 1709 | transform: translate(16px, 5px) rotate(45deg); |
| 1710 | } |
| 1711 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 1712 | transition: all 0.2s ease-out; |
| 1713 | transform: translate(16px, 5px) rotate(-45deg); |
| 1714 | } |
| 1715 | .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 { |
| 1716 | content: " "; |
| 1717 | cursor: pointer; |
| 1718 | position: absolute; |
| 1719 | height: 22px; |
| 1720 | width: 1px; |
| 1721 | background-color: var(--mwai-headerColor); |
| 1722 | } |
| 1723 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before { |
| 1724 | opacity: 1; |
| 1725 | transform: translate(16px, 5px) rotate(135deg); |
| 1726 | } |
| 1727 | .mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after { |
| 1728 | opacity: 1; |
| 1729 | transform: translate(16px, 5px) rotate(45deg); |
| 1730 | } |
| 1731 | .mwai-timeless-theme.mwai-window.mwai-opening, .mwai-timeless-theme.mwai-window.mwai-closing { |
| 1732 | cursor: default !important; |
| 1733 | } |
| 1734 | .mwai-timeless-theme.mwai-window.mwai-opening .mwai-header, .mwai-timeless-theme.mwai-window.mwai-closing .mwai-header { |
| 1735 | cursor: default !important; |
| 1736 | } |
| 1737 | .mwai-timeless-theme.mwai-window .mwai-body { |
| 1738 | display: none; |
| 1739 | opacity: 0; |
| 1740 | max-height: var(--mwai-maxHeight); |
| 1741 | border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius); |
| 1742 | } |
| 1743 | .mwai-timeless-theme.mwai-window.mwai-bottom-left { |
| 1744 | bottom: 30px; |
| 1745 | right: inherit; |
| 1746 | left: 30px; |
| 1747 | } |
| 1748 | .mwai-timeless-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 1749 | right: inherit; |
| 1750 | left: 0; |
| 1751 | } |
| 1752 | .mwai-timeless-theme.mwai-window.mwai-top-right { |
| 1753 | top: 30px; |
| 1754 | bottom: inherit; |
| 1755 | right: 30px; |
| 1756 | } |
| 1757 | .mwai-timeless-theme.mwai-window.mwai-top-right .mwai-trigger { |
| 1758 | top: 0; |
| 1759 | bottom: inherit; |
| 1760 | } |
| 1761 | .mwai-timeless-theme.mwai-window.mwai-top-left { |
| 1762 | top: 30px; |
| 1763 | bottom: inherit; |
| 1764 | right: inherit; |
| 1765 | left: 30px; |
| 1766 | } |
| 1767 | .mwai-timeless-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 1768 | top: 0; |
| 1769 | bottom: inherit; |
| 1770 | right: inherit; |
| 1771 | left: 0; |
| 1772 | } |
| 1773 | .mwai-timeless-theme.mwai-window.mwai-center-open.mwai-open { |
| 1774 | top: 50%; |
| 1775 | left: 50%; |
| 1776 | transform: translate(-50%, -50%); |
| 1777 | right: auto; |
| 1778 | bottom: auto; |
| 1779 | } |
| 1780 | @media (max-width: 760px) { |
| 1781 | .mwai-timeless-theme.mwai-window.mwai-center-open.mwai-open { |
| 1782 | width: calc(100% - 40px); |
| 1783 | max-width: var(--mwai-width); |
| 1784 | } |
| 1785 | } |
| 1786 | .mwai-timeless-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-timeless-theme.mwai-window.mwai-bottom-left .mwai-trigger { |
| 1787 | align-items: flex-start; |
| 1788 | } |
| 1789 | .mwai-timeless-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-timeless-theme.mwai-window.mwai-top-left .mwai-trigger { |
| 1790 | flex-direction: column-reverse; |
| 1791 | } |
| 1792 | .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 { |
| 1793 | margin-bottom: 0; |
| 1794 | margin-top: 15px; |
| 1795 | } |
| 1796 | .mwai-timeless-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons { |
| 1797 | margin-bottom: 0px; |
| 1798 | } |
| 1799 | .mwai-timeless-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 1800 | width: 16px; |
| 1801 | height: 16px; |
| 1802 | } |
| 1803 | .mwai-timeless-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 1804 | width: 13px; |
| 1805 | height: 13px; |
| 1806 | } |
| 1807 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) { |
| 1808 | position: fixed; |
| 1809 | left: 0 !important; |
| 1810 | right: 0 !important; |
| 1811 | bottom: 0 !important; |
| 1812 | top: 0 !important; |
| 1813 | width: 100%; |
| 1814 | height: 100%; |
| 1815 | height: 100vh; |
| 1816 | height: 100dvh; |
| 1817 | max-height: 100dvh; |
| 1818 | max-width: 100%; |
| 1819 | display: flex; |
| 1820 | flex-direction: column; |
| 1821 | margin: 0; |
| 1822 | z-index: 999999; |
| 1823 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1824 | display: flex !important; |
| 1825 | visibility: visible !important; |
| 1826 | opacity: 1 !important; |
| 1827 | } |
| 1828 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-header { |
| 1829 | border-radius: 0; |
| 1830 | } |
| 1831 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body { |
| 1832 | flex: 1; |
| 1833 | min-height: 0; |
| 1834 | max-height: inherit; |
| 1835 | border-radius: 0; |
| 1836 | display: flex !important; |
| 1837 | flex-direction: column !important; |
| 1838 | } |
| 1839 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation { |
| 1840 | flex: 0 1 auto !important; |
| 1841 | max-height: none; |
| 1842 | overflow-y: auto; |
| 1843 | min-height: 0; |
| 1844 | } |
| 1845 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer { |
| 1846 | flex: 1 1 auto !important; |
| 1847 | min-height: 0; |
| 1848 | } |
| 1849 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input { |
| 1850 | flex: 0 0 auto; |
| 1851 | } |
| 1852 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer { |
| 1853 | flex: 0 0 auto; |
| 1854 | } |
| 1855 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files { |
| 1856 | flex: 0 0 auto; |
| 1857 | } |
| 1858 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box { |
| 1859 | width: 100%; |
| 1860 | height: 100%; |
| 1861 | display: flex; |
| 1862 | flex-direction: column; |
| 1863 | } |
| 1864 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-header { |
| 1865 | display: flex !important; |
| 1866 | visibility: visible !important; |
| 1867 | opacity: 1 !important; |
| 1868 | flex: 0 0 auto; |
| 1869 | } |
| 1870 | .mwai-timeless-theme.mwai-fullscreen:not(.mwai-window) .mwai-body { |
| 1871 | display: flex !important; |
| 1872 | visibility: visible !important; |
| 1873 | opacity: 1 !important; |
| 1874 | flex: 1 1 auto; |
| 1875 | flex-direction: column; |
| 1876 | min-height: 0; |
| 1877 | height: 100%; |
| 1878 | } |
| 1879 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open { |
| 1880 | position: fixed; |
| 1881 | left: 0 !important; |
| 1882 | right: 0 !important; |
| 1883 | bottom: 0 !important; |
| 1884 | top: 0 !important; |
| 1885 | width: 100%; |
| 1886 | height: 100%; |
| 1887 | height: 100vh; |
| 1888 | height: 100dvh; |
| 1889 | max-height: 100dvh; |
| 1890 | max-width: 100%; |
| 1891 | display: flex; |
| 1892 | flex-direction: column; |
| 1893 | margin: 0; |
| 1894 | z-index: 999999; |
| 1895 | background-color: var(--mwai-backgroundSecondaryColor); |
| 1896 | transform: none !important; |
| 1897 | } |
| 1898 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header { |
| 1899 | border-radius: 0; |
| 1900 | } |
| 1901 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body { |
| 1902 | flex: 1; |
| 1903 | min-height: 0; |
| 1904 | max-height: inherit; |
| 1905 | border-radius: 0; |
| 1906 | display: flex !important; |
| 1907 | flex-direction: column !important; |
| 1908 | } |
| 1909 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 1910 | flex: 0 1 auto !important; |
| 1911 | max-height: none; |
| 1912 | overflow-y: auto; |
| 1913 | min-height: 0; |
| 1914 | } |
| 1915 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer { |
| 1916 | flex: 1 1 auto !important; |
| 1917 | min-height: 0; |
| 1918 | } |
| 1919 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input { |
| 1920 | flex: 0 0 auto; |
| 1921 | } |
| 1922 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer { |
| 1923 | flex: 0 0 auto; |
| 1924 | } |
| 1925 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files { |
| 1926 | flex: 0 0 auto; |
| 1927 | } |
| 1928 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box { |
| 1929 | width: 100%; |
| 1930 | height: 100%; |
| 1931 | display: flex; |
| 1932 | flex-direction: column; |
| 1933 | } |
| 1934 | .mwai-timeless-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body { |
| 1935 | flex: 1 1 auto; |
| 1936 | min-height: 0; |
| 1937 | } |
| 1938 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-header { |
| 1939 | display: flex; |
| 1940 | } |
| 1941 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body { |
| 1942 | display: flex; |
| 1943 | transition: opacity 200ms ease-in-out 0s; |
| 1944 | opacity: 1; |
| 1945 | } |
| 1946 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-trigger { |
| 1947 | display: none; |
| 1948 | } |
| 1949 | .mwai-timeless-theme .mwai-body > .mwai-error { |
| 1950 | margin: var(--mwai-spacing); |
| 1951 | color: white; |
| 1952 | background: rgba(180, 55, 55, 0.55); |
| 1953 | padding: var(--mwai-spacing); |
| 1954 | border-radius: var(--mwai-borderRadius); |
| 1955 | } |
| 1956 | .mwai-timeless-theme .mwai-body > .mwai-error:hover { |
| 1957 | cursor: pointer; |
| 1958 | background: rgba(180, 44, 44, 0.85); |
| 1959 | } |
| 1960 | .mwai-timeless-theme .mwai-reply.mwai-error .mwai-text { |
| 1961 | color: #ff5656; |
| 1962 | } |
| 1963 | .mwai-timeless-theme .mwai-reply.mwai-error .mwai-text a { |
| 1964 | color: #ff5656; |
| 1965 | text-decoration: underline; |
| 1966 | } |
| 1967 | .mwai-timeless-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button { |
| 1968 | fill: var(--mwai-fontColor); |
| 1969 | padding: 3px 5px; |
| 1970 | width: 24px; |
| 1971 | height: 24px; |
| 1972 | background: var(--mwai-backgroundPrimaryColor); |
| 1973 | cursor: pointer; |
| 1974 | border-radius: 5px; |
| 1975 | } |
| 1976 | .mwai-timeless-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover { |
| 1977 | filter: brightness(1.2); |
| 1978 | } |
| 1979 | .mwai-timeless-theme .mwai-reply-actions { |
| 1980 | opacity: 0; |
| 1981 | transition: opacity 0.2s ease-in-out; |
| 1982 | } |
| 1983 | .mwai-timeless-theme .mwai-reply:hover .mwai-reply-actions { |
| 1984 | opacity: 1 !important; |
| 1985 | } |
| 1986 | .mwai-timeless-theme .mwai-form-output-container:hover .mwai-reply-actions { |
| 1987 | opacity: 1 !important; |
| 1988 | } |
| 1989 | .mwai-timeless-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden { |
| 1990 | opacity: 1 !important; |
| 1991 | } |
| 1992 | .mwai-timeless-theme.mwai-bubble .mwai-trigger .mwai-icon-container { |
| 1993 | background: var(--mwai-bubbleColor) !important; |
| 1994 | width: 60px !important; |
| 1995 | height: 60px !important; |
| 1996 | border-radius: 100% !important; |
| 1997 | transition: all 0.2s ease-out; |
| 1998 | display: flex !important; |
| 1999 | justify-content: center !important; |
| 2000 | align-items: center !important; |
| 2001 | } |
| 2002 | .mwai-timeless-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon { |
| 2003 | max-width: 50% !important; |
| 2004 | max-height: 50% !important; |
| 2005 | filter: none !important; |
| 2006 | } |
| 2007 | .mwai-timeless-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover { |
| 2008 | transform: none !important; |
| 2009 | } |
| 2010 | .mwai-timeless-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji { |
| 2011 | font-size: 30px !important; |
| 2012 | } |
| 2013 | .mwai-timeless-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover { |
| 2014 | cursor: pointer; |
| 2015 | filter: brightness(1.1); |
| 2016 | } |
| 2017 | @media (max-width: 760px) { |
| 2018 | .mwai-timeless-theme.mwai-window.mwai-open { |
| 2019 | position: fixed; |
| 2020 | top: 0 !important; |
| 2021 | left: 0 !important; |
| 2022 | right: 0 !important; |
| 2023 | bottom: 0 !important; |
| 2024 | width: 100%; |
| 2025 | min-height: 100%; |
| 2026 | min-height: 100vh; |
| 2027 | min-height: 100dvh; |
| 2028 | height: 100dvh; |
| 2029 | max-height: 100dvh; |
| 2030 | max-width: 100%; |
| 2031 | margin: 0; |
| 2032 | z-index: 999999; |
| 2033 | background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor)); |
| 2034 | border-radius: 0 !important; |
| 2035 | box-shadow: none !important; |
| 2036 | border: none !important; |
| 2037 | padding-top: env(safe-area-inset-top, 0); |
| 2038 | padding-left: env(safe-area-inset-left, 0); |
| 2039 | padding-right: env(safe-area-inset-right, 0); |
| 2040 | box-sizing: border-box; |
| 2041 | } |
| 2042 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-window-box { |
| 2043 | width: 100%; |
| 2044 | height: 100%; |
| 2045 | flex: 1; |
| 2046 | display: flex; |
| 2047 | flex-direction: column; |
| 2048 | border-radius: 0 !important; |
| 2049 | box-shadow: none !important; |
| 2050 | border: none !important; |
| 2051 | background: transparent !important; |
| 2052 | min-height: 0; |
| 2053 | } |
| 2054 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-header { |
| 2055 | display: none !important; |
| 2056 | } |
| 2057 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body { |
| 2058 | flex: 1; |
| 2059 | min-height: 0; |
| 2060 | display: flex; |
| 2061 | flex-direction: column; |
| 2062 | border-radius: 0 !important; |
| 2063 | overflow: hidden; |
| 2064 | background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor)); |
| 2065 | } |
| 2066 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 2067 | flex: 1; |
| 2068 | overflow-y: auto; |
| 2069 | max-height: none; |
| 2070 | min-height: 0; |
| 2071 | } |
| 2072 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body .mwai-input { |
| 2073 | flex-shrink: 0; |
| 2074 | position: relative; |
| 2075 | } |
| 2076 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body .mwai-footer { |
| 2077 | flex-shrink: 0; |
| 2078 | position: relative; |
| 2079 | } |
| 2080 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input { |
| 2081 | padding-bottom: env(safe-area-inset-bottom, 0); |
| 2082 | } |
| 2083 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header { |
| 2084 | display: flex; |
| 2085 | position: sticky; |
| 2086 | top: 0; |
| 2087 | left: 0; |
| 2088 | right: 0; |
| 2089 | min-height: 50px; |
| 2090 | background: var(--mwai-backgroundHeaderColor); |
| 2091 | border-bottom: 1px solid var(--mwai-lineColor); |
| 2092 | padding: 0 15px; |
| 2093 | padding-top: env(safe-area-inset-top, 0); |
| 2094 | padding-left: calc(15px + env(safe-area-inset-left, 0)); |
| 2095 | padding-right: calc(15px + env(safe-area-inset-right, 0)); |
| 2096 | align-items: center; |
| 2097 | justify-content: space-between; |
| 2098 | z-index: 10; |
| 2099 | flex-shrink: 0; |
| 2100 | } |
| 2101 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title { |
| 2102 | font-size: 16px; |
| 2103 | font-weight: 600; |
| 2104 | color: var(--mwai-headerColor); |
| 2105 | flex: 1; |
| 2106 | overflow: hidden; |
| 2107 | text-overflow: ellipsis; |
| 2108 | white-space: nowrap; |
| 2109 | } |
| 2110 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close { |
| 2111 | all: unset; |
| 2112 | display: flex; |
| 2113 | align-items: center; |
| 2114 | justify-content: center; |
| 2115 | width: 32px; |
| 2116 | height: 32px; |
| 2117 | min-width: 32px; |
| 2118 | cursor: pointer; |
| 2119 | border-radius: 6px; |
| 2120 | transition: background-color 0.2s ease; |
| 2121 | -webkit-tap-highlight-color: transparent; |
| 2122 | } |
| 2123 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:hover, .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:active { |
| 2124 | background-color: var(--mwai-backgroundSecondaryColor); |
| 2125 | } |
| 2126 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg { |
| 2127 | width: 20px; |
| 2128 | height: 20px; |
| 2129 | } |
| 2130 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path { |
| 2131 | stroke: var(--mwai-headerColor); |
| 2132 | } |
| 2133 | .mwai-timeless-theme.mwai-window.mwai-open.mwai-center-open { |
| 2134 | top: 0 !important; |
| 2135 | left: 0 !important; |
| 2136 | transform: none !important; |
| 2137 | right: 0 !important; |
| 2138 | bottom: 0 !important; |
| 2139 | width: 100% !important; |
| 2140 | max-width: 100% !important; |
| 2141 | height: 100dvh !important; |
| 2142 | } |
| 2143 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-input { |
| 2144 | flex-direction: column; |
| 2145 | } |
| 2146 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-input button { |
| 2147 | font-size: 16px; |
| 2148 | margin-left: 0; |
| 2149 | width: 100%; |
| 2150 | } |
| 2151 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-input .mwai-input-text { |
| 2152 | width: 100%; |
| 2153 | } |
| 2154 | .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 { |
| 2155 | font-size: 16px; |
| 2156 | } |
| 2157 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body { |
| 2158 | display: flex; |
| 2159 | transition: opacity 200ms ease-in-out 0s; |
| 2160 | opacity: 1; |
| 2161 | flex: 1; |
| 2162 | min-height: 0; |
| 2163 | max-height: inherit; |
| 2164 | } |
| 2165 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body .mwai-conversation { |
| 2166 | flex: 1; |
| 2167 | max-height: none; |
| 2168 | min-height: 0; |
| 2169 | } |
| 2170 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-resize-button { |
| 2171 | display: none !important; |
| 2172 | } |
| 2173 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-trigger { |
| 2174 | display: none; |
| 2175 | } |
| 2176 | } |
| 2177 | @keyframes mwai-button-spinner { |
| 2178 | from { |
| 2179 | transform: rotate(0turn); |
| 2180 | } |
| 2181 | to { |
| 2182 | transform: rotate(1turn); |
| 2183 | } |
| 2184 | } |
| 2185 | .mwai-timeless-theme button:not(.mwai-busy):before { |
| 2186 | content: none !important; |
| 2187 | display: none !important; |
| 2188 | animation: none !important; |
| 2189 | } |
| 2190 | .mwai-timeless-theme .admin-bar .mwai-fullscreen:not(.mwai-window), |
| 2191 | .mwai-timeless-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open { |
| 2192 | top: 32px; |
| 2193 | } |
| 2194 | .mwai-timeless-theme .mwai-input .mwai-terminal-line { |
| 2195 | display: flex; |
| 2196 | align-items: flex-start; |
| 2197 | color: var(--mwai-terminal-active-color, var(--mwai-fontColor)); |
| 2198 | } |
| 2199 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt { |
| 2200 | color: var(--mwai-terminal-active-color, currentColor); |
| 2201 | margin-left: -4px; |
| 2202 | margin-right: 4px; |
| 2203 | display: inline-flex; |
| 2204 | align-items: center; |
| 2205 | height: 1.5em; |
| 2206 | line-height: 1.2; |
| 2207 | flex-shrink: 0; |
| 2208 | align-self: flex-start; |
| 2209 | } |
| 2210 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg { |
| 2211 | display: block; |
| 2212 | width: 1.4em; |
| 2213 | height: 1.4em; |
| 2214 | } |
| 2215 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper { |
| 2216 | flex: 1; |
| 2217 | display: inline; |
| 2218 | white-space: pre-wrap; |
| 2219 | word-wrap: break-word; |
| 2220 | word-break: break-word; |
| 2221 | } |
| 2222 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed { |
| 2223 | white-space: pre-wrap; |
| 2224 | word-wrap: break-word; |
| 2225 | word-break: break-word; |
| 2226 | } |
| 2227 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor { |
| 2228 | display: inline-block; |
| 2229 | width: 8px; |
| 2230 | height: 16px; |
| 2231 | background: currentColor; |
| 2232 | vertical-align: text-bottom; |
| 2233 | margin-left: 2px; |
| 2234 | transition: opacity 0.2s ease; |
| 2235 | opacity: 0.35; |
| 2236 | animation: none; |
| 2237 | } |
| 2238 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active { |
| 2239 | opacity: 1; |
| 2240 | animation: mwai-caret-blink 1s steps(2, start) infinite; |
| 2241 | } |
| 2242 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing { |
| 2243 | opacity: 1; |
| 2244 | animation: none; |
| 2245 | } |
| 2246 | .mwai-timeless-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive { |
| 2247 | opacity: 0.35; |
| 2248 | animation: none; |
| 2249 | } |
| 2250 | .mwai-timeless-theme pre code.hljs { |
| 2251 | display: block; |
| 2252 | overflow-x: auto; |
| 2253 | padding: 1em; |
| 2254 | } |
| 2255 | .mwai-timeless-theme code.hljs { |
| 2256 | padding: 3px 5px; |
| 2257 | } |
| 2258 | .mwai-timeless-theme .hljs { |
| 2259 | color: #333; |
| 2260 | background: #f0f0f0; |
| 2261 | } |
| 2262 | .mwai-timeless-theme .hljs-subst { |
| 2263 | color: #333; |
| 2264 | } |
| 2265 | .mwai-timeless-theme .hljs-comment { |
| 2266 | color: #888; |
| 2267 | } |
| 2268 | .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 { |
| 2269 | color: #0077cc; |
| 2270 | } |
| 2271 | .mwai-timeless-theme .hljs-attribute { |
| 2272 | color: #aa3377; |
| 2273 | } |
| 2274 | .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 { |
| 2275 | color: #c18401; |
| 2276 | } |
| 2277 | .mwai-timeless-theme .hljs-selector-class { |
| 2278 | color: #0077cc; |
| 2279 | } |
| 2280 | .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 { |
| 2281 | color: #689700; |
| 2282 | } |
| 2283 | .mwai-timeless-theme .hljs-meta, .mwai-timeless-theme .hljs-selector-pseudo { |
| 2284 | color: #0077cc; |
| 2285 | } |
| 2286 | .mwai-timeless-theme .hljs-built_in, .mwai-timeless-theme .hljs-literal, .mwai-timeless-theme .hljs-title { |
| 2287 | color: #c18401; |
| 2288 | } |
| 2289 | .mwai-timeless-theme .hljs-bullet, .mwai-timeless-theme .hljs-code { |
| 2290 | color: #555; |
| 2291 | } |
| 2292 | .mwai-timeless-theme .hljs-meta .hljs-string { |
| 2293 | color: #689700; |
| 2294 | } |
| 2295 | .mwai-timeless-theme .hljs-deletion { |
| 2296 | color: #b71c1c; |
| 2297 | } |
| 2298 | .mwai-timeless-theme .hljs-addition { |
| 2299 | color: #1b5e20; |
| 2300 | } |
| 2301 | .mwai-timeless-theme .hljs-emphasis { |
| 2302 | font-style: italic; |
| 2303 | } |
| 2304 | .mwai-timeless-theme .hljs-strong { |
| 2305 | font-weight: 700; |
| 2306 | } |
| 2307 | .mwai-timeless-theme .mwai-reply-actions { |
| 2308 | position: absolute; |
| 2309 | border-radius: 5px; |
| 2310 | top: 10px; |
| 2311 | right: 10px; |
| 2312 | display: flex; |
| 2313 | align-items: center; |
| 2314 | padding: 2px 2px; |
| 2315 | z-index: 100; |
| 2316 | background: var(--mwai-backgroundPrimaryColor); |
| 2317 | box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); |
| 2318 | z-index: 100; |
| 2319 | } |
| 2320 | .mwai-timeless-theme .mwai-reply-actions .mwai-copy-button, |
| 2321 | .mwai-timeless-theme .mwai-reply-actions .mwai-download-button { |
| 2322 | fill: var(--mwai-fontColor); |
| 2323 | padding: 3px 5px; |
| 2324 | width: 24px; |
| 2325 | height: 24px; |
| 2326 | background: var(--mwai-backgroundPrimaryColor); |
| 2327 | cursor: pointer; |
| 2328 | border-radius: 5px; |
| 2329 | } |
| 2330 | .mwai-timeless-theme .mwai-reply-actions .mwai-copy-button:hover, |
| 2331 | .mwai-timeless-theme .mwai-reply-actions .mwai-download-button:hover { |
| 2332 | filter: brightness(1.2); |
| 2333 | } |
| 2334 | .mwai-timeless-theme .mwai-reply-actions.mwai-hidden { |
| 2335 | opacity: 0; |
| 2336 | } |
| 2337 | .mwai-timeless-theme .mwai-realtime { |
| 2338 | padding: var(--mwai-spacing); |
| 2339 | } |
| 2340 | .mwai-timeless-theme .mwai-realtime .mwai-visualizer { |
| 2341 | display: flex; |
| 2342 | justify-content: center; |
| 2343 | align-items: center; |
| 2344 | } |
| 2345 | .mwai-timeless-theme .mwai-realtime .mwai-visualizer hr { |
| 2346 | width: 100px; |
| 2347 | margin-right: var(--mwai-spacing); |
| 2348 | margin-left: var(--mwai-spacing); |
| 2349 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2350 | } |
| 2351 | .mwai-timeless-theme .mwai-realtime .mwai-visualizer .mwai-animation { |
| 2352 | background: var(--mwai-backgroundPrimaryColor); |
| 2353 | } |
| 2354 | .mwai-timeless-theme .mwai-realtime .mwai-controls { |
| 2355 | display: flex; |
| 2356 | justify-content: center; |
| 2357 | align-items: center; |
| 2358 | margin-bottom: var(--mwai-spacing); |
| 2359 | } |
| 2360 | .mwai-timeless-theme .mwai-realtime .mwai-controls > * + * { |
| 2361 | margin-left: 10px; |
| 2362 | } |
| 2363 | .mwai-timeless-theme .mwai-realtime .mwai-controls button { |
| 2364 | border-radius: 100%; |
| 2365 | width: 50px; |
| 2366 | height: 50px; |
| 2367 | margin: 5px; |
| 2368 | padding: 5px; |
| 2369 | display: flex; |
| 2370 | align-items: center; |
| 2371 | justify-content: center; |
| 2372 | color: var(--mwai-fontColor); |
| 2373 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2374 | background: none; |
| 2375 | cursor: pointer; |
| 2376 | transition: all 0.2s ease-out; |
| 2377 | min-width: inherit; |
| 2378 | max-width: inherit; |
| 2379 | } |
| 2380 | .mwai-timeless-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) { |
| 2381 | background: var(--mwai-backgroundPrimaryColor); |
| 2382 | } |
| 2383 | .mwai-timeless-theme .mwai-realtime .mwai-controls button:disabled { |
| 2384 | opacity: 0.5; |
| 2385 | cursor: not-allowed; |
| 2386 | background: none; |
| 2387 | } |
| 2388 | .mwai-timeless-theme .mwai-realtime .mwai-controls button.mwai-active { |
| 2389 | border: 2px solid var(--mwai-fontColor); |
| 2390 | } |
| 2391 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode { |
| 2392 | flex-direction: column; |
| 2393 | gap: 8px; |
| 2394 | } |
| 2395 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk { |
| 2396 | border-radius: calc(var(--mwai-borderRadius) * 0.8); |
| 2397 | width: auto; |
| 2398 | min-width: 120px; |
| 2399 | padding: 12px 24px; |
| 2400 | margin: 5px; |
| 2401 | display: flex; |
| 2402 | align-items: center; |
| 2403 | justify-content: center; |
| 2404 | gap: 8px; |
| 2405 | color: var(--mwai-fontColor); |
| 2406 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2407 | background: none; |
| 2408 | cursor: pointer; |
| 2409 | transition: all 0.2s ease-out; |
| 2410 | font-family: inherit; |
| 2411 | font-size: var(--mwai-fontSize); |
| 2412 | line-height: 1.2; |
| 2413 | font-weight: 500; |
| 2414 | height: auto; |
| 2415 | } |
| 2416 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) { |
| 2417 | background: var(--mwai-backgroundPrimaryColor); |
| 2418 | } |
| 2419 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled { |
| 2420 | opacity: 0.5; |
| 2421 | cursor: not-allowed; |
| 2422 | background: none; |
| 2423 | } |
| 2424 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active { |
| 2425 | border: 2px solid var(--mwai-fontColor); |
| 2426 | background: var(--mwai-backgroundPrimaryColor); |
| 2427 | } |
| 2428 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg { |
| 2429 | width: 18px; |
| 2430 | height: 18px; |
| 2431 | } |
| 2432 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint { |
| 2433 | font-size: 12px; |
| 2434 | color: var(--mwai-fontColor); |
| 2435 | opacity: 0.6; |
| 2436 | text-align: center; |
| 2437 | margin: 0; |
| 2438 | } |
| 2439 | .mwai-timeless-theme .mwai-realtime .mwai-last-transcript { |
| 2440 | margin: var(--mwai-spacing); |
| 2441 | margin-top: 0; |
| 2442 | border: 2px solid var(--mwai-backgroundPrimaryColor); |
| 2443 | padding: calc(var(--mwai-spacing) / 2); |
| 2444 | padding-right: calc(var(--mwai-spacing) / 2 + 10px); |
| 2445 | border-radius: var(--mwai-borderRadius); |
| 2446 | font-size: 80%; |
| 2447 | text-align: center; |
| 2448 | max-height: 120px; |
| 2449 | overflow-y: auto; |
| 2450 | overflow-x: hidden; |
| 2451 | word-wrap: break-word; |
| 2452 | overflow-wrap: break-word; |
| 2453 | scrollbar-width: thin; |
| 2454 | scrollbar-color: var(--mwai-backgroundHeaderColor) transparent; |
| 2455 | } |
| 2456 | .mwai-timeless-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar { |
| 2457 | width: 6px; |
| 2458 | } |
| 2459 | .mwai-timeless-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track { |
| 2460 | background: transparent; |
| 2461 | margin: 4px 0; |
| 2462 | } |
| 2463 | .mwai-timeless-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb { |
| 2464 | background: var(--mwai-backgroundHeaderColor); |
| 2465 | border-radius: 10px; |
| 2466 | } |
| 2467 | .mwai-timeless-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover { |
| 2468 | background: var(--mwai-primaryColor); |
| 2469 | } |
| 2470 | .mwai-timeless-theme .mwai-realtime .mwai-statistics { |
| 2471 | display: grid; |
| 2472 | grid-template-columns: 1fr 1fr 1fr; |
| 2473 | grid-row-gap: 10px; |
| 2474 | font-size: 14px; |
| 2475 | } |
| 2476 | .mwai-timeless-theme .mwai-realtime .mwai-statistics div { |
| 2477 | display: flex; |
| 2478 | flex-direction: column; |
| 2479 | align-items: center; |
| 2480 | } |
| 2481 | .mwai-timeless-theme .mwai-realtime .mwai-statistics label { |
| 2482 | font-size: 11px; |
| 2483 | opacity: 0.5; |
| 2484 | text-transform: uppercase; |
| 2485 | } |
| 2486 | .mwai-timeless-theme .mwai-realtime .mwai-options { |
| 2487 | margin-top: var(--mwai-spacing); |
| 2488 | display: flex; |
| 2489 | align-items: center; |
| 2490 | } |
| 2491 | .mwai-timeless-theme .mwai-realtime .mwai-options .mwai-option { |
| 2492 | cursor: pointer; |
| 2493 | opacity: 0.5; |
| 2494 | margin-right: 2px; |
| 2495 | } |
| 2496 | .mwai-timeless-theme .mwai-realtime .mwai-options .mwai-option.mwai-active { |
| 2497 | opacity: 1; |
| 2498 | } |
| 2499 | .mwai-timeless-theme.mwai-discussions { |
| 2500 | border-radius: var(--mwai-borderRadius); |
| 2501 | background: var(--mwai-backgroundHeaderColor); |
| 2502 | overflow: hidden; |
| 2503 | } |
| 2504 | .mwai-timeless-theme.mwai-discussions * { |
| 2505 | box-sizing: border-box; |
| 2506 | } |
| 2507 | .mwai-timeless-theme.mwai-discussions .mwai-discussion { |
| 2508 | display: flex; |
| 2509 | position: relative; |
| 2510 | padding-left: calc(var(--mwai-spacing) / 2); |
| 2511 | padding-right: calc(var(--mwai-spacing) / 2); |
| 2512 | padding-bottom: calc(var(--mwai-spacing) / 2); |
| 2513 | color: var(--mwai-conversationsTextColor); |
| 2514 | opacity: 0.65; |
| 2515 | align-items: center; |
| 2516 | } |
| 2517 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-content { |
| 2518 | flex: 1; |
| 2519 | padding: 5px 10px; |
| 2520 | overflow: hidden; |
| 2521 | } |
| 2522 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-title { |
| 2523 | display: block; |
| 2524 | overflow: hidden; |
| 2525 | text-overflow: ellipsis; |
| 2526 | white-space: nowrap; |
| 2527 | font-size: var(--mwai-fontSize); |
| 2528 | margin-bottom: 4px; |
| 2529 | } |
| 2530 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-info { |
| 2531 | display: flex; |
| 2532 | gap: 12px; |
| 2533 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 2534 | opacity: 0.7; |
| 2535 | } |
| 2536 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item { |
| 2537 | display: flex; |
| 2538 | align-items: center; |
| 2539 | gap: 4px; |
| 2540 | } |
| 2541 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg { |
| 2542 | opacity: 0.6; |
| 2543 | } |
| 2544 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions { |
| 2545 | position: absolute; |
| 2546 | top: 50%; |
| 2547 | right: calc(var(--mwai-spacing) / 2); |
| 2548 | transform: translateY(-50%); |
| 2549 | opacity: 0; |
| 2550 | transition: opacity 0.2s ease-out; |
| 2551 | z-index: 100; |
| 2552 | } |
| 2553 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon { |
| 2554 | width: 28px; |
| 2555 | height: 28px; |
| 2556 | display: flex; |
| 2557 | align-items: center; |
| 2558 | justify-content: center; |
| 2559 | cursor: pointer; |
| 2560 | color: var(--mwai-conversationsTextColor); |
| 2561 | } |
| 2562 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active { |
| 2563 | cursor: pointer; |
| 2564 | } |
| 2565 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content { |
| 2566 | background: var(--mwai-backgroundPrimaryColor); |
| 2567 | border-radius: var(--mwai-borderRadius); |
| 2568 | opacity: 1; |
| 2569 | } |
| 2570 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:hover { |
| 2571 | cursor: pointer; |
| 2572 | } |
| 2573 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content { |
| 2574 | background: var(--mwai-backgroundPrimaryColor); |
| 2575 | border-radius: var(--mwai-borderRadius); |
| 2576 | opacity: 1; |
| 2577 | } |
| 2578 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions { |
| 2579 | opacity: 1; |
| 2580 | } |
| 2581 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions { |
| 2582 | opacity: 1; |
| 2583 | } |
| 2584 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:first-child { |
| 2585 | margin-top: calc(var(--mwai-spacing) / 2); |
| 2586 | } |
| 2587 | .mwai-timeless-theme.mwai-discussions .mwai-header { |
| 2588 | color: var(--mwai-headerColor); |
| 2589 | padding: var(--mwai-spacing); |
| 2590 | display: flex; |
| 2591 | justify-content: space-between; |
| 2592 | align-items: center; |
| 2593 | gap: 10px; |
| 2594 | } |
| 2595 | .mwai-timeless-theme.mwai-discussions .mwai-header button { |
| 2596 | background: var(--mwai-backgroundPrimaryColor); |
| 2597 | color: var(--mwai-fontColor); |
| 2598 | border: none; |
| 2599 | padding: 8px 16px; |
| 2600 | border-radius: var(--mwai-borderRadius); |
| 2601 | cursor: pointer; |
| 2602 | transition: all 0.2s ease-out; |
| 2603 | } |
| 2604 | .mwai-timeless-theme.mwai-discussions .mwai-header button:hover:not(:disabled) { |
| 2605 | background: var(--mwai-iconTextBackgroundColor); |
| 2606 | } |
| 2607 | .mwai-timeless-theme.mwai-discussions .mwai-header button:disabled { |
| 2608 | opacity: 0.5; |
| 2609 | cursor: not-allowed; |
| 2610 | } |
| 2611 | .mwai-timeless-theme.mwai-discussions .mwai-header .mwai-refresh-btn { |
| 2612 | padding: 8px; |
| 2613 | display: flex; |
| 2614 | align-items: center; |
| 2615 | justify-content: center; |
| 2616 | } |
| 2617 | .mwai-timeless-theme.mwai-discussions .mwai-body { |
| 2618 | background: var(--mwai-conversationsBackgroundColor); |
| 2619 | list-style: none; |
| 2620 | padding: 0; |
| 2621 | margin: 0; |
| 2622 | position: relative; |
| 2623 | min-height: 200px; |
| 2624 | display: flex; |
| 2625 | flex-direction: column; |
| 2626 | border-radius: 0; |
| 2627 | z-index: 1; |
| 2628 | } |
| 2629 | .mwai-timeless-theme.mwai-discussions .mwai-loading-overlay { |
| 2630 | position: absolute; |
| 2631 | top: 0; |
| 2632 | left: 0; |
| 2633 | right: 0; |
| 2634 | bottom: 0; |
| 2635 | background: var(--mwai-conversationsBackgroundColor); |
| 2636 | opacity: 0.9; |
| 2637 | display: flex; |
| 2638 | align-items: center; |
| 2639 | justify-content: center; |
| 2640 | z-index: 10; |
| 2641 | } |
| 2642 | .mwai-timeless-theme.mwai-discussions .mwai-spinner { |
| 2643 | animation: spin 1s linear infinite; |
| 2644 | color: var(--mwai-fontColor); |
| 2645 | } |
| 2646 | @keyframes spin { |
| 2647 | from { |
| 2648 | transform: rotate(0deg); |
| 2649 | } |
| 2650 | to { |
| 2651 | transform: rotate(360deg); |
| 2652 | } |
| 2653 | } |
| 2654 | .mwai-timeless-theme.mwai-discussions .mwai-pagination { |
| 2655 | background: var(--mwai-backgroundHeaderColor); |
| 2656 | padding: var(--mwai-spacing); |
| 2657 | display: flex; |
| 2658 | justify-content: space-between; |
| 2659 | align-items: center; |
| 2660 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 2661 | } |
| 2662 | .mwai-timeless-theme.mwai-discussions .mwai-pagination button { |
| 2663 | background: var(--mwai-backgroundPrimaryColor); |
| 2664 | color: var(--mwai-fontColor); |
| 2665 | border: none; |
| 2666 | padding: 8px 12px; |
| 2667 | border-radius: var(--mwai-borderRadius); |
| 2668 | cursor: pointer; |
| 2669 | transition: all 0.2s ease-out; |
| 2670 | display: flex; |
| 2671 | align-items: center; |
| 2672 | justify-content: center; |
| 2673 | } |
| 2674 | .mwai-timeless-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) { |
| 2675 | background: var(--mwai-iconTextBackgroundColor); |
| 2676 | } |
| 2677 | .mwai-timeless-theme.mwai-discussions .mwai-pagination button:disabled { |
| 2678 | opacity: 0.3; |
| 2679 | cursor: not-allowed; |
| 2680 | } |
| 2681 | .mwai-timeless-theme.mwai-discussions .mwai-pagination span { |
| 2682 | color: var(--mwai-headerColor); |
| 2683 | font-size: var(--mwai-fontSize); |
| 2684 | font-weight: 500; |
| 2685 | } |
| 2686 | .mwai-timeless-theme.mwai-discussions .mwai-pagination .mwai-page-indicator { |
| 2687 | color: var(--mwai-headerColor); |
| 2688 | font-size: calc(var(--mwai-fontSize) * 0.85); |
| 2689 | font-weight: 400; |
| 2690 | opacity: 0.8; |
| 2691 | } |
| 2692 | .mwai-timeless-theme.mwai-discussions { |
| 2693 | background: var(--mwai-backgroundPrimaryColor); |
| 2694 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 2695 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 2696 | } |
| 2697 | .mwai-timeless-theme.mwai-discussions .mwai-header { |
| 2698 | background: var(--mwai-backgroundAiColor); |
| 2699 | color: var(--mwai-fontColor); |
| 2700 | border-bottom: 0.5px solid rgba(0, 0, 0, 0.15); |
| 2701 | } |
| 2702 | .mwai-timeless-theme.mwai-discussions .mwai-header button { |
| 2703 | background: var(--mwai-backgroundHeaderColor); |
| 2704 | color: white; |
| 2705 | padding: 8px 16px; |
| 2706 | border: none; |
| 2707 | border-radius: var(--mwai-borderRadius); |
| 2708 | cursor: pointer; |
| 2709 | transition: transform 0.15s ease-out; |
| 2710 | } |
| 2711 | .mwai-timeless-theme.mwai-discussions .mwai-header button:hover:not(:disabled) { |
| 2712 | background: var(--mwai-backgroundHeaderColor); |
| 2713 | transform: scale(1.03); |
| 2714 | } |
| 2715 | .mwai-timeless-theme.mwai-discussions .mwai-header button:disabled { |
| 2716 | opacity: 0.5; |
| 2717 | cursor: not-allowed; |
| 2718 | filter: saturate(0%); |
| 2719 | transform: none; |
| 2720 | } |
| 2721 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-header { |
| 2722 | background: var(--mwai-backgroundAiColor); |
| 2723 | color: var(--mwai-fontColor); |
| 2724 | padding: var(--mwai-spacing); |
| 2725 | border-bottom: 0.5px solid rgba(0, 0, 0, 0.15); |
| 2726 | } |
| 2727 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-header .mwai-discussions-title { |
| 2728 | font-size: calc(var(--mwai-fontSize) * 1.3); |
| 2729 | font-weight: 600; |
| 2730 | } |
| 2731 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-list { |
| 2732 | background: var(--mwai-backgroundPrimaryColor); |
| 2733 | max-height: 320px; |
| 2734 | overflow-y: auto; |
| 2735 | scrollbar-width: thin; |
| 2736 | scrollbar-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.05); |
| 2737 | } |
| 2738 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar { |
| 2739 | width: 8px; |
| 2740 | background: transparent; |
| 2741 | } |
| 2742 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-track { |
| 2743 | background: rgba(0, 0, 0, 0.05); |
| 2744 | border-radius: 4px; |
| 2745 | } |
| 2746 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-thumb { |
| 2747 | background: rgba(0, 0, 0, 0.15); |
| 2748 | border-radius: 4px; |
| 2749 | transition: background 0.2s ease; |
| 2750 | } |
| 2751 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-thumb:hover { |
| 2752 | background: rgba(0, 0, 0, 0.25); |
| 2753 | } |
| 2754 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-thumb:active { |
| 2755 | background: rgba(0, 0, 0, 0.3); |
| 2756 | } |
| 2757 | .mwai-timeless-theme.mwai-discussions .mwai-discussion { |
| 2758 | padding: 0; |
| 2759 | color: var(--mwai-fontColor); |
| 2760 | opacity: 1; |
| 2761 | border-bottom: none; |
| 2762 | transition: all 0.3s ease; |
| 2763 | } |
| 2764 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-content { |
| 2765 | background: transparent; |
| 2766 | padding: 10px 14px; |
| 2767 | margin: 4px 10px; |
| 2768 | transition: all 0.3s ease; |
| 2769 | border-radius: var(--mwai-borderRadius); |
| 2770 | } |
| 2771 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-title { |
| 2772 | color: var(--mwai-fontColor); |
| 2773 | font-weight: 500; |
| 2774 | } |
| 2775 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-info { |
| 2776 | opacity: 0.5; |
| 2777 | color: var(--mwai-fontColor); |
| 2778 | } |
| 2779 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-info svg { |
| 2780 | color: var(--mwai-accentColor); |
| 2781 | opacity: 0.4; |
| 2782 | } |
| 2783 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content { |
| 2784 | background: var(--mwai-backgroundAiColor); |
| 2785 | opacity: 1; |
| 2786 | } |
| 2787 | .mwai-timeless-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-info { |
| 2788 | opacity: 0.7; |
| 2789 | } |
| 2790 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content { |
| 2791 | background: var(--mwai-backgroundUserColor); |
| 2792 | color: white; |
| 2793 | opacity: 1; |
| 2794 | } |
| 2795 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content .mwai-discussion-title { |
| 2796 | color: white; |
| 2797 | font-weight: 600; |
| 2798 | } |
| 2799 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content .mwai-discussion-info { |
| 2800 | color: white; |
| 2801 | opacity: 0.9; |
| 2802 | } |
| 2803 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content .mwai-discussion-info svg { |
| 2804 | color: white; |
| 2805 | opacity: 0.7; |
| 2806 | } |
| 2807 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions { |
| 2808 | right: 18px; |
| 2809 | } |
| 2810 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon { |
| 2811 | color: var(--mwai-accentColor); |
| 2812 | background: var(--mwai-backgroundAiColor); |
| 2813 | border-radius: 50%; |
| 2814 | width: 28px; |
| 2815 | height: 28px; |
| 2816 | transition: all 0.3s ease; |
| 2817 | } |
| 2818 | .mwai-timeless-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon:hover { |
| 2819 | background: var(--mwai-backgroundUserColor); |
| 2820 | color: white; |
| 2821 | transform: scale(1.1); |
| 2822 | } |
| 2823 | .mwai-timeless-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-actions .mwai-menu-icon:hover { |
| 2824 | background: var(--mwai-backgroundAiColor); |
| 2825 | color: var(--mwai-accentColor); |
| 2826 | transform: scale(1.1); |
| 2827 | } |
| 2828 | .mwai-timeless-theme.mwai-discussions .mwai-context-menu { |
| 2829 | background: var(--mwai-backgroundUserColor); |
| 2830 | border: 1px solid var(--mwai-accentColor); |
| 2831 | border-radius: var(--mwai-borderRadius); |
| 2832 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); |
| 2833 | padding: 4px; |
| 2834 | } |
| 2835 | .mwai-timeless-theme.mwai-discussions .mwai-context-menu .mwai-menu-item { |
| 2836 | padding: 8px 14px; |
| 2837 | color: white; |
| 2838 | border-radius: calc(var(--mwai-borderRadius) - 2px); |
| 2839 | transition: all 0.2s ease; |
| 2840 | } |
| 2841 | .mwai-timeless-theme.mwai-discussions .mwai-context-menu .mwai-menu-item:hover { |
| 2842 | background: rgba(255, 255, 255, 0.2); |
| 2843 | transform: translateX(2px); |
| 2844 | } |
| 2845 | .mwai-timeless-theme.mwai-discussions .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 2846 | color: #ffcdd2; |
| 2847 | } |
| 2848 | .mwai-timeless-theme.mwai-discussions .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 2849 | background: rgba(255, 100, 100, 0.2); |
| 2850 | color: white; |
| 2851 | } |
| 2852 | .mwai-timeless-theme.mwai-discussions .mwai-pagination { |
| 2853 | background: var(--mwai-backgroundAiColor); |
| 2854 | border-top: 0.5px solid rgba(0, 0, 0, 0.15); |
| 2855 | } |
| 2856 | .mwai-timeless-theme.mwai-discussions .mwai-pagination button { |
| 2857 | background: var(--mwai-backgroundHeaderColor); |
| 2858 | color: white; |
| 2859 | padding: 8px 12px; |
| 2860 | border: none; |
| 2861 | border-radius: var(--mwai-borderRadius); |
| 2862 | cursor: pointer; |
| 2863 | transition: transform 0.15s ease-out; |
| 2864 | } |
| 2865 | .mwai-timeless-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) { |
| 2866 | background: var(--mwai-backgroundHeaderColor); |
| 2867 | transform: scale(1.03); |
| 2868 | } |
| 2869 | .mwai-timeless-theme.mwai-discussions .mwai-pagination button:disabled { |
| 2870 | opacity: 0.5; |
| 2871 | cursor: not-allowed; |
| 2872 | filter: saturate(0%); |
| 2873 | transform: none; |
| 2874 | } |
| 2875 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-footer, |
| 2876 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-pagination { |
| 2877 | padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); |
| 2878 | border-top: 0.5px solid rgba(0, 0, 0, 0.15); |
| 2879 | background: var(--mwai-backgroundAiColor); |
| 2880 | } |
| 2881 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button, |
| 2882 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button { |
| 2883 | width: 100%; |
| 2884 | padding: 10px 20px; |
| 2885 | background: var(--mwai-backgroundHeaderColor); |
| 2886 | color: white; |
| 2887 | border: none; |
| 2888 | border-radius: var(--mwai-borderRadius); |
| 2889 | font-size: var(--mwai-fontSize); |
| 2890 | font-weight: 500; |
| 2891 | cursor: pointer; |
| 2892 | transition: transform 0.15s ease-out; |
| 2893 | } |
| 2894 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover, |
| 2895 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover { |
| 2896 | background: var(--mwai-backgroundHeaderColor); |
| 2897 | transform: scale(1.02); |
| 2898 | } |
| 2899 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled, |
| 2900 | .mwai-timeless-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled { |
| 2901 | opacity: 0.5; |
| 2902 | cursor: not-allowed; |
| 2903 | filter: saturate(0%); |
| 2904 | transform: none; |
| 2905 | } |
| 2906 | |
| 2907 | .mwai-timeless-theme .mwai-realtime .mwai-visualizer hr { |
| 2908 | border: 1px solid var(--mwai-backgroundAiSecondaryColor); |
| 2909 | } |
| 2910 | .mwai-timeless-theme .mwai-realtime .mwai-visualizer .mwai-animation { |
| 2911 | background: var(--mwai-backgroundAiSecondaryColor); |
| 2912 | } |
| 2913 | .mwai-timeless-theme .mwai-realtime .mwai-controls button { |
| 2914 | color: var(--mwai-backgroundPrimaryColor); |
| 2915 | background: var(--mwai-backgroundUserColor); |
| 2916 | } |
| 2917 | .mwai-timeless-theme .mwai-realtime .mwai-controls button:hover { |
| 2918 | color: var(--mwai-backgroundPrimaryColor) !important; |
| 2919 | background: var(--mwai-backgroundUserColor) !important; |
| 2920 | opacity: 0.8; |
| 2921 | } |
| 2922 | .mwai-timeless-theme .mwai-realtime .mwai-controls button[disabled] { |
| 2923 | color: var(--mwai-backgroundPrimaryColor) !important; |
| 2924 | background: var(--mwai-backgroundUserColor) !important; |
| 2925 | opacity: 0.5; |
| 2926 | } |
| 2927 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk { |
| 2928 | color: var(--mwai-backgroundPrimaryColor); |
| 2929 | background: var(--mwai-backgroundUserColor); |
| 2930 | } |
| 2931 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) { |
| 2932 | color: var(--mwai-backgroundPrimaryColor) !important; |
| 2933 | background: var(--mwai-backgroundUserColor) !important; |
| 2934 | opacity: 0.8; |
| 2935 | } |
| 2936 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled { |
| 2937 | color: var(--mwai-backgroundPrimaryColor) !important; |
| 2938 | background: var(--mwai-backgroundUserColor) !important; |
| 2939 | opacity: 0.5; |
| 2940 | } |
| 2941 | .mwai-timeless-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active { |
| 2942 | color: var(--mwai-backgroundPrimaryColor) !important; |
| 2943 | background: var(--mwai-backgroundUserColor) !important; |
| 2944 | opacity: 0.9; |
| 2945 | border: 2px solid var(--mwai-fontColor); |
| 2946 | } |
| 2947 | .mwai-timeless-theme .mwai-reply-actions { |
| 2948 | top: -6px; |
| 2949 | right: -6px; |
| 2950 | } |
| 2951 | .mwai-timeless-theme .mwai-reply-actions .mwai-copy-button, |
| 2952 | .mwai-timeless-theme .mwai-reply-actions .mwai-download-button { |
| 2953 | padding-top: 4px; |
| 2954 | } |
| 2955 | .mwai-timeless-theme .mwai-reply-actions .mwai-copy-button:hover, |
| 2956 | .mwai-timeless-theme .mwai-reply-actions .mwai-download-button:hover { |
| 2957 | fill: var(--mwai-backgroundPrimaryColor); |
| 2958 | background: var(--mwai-backgroundUserColor); |
| 2959 | } |
| 2960 | .mwai-timeless-theme .mwai-reply-actions .mwai-action-button { |
| 2961 | padding-top: 4px; |
| 2962 | } |
| 2963 | .mwai-timeless-theme .mwai-reply-actions .mwai-action-button:hover { |
| 2964 | fill: var(--mwai-backgroundPrimaryColor); |
| 2965 | background: var(--mwai-backgroundUserColor); |
| 2966 | filter: none; |
| 2967 | } |
| 2968 | .mwai-timeless-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover { |
| 2969 | fill: var(--mwai-backgroundPrimaryColor); |
| 2970 | background: var(--mwai-backgroundUserColor); |
| 2971 | filter: none; |
| 2972 | } |
| 2973 | |
| 2974 | @media (max-width: 760px) { |
| 2975 | .mwai-timeless-theme.mwai-window { |
| 2976 | width: calc(100% - 40px); |
| 2977 | z-index: 9999999999; |
| 2978 | } |
| 2979 | .mwai-timeless-theme.mwai-window.mwai-open .mwai-body { |
| 2980 | min-height: calc(100dvh - var(--mwai-headerHeight)); |
| 2981 | } |
| 2982 | .mwai-timeless-theme .mwai-input { |
| 2983 | display: flex !important; |
| 2984 | flex-direction: row !important; |
| 2985 | flex-wrap: nowrap !important; |
| 2986 | align-items: center !important; |
| 2987 | } |
| 2988 | .mwai-timeless-theme .mwai-input .mwai-input-text { |
| 2989 | flex: 1 1 auto !important; |
| 2990 | width: auto !important; |
| 2991 | margin-bottom: 0 !important; |
| 2992 | } |
| 2993 | .mwai-timeless-theme .mwai-input .mwai-input-submit { |
| 2994 | flex: 0 0 40px !important; |
| 2995 | width: 40px !important; |
| 2996 | height: 40px !important; |
| 2997 | min-width: 40px !important; |
| 2998 | min-height: 40px !important; |
| 2999 | border-radius: 50% !important; |
| 3000 | margin-right: 5px !important; |
| 3001 | margin-left: 10px !important; |
| 3002 | margin-bottom: 0 !important; |
| 3003 | } |
| 3004 | .mwai-timeless-theme .mwai-input .mwai-input-submit img { |
| 3005 | width: 18px !important; |
| 3006 | height: 18px !important; |
| 3007 | } |
| 3008 | } |
| 3009 | |
| 3010 | .mwai-context-menu-portal.mwai-timeless-theme .mwai-context-menu { |
| 3011 | background: var(--mwai-backgroundPrimaryColor); |
| 3012 | border: 1px solid rgba(0, 0, 0, 0.1); |
| 3013 | color: var(--mwai-fontColor); |
| 3014 | } |
| 3015 | .mwai-context-menu-portal.mwai-timeless-theme .mwai-context-menu .mwai-menu-item { |
| 3016 | color: var(--mwai-fontColor); |
| 3017 | } |
| 3018 | .mwai-context-menu-portal.mwai-timeless-theme .mwai-context-menu .mwai-menu-item:hover { |
| 3019 | background-color: var(--mwai-backgroundAiColor); |
| 3020 | } |
| 3021 | .mwai-context-menu-portal.mwai-timeless-theme .mwai-context-menu .mwai-menu-item.mwai-danger { |
| 3022 | color: #d32f2f; |
| 3023 | } |
| 3024 | .mwai-context-menu-portal.mwai-timeless-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover { |
| 3025 | background-color: rgba(211, 47, 47, 0.08); |
| 3026 | color: #b71c1c; |
| 3027 | } |
| 3028 |