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

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

Issue 889983002: Revert of Update SSL/malware/net error interstitial design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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: '';
41 } 40 }
42 41
43 .icon-generic { 42 .icon-generic {
44 /** 43 /**
45 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted 44 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted
46 * renderer process, so embed the resource manually. 45 * renderer process, so embed the resource manually.
47 */ 46 */
48 content: -webkit-image-set( 47 content: -webkit-image-set(
49 url(default_100_percent/common/error_network_generic.png) 1x, 48 url(default_100_percent/common/error_network_generic.png) 1x,
50 url(default_200_percent/common/error_network_generic.png) 2x); 49 url(default_200_percent/common/error_network_generic.png) 2x);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 font-weight: bold; 146 font-weight: bold;
148 margin-bottom: 4px; 147 margin-bottom: 4px;
149 } 148 }
150 149
151 .suggestion-body { 150 .suggestion-body {
152 color: #777; 151 color: #777;
153 } 152 }
154 153
155 .error-code { 154 .error-code {
156 color: #A0A0A0; 155 color: #A0A0A0;
157 font-size: .825em;
158 margin-top: 15px; 156 margin-top: 15px;
159 } 157 }
160 158
161 /* Increase line height at higher resolutions. */ 159 /* Increase line height at higher resolutions. */
162 @media (min-width: 641px) and (min-height: 641px) { 160 @media (min-width: 641px) and (min-height: 641px) {
163 #help-box-inner { 161 #help-box-inner {
164 line-height: 18px; 162 line-height: 18px;
165 } 163 }
166 } 164 }
167 165
168 /* Decrease padding at low sizes. */ 166 /* Decrease padding at low sizes. */
169 @media (max-width: 640px), (max-height: 640px) { 167 @media (max-width: 640px), (max-height: 640px) {
168 body {
169 margin: 15px;
170 }
170 h1 { 171 h1 {
171 margin: 0 0 15px; 172 margin: 10px 0 15px;
172 } 173 }
173 #content-top { 174 #content-top {
174 margin: 15px; 175 margin: 15px;
175 } 176 }
176 #help-box-inner { 177 #help-box-inner {
177 padding: 20px; 178 padding: 20px;
178 } 179 }
179 .suggestions { 180 .suggestions {
180 margin-top: 10px; 181 margin-top: 10px;
181 } 182 }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 content: ''; 275 content: '';
275 display: block; 276 display: block;
276 width: 100%; 277 width: 100%;
277 } 278 }
278 279
279 /* Offline page */ 280 /* Offline page */
280 .offline .interstitial-wrapper { 281 .offline .interstitial-wrapper {
281 color: #2b2b2b; 282 color: #2b2b2b;
282 font-size: 1em; 283 font-size: 1em;
283 line-height: 1.55; 284 line-height: 1.55;
284 margin: 0 auto; 285 margin: 100px auto 0;
285 max-width: 600px; 286 max-width: 600px;
286 padding-top: 100px;
287 width: 100%; 287 width: 100%;
288 } 288 }
289 289
290 .offline .runner-container { 290 .offline .runner-container {
291 height: 150px; 291 height: 150px;
292 max-width: 600px; 292 max-width: 600px;
293 overflow: hidden; 293 overflow: hidden;
294 position: absolute; 294 position: absolute;
295 top: 10px; 295 top: 10px;
296 width: 44px; 296 width: 44px;
(...skipping 16 matching lines...) Expand all
313 position: absolute; 313 position: absolute;
314 top: 0; 314 top: 0;
315 width: 100vw; 315 width: 100vw;
316 z-index: 1; 316 z-index: 1;
317 } 317 }
318 318
319 #offline-resources { 319 #offline-resources {
320 display: none; 320 display: none;
321 } 321 }
322 322
323 @media (max-width: 420px) { 323 @media (max-width: 400px) {
324 .suggested-left > #control-buttons, 324 .suggested-left > #control-buttons,
325 .suggested-right > #control-buttons { 325 .suggested-right > #control-buttons {
326 float: none; 326 float: none;
327 margin: 50px 0 20px;
327 } 328 }
328 } 329 }
329 330
330 @media (max-height: 350px) { 331 @media (max-height: 350px) {
331 h1 { 332 h1 {
332 margin: 0 0 15px; 333 margin: 0 0 15px;
333 } 334 }
334 335
335 .icon-offline { 336 .icon-offline {
336 margin: 0 0 10px; 337 margin: 0 0 10px;
337 } 338 }
338 339
339 .interstitial-wrapper { 340 .interstitial-wrapper {
340 margin-top: 5%; 341 margin-top: 5%;
341 } 342 }
342 343
343 .nav-wrapper { 344 .nav-wrapper {
344 margin-top: 30px; 345 margin-top: 30px;
345 } 346 }
346 } 347 }
347
348 @media (min-height: 240px) and (orientation: landscape) {
349 .offline .interstitial-wrapper {
350 margin-bottom: 20px;
351 }
352 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/security_warnings/safe_browsing.js ('k') | chrome/renderer/resources/neterror.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698