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