0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Smooth scroll editor Panel, and flash target line

This commit is contained in:
Trevor Buckner
2022-06-03 13:32:04 -04:00
parent bd681dffae
commit df41b58441
2 changed files with 31 additions and 11 deletions

View File

@@ -3,6 +3,11 @@
@import (less) 'codemirror/addon/search/matchesonscrollbar.css';
@import (less) 'codemirror/addon/dialog/dialog.css';
@keyframes sourceMoveAnimation {
50% {background-color: red; color: white;}
100% {background-color: unset; color: unset;}
}
.codeEditor{
.CodeMirror-foldmarker {
font-family: inherit;
@@ -11,8 +16,8 @@
}
.sourceMoveFlash .CodeMirror-line{
background-color: #0000fc;
color: #ffffff;
animation-name: sourceMoveAnimation;
animation-duration: 0.4s;
}
//.cm-tab {
@@ -24,4 +29,4 @@
// background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAQAgMAAABW5NbuAAAACVBMVEVHcEwAAAAAAAAWawmTAAAAA3RSTlMAPBJ6PMxpAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAFUlEQVQI12NgwACcCQysASAEZGAAACMuAX06aCQUAAAAAElFTkSuQmCC) no-repeat right;
// }
//}
}
}