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

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

Issue 23965003: New SSL blocking screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | 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 body { 5 body {
6 background-color: #E6E6E6; 6 background-color: #E6E6E6;
7 font-family: Helvetica, Arial, sans-serif; 7 font-family: Helvetica, Arial, sans-serif;
8 font-size: 10pt; 8 font-size: 10pt;
9 margin: 50px 40px 20px 40px; 9 margin: 50px 40px 20px 40px;
10 text-align: center;
11 } 10 }
12 11
13 #main-frame-error { 12 #main-frame-error {
14 margin: auto; 13 margin: auto;
15 max-width: 540px; 14 max-width: 540px;
16 min-width: 200px; 15 min-width: 200px;
17 } 16 }
18 17
19 /* Don't use the main frame div when the error is in a subframe. */ 18 /* Don't use the main frame div when the error is in a subframe. */
20 html[subframe] #main-frame-error { 19 html[subframe] #main-frame-error {
(...skipping 16 matching lines...) Expand all
37 box-shadow: 0px 2px 2px #AAA; 36 box-shadow: 0px 2px 2px #AAA;
38 </if> 37 </if>
39 } 38 }
40 39
41 #diagnose-button { 40 #diagnose-button {
42 margin-top: 20px; 41 margin-top: 20px;
43 margin-bottom: 10px; 42 margin-bottom: 10px;
44 -webkit-margin-start: 0px; 43 -webkit-margin-start: 0px;
45 } 44 }
46 45
47 h1 { 46 #content-top #buttons,
47 #content-top h1 {
48 color: #666; 48 color: #666;
49 margin: 10px 0px 25px 0px; 49 margin: 10px 0px 25px 0px;
50 font-weight: normal; 50 font-weight: normal;
51 font-size: 1.5em; 51 font-size: 1.5em;
52 text-align: center;
53 }
54
55 h2 {
56 color: #666;
57 font-size: 1.2em;
58 font-weight: normal;
59 margin: 10px 0;
52 } 60 }
53 61
54 a { 62 a {
55 color: #15c; 63 color: #15c;
56 text-decoration: none; 64 text-decoration: none;
57 } 65 }
58 66
59 .icon { 67 .icon {
60 -webkit-user-select: none; 68 -webkit-user-select: none;
61 } 69 }
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 visibility: visible; 295 visibility: visible;
288 } 296 }
289 297
290 /* If the iframe is too small, always hide the error code. */ 298 /* If the iframe is too small, always hide the error code. */
291 /* TODO(mmenke): See if overflow: no-display works better, once supported. */ 299 /* TODO(mmenke): See if overflow: no-display works better, once supported. */
292 @media (max-width: 200px), (max-height: 95px) { 300 @media (max-width: 200px), (max-height: 95px) {
293 #sub-frame-error-details { 301 #sub-frame-error-details {
294 display: none; 302 display: none;
295 } 303 }
296 } 304 }
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | chrome/renderer/resources/neterror.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698