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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 } | 87 } |
88 | 88 |
89 .hidden { | 89 .hidden { |
90 display: none; | 90 display: none; |
91 } | 91 } |
92 | 92 |
93 #suggestion { | 93 #suggestion { |
94 margin-top: 15px; | 94 margin-top: 15px; |
95 } | 95 } |
96 | 96 |
| 97 #suggestions-list p { |
| 98 -webkit-margin-after: 0; |
| 99 } |
| 100 |
| 101 #suggestions-list ul { |
| 102 margin-top: 0; |
| 103 } |
| 104 |
| 105 .single-suggestion { |
| 106 list-style-type: none; |
| 107 padding-left: 0; |
| 108 } |
| 109 |
97 #short-suggestion { | 110 #short-suggestion { |
98 margin-top: 5px; | 111 margin-top: 5px; |
99 } | 112 } |
100 | 113 |
101 #sub-frame-error-details { | 114 #sub-frame-error-details { |
102 <if expr="is_ios"> | |
103 font-size: 8pt; | |
104 </if> | |
105 color: #8F8F8F; | 115 color: #8F8F8F; |
106 <if expr="not is_android and not is_ios"> | 116 <if expr="not is_android and not is_ios"> |
107 /* Not done on mobile for performance reasons. */ | 117 /* Not done on mobile for performance reasons. */ |
108 text-shadow: 0 1px 0 rgba(255,255,255,0.3); | 118 text-shadow: 0 1px 0 rgba(255,255,255,0.3); |
109 </if> | 119 </if> |
110 } | 120 } |
111 | 121 |
112 [jscontent=failedUrl] { | 122 [jscontent=failedUrl] { |
113 overflow-wrap: break-word; | 123 overflow-wrap: break-word; |
114 } | 124 } |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 271 |
262 #sub-frame-error:hover { | 272 #sub-frame-error:hover { |
263 background-color: #EEE; | 273 background-color: #EEE; |
264 } | 274 } |
265 | 275 |
266 #sub-frame-error .icon-generic { | 276 #sub-frame-error .icon-generic { |
267 margin: 0 0 16px; | 277 margin: 0 0 16px; |
268 } | 278 } |
269 | 279 |
270 #sub-frame-error-details { | 280 #sub-frame-error-details { |
| 281 <if expr="is_ios"> |
| 282 font-size: 8pt; |
| 283 </if> |
271 margin: 0 10px; | 284 margin: 0 10px; |
272 text-align: center; | 285 text-align: center; |
273 visibility: hidden; | 286 visibility: hidden; |
274 } | 287 } |
275 | 288 |
276 /* Show details only when hovering. */ | 289 /* Show details only when hovering. */ |
277 #sub-frame-error:hover #sub-frame-error-details { | 290 #sub-frame-error:hover #sub-frame-error-details { |
278 visibility: visible; | 291 visibility: visible; |
279 } | 292 } |
280 | 293 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 overflow: inherit; | 476 overflow: inherit; |
464 padding: 0 8px; | 477 padding: 0 8px; |
465 } | 478 } |
466 } | 479 } |
467 | 480 |
468 @media (max-width: 120px) { | 481 @media (max-width: 120px) { |
469 button { | 482 button { |
470 width: auto; | 483 width: auto; |
471 } | 484 } |
472 } | 485 } |
OLD | NEW |