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

Side by Side Diff: chrome/browser/resources/chromeos/neterror.css

Issue 1668963002: Componentize IDR_NET_ERROR_HTML for sharing it with iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase & remove jar@chromium.org from components/resources/OWNERS Created 4 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/resources_util_unittest.cc » ('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 22 matching lines...) Expand all
33 .icon { 33 .icon {
34 -webkit-user-select: none; 34 -webkit-user-select: none;
35 } 35 }
36 36
37 .icon-generic { 37 .icon-generic {
38 /** 38 /**
39 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted 39 * Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted
40 * renderer process, so embed the resource manually. 40 * renderer process, so embed the resource manually.
41 */ 41 */
42 content: -webkit-image-set( 42 content: -webkit-image-set(
43 url(../../../renderer/resources/default_100_percent/common/error_network_g eneric.png) 1x, 43 url(../../../../components/resources/default_100_percent/neterror/error_ne twork_generic.png) 1x,
44 url(../../../renderer/resources/default_200_percent/common/error_network_g eneric.png) 2x); 44 url(../../../../components/resources/default_200_percent/neterror/error_ne twork_generic.png) 2x);
45 } 45 }
46 46
47 .icon-offline { 47 .icon-offline {
48 content: -webkit-image-set( 48 content: -webkit-image-set(
49 url(../../../renderer/resources/default_100_percent/offline/100-error-offl ine.png) 1x, 49 url(../../../../components/neterror/resources/default_100_percent/offline/ 100-error-offline.png) 1x,
50 url(../../../renderer/resources/default_200_percent/offline/200-error-offl ine.png) 2x); 50 url(../../../../components/neterror/resources/default_200_percent/offline/ 200-error-offline.png) 2x);
51 } 51 }
52 52
53 #help-box-outer { 53 #help-box-outer {
54 -webkit-transition: height ease-in 218ms; 54 -webkit-transition: height ease-in 218ms;
55 overflow: hidden; 55 overflow: hidden;
56 } 56 }
57 57
58 #help-box-inner { 58 #help-box-inner {
59 background-color: #f9f9f9; 59 background-color: #f9f9f9;
60 border-top: 1px solid #EEE; 60 border-top: 1px solid #EEE;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 left: 0; 204 left: 0;
205 position: absolute; 205 position: absolute;
206 top: 0; 206 top: 0;
207 width: 100vw; 207 width: 100vw;
208 z-index: 1; 208 z-index: 1;
209 } 209 }
210 210
211 #offline-resources { 211 #offline-resources {
212 display: none; 212 display: none;
213 } 213 }
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/resources_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698