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: /* ===== console.css ==================================================== michael@0: == Styles used by the Error Console window. michael@0: ====================================================================== */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: .console-box { michael@0: background-color: -moz-Field; michael@0: color: -moz-FieldText; michael@0: } michael@0: michael@0: /* ::::: console rows ::::: */ michael@0: michael@0: .console-row { michael@0: border-bottom: 1px dotted threedshadow; michael@0: padding: 4px 0px; michael@0: } michael@0: michael@0: .console-row-icon { michael@0: padding: 4px; michael@0: -moz-padding-start: 5px; michael@0: -moz-box-align: start !important; michael@0: } michael@0: michael@0: .console-row-msg > label:first-child, michael@0: .console-row-file > label:first-child { michael@0: display: none; michael@0: } michael@0: michael@0: .console-time { michael@0: font-weight: normal !important; michael@0: } michael@0: michael@0: .console-icon { michael@0: list-style-image: inherit; michael@0: } michael@0: michael@0: .console-error-msg { michael@0: margin-bottom: 2px; michael@0: } michael@0: michael@0: /* ..... error rows ..... */ michael@0: michael@0: .console-row-code { michael@0: padding-top: 3px; michael@0: padding-bottom: 3px; michael@0: -moz-padding-start: 3px; michael@0: -moz-padding-end: 0px; michael@0: color: #0000BB; michael@0: font-size: larger; michael@0: } michael@0: michael@0: .console-dots, michael@0: .console-caret { michael@0: height: 9px; michael@0: } michael@0: michael@0: .console-dots { michael@0: background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top; michael@0: } michael@0: michael@0: .console-caret { michael@0: width: 7px; michael@0: background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top; michael@0: } michael@0: michael@0: /* ..... message rows ..... */ michael@0: michael@0: .console-row[type="message"] { michael@0: font-family: monospace; michael@0: } michael@0: michael@0: /* ..... selected state ..... */ michael@0: michael@0: .console-row[selected="true"] { michael@0: background-image: url("chrome://global/skin/console/itemSelected.png"); michael@0: } michael@0: michael@0: .console-row-code[selected="true"], michael@0: .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link { michael@0: color: inherit !important; michael@0: } michael@0: michael@0: /* ::::: icons ::::: */ michael@0: michael@0: .console-row[type="error"], michael@0: .console-row[type="exception"] { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); michael@0: } michael@0: michael@0: .console-row[type="error"] .console-row-msg, michael@0: .console-row[type="exception"] .console-row-msg { michael@0: font-weight: bold; michael@0: } michael@0: michael@0: .console-row[type="warning"] { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); michael@0: } michael@0: michael@0: .console-row[type="message"] { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); michael@0: } michael@0: michael@0: /* ::::: toolbars ::::: */ michael@0: michael@0: #TextboxEval { michael@0: margin: 2px !important; michael@0: } michael@0: michael@0: #ButtonEval { michael@0: margin-top: 2px !important; michael@0: margin-bottom: 2px !important; michael@0: -moz-margin-start: 0px !important; michael@0: -moz-margin-end: 2px !important; michael@0: } michael@0: michael@0: /* Toolbar icons */ michael@0: michael@0: toolbar#ToolbarMode toolbarbutton { michael@0: -moz-box-orient: horizontal; michael@0: } michael@0: michael@0: #Console\:modeAll { michael@0: list-style-image: url("chrome://global/skin/console/console-toolbar.png"); michael@0: } michael@0: michael@0: #Console\:modeErrors { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-error?size=toolbar"); michael@0: } michael@0: michael@0: #Console\:modeWarnings { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=toolbar"); michael@0: } michael@0: michael@0: #Console\:modeMessages { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-info?size=toolbar"); michael@0: } michael@0: michael@0: #Console\:clear { michael@0: list-style-image: url("moz-icon://stock/gtk-clear?size=toolbar"); michael@0: } michael@0: michael@0: toolbar#ToolbarMode .toolbarbutton-text { michael@0: -moz-padding-end: 4px; michael@0: } michael@0: michael@0: /* ::::: Fix Error Console toolbar button text spacing ::::: */ michael@0: michael@0: .toolbarbutton-text { michael@0: -moz-padding-start: 0px; michael@0: -moz-padding-end: 5px; michael@0: }