Commit | Line | Data |
---|---|---|
2ca00acf RK |
1 | /* |
2 | * Software License Agreement (BSD License) | |
3 | * | |
4 | * Copyright (c) 2007, Parakey Inc. | |
5 | * All rights reserved. | |
4c765db1 | 6 | * |
2ca00acf RK |
7 | * Redistribution and use of this software in source and binary forms, with or without modification, |
8 | * are permitted provided that the following conditions are met: | |
4c765db1 | 9 | * |
2ca00acf RK |
10 | * * Redistributions of source code must retain the above |
11 | * copyright notice, this list of conditions and the | |
12 | * following disclaimer. | |
4c765db1 | 13 | * |
2ca00acf RK |
14 | * * Redistributions in binary form must reproduce the above |
15 | * copyright notice, this list of conditions and the | |
16 | * following disclaimer in the documentation and/or other | |
17 | * materials provided with the distribution. | |
4c765db1 | 18 | * |
2ca00acf RK |
19 | * * Neither the name of Parakey Inc. nor the names of its |
20 | * contributors may be used to endorse or promote products | |
21 | * derived from this software without specific prior | |
22 | * written permission of Parakey Inc. | |
4c765db1 | 23 | * |
2ca00acf RK |
24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR |
25 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
26 | * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | |
27 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
28 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
29 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | |
30 | * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT | |
31 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
32 | */ | |
33 | ||
34 | /* | |
35 | * Creator: | |
36 | * Joe Hewitt | |
37 | * Contributors | |
38 | * John J. Barton (IBM Almaden) | |
39 | * Jan Odvarko (Mozilla Corp.) | |
40 | * Max Stepanov (Aptana Inc.) | |
41 | * Rob Campbell (Mozilla Corp.) | |
42 | * Hans Hillen (Paciello Group, Mozilla) | |
43 | * Curtis Bartley (Mozilla Corp.) | |
44 | * Mike Collins (IBM Almaden) | |
45 | * Kevin Decker | |
46 | * Mike Ratcliffe (Comartis AG) | |
47 | * Hernan RodrÃguez Colmeiro | |
48 | * Austin Andrews | |
49 | * Christoph Dorn | |
50 | * Steven Roussey (AppCenter Inc, Network54) | |
51 | */ | |
52 | ||
2ca00acf | 53 | html { |
8d7ef0d9 | 54 | background-color: #000000; |
2ca00acf RK |
55 | } |
56 | ||
57 | body { | |
58 | margin: 0; | |
59 | overflow: auto; | |
8d7ef0d9 | 60 | font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
2ca00acf | 61 | font-size: 11px; |
8d7ef0d9 | 62 | /*padding-top: 5px;*/ |
2ca00acf RK |
63 | } |
64 | ||
65 | h1 { | |
66 | font-size: 17px; | |
8d7ef0d9 | 67 | border-bottom: 1px solid #9C9CFF; |
2ca00acf RK |
68 | } |
69 | ||
70 | a { | |
8d7ef0d9 | 71 | color: #9C9CFF; |
2ca00acf RK |
72 | } |
73 | ||
74 | pre { | |
75 | margin: 0; | |
76 | font: inherit; | |
77 | } | |
78 | ||
79 | code { | |
80 | display: block; | |
81 | white-space: pre; | |
82 | } | |
83 | ||
84 | /* DOMPlate */ | |
85 | ||
86 | .objectLink-element, | |
87 | .objectLink-textNode, | |
88 | .objectLink-function, | |
89 | .objectBox-stackTrace, | |
90 | .objectLink-profile { | |
8ad8bf83 | 91 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
2ca00acf RK |
92 | } |
93 | ||
94 | .objectLink-textNode { | |
95 | white-space: pre-wrap; | |
96 | } | |
97 | ||
98 | .objectLink-styleRule, | |
99 | .objectLink-element, | |
100 | .objectLink-textNode { | |
8d7ef0d9 | 101 | color: #9C9CFF; |
2ca00acf RK |
102 | } |
103 | ||
104 | .selectorTag, | |
105 | .selectorId, | |
106 | .selectorClass { | |
8ad8bf83 | 107 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
2ca00acf RK |
108 | font-weight: normal; |
109 | } | |
110 | ||
111 | .selectorTag { | |
8d7ef0d9 | 112 | color: #008484; |
2ca00acf RK |
113 | } |
114 | ||
115 | .selectorId { | |
8d7ef0d9 | 116 | color: #9C9CFF; |
2ca00acf RK |
117 | } |
118 | ||
119 | .selectorClass { | |
8d7ef0d9 | 120 | color: #FF0000; |
2ca00acf RK |
121 | } |
122 | ||
123 | .selectorHidden > .selectorTag { | |
8d7ef0d9 | 124 | color: #004444; |
2ca00acf RK |
125 | } |
126 | ||
127 | .selectorHidden > .selectorId { | |
8d7ef0d9 | 128 | color: #6060AA; |
2ca00acf RK |
129 | } |
130 | ||
131 | .selectorHidden > .selectorClass { | |
8d7ef0d9 | 132 | color: #AA0000; |
2ca00acf RK |
133 | } |
134 | ||
135 | .selectorValue { | |
8ad8bf83 | 136 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
2ca00acf | 137 | font-style: italic; |
8d7ef0d9 | 138 | color: #E7ADE7; |
2ca00acf RK |
139 | } |
140 | ||
141 | .panelNode-html { | |
142 | -moz-box-sizing: padding-box; | |
143 | padding: 4px 0 0 2px; | |
144 | } | |
145 | ||
146 | .nodeBox { | |
147 | position: relative; | |
8ad8bf83 | 148 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
2ca00acf RK |
149 | padding-left: 13px; |
150 | -moz-user-select: -moz-none; | |
151 | } | |
152 | ||
153 | .nodeBox.search-selection { | |
154 | -moz-user-select: text; | |
155 | } | |
156 | ||
157 | .twisty { | |
158 | position: absolute; | |
159 | left: 0px; | |
160 | top: 0px; | |
161 | width: 14px; | |
162 | height: 14px; | |
163 | } | |
164 | ||
165 | .nodeChildBox { | |
166 | margin-left: 12px; | |
167 | display: none; | |
168 | } | |
169 | ||
170 | .nodeLabel, | |
171 | .nodeCloseLabel { | |
172 | margin: -2px 2px 0 2px; | |
173 | border: 2px solid transparent; | |
174 | border-radius: 3px; | |
175 | padding: 0 2px; | |
8d7ef0d9 | 176 | color: #9C9CFF; |
2ca00acf RK |
177 | } |
178 | ||
179 | .nodeCloseLabel { | |
180 | display: none; | |
181 | } | |
182 | ||
183 | .nodeTag { | |
184 | cursor: pointer; | |
8d7ef0d9 | 185 | color: #9C9CFF; |
2ca00acf RK |
186 | } |
187 | ||
188 | .nodeValue { | |
189 | color: #FF0000; | |
190 | font-weight: normal; | |
191 | } | |
192 | ||
193 | .nodeText, | |
194 | .nodeComment { | |
195 | margin: 0 2px; | |
196 | vertical-align: top; | |
197 | } | |
198 | ||
199 | .nodeText { | |
8d7ef0d9 | 200 | color: #8050B0; |
2ca00acf RK |
201 | } |
202 | ||
203 | .docType { | |
204 | position: absolute; | |
4c765db1 RK |
205 | /* position DOCTYPE element above/outside the "nodeBox" that contains it */ |
206 | /* Note: to be fixed in Bug #688439 */ | |
2ca00acf | 207 | top: -16px; |
8ad8bf83 | 208 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
2ca00acf | 209 | padding-left: 8px; |
8d7ef0d9 | 210 | color: #E7ADE7; |
2ca00acf RK |
211 | white-space: nowrap; |
212 | font-style: italic; | |
213 | } | |
214 | ||
215 | .htmlNodeBox { | |
4c765db1 RK |
216 | /* make room for DOCTYPE element to be rendered above/outside "nodeBox" */ |
217 | /* Note: to be fixed in Bug #688439 */ | |
218 | margin-top: 16px; | |
2ca00acf RK |
219 | } |
220 | ||
221 | .nodeWhiteSpace { | |
8d7ef0d9 | 222 | border: 1px solid #402858; |
2ca00acf RK |
223 | white-space: pre; |
224 | margin-left: 1px; | |
8d7ef0d9 | 225 | color: #8050B0; |
2ca00acf RK |
226 | } |
227 | ||
228 | .nodeWhiteSpace_Space { | |
8d7ef0d9 | 229 | border: 1px solid #402858; |
2ca00acf RK |
230 | } |
231 | ||
232 | .nodeTextEntity { | |
8d7ef0d9 | 233 | border: 1px solid #8050B0; |
2ca00acf RK |
234 | white-space: pre; |
235 | margin-left: 1px; | |
236 | } | |
237 | ||
238 | .nodeComment { | |
8d7ef0d9 | 239 | color: #008484; |
2ca00acf RK |
240 | } |
241 | ||
242 | .nodeBox.highlightOpen > .nodeLabel { | |
8d7ef0d9 RK |
243 | background-color: #FFCF00; |
244 | color: #000000; | |
2ca00acf RK |
245 | } |
246 | ||
247 | .nodeBox.highlightOpen > .nodeCloseLabel, | |
248 | .nodeBox.highlightOpen > .nodeChildBox, | |
249 | .nodeBox.open > .nodeCloseLabel, | |
250 | .nodeBox.open > .nodeChildBox { | |
251 | display: block; | |
252 | } | |
253 | ||
254 | .nodeBox.selected > .nodeLabel > .nodeLabelBox, | |
255 | .nodeBox.selected > .nodeLabel { | |
8d7ef0d9 RK |
256 | border-color: #9C9CFF; |
257 | background-color: 008484; | |
258 | color: #FFCF00 !important; | |
2ca00acf RK |
259 | } |
260 | ||
261 | .nodeBox.selected > .nodeLabel > .nodeLabelBox, | |
262 | .nodeBox.selected > .nodeLabel > .nodeLabelBox > .nodeTag, | |
263 | .nodeBox.selected > .nodeLabel > .nodeLabelBox > .nodeAttr > .nodeValue, | |
264 | .nodeBox.selected > .nodeLabel > .nodeLabelBox > .nodeText { | |
265 | color: inherit !important; | |
266 | } | |
267 | ||
268 | .nodeBox.highlighted > .nodeLabel { | |
8d7ef0d9 RK |
269 | border-color: #9C9CFF !important; |
270 | background-color: #FFCF00 !important; | |
2ca00acf RK |
271 | color: #000000 !important; |
272 | } | |
273 | ||
274 | .nodeBox.highlighted > .nodeLabel > .nodeLabelBox, | |
275 | .nodeBox.highlighted > .nodeLabel > .nodeLabelBox > .nodeTag, | |
276 | .nodeBox.highlighted > .nodeLabel > .nodeLabelBox > .nodeAttr > .nodeValue, | |
277 | .nodeBox.highlighted > .nodeLabel > .nodeLabelBox > .nodeText { | |
278 | color: #000000 !important; | |
279 | } | |
280 | ||
281 | .nodeBox.nodeHidden .nodeLabel > .nodeLabelBox, | |
282 | .nodeBox.nodeHidden .nodeCloseLabel, | |
283 | .nodeBox.nodeHidden .nodeLabel > .nodeLabelBox > .nodeText, | |
284 | .nodeBox.nodeHidden .nodeText { | |
8d7ef0d9 | 285 | color: #8050B0; |
2ca00acf RK |
286 | } |
287 | ||
288 | .nodeBox.nodeHidden .nodeLabel > .nodeLabelBox > .nodeTag, | |
289 | .nodeBox.nodeHidden .nodeCloseLabel > .nodeCloseLabelBox > .nodeTag { | |
8d7ef0d9 | 290 | color: #E7ADE7; |
2ca00acf RK |
291 | } |
292 | ||
293 | .nodeBox.nodeHidden .nodeLabel > .nodeLabelBox > .nodeAttr > .nodeValue { | |
8d7ef0d9 | 294 | color: #E7ADE7; |
2ca00acf RK |
295 | } |
296 | ||
297 | .nodeBox.nodeHidden.selected > .nodeLabel > .nodeLabelBox, | |
298 | .nodeBox.nodeHidden.selected > .nodeLabel > .nodeLabelBox > .nodeTag, | |
299 | .nodeBox.nodeHidden.selected > .nodeLabel > .nodeLabelBox > .nodeAttr > .nodeValue, | |
300 | .nodeBox.nodeHidden.selected > .nodeLabel > .nodeLabelBox > .nodeText { | |
8d7ef0d9 | 301 | color: #8050B0 !important; |
2ca00acf RK |
302 | } |
303 | ||
304 | .nodeBox.mutated > .nodeLabel, | |
305 | .nodeAttr.mutated, | |
306 | .nodeValue.mutated, | |
307 | .nodeText.mutated, | |
308 | .nodeBox.mutated > .nodeText { | |
8d7ef0d9 | 309 | background-color: #794900; |
2ca00acf RK |
310 | color: #FF0000 !important; |
311 | } | |
312 | ||
313 | .nodeBox.selected.mutated > .nodeLabel, | |
314 | .nodeBox.selected.mutated > .nodeLabel > .nodeLabelBox, | |
315 | .nodeBox.selected > .nodeLabel > .nodeLabelBox > .nodeAttr.mutated > .nodeValue, | |
316 | .nodeBox.selected > .nodeLabel > .nodeLabelBox > .nodeAttr > .nodeValue.mutated, | |
317 | .nodeBox.selected > .nodeLabel > .nodeLabelBox > .nodeText.mutated { | |
8d7ef0d9 RK |
318 | background-color: #794900; |
319 | border-color: #6060AA; | |
2ca00acf RK |
320 | color: #FF0000 !important; |
321 | } | |
322 | ||
323 | .logRow-dirxml { | |
324 | padding-left: 0; | |
325 | } | |
326 | ||
327 | .soloElement > .nodeBox { | |
328 | padding-left: 0; | |
329 | } | |
330 | ||
331 | .nodeBox.selected > .nodeLabel > .nodeLabelBox, | |
332 | .nodeBox.selected > .nodeLabel { | |
8d7ef0d9 RK |
333 | border-color: #9C9CFF; |
334 | background-color: #008484; | |
335 | color: #FFCF00 !important; | |
2ca00acf RK |
336 | } |
337 | ||
338 | .nodeBox.highlighted > .nodeLabel { | |
8d7ef0d9 | 339 | border-color: #008484 !important; |
2ca00acf RK |
340 | } |
341 | ||
342 | /* Twisties */ | |
343 | ||
344 | .twisty | |
345 | { | |
346 | background-repeat: no-repeat; | |
347 | background-position: center; | |
8d7ef0d9 | 348 | background-image: url("chrome://global/skin/tree/twisty-closed.gif") !important; |
2ca00acf RK |
349 | } |
350 | ||
351 | .nodeBox.highlightOpen > .nodeLabel > .twisty, | |
352 | .nodeBox.open > .nodeLabel > .twisty | |
353 | { | |
8d7ef0d9 | 354 | background-image: url("chrome://global/skin/tree/twisty-open.gif") !important; |
2ca00acf RK |
355 | } |
356 | ||
4c765db1 RK |
357 | .editingAttributeValue { |
358 | background-color: #008484; | |
359 | } | |
360 | ||
361 | #attribute-editor { | |
362 | visibility: hidden; | |
363 | position: absolute; | |
364 | z-index: 5000; | |
365 | background-color: #000000; | |
366 | border: 1px solid #9C9CFF; | |
367 | } | |
368 | ||
369 | #attribute-editor.editing { | |
370 | visibility: visible; | |
371 | } | |
372 | ||
373 | #attribute-editor-input { | |
374 | border: none; | |
375 | padding: 2px 5px; | |
8ad8bf83 | 376 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
4c765db1 RK |
377 | font-size: 11px; |
378 | } |