summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/components/Editor/Editor.css
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/src/components/Editor/Editor.css')
-rw-r--r--devtools/client/debugger/src/components/Editor/Editor.css25
1 files changed, 6 insertions, 19 deletions
diff --git a/devtools/client/debugger/src/components/Editor/Editor.css b/devtools/client/debugger/src/components/Editor/Editor.css
index 0c48da019e..f28833747d 100644
--- a/devtools/client/debugger/src/components/Editor/Editor.css
+++ b/devtools/client/debugger/src/components/Editor/Editor.css
@@ -80,19 +80,6 @@ html[dir="rtl"] .editor-mount {
line-height: var(--theme-code-line-height);
}
-/* set the linenumber white when there is a breakpoint */
-.editor-wrapper:not(.skip-pausing)
- .new-breakpoint
- .CodeMirror-gutter-wrapper
- .CodeMirror-linenumber {
- color: white;
-}
-
-/* move the breakpoint below the other gutter elements */
-.new-breakpoint .CodeMirror-gutter-elt:nth-child(2) {
- z-index: 0;
-}
-
.theme-dark .editor-wrapper .CodeMirror-line .cm-comment {
color: var(--theme-comment);
}
@@ -134,7 +121,9 @@ html[dir="rtl"] .editor-mount {
background-color: var(--debug-expression-error-background);
}
-.new-debug-line > .CodeMirror-line {
+.new-debug-line > .CodeMirror-line,
+/* For CM6 */
+.cm-editor .cm-line.new-debug-line {
background-color: transparent !important;
outline: var(--debug-line-border) solid 1px;
}
@@ -145,7 +134,9 @@ html[dir="rtl"] .editor-mount {
display: none;
}
-.new-debug-line-error > .CodeMirror-line {
+.new-debug-line-error > .CodeMirror-line,
+/* For CM6 */
+.cm-editor .cm-line.new-debug-line-error {
background-color: var(--debug-expression-error-background) !important;
outline: var(--debug-line-error-border) solid 1px;
}
@@ -196,10 +187,6 @@ html[dir="rtl"] .editor-mount {
border-left: none;
}
-.editor-wrapper .CodeMirror-foldgutter .CodeMirror-guttermarker-subtle {
- visibility: visible;
-}
-
.editor-wrapper .CodeMirror-foldgutter .CodeMirror-linenumber {
text-align: left;
padding: 0 0 0 2px;