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 ***** */
50 vertical-align: text-top;
53 /* Take away these two :visited rules to get a core dumper */
54 /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
63 text-decoration: none;
66 text-decoration: underline;
73 -moz-padding-start: 14px;
74 background-image: url("chrome://browser/skin/devtools/goto-mdn.png");
79 .property-view:not(:hover) > .helplink-container {
84 color: -moz-dialogtext;
92 -moz-margin-start: 5px;
94 background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat;
95 vertical-align: middle;
99 background-image: url("chrome://global/skin/tree/twisty-open.png");
120 vertical-align: text-top;
126 -moz-padding-start: 10px;
129 /* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */
133 -moz-padding-start: 20px;
134 vertical-align: text-bottom;
141 text-decoration: line-through;
148 border-collapse: collapse;
152 background-color: #404000;
163 background-color: #000000;
172 border-top: 1px solid #9C9CFF;
184 background-color: #000000;
187 .ruleview-rule-source {
188 background-color: #000000;
194 .ruleview-rule-source:hover {
195 text-decoration: underline;
203 background: url("chrome://browser/skin/devtools/alerticon-warning.png");
204 -moz-margin-start: 5px;
205 vertical-align: middle;
211 -moz-padding-end: 5px;
214 .ruleview-ruleclose {
215 width: -moz-min-content;
219 .ruleview-propertylist {
225 .ruleview-enableproperty {
228 -moz-margin-start: 2px;
235 background: url("chrome://browser/skin/devtools/arrows.png") 24px 0;
237 -moz-margin-start: 2px;
238 -moz-margin-end: 5px;
241 .ruleview-expander.styleinspector-open {
242 background-position: 8px 0;
245 .ruleview-newproperty {
246 /* (enable checkbox width: 12px) + (expander width: 15px) */
247 -moz-margin-start: 27px;
250 .ruleview-propertyname {
254 text-decoration: inherit;
257 .ruleview-propertyvalue {
259 text-decoration: inherit;
262 .ruleview-computedlist {
268 -moz-margin-start: 4em;
271 .ruleview-overridden {
272 text-decoration: line-through;
275 .styleinspector-propertyeditor {
276 border: 1px solid #9C9CFF;