| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 -webkit-user-select: none; | 44 -webkit-user-select: none; |
| 45 display: inline-block; | 45 display: inline-block; |
| 46 } | 46 } |
| 47 | 47 |
| 48 .icon-generic { | 48 .icon-generic { |
| 49 /** | 49 /** |
| 50 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted | 50 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted |
| 51 * renderer process, so embed the resource manually. | 51 * renderer process, so embed the resource manually. |
| 52 */ | 52 */ |
| 53 content: -webkit-image-set( | 53 content: -webkit-image-set( |
| 54 url(default_100_percent/common/error_network_generic.png) 1x, | 54 url(../../resources/default_100_percent/neterror/error_network_generic.png
) 1x, |
| 55 url(default_200_percent/common/error_network_generic.png) 2x); | 55 url(../../resources/default_200_percent/neterror/error_network_generic.png
) 2x); |
| 56 } | 56 } |
| 57 | 57 |
| 58 .icon-offline { | 58 .icon-offline { |
| 59 content: -webkit-image-set( | 59 content: -webkit-image-set( |
| 60 url(default_100_percent/offline/100-error-offline.png) 1x, | 60 url(default_100_percent/offline/100-error-offline.png) 1x, |
| 61 url(default_200_percent/offline/200-error-offline.png) 2x); | 61 url(default_200_percent/offline/200-error-offline.png) 2x); |
| 62 position: relative; | 62 position: relative; |
| 63 } | 63 } |
| 64 | 64 |
| 65 .icon-disabled { | 65 .icon-disabled { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 92 | 92 |
| 93 #suggestion { | 93 #suggestion { |
| 94 margin-top: 15px; | 94 margin-top: 15px; |
| 95 } | 95 } |
| 96 | 96 |
| 97 #short-suggestion { | 97 #short-suggestion { |
| 98 margin-top: 5px; | 98 margin-top: 5px; |
| 99 } | 99 } |
| 100 | 100 |
| 101 #sub-frame-error-details { | 101 #sub-frame-error-details { |
| 102 <if expr="is_ios"> |
| 103 font-size: 8pt; |
| 104 </if> |
| 102 color: #8F8F8F; | 105 color: #8F8F8F; |
| 103 <if expr="not is_android and not is_ios"> | 106 <if expr="not is_android and not is_ios"> |
| 104 /* Not done on mobile for performance reasons. */ | 107 /* Not done on mobile for performance reasons. */ |
| 105 text-shadow: 0 1px 0 rgba(255,255,255,0.3); | 108 text-shadow: 0 1px 0 rgba(255,255,255,0.3); |
| 106 </if> | 109 </if> |
| 107 } | 110 } |
| 108 | 111 |
| 109 [jscontent=failedUrl] { | 112 [jscontent=failedUrl] { |
| 110 overflow-wrap: break-word; | 113 overflow-wrap: break-word; |
| 111 } | 114 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 138 display: flex; | 141 display: flex; |
| 139 height: 30px; | 142 height: 30px; |
| 140 margin: 0; | 143 margin: 0; |
| 141 padding: 0; | 144 padding: 0; |
| 142 width: 60px; | 145 width: 60px; |
| 143 } | 146 } |
| 144 | 147 |
| 145 #search-image { | 148 #search-image { |
| 146 content: | 149 content: |
| 147 -webkit-image-set( | 150 -webkit-image-set( |
| 148 url(../../app/theme/default_100_percent/common/omnibox_search_button_l
oupe.png) 1x, | 151 url(../../resources/default_100_percent/omnibox/omnibox_search_button_
loupe.png) 1x, |
| 149 url(../../app/theme/default_200_percent/common/omnibox_search_button_l
oupe.png) 2x); | 152 url(../../resources/default_200_percent/omnibox/omnibox_search_button_
loupe.png) 2x); |
| 150 margin: auto; | 153 margin: auto; |
| 151 } | 154 } |
| 152 | 155 |
| 153 .secondary-button { | 156 .secondary-button { |
| 154 -webkit-margin-end: 16px; | 157 -webkit-margin-end: 16px; |
| 155 background: #d9d9d9; | 158 background: #d9d9d9; |
| 156 color: #696969; | 159 color: #696969; |
| 157 } | 160 } |
| 158 | 161 |
| 159 .snackbar { | 162 .snackbar { |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 overflow: inherit; | 463 overflow: inherit; |
| 461 padding: 0 8px; | 464 padding: 0 8px; |
| 462 } | 465 } |
| 463 } | 466 } |
| 464 | 467 |
| 465 @media (max-width: 120px) { | 468 @media (max-width: 120px) { |
| 466 button { | 469 button { |
| 467 width: auto; | 470 width: auto; |
| 468 } | 471 } |
| 469 } | 472 } |
| OLD | NEW |