Commit | Line | Data |
---|---|---|
f0c3317f RK |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
4 | * The contents of this file are subject to the Mozilla Public License Version | |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
8 | * | |
9 | * Software distributed under the License is distributed on an "AS IS" basis, | |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
13 | * | |
14 | * The Original Code is DevTools code | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * Mozilla Corporation | |
18 | * Portions created by the Initial Developer are Copyright (C) 2010 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * David Dahl <ddahl@mozilla.com> | |
23 | ||
24 | * Alternatively, the contents of this file may be used under the terms of | |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the MPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the MPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
37 | ||
38 | .hud-box { | |
39 | border-bottom: 3px solid #000000; | |
40 | } | |
41 | ||
9162a092 | 42 | .hud-box.animated { |
72a6fd39 | 43 | -moz-transition: height 100ms; |
569543b3 RK |
44 | } |
45 | ||
f0c3317f RK |
46 | .hud-outer-wrapper { |
47 | width: 100%; | |
48 | height: 100%; | |
49 | } | |
50 | ||
51 | .hud-console-wrapper { | |
52 | width: 100%; | |
53 | overflow: auto; | |
54 | } | |
55 | ||
56 | .hud-main-label { | |
57 | font-size: 1em; | |
58 | padding-top: 0.33em; | |
59 | font-weight: bold; | |
60 | } | |
61 | ||
62 | .hud-output-node div { | |
63 | -moz-user-select: text; | |
3327253e | 64 | white-space: pre-wrap; |
941d657f | 65 | -moz-user-focus: normal; |
f0c3317f RK |
66 | } |
67 | ||
569543b3 | 68 | .hud-clickable { |
9162a092 | 69 | cursor: pointer; |
569543b3 RK |
70 | text-decoration: underline; |
71 | } | |
72 | ||
9162a092 | 73 | .hud-network { |
f0c3317f RK |
74 | color: blue; |
75 | } | |
76 | ||
9162a092 | 77 | .hud-error { |
f0c3317f RK |
78 | color: red; |
79 | } | |
80 | ||
9162a092 | 81 | .hud-log { |
f0c3317f RK |
82 | color: black; |
83 | } | |
84 | ||
9162a092 | 85 | .hud-warn { |
f0c3317f RK |
86 | color: orange; |
87 | } | |
88 | ||
9162a092 | 89 | .hud-info { |
f0c3317f RK |
90 | color: green; |
91 | } | |
92 | ||
9162a092 | 93 | .hud-exception { |
f0c3317f RK |
94 | color: red; font-weight: bold; |
95 | } | |
96 | ||
f0c3317f RK |
97 | .hud-msg-node { |
98 | width: 100%; | |
99 | margin-top: 0.3em; | |
100 | margin-bottom: 0.3em; | |
9162a092 RK |
101 | padding-left: 1em; |
102 | -moz-user-select: text; | |
103 | white-space: pre-wrap; | |
104 | -moz-user-focus: normal; | |
f0c3317f RK |
105 | } |
106 | ||
107 | .hud-output-node { | |
108 | border-bottom: 1px solid #ddd; | |
109 | border-top: 1px solid #ddd; | |
110 | overflow-x: auto; overflow: auto; | |
111 | font: 1em monospace; background-color: white; | |
112 | width: 100%; | |
113 | } | |
114 | ||
9162a092 RK |
115 | .hud-filtered-by-type, |
116 | .hud-filtered-by-string { | |
706c344c RK |
117 | display: none; |
118 | } | |
119 | ||
72a6fd39 | 120 | .webconsole-clear-console-button > .toolbarbutton-icon { |
941d657f RK |
121 | display: none; |
122 | } | |
123 | ||
72a6fd39 RK |
124 | -moz-box-orient: horizontal; |
125 | list-style-image: url("chrome://global/skin/icons/webconsole.png"); | |
126 | } | |
127 | ||
128 | /* Network button */ | |
129 | .webconsole-filter-button[category="net"] { | |
130 | -moz-image-region: rect(0, 40px, 10px, 30px); | |
131 | } | |
132 | ||
133 | /* CSS button */ | |
134 | .webconsole-filter-button[category="css"] { | |
135 | -moz-image-region: rect(10px, 40px, 20px, 30px); | |
136 | } | |
137 | ||
138 | /* JS button */ | |
139 | .webconsole-filter-button[category="js"] { | |
140 | -moz-image-region: rect(20px, 40px, 30px, 30px); | |
141 | } | |
142 | ||
143 | /* Web Developer button */ | |
144 | .webconsole-filter-button[category="webdev"] { | |
145 | -moz-image-region: rect(30px, 40px, 40px, 30px); | |
146 | } | |
147 | ||
148 | .webconsole-close-button { | |
149 | border: none; | |
150 | padding: 3px; | |
151 | list-style-image: url("chrome://global/skin/icons/close.png"); | |
152 | -moz-image-region: rect(0, 16px, 16px, 0); | |
153 | -moz-appearance: none; | |
154 | } | |
155 | ||
156 | .webconsole-close-button:hover { | |
157 | -moz-image-region: rect(0, 32px, 16px, 16px); | |
158 | } | |
159 | ||
160 | .webconsole-close-button:hover:active { | |
161 | -moz-image-region: rect(0, 48px, 16px, 32px); | |
162 | } | |
163 | ||
f0c3317f RK |
164 | /* JSTerm Styles */ |
165 | ||
166 | .jsterm-wrapper-node { | |
167 | font-family: monospace; | |
168 | font-size: 1em; | |
169 | background-color: #000; | |
170 | border: 1px solid #333; | |
171 | padding: 0.1em; | |
172 | width: 100%; | |
173 | height: 400px; | |
174 | } | |
175 | ||
176 | .jsterm-output-node { | |
177 | width: 100%; | |
178 | height: 400px; | |
179 | color: white; | |
180 | background-color: black; | |
181 | overflow: auto; | |
182 | overflow-x: auto; | |
183 | position: absolute; | |
184 | -moz-box-direction: reverse; | |
185 | } | |
186 | ||
f0c3317f RK |
187 | .jsterm-scroll-to-node { |
188 | height: 1px; width: 1px; position: relative; top: 92%; display: block; | |
189 | } | |
190 | ||
191 | .jsterm-input-node { | |
f0c3317f | 192 | font-family: monospace; |
941d657f | 193 | font-size: 9pt; |
9162a092 RK |
194 | background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; |
195 | border: none; | |
196 | padding: 0px 0px 0px 16px; | |
f0c3317f RK |
197 | } |
198 | ||
9162a092 | 199 | .jsterm-input-node > .textbox-input-box > .textbox-textarea { |
941d657f | 200 | overflow-x: hidden; |
f0c3317f RK |
201 | } |
202 | ||
941d657f | 203 | .jsterm-output-line { |
569543b3 | 204 | font-size: 1em; |
f0c3317f RK |
205 | } |
206 | ||
207 | .hud-console-filter-toolbar { | |
208 | padding: 1px 0px; | |
209 | -moz-box-align: center; | |
210 | } |