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