OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 /* Don't use the main frame div when the error is in a subframe. */ | 5 /* Don't use the main frame div when the error is in a subframe. */ |
6 html[subframe] #main-frame-error { | 6 html[subframe] #main-frame-error { |
7 display: none; | 7 display: none; |
8 } | 8 } |
9 | 9 |
10 /* Don't use the subframe error div when the error is in a main frame. */ | 10 /* Don't use the subframe error div when the error is in a main frame. */ |
(...skipping 22 matching lines...) Expand all Loading... |
33 .icon { | 33 .icon { |
34 -webkit-user-select: none; | 34 -webkit-user-select: none; |
35 } | 35 } |
36 | 36 |
37 .icon-generic { | 37 .icon-generic { |
38 /** | 38 /** |
39 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted | 39 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted |
40 * renderer process, so embed the resource manually. | 40 * renderer process, so embed the resource manually. |
41 */ | 41 */ |
42 content: -webkit-image-set( | 42 content: -webkit-image-set( |
43 url(../../../renderer/resources/default_100_percent/common/error_network_g
eneric.png) 1x, | 43 url(../../../../components/resources/default_100_percent/neterror/error_ne
twork_generic.png) 1x, |
44 url(../../../renderer/resources/default_200_percent/common/error_network_g
eneric.png) 2x); | 44 url(../../../../components/resources/default_200_percent/neterror/error_ne
twork_generic.png) 2x); |
45 } | 45 } |
46 | 46 |
47 .icon-offline { | 47 .icon-offline { |
48 content: -webkit-image-set( | 48 content: -webkit-image-set( |
49 url(../../../renderer/resources/default_100_percent/offline/100-error-offl
ine.png) 1x, | 49 url(../../../../components/neterror/resources/default_100_percent/offline/
100-error-offline.png) 1x, |
50 url(../../../renderer/resources/default_200_percent/offline/200-error-offl
ine.png) 2x); | 50 url(../../../../components/neterror/resources/default_200_percent/offline/
200-error-offline.png) 2x); |
51 } | 51 } |
52 | 52 |
53 #help-box-outer { | 53 #help-box-outer { |
54 -webkit-transition: height ease-in 218ms; | 54 -webkit-transition: height ease-in 218ms; |
55 overflow: hidden; | 55 overflow: hidden; |
56 } | 56 } |
57 | 57 |
58 #help-box-inner { | 58 #help-box-inner { |
59 background-color: #f9f9f9; | 59 background-color: #f9f9f9; |
60 border-top: 1px solid #EEE; | 60 border-top: 1px solid #EEE; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 left: 0; | 204 left: 0; |
205 position: absolute; | 205 position: absolute; |
206 top: 0; | 206 top: 0; |
207 width: 100vw; | 207 width: 100vw; |
208 z-index: 1; | 208 z-index: 1; |
209 } | 209 } |
210 | 210 |
211 #offline-resources { | 211 #offline-resources { |
212 display: none; | 212 display: none; |
213 } | 213 } |
OLD | NEW |