michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: .errors, michael@0: .breakpoints { michael@0: width: 16px; michael@0: } michael@0: michael@0: .error, .breakpoint, .debugLocation, .breakpoint-debugLocation { michael@0: display: inline-block; michael@0: margin-left: 5px; michael@0: width: 12px; michael@0: height: 12px; michael@0: background-repeat: no-repeat; michael@0: background-position: center; michael@0: background-size: contain; michael@0: } michael@0: michael@0: .error { michael@0: background-image: url("chrome://browser/skin/devtools/editor-error.png"); michael@0: opacity: 0.75; michael@0: } michael@0: michael@0: .breakpoint { michael@0: background-image: url("chrome://browser/skin/devtools/editor-breakpoint.png"); michael@0: } michael@0: michael@0: .debugLocation { michael@0: background-image: url("chrome://browser/skin/devtools/editor-debug-location.png"); michael@0: } michael@0: michael@0: .breakpoint.debugLocation { michael@0: background-image: michael@0: url("chrome://browser/skin/devtools/editor-debug-location.png"), michael@0: url("chrome://browser/skin/devtools/editor-breakpoint.png"); michael@0: } michael@0: michael@0: .CodeMirror { michael@0: cursor: text; michael@0: } michael@0: michael@0: .CodeMirror-gutters { michael@0: cursor: default; michael@0: } michael@0: michael@0: /* This is to avoid the fake horizontal scrollbar div of codemirror to go 0 michael@0: height when floating scrollbars are active. Make sure that this value is equal michael@0: to the maximum of `min-height` specific to the `scrollbar[orient="horizontal"]` michael@0: selector in floating-scrollbar-light.css across all platforms. */ michael@0: .CodeMirror-hscrollbar { michael@0: min-height: 10px; michael@0: } michael@0: michael@0: /* This is to avoid the fake vertical scrollbar div of codemirror to go 0 michael@0: width when floating scrollbars are active. Make sure that this value is equal michael@0: to the maximum of `min-width` specific to the `scrollbar[orient="vertical"]` michael@0: selector in floating-scrollbar-light.css across all platforms. */ michael@0: .CodeMirror-vscrollbar { michael@0: min-width: 10px; michael@0: } michael@0: michael@0: .cm-trailingspace { michael@0: background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUXCToH00Y1UgAAACFJREFUCNdjPMDBUc/AwNDAAAFMTAwMDA0OP34wQgX/AQBYgwYEx4f9lQAAAABJRU5ErkJggg=="); michael@0: opacity: 0.75; michael@0: background-position: left bottom; michael@0: background-repeat: repeat-x; michael@0: } michael@0: michael@0: /* CodeMirror dialogs styling */ michael@0: michael@0: .CodeMirror-dialog { michael@0: padding: 4px 3px; michael@0: } michael@0: michael@0: .CodeMirror-dialog, michael@0: .CodeMirror-dialog input { michael@0: font: message-box; michael@0: } michael@0: michael@0: /* Fold addon */ michael@0: michael@0: .CodeMirror-foldmarker { michael@0: color: blue; michael@0: text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; michael@0: font-family: sans-serif; michael@0: line-height: .3; michael@0: cursor: pointer; michael@0: } michael@0: michael@0: .CodeMirror-foldgutter { michael@0: width: 16px; /* Same as breakpoints gutter above */ michael@0: } michael@0: michael@0: .CodeMirror-foldgutter-open, michael@0: .CodeMirror-foldgutter-folded { michael@0: color: #555; michael@0: cursor: pointer; michael@0: } michael@0: michael@0: .CodeMirror-foldgutter-open:after { michael@0: font-size: 120%; michael@0: content: "\25BE"; michael@0: } michael@0: michael@0: .CodeMirror-foldgutter-folded:after { michael@0: font-size: 120%; michael@0: content: "\25B8"; michael@0: }