* Joe Walker <jwalker@mozilla.com> (original author)
* Mihai Șucan <mihai.sucan@gmail.com>
* Michael Ratcliffe <mratcliffe@mozilla.com>
+ * Dão Gottwald <dao@mozilla.com>
+ * Rob Campbell <rcampbell@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
*
* ***** END LICENSE BLOCK ***** */
-body {
- font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
- font-size: 11px;
+:root {
background: #000000;
-}
-.path,
-.filters {
- font-size: 11px;
- word-spacing: -1px;
-}
-.path ol {
- list-style: none outside none;
- margin: 0;
- padding: 0;
-}
-.path li {
- border-radius: 3px;
- padding: 2px 3px;
- font-weight: bold;
- font-size: 11px;
- display: inline-block;
-}
-.path li:after {
- content: " > ";
-}
-.path li:last-child {
-}
-.path li:last-child:after {
- color: red;
- content: "";
+ color: #FF9F00;
}
.property-header {
- padding: 2px 5px;
- color: #9C9CFF;
-}
-
-.property-name,
-.rule-matched,
-.rule-unmatched {
- cursor: pointer;
+ padding: 5px 0;
+ white-space: nowrap;
+ vertical-align: text-top;
}
/* Take away these two :visited rules to get a core dumper */
/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
-.link {
- color: #55A;
-}
+.link,
.link:visited {
- color: #55A;
+ color: #0091ff;
}
-a.link {
+.link,
+.helplink,
+.link:visited,
+.helplink:visited {
text-decoration: none;
- cursor: pointer;
}
-a.link:visited {
- text-decoration: none;
+link:hover {
+ text-decoration: underline;
}
-.rule-matched,
-.rule-unmatched {
- padding: 2px 0;
- white-space: nowrap;
+.helplink {
+ height: 14px;
+ width: 0;
+ overflow: hidden;
+ -moz-padding-start: 14px;
+ background-image: url("chrome://browser/skin/devtools/goto-mdn.png");
+ -moz-margin-end: 2px;
+ cursor: pointer;
+}
+
+.property-view:not(:hover) > .helplink-container {
+ visibility: hidden;
}
.rulelink {
- color: #55A;
+ color: -moz-dialogtext;
+ padding: 0;
+ cursor: pointer;
}
.expander {
- width: 8px;
- height: 8px;
- float: left;
- -moz-margin-start: 15px;
+ width: 9px;
+ height: 9px;
+ -moz-margin-start: 5px;
-moz-margin-end: 5px;
- margin-top: 3px;
- background: url("chrome://browser/skin/devtools/arrows.png");
- background-position: 24px 0;
+ background: url("chrome://global/skin/tree/twisty-closed.png") center center no-repeat;
+ vertical-align: middle;
}
-.searchfield {
- background: url("chrome://browser/skin/devtools/search.png") no-repeat;
- border-radius: 5px;
- -moz-padding-start: 20px;
- width: 135px;
- float: right;
+.expander[open] {
+ background-image: url("chrome://global/skin/tree/twisty-open.png");
}
-.expander[dir="rtl"] {
- background-position: 16px 0;
+.match {
+ visibility: hidden;
}
-.expander[open] {
- background-position: 8px 0;
+
+.expandable {
+ cursor: pointer;
+ visibility: visible;
}
.property-name {
- display: inline-block;
font-size: 12px;
- font-weight: bold;
color: #FF9F00;
+ width: 220px;
}
.property-value {
- display: inline-block;
+ padding: 0;
font-size: 10px;
-}
-
-.property-view-hidden {
- display: none;
+ color: #8050B0;
+ vertical-align: text-top;
+ width: 100%;
}
.rule-link {
/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */
.rule-text {
direction: ltr;
- -moz-padding-start: 10px;
-}
-
-.resizerbox {
- background-color: #000000;
+ padding: 0;
+ -moz-padding-start: 20px;
+ vertical-align: text-bottom;
}
.bestmatch {
text-decoration: line-through;
}
.parentmatch {
+ color: #E7ADE7;
+}
+
+#propertyContainer {
+ border-collapse: collapse;
+}
+
+.darkrow {
+ background-color: #404000;
+}
+
+#noResults {
+ font-size: 18px;
+ margin-top: 5px;
+ text-align: center;
+}
+
+.headerControls {
color: #9C9CFF;
+ background-color: #000000;
}
-.unmatched {
- color: #E7ADE7;
+
+.onlyuserstyles {
+ cursor: pointer;
+ font-size: 11px;
+}
+
+#footer {
+ border-top: 1px solid #9C9CFF;
}
-.userStyles {
- position: relative;
- top: 3px;
+.legendKey {
+ margin: 0 5px;
+}
+
+/**
+ * CSS Rule View
+ */
+
+.ruleview {
+ background-color: #000000;
}
-.userStyles,
-.userStylesLabel {
+.ruleview-rule-source {
+ background-color: #000000;
+ color: #9C9CFF;
+ padding: 2px 5px;
cursor: pointer;
}
+
+.ruleview-rule-source:hover {
+ text-decoration: underline;
+}
+
+.ruleview-code {
+ padding: 2px 5px;
+}
+
+.ruleview-warning {
+ background: url("chrome://browser/skin/devtools/alerticon-warning.png");
+ -moz-margin-start: 5px;
+ vertical-align: middle;
+ width: 13px;
+ height: 12px;
+}
+
+.ruleview-ruleopen {
+ -moz-padding-end: 5px;
+}
+
+.ruleview-ruleclose {
+ width: -moz-min-content;
+ padding-right: 20px;
+}
+
+.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;
+ cursor: text;
+ color: #9C9CFF;
+ text-decoration: inherit;
+}
+
+.ruleview-propertyvalue {
+ cursor: text;
+ 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 #9C9CFF;
+ padding: 0;
+}