OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 .service-workers-view { | 7 .service-workers-view { |
8 overflow: auto; | 8 overflow: auto; |
9 } | 9 } |
10 | 10 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 } /* media */ | 180 } /* media */ |
181 | 181 |
182 .service-workers-button:hover { | 182 .service-workers-button:hover { |
183 opacity: 1; | 183 opacity: 1; |
184 } | 184 } |
185 | 185 |
186 .service-workers-button:active { | 186 .service-workers-button:active { |
187 opacity: 0.8; | 187 opacity: 0.8; |
188 } | 188 } |
189 | 189 |
190 .service-workers-error-icon { | 190 .service-workers-error-icon, |
dgozman
2015/03/30 12:54:23
Instead of these styles, just use custom element "
horo
2015/03/30 15:05:40
Done.
| |
191 .service-workers-info-icon { | |
191 background-image: url(Images/statusbarButtonGlyphs.png); | 192 background-image: url(Images/statusbarButtonGlyphs.png); |
192 background-size: 320px 144px; | 193 background-size: 320px 144px; |
193 background-position: -213px -96px; | |
194 height: 10px; | 194 height: 10px; |
195 width: 10px; | 195 width: 10px; |
196 border: 0; | 196 border: 0; |
197 padding: 0; | 197 padding: 0; |
198 margin: 2px; | 198 margin: 2px; |
199 min-width: 10px; | 199 min-width: 10px; |
200 } | 200 } |
201 | 201 |
202 @media (-webkit-min-device-pixel-ratio: 1.5) { | 202 @media (-webkit-min-device-pixel-ratio: 1.5) { |
203 .service-workers-error-icon { | 203 .service-workers-error-icon, |
204 .service-workers-info-icon { | |
204 background-image: url(Images/statusbarButtonGlyphs_2x.png); | 205 background-image: url(Images/statusbarButtonGlyphs_2x.png); |
205 } | 206 } |
206 } /* media */ | 207 } /* media */ |
207 | 208 |
209 | |
210 .service-workers-error-icon { | |
211 background-position: -213px -96px; | |
212 } | |
213 | |
214 .service-workers-info-icon { | |
215 background-position: -213px -107px; | |
216 } | |
217 | |
208 .service-workers-error { | 218 .service-workers-error { |
209 display: flex; | 219 display: flex; |
210 } | 220 } |
211 | 221 |
212 .service-workers-error-message { | 222 .service-workers-error-message { |
213 font-weight: bold; | 223 font-weight: bold; |
214 } | 224 } |
215 | 225 |
226 .service-workers-info { | |
227 display: flex; | |
228 } | |
229 | |
216 .service-workers-color-0 { | 230 .service-workers-color-0 { |
217 background-color: #003366; | 231 background-color: #003366; |
218 } | 232 } |
219 | 233 |
220 .service-workers-color-1 { | 234 .service-workers-color-1 { |
221 background-color: #663300; | 235 background-color: #663300; |
222 } | 236 } |
223 | 237 |
224 .service-workers-color-2 { | 238 .service-workers-color-2 { |
225 background-color: #660066; | 239 background-color: #660066; |
(...skipping 19 matching lines...) Expand all Loading... | |
245 background-color: #996600; | 259 background-color: #996600; |
246 } | 260 } |
247 | 261 |
248 .service-workers-color-8 { | 262 .service-workers-color-8 { |
249 background-color: #9900CC; | 263 background-color: #9900CC; |
250 } | 264 } |
251 | 265 |
252 .service-workers-color-9 { | 266 .service-workers-color-9 { |
253 background-color: #336600; | 267 background-color: #336600; |
254 } | 268 } |
OLD | NEW |