Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css

Issue 2334073002: DevTools: Show a red background under unmatched brackets (Closed)
Patch Set: Dark mode Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .CodeMirror { 1 .CodeMirror {
2 line-height: 1.2em !important; 2 line-height: 1.2em !important;
3 background-color: transparent !important; 3 background-color: transparent !important;
4 color: #222; 4 color: #222;
5 } 5 }
6 6
7 .CodeMirror-linewidget { 7 .CodeMirror-linewidget {
8 overflow: visible !important; 8 overflow: visible !important;
9 } 9 }
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 107
108 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber { 108 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber {
109 opacity: 0.5; 109 opacity: 0.5;
110 } 110 }
111 111
112 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber { 112 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber {
113 opacity: 0.3; 113 opacity: 0.3;
114 } 114 }
115 115
116 .CodeMirror-matchingbracket { 116 div.CodeMirror span.CodeMirror-matchingbracket {
117 border-bottom: 1px solid black; 117 background-color: rgba(0, 0, 0, 0.13);
118 color: #222 !important; 118 color: unset;
119 } 119 }
120 120
121 .CodeMirror-nonmatchingbracket { 121 div.CodeMirror span.CodeMirror-nonmatchingbracket {
122 color: #222 !important; 122 background-color: rgba(255, 0, 0, 0.13);
123 color: unset;
124 }
125
126 .-theme-with-dark-background div.CodeMirror span.CodeMirror-matchingbracket {
127 border-bottom: 1px solid rgb(217,217,217);
128 background-color:initial;
129 }
130
131 .-theme-with-dark-background div.CodeMirror span.CodeMirror-nonmatchingbracket {
132 border-bottom: 1px solid rgb(255, 26, 26);
133 background-color:initial;
123 } 134 }
124 135
125 .cm-whitespace::before { 136 .cm-whitespace::before {
126 position: absolute; 137 position: absolute;
127 pointer-events: none; 138 pointer-events: none;
128 color: rgb(175, 175, 175); 139 color: rgb(175, 175, 175);
129 } 140 }
130 141
131 .cm-tab { 142 .cm-tab {
132 position: relative; 143 position: relative;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 370
360 .CodeMirror .auto-complete-text { 371 .CodeMirror .auto-complete-text {
361 color: rgb(128,128,128); 372 color: rgb(128,128,128);
362 } 373 }
363 374
364 /** Prevent the codemirror textarea from stealing PageUp events **/ 375 /** Prevent the codemirror textarea from stealing PageUp events **/
365 .CodeMirror textarea { 376 .CodeMirror textarea {
366 resize: none; 377 resize: none;
367 overflow: hidden; 378 overflow: hidden;
368 } 379 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698