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 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 | 42 |
43 .icon-generic { | 43 .icon-generic { |
44 /** | 44 /** |
45 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted | 45 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted |
46 * renderer process, so embed the resource manually. | 46 * renderer process, so embed the resource manually. |
47 */ | 47 */ |
48 content: -webkit-image-set( | 48 content: -webkit-image-set( |
49 url(default_100_percent/common/error_network_generic.png) 1x, | 49 url(default_100_percent/common/error_network_generic.png) 1x, |
50 url(default_200_percent/common/error_network_generic.png) 2x); | 50 url(default_200_percent/common/error_network_generic.png) 2x); |
51 padding-top: 20px; | |
52 } | 51 } |
53 | 52 |
54 .icon-offline { | 53 .icon-offline { |
55 content: -webkit-image-set( | 54 content: -webkit-image-set( |
56 url(default_100_percent/offline/100-error-offline.png) 1x, | 55 url(default_100_percent/offline/100-error-offline.png) 1x, |
57 url(default_200_percent/offline/200-error-offline.png) 2x); | 56 url(default_200_percent/offline/200-error-offline.png) 2x); |
58 position: relative; | 57 position: relative; |
59 } | 58 } |
60 | 59 |
61 .icon-disabled { | 60 .icon-disabled { |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 overflow: inherit; | 446 overflow: inherit; |
448 padding: 0 8px; | 447 padding: 0 8px; |
449 } | 448 } |
450 } | 449 } |
451 | 450 |
452 @media (max-width: 120px) { | 451 @media (max-width: 120px) { |
453 button { | 452 button { |
454 width: auto; | 453 width: auto; |
455 } | 454 } |
456 } | 455 } |
OLD | NEW |