ChatGPT.module.css
3 years ago
ChatGPT.module.scss
3 years ago
Messages.module.css
3 years ago
Messages.module.scss
3 years ago
_codeDark.scss
3 years ago
_codeLight.scss
3 years ago
_common.scss
3 years ago
_copybutton.scss
3 years ago
_copybutton.scss
65 lines
| 1 | // main: ChatGPT.module.scss, Messages.module.scss |
| 2 | |
| 3 | .mwai-copy-button { |
| 4 | opacity: 0; |
| 5 | transition: all 0.3s ease-out; |
| 6 | width: 22px; |
| 7 | height: 22px; |
| 8 | position: absolute; |
| 9 | right: var(--mwai-spacing); |
| 10 | } |
| 11 | |
| 12 | .mwai-copy-button .mwai-copy-button-one { |
| 13 | position: absolute; |
| 14 | width: 16px; |
| 15 | height: 16px; |
| 16 | margin-top: 0px; |
| 17 | margin-left: 0px; |
| 18 | background: white; |
| 19 | opacity: 0.4; |
| 20 | transition: all 0.2s ease-in; |
| 21 | cursor: pointer; |
| 22 | border-radius: 2px; |
| 23 | } |
| 24 | |
| 25 | .mwai-copy-button .mwai-copy-button-two { |
| 26 | position: absolute; |
| 27 | width: 16px; |
| 28 | height: 16px; |
| 29 | margin-top: 6px; |
| 30 | margin-left: 6px; |
| 31 | background: white; |
| 32 | opacity: 0.6; |
| 33 | transition: all 0.2s ease-in; |
| 34 | cursor: pointer; |
| 35 | border-radius: 2px; |
| 36 | } |
| 37 | |
| 38 | .mwai-copy-button:hover .mwai-copy-button-one { |
| 39 | opacity: 0.6; |
| 40 | margin-top: 0px; |
| 41 | margin-left: 6px; |
| 42 | } |
| 43 | |
| 44 | .mwai-copy-button:hover .mwai-copy-button-two { |
| 45 | opacity: 1; |
| 46 | margin-top: 6px; |
| 47 | margin-left: 0px; |
| 48 | } |
| 49 | |
| 50 | .mwai-copy-button.mwai-animate .mwai-copy-button-one { |
| 51 | opacity: 0; |
| 52 | } |
| 53 | |
| 54 | .mwai-copy-button.mwai-animate .mwai-copy-button-two { |
| 55 | width: 18px; |
| 56 | height: 18px; |
| 57 | margin-top: 2px; |
| 58 | margin-left: 2px; |
| 59 | opacity: 1; |
| 60 | } |
| 61 | |
| 62 | .mwai-chat .mwai-reply:hover .mwai-copy-button { |
| 63 | display: block; |
| 64 | opacity: 1; |
| 65 | } |