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