|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
.CodeMirror {
|
|
|
--base: #545281;
|
|
|
- --comment: hsl(210, 25%, 60%);
|
|
|
+ --comment: hsl(210deg 25% 60%);
|
|
|
--keyword: #af4ab1;
|
|
|
--variable: #0055d1;
|
|
|
--function: #c25205;
|
|
@@ -53,7 +53,7 @@
|
|
|
color: var(--comment);
|
|
|
text-align: right;
|
|
|
white-space: nowrap;
|
|
|
- opacity: 0.6;
|
|
|
+ opacity: 60%;
|
|
|
}
|
|
|
|
|
|
.CodeMirror-guttermarker {
|
|
@@ -90,7 +90,7 @@
|
|
|
display: inline-block;
|
|
|
font-size: 0.8em;
|
|
|
content: '>';
|
|
|
- opacity: 0.8;
|
|
|
+ opacity: 80%;
|
|
|
transform: rotate(90deg);
|
|
|
transition: transform 0.2s;
|
|
|
}
|
|
@@ -125,9 +125,7 @@
|
|
|
}
|
|
|
|
|
|
.cm-fat-cursor-mark {
|
|
|
- background-color: rgba(20, 255, 20, 0.5);
|
|
|
- -webkit-animation: blink 1.06s steps(1) infinite;
|
|
|
- -moz-animation: blink 1.06s steps(1) infinite;
|
|
|
+ background-color: rgb(20 255 20 / 50%);
|
|
|
animation: blink 1.06s steps(1) infinite;
|
|
|
}
|
|
|
|
|
@@ -135,16 +133,14 @@
|
|
|
width: auto;
|
|
|
background-color: #7e7;
|
|
|
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 {
|
|
|
+@keyframes blink {
|
|
|
50% {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
}
|
|
|
-@-webkit-keyframes blink {
|
|
|
+@keyframes blink {
|
|
|
50% {
|
|
|
background-color: transparent;
|
|
|
}
|
|
@@ -294,7 +290,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
|
}
|
|
|
|
|
|
.CodeMirror-matchingtag {
|
|
|
- background: rgba(255, 150, 0, 0.3);
|
|
|
+ background: rgb(255 150 0 / 30%);
|
|
|
}
|
|
|
|
|
|
.CodeMirror-activeline-background {
|
|
@@ -394,7 +390,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
-.CodeMirror-gutter-wrapper ::-moz-selection {
|
|
|
+.CodeMirrorwrapper ::selection {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
@@ -414,11 +410,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
|
border-width: 0;
|
|
|
|
|
|
/* Reset some styles that the rest of the page might have set */
|
|
|
- -moz-border-radius: 0;
|
|
|
- -webkit-border-radius: 0;
|
|
|
border-radius: 0;
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
- -webkit-font-variant-ligatures: contextual;
|
|
|
font-variant-ligatures: contextual;
|
|
|
}
|
|
|
|
|
@@ -457,7 +450,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
|
.CodeMirror-gutter,
|
|
|
.CodeMirror-gutters,
|
|
|
.CodeMirror-linenumber {
|
|
|
- -moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
}
|
|
|
|
|
@@ -505,15 +497,9 @@ div.CodeMirror-dragcursors {
|
|
|
background: #d7d4f0;
|
|
|
}
|
|
|
|
|
|
-.CodeMirror-line::-moz-selection,
|
|
|
-.CodeMirror-line > span::-moz-selection,
|
|
|
-.CodeMirror-line > span > span::-moz-selection {
|
|
|
- background: #d7d4f0;
|
|
|
-}
|
|
|
-
|
|
|
.cm-searching {
|
|
|
background-color: #ffa;
|
|
|
- background-color: rgba(255, 255, 0, 0.4);
|
|
|
+ background-color: rgb(255 255 0 / 40%);
|
|
|
}
|
|
|
|
|
|
/* Used to force a border model for a node */
|