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