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