Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: chrome/renderer/resources/neterror.css

Issue 1371213002: Fix flash of icon border when network error interstitial is loaded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/renderer/resources/neterror.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 margin: 10px 0; 30 margin: 10px 0;
31 } 31 }
32 32
33 a { 33 a {
34 color: rgb(17, 85, 204); 34 color: rgb(17, 85, 204);
35 text-decoration: none; 35 text-decoration: none;
36 } 36 }
37 37
38 .icon { 38 .icon {
39 -webkit-user-select: none; 39 -webkit-user-select: none;
40 content: ''; 40 display: inline-block;
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);
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 overflow: inherit; 446 overflow: inherit;
447 padding: 0 8px; 447 padding: 0 8px;
448 } 448 }
449 } 449 }
450 450
451 @media (max-width: 120px) { 451 @media (max-width: 120px) {
452 button { 452 button {
453 width: auto; 453 width: auto;
454 } 454 }
455 } 455 }
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/resources/neterror.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698