ChatGPT.module.css
3 years ago
ChatGPT.module.scss
3 years ago
iOSDark.module.css
3 years ago
iOSDark.module.scss
3 years ago
iOSDark.module.scss
111 lines
| 1 | .mwai-chat { |
| 2 | |
| 3 | .mwai-conversation { |
| 4 | padding: 5px; |
| 5 | overflow: hidden !important; |
| 6 | } |
| 7 | |
| 8 | .mwai-ai code { |
| 9 | padding-bottom:20px; |
| 10 | font-size:.85rem; |
| 11 | font-family:monospace !important; |
| 12 | /*scrollbar-color: #666 #343541;*/ |
| 13 | } |
| 14 | |
| 15 | .mwai-name-text { |
| 16 | display: none; |
| 17 | } |
| 18 | |
| 19 | .mwai-conversation { |
| 20 | display: flex; |
| 21 | flex-direction: column; |
| 22 | } |
| 23 | |
| 24 | .mwai-ai { |
| 25 | align-self: flex-start; |
| 26 | } |
| 27 | .mwai-user { |
| 28 | align-self: flex-end; |
| 29 | } |
| 30 | |
| 31 | .mwai-ai { |
| 32 | background-color: #333!important; |
| 33 | position: relative; |
| 34 | max-width: 255px; |
| 35 | margin-bottom: 15px; |
| 36 | padding: 10px 20px; |
| 37 | font-family: Helvetica Neue,Helvetica,Arial,sans-serif; |
| 38 | line-height: 24px; |
| 39 | word-wrap: break-word; |
| 40 | border-radius: 25px; |
| 41 | } |
| 42 | .mwai-ai::before { |
| 43 | width: 20px |
| 44 | } |
| 45 | .mwai-ai::after { |
| 46 | width: 26px; |
| 47 | background: #333!important; |
| 48 | } |
| 49 | |
| 50 | .mwai-ai::before, .mwai-ai::after { |
| 51 | position: absolute; |
| 52 | bottom: 0; |
| 53 | height: 25px; |
| 54 | transition: transform .2s ease-out; |
| 55 | content: ""; |
| 56 | } |
| 57 | |
| 58 | .mwai-user { |
| 59 | background: #0B93F6 !important; |
| 60 | background-attachment: scroll; |
| 61 | background-attachment: fixed; |
| 62 | position: relative; |
| 63 | border-radius: 20px; |
| 64 | padding: 9px 15px !important; |
| 65 | margin-top: 15px; |
| 66 | margin-bottom: 15px; |
| 67 | display: inline-block; |
| 68 | } |
| 69 | .mwai-user::before { |
| 70 | content: ""; |
| 71 | position: absolute; |
| 72 | z-index: 0; |
| 73 | bottom: 0; |
| 74 | right: -8px; |
| 75 | height: 20px; |
| 76 | width: 20px; |
| 77 | background: #0b93f6 !important; |
| 78 | background-attachment: scroll; |
| 79 | background-attachment: fixed; |
| 80 | border-bottom-left-radius: 15px; |
| 81 | } |
| 82 | .mwai-user::after { |
| 83 | content: ""; |
| 84 | position: absolute; |
| 85 | z-index: 1; |
| 86 | bottom: 0; |
| 87 | right: -10px; |
| 88 | width: 10px; |
| 89 | height: 20px; |
| 90 | background: #121212; |
| 91 | border-bottom-left-radius: 10px; |
| 92 | } |
| 93 | |
| 94 | } |
| 95 | |
| 96 | .mwai-chat.mwai-window.mwai-open { |
| 97 | |
| 98 | .mwai-header { |
| 99 | display: flex; |
| 100 | } |
| 101 | |
| 102 | .mwai-content { |
| 103 | display: flex; |
| 104 | transition: opacity 200ms ease-in-out 0s; |
| 105 | opacity: 1; |
| 106 | } |
| 107 | |
| 108 | .mwai-open-button { |
| 109 | display: none; |
| 110 | } |
| 111 | } |