Commit | Line | Data |
---|---|---|
e0c47e26 | 1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
9099c61d RK |
2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
3 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
e0c47e26 | 5 | |
445863a2 RK |
6 | window:not([windowtype]) { |
7 | /* This does not apply to the standalone window in FF 19 and lower, | |
8 | * only to the dev toolbox in FF 20+. */ | |
9 | padding: 0; | |
10 | } | |
11 | ||
e0c47e26 RK |
12 | #style-editor-chrome { |
13 | background-color: #000000; | |
14 | } | |
15 | ||
3d64e0ce RK |
16 | .csscoverage-report { |
17 | background: #A09090; /* Toolbars */ | |
18 | } | |
19 | ||
20 | .csscoverage-report-container { | |
21 | height: 100vh; | |
22 | padding: 10px; | |
23 | } | |
24 | ||
25 | .csscoverage-report-content { | |
26 | font-size: 13px; | |
27 | margin: 0 auto; | |
28 | max-width: 600px; | |
29 | padding: 0 10px; | |
30 | } | |
31 | ||
32 | .csscoverage-report h1, | |
33 | .csscoverage-report h2, | |
34 | .csscoverage-report h3 { | |
35 | font-weight: bold; | |
36 | } | |
37 | ||
38 | .csscoverage-report textarea { | |
39 | width: 100%; | |
40 | height: 100px; | |
41 | } | |
42 | ||
43 | .csscoverage-report > .csscoverage-toolbar { | |
44 | border: none; | |
45 | margin: 0; | |
46 | padding: 0; | |
47 | } | |
48 | ||
49 | .csscoverage-report > .csscoverage-toolbarbutton { | |
50 | min-width: 4em; | |
51 | min-height: 100vh; | |
52 | margin: 0; | |
53 | padding: 0; | |
54 | border-radius: 0; | |
55 | border-top: none; | |
56 | border-bottom: none; | |
57 | -moz-border-start: none; | |
58 | } | |
59 | ||
e0c47e26 RK |
60 | .stylesheet-title, |
61 | .stylesheet-name { | |
62 | text-decoration: none; | |
63 | color: #9C9CFF; | |
64 | } | |
65 | ||
66 | .stylesheet-name { | |
67 | font-size: 13px; | |
68 | } | |
69 | ||
70 | .stylesheet-rule-count, | |
46e71434 | 71 | .stylesheet-linked-file, |
e0c47e26 RK |
72 | .stylesheet-saveButton { |
73 | color: #FF9F00; | |
74 | } | |
75 | ||
76 | .stylesheet-saveButton { | |
77 | text-decoration: underline; | |
78 | cursor: pointer; | |
79 | } | |
80 | ||
81 | .splitview-active .stylesheet-title, | |
82 | .splitview-active .stylesheet-name { | |
83 | color: #FFCF00; | |
84 | } | |
85 | ||
86 | .splitview-active .stylesheet-rule-count, | |
46e71434 | 87 | .splitview-active .stylesheet-linked-file, |
e0c47e26 RK |
88 | .splitview-active .stylesheet-saveButton { |
89 | color: #E7ADE7; | |
90 | } | |
91 | ||
92 | .splitview-nav:focus { | |
93 | outline: 0; /* focus ring is on the stylesheet name */ | |
94 | } | |
95 | ||
96 | .splitview-nav > li.unsaved > hgroup .stylesheet-name { | |
97 | font-style: italic; | |
98 | } | |
99 | ||
100 | .splitview-nav:-moz-locale-dir(ltr) > li.unsaved > hgroup .stylesheet-name:before, | |
101 | .splitview-nav:-moz-locale-dir(rtl) > li.unsaved > hgroup .stylesheet-name:after { | |
102 | font-style: italic; | |
103 | } | |
104 | ||
82b4252f RK |
105 | .splitview-nav.empty > p { |
106 | padding: 0 10px; | |
107 | } | |
108 | ||
3d64e0ce | 109 | .stylesheet-sidebar { |
2b5a5147 RK |
110 | width: 237px; |
111 | -moz-border-start: 1px solid; | |
3d64e0ce | 112 | |
2b5a5147 | 113 | border-color: #9C9CFF; /* Splitters */ |
3d64e0ce RK |
114 | } |
115 | ||
116 | .media-rule-label { | |
2b5a5147 | 117 | border-bottom: 1px solid #A09090; /* Grey */ |
3d64e0ce RK |
118 | } |
119 | ||
120 | .media-rule-label { | |
121 | padding: 4px; | |
122 | cursor: pointer; | |
123 | } | |
124 | ||
2b5a5147 RK |
125 | .media-rule-line { |
126 | -moz-padding-start: 4px; | |
127 | } | |
128 | ||
3d64e0ce RK |
129 | .media-condition-unmatched { |
130 | color: #8050B0; | |
131 | } | |
132 | ||
e0c47e26 RK |
133 | .stylesheet-enabled { |
134 | padding: 8px 0; | |
135 | margin: 0 8px; | |
136 | background-image: url("itemToggle.png"); | |
137 | background-repeat: no-repeat; | |
138 | background-clip: content-box; | |
139 | background-position: 0 8px; | |
3d64e0ce | 140 | background-size: 48px 24px; |
e0c47e26 RK |
141 | width: 24px; |
142 | height: 40px; | |
143 | } | |
144 | ||
3d64e0ce RK |
145 | @media (min-resolution: 2dppx) { |
146 | .stylesheet-enabled { | |
147 | background-image: url("itemToggle@2x.png"); | |
148 | } | |
149 | } | |
150 | ||
e0c47e26 RK |
151 | .disabled > .stylesheet-enabled { |
152 | background-position: -24px 8px; | |
153 | } | |
154 | ||
0bcd5587 RK |
155 | #style-editor-options { |
156 | width: 20px; | |
157 | overflow: hidden; | |
158 | } | |
159 | ||
e0c47e26 RK |
160 | .splitview-nav > li > .stylesheet-enabled:focus, |
161 | .splitview-nav > li:hover > .stylesheet-enabled { | |
162 | outline: 0; | |
163 | } | |
164 | ||
46e71434 RK |
165 | .stylesheet-linked-file:not(:empty){ |
166 | -moz-margin-end: 0.4em; | |
167 | } | |
168 | ||
169 | .stylesheet-linked-file:not(:empty):before { | |
170 | -moz-margin-start: 0.4em; | |
171 | } | |
172 | ||
173 | li.linked-file-error .stylesheet-linked-file:after { | |
174 | font-size: 110%; | |
e0c47e26 RK |
175 | } |
176 | ||
177 | .stylesheet-more > h3 { | |
178 | font-size: 11px; | |
179 | -moz-margin-end: 2px; | |
180 | } | |
181 | ||
182 | .devtools-searchinput { | |
183 | max-width: 25ex; | |
184 | font-size: 11px; | |
185 | } | |
186 | ||
187 | .placeholder { | |
188 | color: white; | |
189 | } | |
190 | ||
191 | .placeholder a { | |
192 | text-decoration: underline; | |
193 | } | |
194 | ||
195 | h1, | |
196 | h2, | |
197 | h3 { | |
198 | font-size: inherit; | |
199 | font-weight: normal; | |
200 | margin: 0; | |
201 | padding: 0; | |
202 | } | |
203 | ||
3d64e0ce RK |
204 | @media (max-width: 700px) { |
205 | .stylesheet-sidebar { | |
206 | width: 150px; | |
207 | } | |
208 | } | |
209 | ||
e0c47e26 RK |
210 | /* portrait mode */ |
211 | @media (max-width: 550px) { | |
212 | .splitview-nav { | |
213 | box-shadow: none; | |
214 | } | |
215 | ||
216 | .splitview-nav > li.splitview-active { | |
217 | background-size: 0 0, 0 0, auto; | |
218 | } | |
219 | ||
220 | .stylesheet-enabled { | |
221 | padding: 0; | |
222 | background-position: 0 0; | |
223 | height: 24px; | |
224 | } | |
225 | ||
226 | .disabled > .stylesheet-enabled { | |
227 | background-position: -24px 0; | |
228 | } | |
229 | ||
230 | .splitview-nav > li > hgroup.stylesheet-info { | |
231 | -moz-box-align: baseline; | |
232 | } | |
3d64e0ce RK |
233 | |
234 | .stylesheet-sidebar { | |
235 | width: 180px; | |
236 | } | |
e0c47e26 | 237 | } |