1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 .ruleview-rule-source {
10 -moz-padding-start: 5px;
13 -moz-user-select: none;
16 .ruleview-rule-source,
17 .ruleview-rule-source > label {
21 .ruleview-rule-source[unselectable],
22 .ruleview-rule-source[unselectable] > label {
26 .ruleview-rule-source:not([unselectable]):hover {
27 text-decoration: underline;
31 border-top-width: 1px;
32 border-bottom-width: 1px;
33 border-top-style: solid;
34 border-bottom-style: solid;
37 -moz-user-select: none;
38 word-wrap: break-word;
46 /* User agent styles are not editable, display them differently */
47 .theme-dark .ruleview-rule[uneditable=true] {
48 background: #A09090; /* Tab Toolbar */
51 .ruleview-rule[uneditable=true] :focus {
55 .ruleview-rule[uneditable=true] .theme-link {
56 color: #336699; /* Blue - Grey */
59 .ruleview-rule[uneditable=true] .ruleview-enableproperty {
63 .ruleview-rule[uneditable=true] .ruleview-colorswatch {
68 .ruleview-rule[uneditable=true] .ruleview-namecontainer > .ruleview-propertyname,
69 .ruleview-rule[uneditable=true] .ruleview-propertycontainer > .ruleview-propertyvalue {
70 border-bottom-color: transparent;
78 .ruleview-rule + .ruleview-rule {
79 border-top-width: 1px;
80 border-top-style: dotted;
84 background: url("alerticon-warning.png");
85 -moz-margin-start: 5px;
86 display: inline-block;
92 @media (min-resolution: 2dppx) {
94 background-image: url("alerticon-warning@2x.png");
99 -moz-padding-end: 5px;
102 .ruleview-ruleclose {
107 .ruleview-propertylist {
113 .ruleview-rule:not(:hover) .ruleview-enableproperty {
118 display: inline-block;
121 .ruleview-newproperty {
122 /* (enable checkbox width: 12px) + (expander width: 15px) */
123 -moz-margin-start: 27px;
126 .ruleview-namecontainer,
127 .ruleview-propertycontainer,
128 .ruleview-propertyname,
129 .ruleview-propertyvalue {
130 text-decoration: inherit;
133 .ruleview-computedlist {
139 -moz-margin-start: 35px;
142 .ruleview-colorswatch {
147 vertical-align: text-top;
148 -moz-margin-end: 5px;
149 display: inline-block;
153 .ruleview-colorswatch::before {
155 background-color: #9C9CFF;
156 background-image: linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090),
157 linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090);
158 background-size: 12px 12px;
159 background-position: 0 0, 6px 6px;
169 .ruleview-overridden {
170 text-decoration: line-through;
173 .styleinspector-propertyeditor {
174 border: 1px solid #A09090;
179 border-left: 3px solid transparent;
183 .ruleview-property > * {
184 vertical-align: middle;
187 .ruleview-property[dirty] {
188 border-left-color: #9C9CFF; /* Green */
191 .ruleview-namecontainer > .ruleview-propertyname,
192 .ruleview-propertycontainer > .ruleview-propertyvalue {
193 border-bottom: 1px dashed transparent;
196 .ruleview-namecontainer:hover > .ruleview-propertyname,
197 .ruleview-propertycontainer:hover > .ruleview-propertyvalue {
198 border-bottom-color: #008484;
202 word-wrap: break-word;
205 .ruleview-selector-separator, .ruleview-selector-unmatched {