mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-23 23:29:59 +08:00
@ -113,7 +113,7 @@ function addCopyIcon(cmInstance) {
|
|||||||
copyButton.classList.add('success');
|
copyButton.classList.add('success');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
copyButton.classList.remove('success');
|
copyButton.classList.remove('success');
|
||||||
}, 360);
|
}, 240);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -419,11 +419,12 @@ span.CodeMirror-selectedtext { background: none; }
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
fill: #444;
|
fill: #444;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
transition: all ease-in 180ms;
|
transition: all ease-in 240ms;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
opacity: 0.7;
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
svg {
|
svg {
|
||||||
transition: transform ease-in 180ms;
|
transition: transform ease-in 240ms;
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
&.success {
|
&.success {
|
||||||
@ -437,4 +438,5 @@ span.CodeMirror-selectedtext { background: none; }
|
|||||||
.CodeMirror:hover .CodeMirror-copy {
|
.CodeMirror:hover .CodeMirror-copy {
|
||||||
user-select: all;
|
user-select: all;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
pointer-events: all;
|
||||||
}
|
}
|
Reference in New Issue
Block a user