2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-08-30 05:12:02 -07:00
|
|
|
|
2011-11-05 12:31:00 -07:00
|
|
|
:root {
|
|
|
|
-moz-appearance: none;
|
2011-11-04 10:12:58 -07:00
|
|
|
background: -moz-Field;
|
2011-11-05 12:31:00 -07:00
|
|
|
color: -moz-FieldText;
|
2011-11-04 10:12:58 -07:00
|
|
|
}
|
|
|
|
|
2011-08-30 05:12:02 -07:00
|
|
|
.property-header {
|
2011-12-19 05:16:43 -08:00
|
|
|
padding: 5px 0;
|
2011-11-06 10:26:00 -08:00
|
|
|
white-space: nowrap;
|
2011-12-19 05:16:43 -08:00
|
|
|
vertical-align: text-top;
|
2011-11-06 10:26:00 -08:00
|
|
|
}
|
2011-11-05 15:19:02 -07:00
|
|
|
|
2011-08-30 05:12:02 -07:00
|
|
|
/* Take away these two :visited rules to get a core dumper */
|
|
|
|
/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
|
2011-11-04 10:12:58 -07:00
|
|
|
.link,
|
2011-09-15 03:30:00 -07:00
|
|
|
.link:visited {
|
2011-11-04 10:12:58 -07:00
|
|
|
color: #0091ff;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
2011-11-04 10:12:58 -07:00
|
|
|
.link,
|
|
|
|
.helplink,
|
|
|
|
.link:visited,
|
|
|
|
.helplink:visited {
|
2011-08-30 09:40:29 -07:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2012-02-10 05:39:47 -08:00
|
|
|
.link:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2011-11-04 10:12:58 -07:00
|
|
|
|
|
|
|
.helplink {
|
2011-11-06 10:26:00 -08:00
|
|
|
height: 14px;
|
|
|
|
width: 0;
|
2011-11-04 10:12:58 -07:00
|
|
|
overflow: hidden;
|
2011-11-06 10:26:00 -08:00
|
|
|
-moz-padding-start: 14px;
|
2011-11-04 10:12:58 -07:00
|
|
|
background-image: url("chrome://browser/skin/devtools/goto-mdn.png");
|
2011-11-06 10:26:00 -08:00
|
|
|
-moz-margin-end: 2px;
|
2011-12-19 05:16:43 -08:00
|
|
|
cursor: pointer;
|
2011-11-04 10:12:58 -07:00
|
|
|
}
|
|
|
|
|
2011-12-19 05:16:43 -08:00
|
|
|
.property-view:not(:hover) > .helplink-container {
|
2011-11-06 10:26:00 -08:00
|
|
|
visibility: hidden;
|
2011-11-04 10:12:58 -07:00
|
|
|
}
|
|
|
|
|
2011-09-15 03:30:00 -07:00
|
|
|
.rulelink {
|
2011-11-04 10:12:58 -07:00
|
|
|
color: -moz-dialogtext;
|
2011-12-19 05:16:43 -08:00
|
|
|
padding: 0;
|
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-11-06 10:26:00 -08:00
|
|
|
-moz-appearance: treetwisty;
|
2011-12-19 05:16:43 -08:00
|
|
|
padding-top: 12px;
|
|
|
|
-moz-margin-start: 5px;
|
2011-08-30 09:40:29 -07:00
|
|
|
-moz-margin-end: 5px;
|
2011-12-19 05:16:43 -08:00
|
|
|
vertical-align: middle;
|
2011-09-20 02:59:13 -07:00
|
|
|
}
|
|
|
|
|
2011-09-15 03:30:00 -07:00
|
|
|
.expander[open] {
|
2011-11-06 10:26:00 -08:00
|
|
|
-moz-appearance: treetwistyopen;
|
2011-11-04 10:12:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.match {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2012-03-11 07:01:38 -07:00
|
|
|
.expandable {
|
|
|
|
cursor: pointer;
|
2011-11-04 10:12:58 -07:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2011-08-30 05:12:02 -07:00
|
|
|
.property-name {
|
|
|
|
font-size: 12px;
|
2011-11-04 10:12:58 -07:00
|
|
|
color: -moz-FieldText;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
2011-08-30 09:40:29 -07:00
|
|
|
.property-value {
|
2011-12-19 05:16:43 -08:00
|
|
|
padding: 0;
|
2011-08-30 05:12:02 -07:00
|
|
|
font-size: 10px;
|
2011-11-04 10:12:58 -07:00
|
|
|
color: grey;
|
2011-12-19 05:16:43 -08:00
|
|
|
vertical-align: text-top;
|
|
|
|
width: 100%;
|
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;
|
2012-02-10 05:39:47 -08:00
|
|
|
cursor: pointer;
|
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-12-19 05:16:43 -08:00
|
|
|
padding: 0;
|
|
|
|
-moz-padding-start: 20px;
|
2012-03-01 11:13:12 -08:00
|
|
|
vertical-align: text-bottom;
|
2011-08-30 05:12:02 -07:00
|
|
|
}
|
|
|
|
|
2011-08-30 09:40:29 -07:00
|
|
|
.bestmatch {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.matched {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
.parentmatch {
|
|
|
|
color: #666;
|
|
|
|
}
|
2011-09-20 02:35:01 -07:00
|
|
|
|
2011-11-04 10:12:58 -07:00
|
|
|
#propertyContainer {
|
2011-12-19 05:16:43 -08:00
|
|
|
border-collapse: collapse;
|
2011-11-04 10:12:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.darkrow {
|
|
|
|
background-color: rgba(0,0,0,.022);
|
|
|
|
}
|
|
|
|
|
2011-11-06 02:36:38 -08:00
|
|
|
#noResults {
|
|
|
|
font-size: 18px;
|
|
|
|
margin-top: 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2011-11-07 04:52:06 -08:00
|
|
|
.headerControls {
|
2011-11-04 10:12:58 -07:00
|
|
|
color: -moz-dialogtext;
|
|
|
|
background-color: -moz-dialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onlyuserstyles {
|
2011-11-07 07:25:08 -08:00
|
|
|
cursor: pointer;
|
2011-11-04 10:12:58 -07:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
|
|
|
border-top: 1px solid -moz-dialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
.legendKey {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
2011-11-01 18:06:48 -07:00
|
|
|
/**
|
|
|
|
* CSS Rule View
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ruleview {
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-rule-source {
|
|
|
|
background-color: -moz-dialog;
|
2012-03-09 15:17:23 -08:00
|
|
|
color: -moz-dialogText;
|
2011-11-14 07:21:34 -08:00
|
|
|
padding: 2px 5px;
|
2012-02-10 05:39:47 -08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-rule-source:hover {
|
|
|
|
text-decoration: underline;
|
2011-11-01 18:06:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-code {
|
2011-11-14 07:21:34 -08:00
|
|
|
padding: 2px 5px;
|
2011-11-01 18:06:48 -07:00
|
|
|
}
|
|
|
|
|
2012-02-25 07:30:51 -08:00
|
|
|
.ruleview-warning {
|
|
|
|
background: url("chrome://browser/skin/devtools/alerticon-warning.png");
|
|
|
|
-moz-margin-start: 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 13px;
|
|
|
|
height: 12px;
|
|
|
|
}
|
|
|
|
|
2011-12-22 10:58:17 -08:00
|
|
|
.ruleview-ruleopen {
|
|
|
|
-moz-padding-end: 5px;
|
|
|
|
}
|
|
|
|
|
2012-03-11 07:01:38 -07:00
|
|
|
.ruleview-ruleclose {
|
2012-06-01 15:13:48 -07:00
|
|
|
cursor: text;
|
2012-03-11 07:01:38 -07:00
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
2011-11-01 18:06:48 -07:00
|
|
|
.ruleview-propertylist {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-enableproperty {
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
-moz-margin-start: 2px;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-expander {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background: url("chrome://browser/skin/devtools/arrows.png") 24px 0;
|
|
|
|
cursor: pointer;
|
|
|
|
-moz-margin-start: 2px;
|
|
|
|
-moz-margin-end: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-expander.styleinspector-open {
|
|
|
|
background-position: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-newproperty {
|
|
|
|
/* (enable checkbox width: 12px) + (expander width: 15px) */
|
|
|
|
-moz-margin-start: 27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-propertyname {
|
|
|
|
padding: 1px 0;
|
|
|
|
color: #0060C0;
|
|
|
|
}
|
|
|
|
|
2012-06-01 15:13:48 -07:00
|
|
|
.ruleview-namecontainer,
|
|
|
|
.ruleview-propertycontainer,
|
|
|
|
.ruleview-propertyname,
|
2011-11-01 18:06:48 -07:00
|
|
|
.ruleview-propertyvalue {
|
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-computedlist {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-computed {
|
|
|
|
-moz-margin-start: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-overridden {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styleinspector-propertyeditor {
|
|
|
|
border: 1px solid #CCC;
|
|
|
|
padding: 0;
|
2012-02-22 14:14:51 -08:00
|
|
|
box-shadow: 2px 2px 2px #CCC;
|
2011-11-01 18:06:48 -07:00
|
|
|
}
|
2012-04-17 02:35:12 -07:00
|
|
|
|
|
|
|
.ruleview-property {
|
|
|
|
border-left: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-property[dirty] {
|
|
|
|
border-left-color: #68E268;
|
|
|
|
}
|
2012-06-01 15:13:48 -07:00
|
|
|
|
|
|
|
.ruleview-namecontainer > .ruleview-propertyname,
|
|
|
|
.ruleview-propertycontainer > .ruleview-propertyvalue {
|
|
|
|
border-bottom: 1px dotted transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruleview-namecontainer:hover > .ruleview-propertyname,
|
|
|
|
.ruleview-propertycontainer:hover > .ruleview-propertyvalue {
|
|
|
|
border-bottom-color: black;
|
|
|
|
}
|