make sure the menuitem radios and checkmarks show up and the items do not inherit...
[themes.git] / LCARStrek / browser / devtools / ruleview.css
CommitLineData
2efcd25d
RK
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/. */
4
5.ruleview {
6 height: 100%;
7}
8
9.ruleview-rule-source {
10 -moz-padding-start: 5px;
11 cursor: pointer;
12 text-align: right;
13 float: right;
14 -moz-user-select: none;
15}
16
1b13529a 17.ruleview-header {
2efcd25d
RK
18 border-top-width: 1px;
19 border-bottom-width: 1px;
20 border-top-style: solid;
21 border-bottom-style: solid;
22 padding: 1px 4px;
23 margin-top: 4px;
24 -moz-user-select: none;
dfa34f73 25 word-wrap: break-word;
2efcd25d
RK
26}
27
28.ruleview-rule-source:hover {
29 text-decoration: underline;
30}
31
ed1a91c6
RK
32.ruleview-rule,
33#noResults {
2efcd25d
RK
34 padding: 2px 4px;
35}
36
ed1a91c6
RK
37#noResults {
38 font: message-box;
39 color: #8050B0;
40}
41
2efcd25d
RK
42.ruleview-rule + .ruleview-rule {
43 border-top-width: 1px;
44 border-top-style: dotted;
45}
46
47.ruleview-warning {
dccbbf95 48 background: url("alerticon-warning.png");
2efcd25d 49 -moz-margin-start: 5px;
1b13529a
RK
50 display: inline-block;
51 vertical-align: top;
2efcd25d
RK
52 width: 13px;
53 height: 12px;
54}
55
dccbbf95
RK
56@media (min-resolution: 2dppx) {
57 .ruleview-warning {
58 background-image: url("alerticon-warning@2x.png");
59 }
60}
61
2efcd25d
RK
62.ruleview-ruleopen {
63 -moz-padding-end: 5px;
64}
65
66.ruleview-ruleclose {
67 cursor: text;
68 padding-right: 20px;
69}
70
71.ruleview-propertylist {
72 list-style: none;
73 padding: 0;
74 margin: 0;
75}
76
77.ruleview-rule:not(:hover) .ruleview-enableproperty {
78 visibility: hidden;
79}
80
81.ruleview-expander {
82 display: inline-block;
83}
84
85.ruleview-newproperty {
86 /* (enable checkbox width: 12px) + (expander width: 15px) */
87 -moz-margin-start: 27px;
88}
89
90.ruleview-namecontainer,
91.ruleview-propertycontainer,
92.ruleview-propertyname,
93.ruleview-propertyvalue {
94 text-decoration: inherit;
95}
96
97.ruleview-computedlist {
98 list-style: none;
99 padding: 0;
100}
101
102.ruleview-computed {
103 -moz-margin-start: 35px;
104}
105
3a0880a9
RK
106.ruleview-colorswatch {
107 border-radius: 50%;
108 width: 1em;
109 height: 1em;
110 vertical-align: text-top;
111 -moz-margin-end: 5px;
dccbbf95
RK
112 display: inline-block;
113}
114
115.ruleview-colorswatch::before {
116 content: '';
117 background-color: #9C9CFF;
118 background-image: linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090),
119 linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090);
120 background-size: 12px 12px;
121 background-position: 0 0, 6px 6px;
122 position: absolute;
123 border-radius: 50%;
124 width: 1em;
125 height: 1em;
126 z-index: -1;
3a0880a9
RK
127}
128
2efcd25d
RK
129.ruleview-overridden {
130 text-decoration: line-through;
131}
132
133.styleinspector-propertyeditor {
134 border: 1px solid #A09090;
135 padding: 0;
136}
137
138.ruleview-property {
589b5528 139 border-left: 3px solid transparent;
dfa34f73 140 clear: right;
2efcd25d
RK
141}
142
143.ruleview-property > * {
144 vertical-align: middle;
145}
146
147.ruleview-property[dirty] {
589b5528 148 border-left-color: #9C9CFF; /* Green */
2efcd25d
RK
149}
150
151.ruleview-namecontainer > .ruleview-propertyname,
152.ruleview-propertycontainer > .ruleview-propertyvalue {
153 border-bottom: 1px dashed transparent;
154}
155
156.ruleview-namecontainer:hover > .ruleview-propertyname,
157.ruleview-propertycontainer:hover > .ruleview-propertyvalue {
158 border-bottom-color: #008484;
159}
160
dfa34f73
RK
161.ruleview-selector {
162 word-wrap: break-word;
163}
164
2efcd25d
RK
165.ruleview-selector-separator, .ruleview-selector-unmatched {
166 color: #8050B0;
167}