toolkit/themes/linux/global/console/console.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* ===== console.css ====================================================
michael@0 6 == Styles used by the Error Console window.
michael@0 7 ====================================================================== */
michael@0 8
michael@0 9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 10
michael@0 11 .console-box {
michael@0 12 background-color: -moz-Field;
michael@0 13 color: -moz-FieldText;
michael@0 14 }
michael@0 15
michael@0 16 /* ::::: console rows ::::: */
michael@0 17
michael@0 18 .console-row {
michael@0 19 border-bottom: 1px dotted threedshadow;
michael@0 20 padding: 4px 0px;
michael@0 21 }
michael@0 22
michael@0 23 .console-row-icon {
michael@0 24 padding: 4px;
michael@0 25 -moz-padding-start: 5px;
michael@0 26 -moz-box-align: start !important;
michael@0 27 }
michael@0 28
michael@0 29 .console-row-msg > label:first-child,
michael@0 30 .console-row-file > label:first-child {
michael@0 31 display: none;
michael@0 32 }
michael@0 33
michael@0 34 .console-time {
michael@0 35 font-weight: normal !important;
michael@0 36 }
michael@0 37
michael@0 38 .console-icon {
michael@0 39 list-style-image: inherit;
michael@0 40 }
michael@0 41
michael@0 42 .console-error-msg {
michael@0 43 margin-bottom: 2px;
michael@0 44 }
michael@0 45
michael@0 46 /* ..... error rows ..... */
michael@0 47
michael@0 48 .console-row-code {
michael@0 49 padding-top: 3px;
michael@0 50 padding-bottom: 3px;
michael@0 51 -moz-padding-start: 3px;
michael@0 52 -moz-padding-end: 0px;
michael@0 53 color: #0000BB;
michael@0 54 font-size: larger;
michael@0 55 }
michael@0 56
michael@0 57 .console-dots,
michael@0 58 .console-caret {
michael@0 59 height: 9px;
michael@0 60 }
michael@0 61
michael@0 62 .console-dots {
michael@0 63 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
michael@0 64 }
michael@0 65
michael@0 66 .console-caret {
michael@0 67 width: 7px;
michael@0 68 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
michael@0 69 }
michael@0 70
michael@0 71 /* ..... message rows ..... */
michael@0 72
michael@0 73 .console-row[type="message"] {
michael@0 74 font-family: monospace;
michael@0 75 }
michael@0 76
michael@0 77 /* ..... selected state ..... */
michael@0 78
michael@0 79 .console-row[selected="true"] {
michael@0 80 background-image: url("chrome://global/skin/console/itemSelected.png");
michael@0 81 }
michael@0 82
michael@0 83 .console-row-code[selected="true"],
michael@0 84 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
michael@0 85 color: inherit !important;
michael@0 86 }
michael@0 87
michael@0 88 /* ::::: icons ::::: */
michael@0 89
michael@0 90 .console-row[type="error"],
michael@0 91 .console-row[type="exception"] {
michael@0 92 list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
michael@0 93 }
michael@0 94
michael@0 95 .console-row[type="error"] .console-row-msg,
michael@0 96 .console-row[type="exception"] .console-row-msg {
michael@0 97 font-weight: bold;
michael@0 98 }
michael@0 99
michael@0 100 .console-row[type="warning"] {
michael@0 101 list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
michael@0 102 }
michael@0 103
michael@0 104 .console-row[type="message"] {
michael@0 105 list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
michael@0 106 }
michael@0 107
michael@0 108 /* ::::: toolbars ::::: */
michael@0 109
michael@0 110 #TextboxEval {
michael@0 111 margin: 2px !important;
michael@0 112 }
michael@0 113
michael@0 114 #ButtonEval {
michael@0 115 margin-top: 2px !important;
michael@0 116 margin-bottom: 2px !important;
michael@0 117 -moz-margin-start: 0px !important;
michael@0 118 -moz-margin-end: 2px !important;
michael@0 119 }
michael@0 120
michael@0 121 /* Toolbar icons */
michael@0 122
michael@0 123 toolbar#ToolbarMode toolbarbutton {
michael@0 124 -moz-box-orient: horizontal;
michael@0 125 }
michael@0 126
michael@0 127 #Console\:modeAll {
michael@0 128 list-style-image: url("chrome://global/skin/console/console-toolbar.png");
michael@0 129 }
michael@0 130
michael@0 131 #Console\:modeErrors {
michael@0 132 list-style-image: url("moz-icon://stock/gtk-dialog-error?size=toolbar");
michael@0 133 }
michael@0 134
michael@0 135 #Console\:modeWarnings {
michael@0 136 list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=toolbar");
michael@0 137 }
michael@0 138
michael@0 139 #Console\:modeMessages {
michael@0 140 list-style-image: url("moz-icon://stock/gtk-dialog-info?size=toolbar");
michael@0 141 }
michael@0 142
michael@0 143 #Console\:clear {
michael@0 144 list-style-image: url("moz-icon://stock/gtk-clear?size=toolbar");
michael@0 145 }
michael@0 146
michael@0 147 toolbar#ToolbarMode .toolbarbutton-text {
michael@0 148 -moz-padding-end: 4px;
michael@0 149 }
michael@0 150
michael@0 151 /* ::::: Fix Error Console toolbar button text spacing ::::: */
michael@0 152
michael@0 153 .toolbarbutton-text {
michael@0 154 -moz-padding-start: 0px;
michael@0 155 -moz-padding-end: 5px;
michael@0 156 }

mercurial