| 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 17 matching lines...) Expand all Loading... |
| 28 a { | 28 a { |
| 29 color: rgb(17, 85, 204); | 29 color: rgb(17, 85, 204); |
| 30 text-decoration: none; | 30 text-decoration: none; |
| 31 } | 31 } |
| 32 | 32 |
| 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 /* 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 | 39 * renderer process, so embed the resource manually. */ |
| 40 * renderer process, so embed the resource manually. | |
| 41 */ | |
| 42 content: -webkit-image-set( | 40 content: -webkit-image-set( |
| 43 url(../../../../components/resources/default_100_percent/neterror/error_ne
twork_generic.png) 1x, | 41 url(../../../../components/resources/default_100_percent/neterror/error_ne
twork_generic.png) 1x, |
| 44 url(../../../../components/resources/default_200_percent/neterror/error_ne
twork_generic.png) 2x); | 42 url(../../../../components/resources/default_200_percent/neterror/error_ne
twork_generic.png) 2x); |
| 45 } | 43 } |
| 46 | 44 |
| 47 .icon-offline { | 45 .icon-offline { |
| 48 content: -webkit-image-set( | 46 content: -webkit-image-set( |
| 49 url(../../../../components/neterror/resources/default_100_percent/offline/
100-error-offline.png) 1x, | 47 url(../../../../components/neterror/resources/default_100_percent/offline/
100-error-offline.png) 1x, |
| 50 url(../../../../components/neterror/resources/default_200_percent/offline/
200-error-offline.png) 2x); | 48 url(../../../../components/neterror/resources/default_200_percent/offline/
200-error-offline.png) 2x); |
| 51 } | 49 } |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 left: 0; | 202 left: 0; |
| 205 position: absolute; | 203 position: absolute; |
| 206 top: 0; | 204 top: 0; |
| 207 width: 100vw; | 205 width: 100vw; |
| 208 z-index: 1; | 206 z-index: 1; |
| 209 } | 207 } |
| 210 | 208 |
| 211 #offline-resources { | 209 #offline-resources { |
| 212 display: none; | 210 display: none; |
| 213 } | 211 } |
| OLD | NEW |