Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== console.css ====================================================
6 == Styles used by the Error Console window.
7 ======================================================================= */
9 /* View buttons */
10 @import "chrome://global/skin/viewbuttons.css";
12 %include ../shared.inc
13 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
15 .console-box {
16 background-color: -moz-Field;
17 color: -moz-FieldText;
18 overflow: auto;
19 }
21 /* ::::: console rows ::::: */
23 .console-row {
24 border-bottom: 1px solid #A3A3A3;
25 padding: 4px;
26 }
28 .console-row-file {
29 color: #505050;
30 }
32 .console-row-msg > label:first-child {
33 font-weight: bold;
34 }
36 .console-row-msg > label, .comsole-row-msg > description, .console-error-msg, .console-row-file, .console-row-code {
37 margin: 2px;
38 }
40 .console-row-file > label {
41 margin: 0;
42 }
44 .console-msg-text {
45 white-space: pre-wrap !important;
46 }
47 .console-icon {
48 list-style-image: inherit;
49 padding-right: 6px;
50 padding-left: 6px;
51 }
53 /* ..... error rows ..... */
55 .console-row-code {
56 color: #0000BB;
57 font-size: larger;
58 }
60 .console-dots,
61 .console-caret {
62 height: 9px;
63 }
65 .console-dots {
66 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
67 }
69 .console-caret {
70 width: 7px;
71 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
72 }
74 /* ..... message rows ..... */
76 .console-row[type="message"] {
77 font-family: monospace;
78 }
80 /* ..... selected state ..... */
82 .console-row[selected="true"] {
83 background-color: #3D80DF !important;
84 color: #FFF;
85 }
87 .console-row-code[selected="true"],
88 .console-row-content[selected="true"] > .console-row-file,
89 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
90 color: #FFF !important;
91 }
93 /* ::::: row colors ::::: */
95 .console-row[type="error"],
96 .console-row[type="exception"] {
97 background-color: #FFD0DC;
98 }
100 .console-row[type="warning"] {
101 background-color: #F8F3CC;
102 }
104 .console-row[type="message"] {
105 background-color: #D3EDFF;
106 }
108 /* ::::: toolbars ::::: */
110 #ToolbarEval {
111 -moz-appearance: none;
112 background: @scopeBarBackground@;
113 border-bottom: @scopeBarSeparatorBorder@;
114 padding: 2px;
115 }
117 #ToolbarEval > label {
118 font-weight: bold;
119 color: @scopeBarTitleColor@;
120 }
122 #TextfieldEval {
123 margin: 2px !important;
124 }
126 #ButtonEval {
127 margin: 0 4px;
128 padding: 1px 10px;
129 -moz-appearance: none;
130 border-radius: 10000px;
131 border: @roundButtonBorder@;
132 background: @roundButtonBackground@;
133 box-shadow: @roundButtonShadow@;
134 }
136 #ButtonEval > .toolbarbutton-text {
137 margin: 0 !important;
138 }
140 #ButtonEval:hover:active {
141 text-shadow: @loweredShadow@;
142 background: @roundButtonPressedBackground@;
143 box-shadow: @roundButtonPressedShadow@;
144 }
146 toolbarseparator {
147 min-height: 1em;
148 background-image: none;
149 }
151 /* Toolbar icons */
153 #ToolbarMode {
154 -moz-box-pack: center;
155 }
157 #ToolbarMode toolbarbutton > .toolbarbutton-icon {
158 display: none;
159 }
161 #Console\:clear {
162 -moz-box-orient: vertical;
163 -moz-box-align: center;
164 -moz-appearance: toolbarbutton;
165 font: menu;
166 text-shadow: @loweredShadow@;
167 margin: 4px 0 9px;
168 padding: 0 1px;
169 }