1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is the Mozilla Inspector Module.
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.
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>
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.
40 * ***** END LICENSE BLOCK ***** */
54 vertical-align: text-top;
57 /* Take away these two :visited rules to get a core dumper */
58 /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
67 text-decoration: none;
75 -moz-padding-start: 14px;
76 background-image: url("chrome://browser/skin/devtools/goto-mdn.png");
81 .property-view:not(:hover) > .helplink-container {
86 color: -moz-dialogtext;
93 -moz-margin-start: 5px;
95 background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat;
96 display: inline-block;
97 vertical-align: middle;
101 background-image: url("chrome://global/skin/tree/twisty-open.png");
112 .expandable > .property-header > .match {
120 display: inline-block;
126 vertical-align: text-top;
130 .property-view-hidden,
131 .property-content-hidden {
137 -moz-padding-start: 10px;
140 /* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */
144 -moz-padding-start: 20px;
151 text-decoration: line-through;
159 -moz-box-orient: vertical;
162 border-collapse: collapse;
166 background-color: #404000;
177 background-color: #000000;
186 border-top: 1px solid #9C9CFF;
198 background-color: #000000;
201 .ruleview-rule-source {
202 background-color: #000000;
211 -moz-padding-end: 5px;
214 .ruleview-propertylist {
220 .ruleview-enableproperty {
223 -moz-margin-start: 2px;
228 display: inline-block;
231 background: url("chrome://browser/skin/devtools/arrows.png") 24px 0;
233 -moz-margin-start: 2px;
234 -moz-margin-end: 5px;
237 .ruleview-expander.styleinspector-open {
238 background-position: 8px 0;
241 .ruleview-newproperty {
242 /* (enable checkbox width: 12px) + (expander width: 15px) */
243 -moz-margin-start: 27px;
246 .ruleview-propertyname {
247 display: inline-block;
251 text-decoration: inherit;
254 .ruleview-propertyvalue {
256 text-decoration: inherit;
259 .ruleview-computedlist {
265 -moz-margin-start: 4em;
268 .ruleview-overridden {
269 text-decoration: line-through;
272 .styleinspector-propertyeditor {
273 border: 1px solid #9C9CFF;