|
| 1 | +.CodeMirror { |
| 2 | + height: 600px !important; |
| 3 | + background-color: #fcfcfc; |
| 4 | + color: #4d4d4c; |
| 5 | +} |
| 6 | + |
| 7 | +.CodeMirror-cursor { |
| 8 | + opacity: 0.7; |
| 9 | + border-left: 2px solid #4d4d4c; |
| 10 | +} |
| 11 | + |
| 12 | +.cm-qualifier { |
| 13 | + color: #c82829; |
| 14 | +} |
| 15 | + |
| 16 | +.cm-property { |
| 17 | + color: #eab700; |
| 18 | +} |
| 19 | + |
| 20 | +.cm-meta, |
| 21 | +.cm-number, |
| 22 | +.cm-atom { |
| 23 | + color: #f5871f; |
| 24 | +} |
| 25 | + |
| 26 | +.cm-comment { |
| 27 | + color: #8e908c !important; |
| 28 | +} |
| 29 | + |
| 30 | +.cm-keyword, |
| 31 | +.cm-type, |
| 32 | +.cm-tag { |
| 33 | + color: #8959a8; |
| 34 | +} |
| 35 | + |
| 36 | +.cm-def { |
| 37 | + color: #4271ae; |
| 38 | +} |
| 39 | + |
| 40 | +.cm-string { |
| 41 | + color: #718c00 !important; |
| 42 | +} |
| 43 | + |
| 44 | +.CodeMirror-linebackground, |
| 45 | +.CodeMirror-activeline-background { |
| 46 | + background-color: #efefef !important; |
| 47 | +} |
| 48 | + |
| 49 | +.cm-operator { |
| 50 | + color: #3e999f !important; |
| 51 | +} |
| 52 | + |
| 53 | +.CodeMirror-selected { |
| 54 | + background-color: #d6d6d6 !important; |
| 55 | +} |
| 56 | + |
| 57 | +.CodeMirror-gutters { |
| 58 | + background: #f9f9f9; |
| 59 | + border-right: none; |
| 60 | +} |
| 61 | + |
| 62 | +.CodeMirror-linenumber { |
| 63 | + color: #909399; |
| 64 | + font-size: 15px; |
| 65 | +} |
| 66 | + |
| 67 | +.CodeMirror-matchingbracket { |
| 68 | + color: #4d4d4c !important; |
| 69 | + outline: 1px solid #d6d6d6; |
| 70 | + -moz-outline-radius: 3px; |
| 71 | +} |
| 72 | + |
| 73 | +.CodeMirror-nonmatchingbracket { |
| 74 | + color: #c82829 !important; |
| 75 | + outline: 1px solid #c82829; |
| 76 | + -moz-outline-radius: 3px; |
| 77 | +} |
| 78 | + |
| 79 | +.CodeMirror-foldmarker { |
| 80 | + text-shadow: none !important; |
| 81 | + color: #8e908c !important; |
| 82 | + font-family: "Fira Sans" !important; |
| 83 | + outline: 1px solid #d6d6d6; |
| 84 | + -moz-outline-radius: 3px; |
| 85 | +} |
| 86 | + |
| 87 | +.CodeMirror span[role="presentation"] { |
| 88 | + font-size: 14px; |
| 89 | +} |
| 90 | + |
| 91 | +.CodeMirror-hints { |
| 92 | + max-height: 200px !important; |
| 93 | + box-shadow: none !important; |
| 94 | + border-color: #dcdfe6 !important; |
| 95 | + background-color: #fefefe !important; |
| 96 | + font-family: "Fira Code" !important; |
| 97 | + padding: 5px !important; |
| 98 | +} |
| 99 | + |
| 100 | +.CodeMirror-hint { |
| 101 | + line-height: 20px; |
| 102 | + color: #444444 !important; |
| 103 | +} |
| 104 | + |
| 105 | +li.CodeMirror-hint-active { |
| 106 | + background-color: #efefef !important; |
| 107 | + color: #444444 !important; |
| 108 | + font-weight: 500; |
| 109 | +} |
| 110 | + |
| 111 | +.CodeMirror-dialog { |
| 112 | + background-color: #fefefe !important; |
| 113 | +} |
| 114 | + |
| 115 | +.cm-searching { |
| 116 | + background-color: #d6d6d6; |
| 117 | +} |
| 118 | + |
| 119 | +.CodeMirror-search-label { |
| 120 | + line-height: 24px; |
| 121 | + font-weight: 500; |
| 122 | +} |
| 123 | + |
| 124 | +.CodeMirror-search-field { |
| 125 | + line-height: 20px; |
| 126 | + border: 1px solid #dcdfe6 !important; |
| 127 | + width: 50em !important; |
| 128 | +} |
| 129 | + |
| 130 | +.CodeMirror-search-hint { |
| 131 | + line-height: 25px; |
| 132 | + float: right; |
| 133 | +} |
| 134 | + |
| 135 | +.cm-matchhighlight { |
| 136 | + outline: 1px solid #d6d6d6; |
| 137 | + -moz-outline-radius: 3px; |
| 138 | +} |
| 139 | + |
| 140 | +.CodeMirror-selection-highlight-scrollbar { |
| 141 | + margin-right: 2.5px; |
| 142 | + width: 5px !important; |
| 143 | + background-color: #8e908c; |
| 144 | + opacity: 0.6; |
| 145 | +} |
| 146 | + |
| 147 | +.CodeMirror-simplescroll-horizontal div, |
| 148 | +.CodeMirror-simplescroll-vertical div { |
| 149 | + background: #b3b3b3 !important; |
| 150 | + border: none !important; |
| 151 | + border-radius: 0 !important; |
| 152 | +} |
| 153 | + |
| 154 | +.CodeMirror-simplescroll-vertical { |
| 155 | + width: 10px !important; |
| 156 | +} |
| 157 | + |
| 158 | +.CodeMirror-simplescroll-horizontal { |
| 159 | + height: 10px !important; |
| 160 | +} |
0 commit comments