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

Side by Side Diff: components/neterror/resources/neterror.css

Issue 2094733002: Remove details strings used by iframes on network error pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « components/error_page_strings.grdp ('k') | components/neterror/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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 #sub-frame-error { 262 #sub-frame-error {
263 -webkit-align-items: center; 263 -webkit-align-items: center;
264 background-color: #DDD; 264 background-color: #DDD;
265 display: -webkit-flex; 265 display: -webkit-flex;
266 -webkit-flex-flow: column; 266 -webkit-flex-flow: column;
267 height: 100%; 267 height: 100%;
268 -webkit-justify-content: center; 268 -webkit-justify-content: center;
269 left: 0; 269 left: 0;
270 position: absolute; 270 position: absolute;
271 text-align: center;
edwardjung 2016/06/23 18:52:04 Centres the icon following the switch from an imag
271 top: 0; 272 top: 0;
272 transition: background-color .2s ease-in-out; 273 transition: background-color .2s ease-in-out;
273 width: 100%; 274 width: 100%;
274 } 275 }
275 276
276 #sub-frame-error:hover { 277 #sub-frame-error:hover {
277 background-color: #EEE; 278 background-color: #EEE;
278 } 279 }
279 280
280 #sub-frame-error .icon-generic { 281 #sub-frame-error .icon-generic {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 overflow: inherit; 478 overflow: inherit;
478 padding: 0 8px; 479 padding: 0 8px;
479 } 480 }
480 } 481 }
481 482
482 @media (max-width: 120px) { 483 @media (max-width: 120px) {
483 button { 484 button {
484 width: auto; 485 width: auto;
485 } 486 }
486 } 487 }
OLDNEW
« no previous file with comments | « components/error_page_strings.grdp ('k') | components/neterror/resources/neterror.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698