sync LCARStrek to Firefox 13 winstripe changes, first part
[themes.git] / LCARStrek / browser / devtools / csshtmltree.css
... / ...
CommitLineData
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 the Mozilla Inspector Module.
15 *
16 * The Initial Developer of the Original Code is
17 * The Mozilla Foundation.
18 * Portions created by the Initial Developer are Copyright (C) 2011
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Joe Walker <jwalker@mozilla.com> (original author)
23 * Mihai Șucan <mihai.sucan@gmail.com>
24 * Michael Ratcliffe <mratcliffe@mozilla.com>
25 * Dão Gottwald <dao@mozilla.com>
26 * Rob Campbell <rcampbell@mozilla.com>
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * either the GNU General Public License Version 2 or later (the "GPL"), or
30 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 * in which case the provisions of the GPL or the LGPL are applicable instead
32 * of those above. If you wish to allow use of your version of this file only
33 * under the terms of either the GPL or the LGPL, and not to allow others to
34 * use your version of this file under the terms of the MPL, indicate your
35 * decision by deleting the provisions above and replace them with the notice
36 * and other provisions required by the GPL or the LGPL. If you do not delete
37 * the provisions above, a recipient may use your version of this file under
38 * the terms of any one of the MPL, the GPL or the LGPL.
39 *
40 * ***** END LICENSE BLOCK ***** */
41
42:root {
43 background: #000000;
44 color: #FF9F00;
45}
46
47#root {
48 display: -moz-box;
49}
50
51.property-header {
52 padding: 5px 0;
53 white-space: nowrap;
54 vertical-align: text-top;
55}
56
57/* Take away these two :visited rules to get a core dumper */
58/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
59.link,
60.link:visited {
61 color: #0091ff;
62}
63.link,
64.helplink,
65.link:visited,
66.helplink:visited {
67 text-decoration: none;
68}
69link:hover {
70 text-decoration: underline;
71}
72
73.helplink {
74 display: block;
75 height: 14px;
76 width: 0;
77 overflow: hidden;
78 -moz-padding-start: 14px;
79 background-image: url("chrome://browser/skin/devtools/goto-mdn.png");
80 -moz-margin-end: 2px;
81 cursor: pointer;
82}
83
84.property-view:not(:hover) > .helplink-container {
85 visibility: hidden;
86}
87
88.rulelink {
89 color: -moz-dialogtext;
90 padding: 0;
91 cursor: pointer;
92}
93
94.expander {
95 width: 9px;
96 height: 9px;
97 -moz-margin-start: 5px;
98 -moz-margin-end: 5px;
99 background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat;
100 display: inline-block;
101 vertical-align: middle;
102}
103
104.expander[open] {
105 background-image: url("chrome://global/skin/tree/twisty-open.png");
106}
107
108.expandable {
109 cursor: pointer;
110}
111
112.match {
113 visibility: hidden;
114}
115
116.expandable > .property-header > .match {
117 visibility: visible;
118}
119
120.property-name {
121 font-size: 12px;
122 color: #FF9F00;
123 width: 220px;
124 display: inline-block;
125}
126.property-value {
127 padding: 0;
128 font-size: 10px;
129 color: #8050B0;
130 vertical-align: text-top;
131 width: 100%;
132}
133
134.property-view-hidden,
135.property-content-hidden {
136 display: none;
137}
138
139.rule-link {
140 text-align: end;
141 -moz-padding-start: 10px;
142}
143
144/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */
145.rule-text {
146 direction: ltr;
147 padding: 0;
148 -moz-padding-start: 20px;
149}
150
151.bestmatch {
152 color: #FFCF00;
153}
154.matched {
155 text-decoration: line-through;
156}
157.parentmatch {
158 color: #E7ADE7;
159}
160
161#propertyContainer {
162 display: -moz-box;
163 -moz-box-orient: vertical;
164 -moz-box-flex: 1;
165 overflow-y: auto;
166 border-collapse: collapse;
167}
168
169.darkrow {
170 background-color: #404000;
171}
172
173#noResults {
174 font-size: 18px;
175 margin-top: 5px;
176 text-align: center;
177}
178
179.headerControls {
180 color: #9C9CFF;
181 background-color: #000000;
182}
183
184.onlyuserstyles {
185 cursor: pointer;
186 font-size: 11px;
187}
188
189#footer {
190 border-top: 1px solid #9C9CFF;
191}
192
193.legendKey {
194 margin: 0 5px;
195}
196
197/**
198 * CSS Rule View
199 */
200
201.ruleview {
202 background-color: #000000;
203}
204
205.ruleview-rule-source {
206 background-color: #000000;
207 color: #9C9CFF;
208 padding: 2px 5px;
209 cursor: pointer;
210}
211
212.ruleview-rule-source:hover {
213 text-decoration: underline;
214}
215
216.ruleview-code {
217 padding: 2px 5px;
218}
219
220.ruleview-ruleopen {
221 -moz-padding-end: 5px;
222}
223
224.ruleview-propertylist {
225 list-style: none;
226 padding: 0;
227 margin: 0;
228}
229
230.ruleview-enableproperty {
231 height: 10px;
232 width: 10px;
233 -moz-margin-start: 2px;
234 -moz-margin-end: 0;
235}
236
237.ruleview-expander {
238 display: inline-block;
239 width: 8px;
240 height: 8px;
241 background: url("chrome://browser/skin/devtools/arrows.png") 24px 0;
242 cursor: pointer;
243 -moz-margin-start: 2px;
244 -moz-margin-end: 5px;
245}
246
247.ruleview-expander.styleinspector-open {
248 background-position: 8px 0;
249}
250
251.ruleview-newproperty {
252 /* (enable checkbox width: 12px) + (expander width: 15px) */
253 -moz-margin-start: 27px;
254}
255
256.ruleview-propertyname {
257 display: inline-block;
258 padding: 1px 0;
259 cursor: text;
260 color: #9C9CFF;
261 text-decoration: inherit;
262}
263
264.ruleview-propertyvalue {
265 cursor: text;
266 text-decoration: inherit;
267}
268
269.ruleview-computedlist {
270 list-style: none;
271 padding: 0;
272}
273
274.ruleview-computed {
275 -moz-margin-start: 4em;
276}
277
278.ruleview-overridden {
279 text-decoration: line-through;
280}
281
282.styleinspector-propertyeditor {
283 border: 1px solid #9C9CFF;
284 padding: 0;
285}