Index: Source/devtools/front_end/cm/codemirror.css |
diff --git a/Source/devtools/front_end/cm/codemirror.css b/Source/devtools/front_end/cm/codemirror.css |
index 098a317a229098e2c0dd9b6eaf98f723bfc876c8..c0897771aa9f949b621266072ab5ec454fdfe813 100644 |
--- a/Source/devtools/front_end/cm/codemirror.css |
+++ b/Source/devtools/front_end/cm/codemirror.css |
@@ -40,6 +40,9 @@ |
box-sizing: content-box; |
} |
+.CodeMirror-guttermarker { color: black; } |
+.CodeMirror-guttermarker-subtle { color: #999; } |
+ |
/* CURSOR */ |
.CodeMirror div.CodeMirror-cursor { |
@@ -54,6 +57,29 @@ |
border: 0; |
background: #7e7; |
} |
+.cm-animate-fat-cursor { |
+ width: auto; |
+ border: 0; |
+ -webkit-animation: blink 1.06s steps(1) infinite; |
+ -moz-animation: blink 1.06s steps(1) infinite; |
+ animation: blink 1.06s steps(1) infinite; |
+} |
+@-moz-keyframes blink { |
+ 0% { background: #7e7; } |
+ 50% { background: none; } |
+ 100% { background: #7e7; } |
+} |
+@-webkit-keyframes blink { |
+ 0% { background: #7e7; } |
+ 50% { background: none; } |
+ 100% { background: #7e7; } |
+} |
+@keyframes blink { |
+ 0% { background: #7e7; } |
+ 50% { background: none; } |
+ 100% { background: #7e7; } |
+} |
+ |
/* Can style cursor different in overwrite (non-insert) mode */ |
div.CodeMirror-overwrite div.CodeMirror-cursor {} |
@@ -99,8 +125,11 @@ div.CodeMirror-overwrite div.CodeMirror-cursor {} |
.cm-s-default .cm-error {color: #f00;} |
.cm-invalidchar {color: #f00;} |
+/* Default styles for common addons */ |
+ |
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} |
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} |
+.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); } |
.CodeMirror-activeline-background {background: #e8f2ff;} |
/* STOP */ |