mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
UX: reduce opacity of code copy button (#12418)
This commit is contained in:
parent
146775072a
commit
26bfb5d6b9
|
@ -721,6 +721,7 @@ pre {
|
|||
font-size: $font-down-2;
|
||||
min-height: 0;
|
||||
font-size: $font-down-2;
|
||||
opacity: 0.7;
|
||||
|
||||
&.copied {
|
||||
.d-icon {
|
||||
|
|
|
@ -230,8 +230,11 @@ pre.copy-codeblocks .copy-cmd:not(.copied) {
|
|||
}
|
||||
|
||||
pre.copy-codeblocks:hover .copy-cmd {
|
||||
opacity: 1;
|
||||
opacity: 0.7;
|
||||
visibility: visible;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.embedded-posts {
|
||||
|
|
Loading…
Reference in New Issue
Block a user