ChatGPT.module.css
3 years ago
ChatGPT.module.scss
3 years ago
Messages.module.css
3 years ago
Messages.module.scss
3 years ago
_common.scss
3 years ago
_copybutton.scss
3 years ago
ChatGPT.module.css
667 lines
| 1 | .mwai-chat { |
| 2 | --mwai-spacing: 15px; |
| 3 | --mwai-fontSize: 15px; |
| 4 | --mwai-lineHeight: 1.5; |
| 5 | --mwai-borderRadius: 10px; |
| 6 | --mwai-width: 460px; |
| 7 | --mwai-maxHeight: 40vh; |
| 8 | --mwai-iconTextColor: white; |
| 9 | --mwai-iconTextBackgroundColor: #343541; |
| 10 | --mwai-fontColor: #FFFFFF; |
| 11 | --mwai-backgroundPrimaryColor: #454654; |
| 12 | --mwai-backgroundHeaderColor: #343541; |
| 13 | --mwai-headerButtonsColor: #FFFFFF; |
| 14 | --mwai-backgroundSecondaryColor: #343541; |
| 15 | } |
| 16 | |
| 17 | .mwai-chat * { |
| 18 | box-sizing: border-box; |
| 19 | } |
| 20 | |
| 21 | .mwai-chat .mwai-content { |
| 22 | background: var(--mwai-backgroundSecondaryColor); |
| 23 | color: var(--mwai-fontColor); |
| 24 | font-size: var(--mwai-fontSize); |
| 25 | overflow: hidden; |
| 26 | display: flex; |
| 27 | flex-direction: column; |
| 28 | border-radius: var(--mwai-borderRadius); |
| 29 | } |
| 30 | |
| 31 | .mwai-chat .mwai-conversation { |
| 32 | overflow: auto; |
| 33 | } |
| 34 | |
| 35 | .mwai-chat * { |
| 36 | box-sizing: border-box; |
| 37 | } |
| 38 | |
| 39 | .mwai-chat .mwai-reply { |
| 40 | display: flex; |
| 41 | padding: var(--mwai-spacing); |
| 42 | position: relative; |
| 43 | line-height: var(--mwai-lineHeight); |
| 44 | border-bottom: 1px solid var(--mwai-backgroundPrimaryColor); |
| 45 | transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| 46 | } |
| 47 | |
| 48 | .mwai-chat .mwai-reply .mwai-copy-button { |
| 49 | opacity: 0; |
| 50 | transition: all 0.3s ease-out; |
| 51 | width: 22px; |
| 52 | height: 22px; |
| 53 | position: absolute; |
| 54 | right: var(--mwai-spacing); |
| 55 | } |
| 56 | |
| 57 | .mwai-chat .mwai-reply .mwai-copy-button .mwai-copy-button-one { |
| 58 | position: absolute; |
| 59 | width: 16px; |
| 60 | height: 16px; |
| 61 | margin-top: 0px; |
| 62 | margin-left: 0px; |
| 63 | background: white; |
| 64 | opacity: 0.4; |
| 65 | transition: all 0.2s ease-in; |
| 66 | cursor: pointer; |
| 67 | border-radius: 2px; |
| 68 | } |
| 69 | |
| 70 | .mwai-chat .mwai-reply .mwai-copy-button .mwai-copy-button-two { |
| 71 | position: absolute; |
| 72 | width: 16px; |
| 73 | height: 16px; |
| 74 | margin-top: 6px; |
| 75 | margin-left: 6px; |
| 76 | background: white; |
| 77 | opacity: 0.6; |
| 78 | transition: all 0.2s ease-in; |
| 79 | cursor: pointer; |
| 80 | border-radius: 2px; |
| 81 | } |
| 82 | |
| 83 | .mwai-chat .mwai-reply .mwai-copy-button:hover .mwai-copy-button-one { |
| 84 | opacity: 0.6; |
| 85 | margin-top: 0px; |
| 86 | margin-left: 6px; |
| 87 | } |
| 88 | |
| 89 | .mwai-chat .mwai-reply .mwai-copy-button:hover .mwai-copy-button-two { |
| 90 | opacity: 1; |
| 91 | margin-top: 6px; |
| 92 | margin-left: 0px; |
| 93 | } |
| 94 | |
| 95 | .mwai-chat .mwai-reply .mwai-copy-button.mwai-animate .mwai-copy-button-one { |
| 96 | opacity: 0; |
| 97 | } |
| 98 | |
| 99 | .mwai-chat .mwai-reply .mwai-copy-button.mwai-animate .mwai-copy-button-two { |
| 100 | width: 18px; |
| 101 | height: 18px; |
| 102 | margin-top: 2px; |
| 103 | margin-left: 2px; |
| 104 | opacity: 1; |
| 105 | } |
| 106 | |
| 107 | .mwai-chat .mwai-reply.mwai-fade-out { |
| 108 | opacity: 0; |
| 109 | } |
| 110 | |
| 111 | .mwai-chat .mwai-reply:hover .mwai-copy-button { |
| 112 | display: block; |
| 113 | opacity: 1; |
| 114 | } |
| 115 | |
| 116 | .mwai-chat .mwai-user { |
| 117 | background: var(--mwai-backgroundSecondaryColor); |
| 118 | } |
| 119 | |
| 120 | .mwai-chat .mwai-ai, .mwai-chat .mwai-system { |
| 121 | background: var(--mwai-backgroundPrimaryColor); |
| 122 | } |
| 123 | |
| 124 | .mwai-chat .mwai-name { |
| 125 | color: var(--mwai-fontColor); |
| 126 | margin-right: 5px; |
| 127 | } |
| 128 | |
| 129 | .mwai-chat .mwai-name .mwai-name-text { |
| 130 | opacity: 0.50; |
| 131 | white-space: nowrap; |
| 132 | } |
| 133 | |
| 134 | .mwai-chat .mwai-name .mwai-avatar { |
| 135 | margin-right: 10px; |
| 136 | width: 40px; |
| 137 | height: 40px; |
| 138 | display: flex; |
| 139 | align-items: center; |
| 140 | justify-content: center; |
| 141 | border-radius: 5px; |
| 142 | overflow: hidden; |
| 143 | } |
| 144 | |
| 145 | .mwai-chat .mwai-name .mwai-avatar img { |
| 146 | max-width: 100%; |
| 147 | max-height: 100%; |
| 148 | } |
| 149 | |
| 150 | .mwai-chat .mwai-name .mwai-avatar.mwai-svg img { |
| 151 | width: 28px; |
| 152 | height: 28px; |
| 153 | filter: brightness(0) invert(1); |
| 154 | } |
| 155 | |
| 156 | .mwai-chat .mwai-text { |
| 157 | flex: auto; |
| 158 | } |
| 159 | |
| 160 | .mwai-chat .mwai-text *:first-child { |
| 161 | margin-top: 0; |
| 162 | } |
| 163 | |
| 164 | .mwai-chat .mwai-text *:last-child { |
| 165 | margin-bottom: 0; |
| 166 | } |
| 167 | |
| 168 | .mwai-chat .mwai-text a { |
| 169 | color: #2196f3; |
| 170 | } |
| 171 | |
| 172 | .mwai-chat .mwai-text h1 { |
| 173 | font-size: 200%; |
| 174 | } |
| 175 | |
| 176 | .mwai-chat .mwai-text h2 { |
| 177 | font-size: 160%; |
| 178 | } |
| 179 | |
| 180 | .mwai-chat .mwai-text h3 { |
| 181 | font-size: 140%; |
| 182 | } |
| 183 | |
| 184 | .mwai-chat .mwai-text h4 { |
| 185 | font-size: 120%; |
| 186 | } |
| 187 | |
| 188 | .mwai-chat .mwai-text p { |
| 189 | font-size: var(--mwai-fontSize); |
| 190 | line-height: var(--mwai-lineHeight); |
| 191 | } |
| 192 | |
| 193 | .mwai-chat .mwai-text p code { |
| 194 | background: var(--mwai-backgroundSecondaryColor); |
| 195 | padding: 2px 6px; |
| 196 | border-radius: 8px; |
| 197 | font-size: 90%; |
| 198 | font-family: system-ui; |
| 199 | } |
| 200 | |
| 201 | .mwai-chat .mwai-text pre { |
| 202 | color: var(--mwai-fontColor); |
| 203 | border-radius: var(--mwai-borderRadius); |
| 204 | padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); |
| 205 | break-after: auto; |
| 206 | white-space: pre-wrap; |
| 207 | font-size: 95%; |
| 208 | max-width: 100%; |
| 209 | width: 100%; |
| 210 | font-family: system-ui; |
| 211 | background: #343541; |
| 212 | } |
| 213 | |
| 214 | .mwai-chat .mwai-text pre code { |
| 215 | padding: 0 !important; |
| 216 | font-family: system-ui; |
| 217 | background: #343541; |
| 218 | } |
| 219 | |
| 220 | .mwai-chat .mwai-text ol { |
| 221 | padding: 0; |
| 222 | margin: 0 0 0 20px; |
| 223 | } |
| 224 | |
| 225 | .mwai-chat .mwai-text table { |
| 226 | width: 100%; |
| 227 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 228 | border-collapse: collapse; |
| 229 | } |
| 230 | |
| 231 | .mwai-chat .mwai-text thead { |
| 232 | background: var(--mwai-backgroundSecondaryColor); |
| 233 | } |
| 234 | |
| 235 | .mwai-chat .mwai-text tr, .mwai-chat .mwai-text td { |
| 236 | padding: 2px 5px; |
| 237 | } |
| 238 | |
| 239 | .mwai-chat .mwai-text td { |
| 240 | border: 2px solid var(--mwai-backgroundSecondaryColor); |
| 241 | } |
| 242 | |
| 243 | .mwai-chat .mwai-text .mwai-typewriter { |
| 244 | display: inline-block; |
| 245 | } |
| 246 | |
| 247 | .mwai-chat .mwai-text .mwai-typewriter > :first-child { |
| 248 | margin-top: 0; |
| 249 | } |
| 250 | |
| 251 | .mwai-chat .mwai-text > *:first-child { |
| 252 | margin-top: 0; |
| 253 | } |
| 254 | |
| 255 | .mwai-chat .mwai-text > *:last-child { |
| 256 | margin-bottom: 0; |
| 257 | } |
| 258 | |
| 259 | .mwai-chat .mwai-system .mwai-name { |
| 260 | display: none; |
| 261 | } |
| 262 | |
| 263 | .mwai-chat .mwai-input { |
| 264 | display: flex; |
| 265 | padding: var(--mwai-spacing); |
| 266 | border-top: 1px solid var(--mwai-backgroundPrimaryColor); |
| 267 | } |
| 268 | |
| 269 | .mwai-chat .mwai-input textarea { |
| 270 | background: var(--mwai-backgroundPrimaryColor); |
| 271 | color: var(--mwai-fontColor); |
| 272 | flex: auto; |
| 273 | padding: var(--mwai-spacing); |
| 274 | border: none; |
| 275 | border-radius: var(--mwai-borderRadius); |
| 276 | font-size: var(--mwai-fontSize); |
| 277 | resize: none; |
| 278 | font-family: inherit; |
| 279 | margin: 0; |
| 280 | overflow: hidden; |
| 281 | } |
| 282 | |
| 283 | .mwai-chat .mwai-input textarea:focus { |
| 284 | outline: none; |
| 285 | box-shadow: none; |
| 286 | } |
| 287 | |
| 288 | .mwai-chat .mwai-input textarea::placeholder { |
| 289 | color: var(--mwai-fontColor); |
| 290 | opacity: 0.5; |
| 291 | } |
| 292 | |
| 293 | .mwai-chat button { |
| 294 | background: none; |
| 295 | color: var(--mwai-fontColor); |
| 296 | background-color: var(--mwai-backgroundSecondaryColor); |
| 297 | border: 1px solid var(--mwai-backgroundPrimaryColor); |
| 298 | margin-left: var(--mwai-spacing); |
| 299 | width: 90px; |
| 300 | border-radius: 5px; |
| 301 | cursor: pointer; |
| 302 | transition: all 0.2s ease-out; |
| 303 | display: flex; |
| 304 | align-items: center; |
| 305 | justify-content: center; |
| 306 | font-size: 90%; |
| 307 | position: relative; |
| 308 | } |
| 309 | |
| 310 | .mwai-chat button .mwai-timer { |
| 311 | margin-left: 5px; |
| 312 | margin-right: 5px; |
| 313 | font-size: 11px; |
| 314 | } |
| 315 | |
| 316 | .mwai-chat button:hover { |
| 317 | background: var(--mwai-backgroundPrimaryColor); |
| 318 | } |
| 319 | |
| 320 | .mwai-chat button[disabled] span { |
| 321 | display: none; |
| 322 | } |
| 323 | |
| 324 | .mwai-chat button[disabled]::before { |
| 325 | content: ''; |
| 326 | width: 18px; |
| 327 | height: 18px; |
| 328 | margin: auto; |
| 329 | border: 3px solid transparent; |
| 330 | border-top-color: var(--mwai-fontColor); |
| 331 | border-radius: 50%; |
| 332 | animation: mwai-button-spinner 1s ease infinite; |
| 333 | } |
| 334 | |
| 335 | .mwai-chat .mwai-compliance { |
| 336 | opacity: 0.50; |
| 337 | margin-top: calc( -1 * var(--mwai-spacing)); |
| 338 | padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing); |
| 339 | font-size: smaller; |
| 340 | color: var(--mwai-fontColor); |
| 341 | text-align: left; |
| 342 | } |
| 343 | |
| 344 | .mwai-chat .mwai-gallery { |
| 345 | display: grid; |
| 346 | grid-template-columns: repeat(3, 1fr); |
| 347 | grid-gap: 5px; |
| 348 | } |
| 349 | |
| 350 | .mwai-chat .mwai-gallery img { |
| 351 | width: 100%; |
| 352 | } |
| 353 | |
| 354 | .mwai-open-button { |
| 355 | position: absolute; |
| 356 | right: 0; |
| 357 | bottom: 0; |
| 358 | transition: all 0.2s ease-out; |
| 359 | z-index: 9999; |
| 360 | display: flex; |
| 361 | flex-direction: column; |
| 362 | align-items: end; |
| 363 | } |
| 364 | |
| 365 | .mwai-open-button .mwai-icon-text { |
| 366 | background: var(--mwai-iconTextBackgroundColor); |
| 367 | color: var(--mwai-iconTextColor); |
| 368 | max-width: 200px; |
| 369 | font-size: 13px; |
| 370 | margin-bottom: 15px; |
| 371 | padding: 5px 10px; |
| 372 | border-radius: 8px; |
| 373 | } |
| 374 | |
| 375 | .mwai-open-button:hover { |
| 376 | cursor: pointer; |
| 377 | filter: saturate(2.5) hue-rotate(5deg); |
| 378 | } |
| 379 | |
| 380 | .mwai-window { |
| 381 | position: fixed; |
| 382 | right: 30px; |
| 383 | bottom: 30px; |
| 384 | width: var(--mwai-width); |
| 385 | z-index: 9999; |
| 386 | } |
| 387 | |
| 388 | .mwai-window .mwai-header { |
| 389 | display: none; |
| 390 | justify-content: flex-end; |
| 391 | align-items: center; |
| 392 | border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0; |
| 393 | background: var(--mwai-backgroundHeaderColor); |
| 394 | } |
| 395 | |
| 396 | .mwai-window .mwai-header .mwai-buttons { |
| 397 | display: flex; |
| 398 | align-items: center; |
| 399 | } |
| 400 | |
| 401 | .mwai-window .mwai-header .mwai-buttons .mwai-resize-button { |
| 402 | justify-content: center; |
| 403 | height: 32px; |
| 404 | width: 22px; |
| 405 | cursor: pointer; |
| 406 | display: flex; |
| 407 | justify-content: center; |
| 408 | align-items: center; |
| 409 | } |
| 410 | |
| 411 | .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 412 | transition: all 0.2s ease-out; |
| 413 | content: ' '; |
| 414 | cursor: pointer; |
| 415 | position: absolute; |
| 416 | height: 13px; |
| 417 | width: 13px; |
| 418 | border: 1px solid var(--mwai-headerButtonsColor); |
| 419 | } |
| 420 | |
| 421 | .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 422 | width: 16px; |
| 423 | height: 16px; |
| 424 | } |
| 425 | |
| 426 | .mwai-window .mwai-header .mwai-buttons .mwai-close-button { |
| 427 | justify-content: center; |
| 428 | height: 32px; |
| 429 | width: 33px; |
| 430 | cursor: pointer; |
| 431 | border-radius: var(--mwai-borderRadius); |
| 432 | } |
| 433 | |
| 434 | .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before { |
| 435 | transition: all 0.2s ease-out; |
| 436 | transform: translate(16px, 5px) rotate(45deg); |
| 437 | } |
| 438 | |
| 439 | .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 440 | transition: all 0.2s ease-out; |
| 441 | transform: translate(16px, 5px) rotate(-45deg); |
| 442 | } |
| 443 | |
| 444 | .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { |
| 445 | content: ' '; |
| 446 | cursor: pointer; |
| 447 | position: absolute; |
| 448 | height: 22px; |
| 449 | width: 1px; |
| 450 | background-color: var(--mwai-headerButtonsColor); |
| 451 | } |
| 452 | |
| 453 | .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before { |
| 454 | opacity: 1; |
| 455 | transform: translate(16px, 5px) rotate(135deg); |
| 456 | } |
| 457 | |
| 458 | .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after { |
| 459 | opacity: 1; |
| 460 | transform: translate(16px, 5px) rotate(45deg); |
| 461 | } |
| 462 | |
| 463 | .mwai-window .mwai-content { |
| 464 | display: none; |
| 465 | opacity: 0; |
| 466 | max-height: var(--mwai-maxHeight); |
| 467 | border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius); |
| 468 | overflow: hidden; |
| 469 | } |
| 470 | |
| 471 | .mwai-window.mwai-bottom-left { |
| 472 | bottom: 30px; |
| 473 | right: inherit; |
| 474 | left: 30px; |
| 475 | } |
| 476 | |
| 477 | .mwai-window.mwai-bottom-left .mwai-open-button { |
| 478 | right: inherit; |
| 479 | left: 0; |
| 480 | } |
| 481 | |
| 482 | .mwai-window.mwai-top-right { |
| 483 | top: 30px; |
| 484 | bottom: inherit; |
| 485 | right: 30px; |
| 486 | } |
| 487 | |
| 488 | .mwai-window.mwai-top-right .mwai-open-button { |
| 489 | top: 0; |
| 490 | bottom: inherit; |
| 491 | } |
| 492 | |
| 493 | .mwai-window.mwai-top-left { |
| 494 | top: 30px; |
| 495 | bottom: inherit; |
| 496 | right: inherit; |
| 497 | left: 30px; |
| 498 | } |
| 499 | |
| 500 | .mwai-window.mwai-top-left .mwai-open-button { |
| 501 | top: 0; |
| 502 | bottom: inherit; |
| 503 | right: inherit; |
| 504 | left: 0; |
| 505 | } |
| 506 | |
| 507 | .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons { |
| 508 | margin-bottom: 0px; |
| 509 | } |
| 510 | |
| 511 | .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before { |
| 512 | width: 16px; |
| 513 | height: 16px; |
| 514 | } |
| 515 | |
| 516 | .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before { |
| 517 | width: 13px; |
| 518 | height: 13px; |
| 519 | } |
| 520 | |
| 521 | .mwai-fullscreen:not(.mwai-window), .mwai-fullscreen.mwai-window.mwai-open { |
| 522 | position: fixed; |
| 523 | left: 0 !important; |
| 524 | right: 0 !important; |
| 525 | bottom: 0 !important; |
| 526 | top: 0 !important; |
| 527 | width: inherit; |
| 528 | height: inherit; |
| 529 | max-height: inherit; |
| 530 | max-width: inherit; |
| 531 | display: flex; |
| 532 | flex-direction: column; |
| 533 | margin: 0; |
| 534 | z-index: 999999; |
| 535 | background-color: var(--mwai-backgroundSecondaryColor); |
| 536 | } |
| 537 | |
| 538 | .mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-fullscreen.mwai-window.mwai-open .mwai-content { |
| 539 | height: 100%; |
| 540 | max-height: inherit; |
| 541 | } |
| 542 | |
| 543 | .mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation { |
| 544 | flex: auto; |
| 545 | max-height: none; |
| 546 | } |
| 547 | |
| 548 | .mwai-window.mwai-open .mwai-header { |
| 549 | display: flex; |
| 550 | } |
| 551 | |
| 552 | .mwai-window.mwai-open .mwai-content { |
| 553 | display: flex; |
| 554 | transition: opacity 200ms ease-in-out 0s; |
| 555 | opacity: 1; |
| 556 | } |
| 557 | |
| 558 | .mwai-window.mwai-open .mwai-open-button { |
| 559 | display: none; |
| 560 | } |
| 561 | |
| 562 | @keyframes mwai-button-spinner { |
| 563 | from { |
| 564 | transform: rotate(0turn); |
| 565 | } |
| 566 | to { |
| 567 | transform: rotate(1turn); |
| 568 | } |
| 569 | } |
| 570 | |
| 571 | .admin-bar .mwai-fullscreen:not(.mwai-window), |
| 572 | .admin-bar .mwai-fullscreen.mwai-window.mwai-open { |
| 573 | top: 32px; |
| 574 | } |
| 575 | |
| 576 | @media (max-width: 760px) { |
| 577 | .mwai-chat.mwai-window { |
| 578 | left: 10px; |
| 579 | right: 10px; |
| 580 | bottom: 10px; |
| 581 | width: calc(100% - 20px); |
| 582 | z-index: 9999999999; |
| 583 | } |
| 584 | .mwai-chat .mwai-reply { |
| 585 | flex-direction: column; |
| 586 | } |
| 587 | .mwai-chat .mwai-input { |
| 588 | flex-direction: column; |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | .mwai-copy-button { |
| 593 | opacity: 0; |
| 594 | transition: all 0.3s ease-out; |
| 595 | width: 22px; |
| 596 | height: 22px; |
| 597 | position: absolute; |
| 598 | right: var(--mwai-spacing); |
| 599 | } |
| 600 | |
| 601 | .mwai-copy-button .mwai-copy-button-one { |
| 602 | position: absolute; |
| 603 | width: 16px; |
| 604 | height: 16px; |
| 605 | margin-top: 0px; |
| 606 | margin-left: 0px; |
| 607 | background: white; |
| 608 | opacity: 0.4; |
| 609 | transition: all 0.2s ease-in; |
| 610 | cursor: pointer; |
| 611 | border-radius: 2px; |
| 612 | } |
| 613 | |
| 614 | .mwai-copy-button .mwai-copy-button-two { |
| 615 | position: absolute; |
| 616 | width: 16px; |
| 617 | height: 16px; |
| 618 | margin-top: 6px; |
| 619 | margin-left: 6px; |
| 620 | background: white; |
| 621 | opacity: 0.6; |
| 622 | transition: all 0.2s ease-in; |
| 623 | cursor: pointer; |
| 624 | border-radius: 2px; |
| 625 | } |
| 626 | |
| 627 | .mwai-copy-button:hover .mwai-copy-button-one { |
| 628 | opacity: 0.6; |
| 629 | margin-top: 0px; |
| 630 | margin-left: 6px; |
| 631 | } |
| 632 | |
| 633 | .mwai-copy-button:hover .mwai-copy-button-two { |
| 634 | opacity: 1; |
| 635 | margin-top: 6px; |
| 636 | margin-left: 0px; |
| 637 | } |
| 638 | |
| 639 | .mwai-copy-button.mwai-animate .mwai-copy-button-one { |
| 640 | opacity: 0; |
| 641 | } |
| 642 | |
| 643 | .mwai-copy-button.mwai-animate .mwai-copy-button-two { |
| 644 | width: 18px; |
| 645 | height: 18px; |
| 646 | margin-top: 2px; |
| 647 | margin-left: 2px; |
| 648 | opacity: 1; |
| 649 | } |
| 650 | |
| 651 | .mwai-chat .mwai-reply:hover .mwai-copy-button { |
| 652 | display: block; |
| 653 | opacity: 1; |
| 654 | } |
| 655 | |
| 656 | @media (max-width: 760px) { |
| 657 | .mwai-chat .mwai-input button { |
| 658 | margin: 15px 0 0 0; |
| 659 | height: 40px; |
| 660 | width: inherit; |
| 661 | } |
| 662 | .mwai-chat .mwai-name { |
| 663 | margin-right: 0; |
| 664 | max-width: inherit; |
| 665 | } |
| 666 | } |
| 667 |