4a248be814fe74c584253645b3d92196f4cef153
[themes.git] / LCARStrek / browser / devtools / ruleview.css
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
17 .ruleview-header {
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;
25 }
26
27 .ruleview-rule-source:hover {
28   text-decoration: underline;
29 }
30
31 .ruleview-rule,
32 #noResults {
33   padding: 2px 4px;
34 }
35
36 #noResults {
37   font: message-box;
38   color: #8050B0;
39 }
40
41 .ruleview-rule + .ruleview-rule {
42   border-top-width: 1px;
43   border-top-style: dotted;
44 }
45
46 .ruleview-warning {
47   background: url("chrome://browser/skin/devtools/alerticon-warning.png");
48   -moz-margin-start: 5px;
49   display: inline-block;
50   vertical-align: top;
51   width: 13px;
52   height: 12px;
53 }
54
55 .ruleview-ruleopen {
56   -moz-padding-end: 5px;
57 }
58
59 .ruleview-ruleclose {
60   cursor: text;
61   padding-right: 20px;
62 }
63
64 .ruleview-propertylist {
65   list-style: none;
66   padding: 0;
67   margin: 0;
68 }
69
70 .ruleview-rule:not(:hover) .ruleview-enableproperty {
71   visibility: hidden;
72 }
73
74 .ruleview-expander {
75   display: inline-block;
76 }
77
78 .ruleview-newproperty {
79   /* (enable checkbox width: 12px) + (expander width: 15px) */
80   -moz-margin-start: 27px;
81 }
82
83 .ruleview-namecontainer,
84 .ruleview-propertycontainer,
85 .ruleview-propertyname,
86 .ruleview-propertyvalue {
87   text-decoration: inherit;
88 }
89
90 .ruleview-computedlist {
91   list-style: none;
92   padding: 0;
93 }
94
95 .ruleview-computed {
96   -moz-margin-start: 35px;
97 }
98
99 .ruleview-overridden {
100   text-decoration: line-through;
101 }
102
103 .styleinspector-propertyeditor {
104   border: 1px solid #A09090;
105   padding: 0;
106 }
107
108 .ruleview-property {
109   border-left: 2px solid transparent;
110 }
111
112 .ruleview-property  > * {
113   vertical-align: middle;
114 }
115
116 .ruleview-property[dirty] {
117   border-left-color: #9C9CFF;
118 }
119
120 .ruleview-namecontainer > .ruleview-propertyname,
121 .ruleview-propertycontainer > .ruleview-propertyvalue {
122   border-bottom: 1px dashed transparent;
123 }
124
125 .ruleview-namecontainer:hover > .ruleview-propertyname,
126 .ruleview-propertycontainer:hover > .ruleview-propertyvalue {
127   border-bottom-color: #008484;
128 }
129
130 .ruleview-selector-separator, .ruleview-selector-unmatched {
131   color: #8050B0;
132 }