2011-08-30 05:12:02 -07:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
|
|
|
*
|
|
|
|
* The Original Code is the Mozilla Inspector Module.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* The Mozilla Foundation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2011
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* Joe Walker <jwalker@mozilla.com> (original author)
|
|
|
|
* Mihai Șucan <mihai.sucan@gmail.com>
|
|
|
|
* Michael Ratcliffe <mratcliffe@mozilla.com>
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
|
|
|
body {
|
2011-08-30 09:40:29 -07:00
|
|
|
font-family: sans-serif;
|
2011-08-30 05:12:02 -07:00
|
|
|
font-size: 11px;
|
|
|
|
background: #EEE;
|
|
|
|
}
|
2011-09-20 02:35:01 -07:00
|
|
|
.path,
|
|
|
|
.filters {
|
2011-08-30 05:12:02 -07:00
|
|
|
font-size: 11px;
|
|
|
|
word-spacing: -1px;
|
|
|
|
}
|
|
|
|
.path ol {
|
2011-08-30 09:40:29 -07:00
|
|
|
list-style: none outside none;
|
2011-08-30 05:12:02 -07:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.path li {
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 2px 3px;
|
|
|
|
text-shadow: #FFF 0 1px 0;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 11px;
|
|
|
|
background: -moz-linear-gradient(top, #F6F6FF, #E3E3FF);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.path li:after {
|
|
|
|
content: " > ";
|
|
|
|
}
|
|
|
|
.path li:last-child {
|
|
|
|
background: -moz-linear-gradient(top, #FFC, #DD8);
|
|
|
|
}
|
|
|
|
.path li:last-child:after {
|
|
|
|
color: red;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
.property-header {
|
|
|
|
padding: 2px 5px;
|
|
|
|
background: -moz-linear-gradient(top, #F8F8F8, #E8E8E8);
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2011-08-30 09:40:29 -07:00
|
|
|
.property-name,
|
2011-09-15 03:30:00 -07:00
|
|
|
.rule-matched,
|
2011-08-30 09:40:29 -07:00
|
|
|
.rule-unmatched {
|
2011-08-30 05:12:02 -07:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Take away these two :visited rules to get a core dumper */
|
|
|
|
/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
|
2011-09-15 03:30:00 -07:00
|
|
|
.link {
|
2011-08-30 09:40:29 -07:00
|
|
|
color: #55A;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
2011-09-15 03:30:00 -07:00
|
|
|
.link:visited {
|
2011-08-30 09:40:29 -07:00
|
|
|
color: #55A;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
2011-09-15 03:30:00 -07:00
|
|
|
a.link {
|
2011-08-30 09:40:29 -07:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2011-09-15 03:30:00 -07:00
|
|
|
a.link:visited {
|
2011-08-30 09:40:29 -07:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2011-09-15 03:30:00 -07:00
|
|
|
.rule-matched,
|
2011-08-30 09:40:29 -07:00
|
|
|
.rule-unmatched {
|
2011-09-15 03:30:00 -07:00
|
|
|
padding: 2px 0;
|
|
|
|
white-space: nowrap;
|
2011-08-30 09:40:29 -07:00
|
|
|
}
|
2011-09-15 03:30:00 -07:00
|
|
|
|
|
|
|
.rulelink {
|
|
|
|
color: #55A;
|
2011-08-30 09:40:29 -07:00
|
|
|
}
|
2011-09-15 03:30:00 -07:00
|
|
|
|
2011-08-30 09:40:29 -07:00
|
|
|
.expander {
|
2011-08-30 05:12:02 -07:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2011-09-15 03:30:00 -07:00
|
|
|
float: left;
|
|
|
|
-moz-margin-start: 15px;
|
2011-08-30 09:40:29 -07:00
|
|
|
-moz-margin-end: 5px;
|
2011-09-15 03:30:00 -07:00
|
|
|
margin-top: 3px;
|
2011-08-30 05:12:02 -07:00
|
|
|
background: url("chrome://browser/skin/devtools/arrows.png");
|
2011-08-30 09:40:29 -07:00
|
|
|
background-position: 24px 0;
|
|
|
|
}
|
|
|
|
|
2011-09-20 02:59:13 -07:00
|
|
|
.searchfield {
|
|
|
|
background: url("chrome://browser/skin/devtools/search.png") no-repeat #FFF;
|
|
|
|
border-radius: 5px;
|
|
|
|
-moz-padding-start: 20px;
|
|
|
|
width: 135px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2011-09-15 03:30:00 -07:00
|
|
|
.expander[dir="rtl"] {
|
2011-08-30 05:12:02 -07:00
|
|
|
background-position: 16px 0;
|
|
|
|
}
|
2011-09-15 03:30:00 -07:00
|
|
|
.expander[open] {
|
2011-08-30 05:12:02 -07:00
|
|
|
background-position: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.property-name {
|
2011-08-30 09:40:29 -07:00
|
|
|
display: inline-block;
|
2011-08-30 05:12:02 -07:00
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #000;
|
|
|
|
}
|
2011-08-30 09:40:29 -07:00
|
|
|
.property-value {
|
|
|
|
display: inline-block;
|
2011-08-30 05:12:02 -07:00
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
|
2011-09-20 02:35:01 -07:00
|
|
|
.property-view-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-08-30 05:12:02 -07:00
|
|
|
.rule-link {
|
|
|
|
text-align: end;
|
2011-08-30 09:40:29 -07:00
|
|
|
-moz-padding-start: 10px;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */
|
|
|
|
.rule-text {
|
|
|
|
direction: ltr;
|
2011-08-30 09:40:29 -07:00
|
|
|
-moz-padding-start: 10px;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.resizerbox {
|
|
|
|
background-color: window;
|
|
|
|
}
|
|
|
|
|
2011-08-30 09:40:29 -07:00
|
|
|
.bestmatch {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.matched {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
.parentmatch {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
.unmatched {
|
|
|
|
color: brown;
|
|
|
|
}
|
2011-09-20 02:35:01 -07:00
|
|
|
|
|
|
|
.userStyles {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.userStyles,
|
|
|
|
.userStylesLabel {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|