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

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

Issue 10834378: Upstream Android-specific tweaks to neterror.html. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <if expr="pp_ifdef('android')">
5 <meta name="viewport" content="width=device-width" />
6 </if>
4 <title i18n-content="title"> 7 <title i18n-content="title">
5 </title> 8 </title>
6 <style> 9 <style>
7 body { 10 body {
8 background-color: white; 11 background-color: white;
9 font-family: Helvetica, Arial, sans-serif; 12 font-family: Helvetica, Arial, sans-serif;
10 margin: 0; 13 margin: 0;
11 } 14 }
12 15
13 html[main-frame] body { 16 html[main-frame] body {
14 background-color: #CCC; 17 background-color: #CCC;
15 } 18 }
16 19
20 /* On Android, gradient is broken due to background-attachment: fixed being
21 currently disabled on Android; see crbug.com/135942 */
22 <if expr="not pp_ifdef('android')">
17 html[main-frame][high-color-depth] body { 23 html[main-frame][high-color-depth] body {
18 background: -webkit-linear-gradient(#CCC, #AAA); 24 background: -webkit-linear-gradient(#CCC, #AAA);
19 background-attachment: fixed; 25 background-attachment: fixed;
20 } 26 }
27 </if>
21 28
22 html[main-frame] #cell { 29 html[main-frame] #cell {
30 <if expr="not pp_ifdef('android')">
23 padding: 40px; 31 padding: 40px;
32 </if>
33 <if expr="pp_ifdef('android')">
34 padding: 20px;
35 </if>
24 } 36 }
25 37
26 #box { 38 #box {
27 background-color: white; 39 background-color: white;
28 color: black; 40 color: black;
29 font-size: 10pt; 41 font-size: 10pt;
30 line-height: 18px; 42 line-height: 18px;
31 margin: auto; 43 margin: auto;
32 max-width: 750px; 44 max-width: 750px;
33 min-width: 200px; 45 min-width: 200px;
34 padding: 5px; 46 padding: 5px;
35 } 47 }
36 48
37 html[main-frame] #box { 49 html[main-frame] #box {
38 border-radius: 5px; 50 border-radius: 5px;
39 -webkit-box-shadow: 2px 5px 12px #555; 51 -webkit-box-shadow: 2px 5px 12px #555;
52 <if expr="not pp_ifdef('android')">
40 padding: 20px; 53 padding: 20px;
41 width: 80%; 54 width: 80%;
55 </if>
56 <if expr="pp_ifdef('android')">
57 padding: 10px;
58 width: 90%;
59 </if>
42 } 60 }
43 61
44 ul { 62 ul {
45 margin: 0; 63 margin: 0;
46 padding-bottom: 0; 64 padding-bottom: 0;
47 } 65 }
48 66
49 li { 67 li {
50 padding-top: 2px; 68 padding-top: 2px;
51 } 69 }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 <span jsvalues=".innerHTML:msg"></span> 212 <span jsvalues=".innerHTML:msg"></span>
195 </li> 213 </li>
196 </ul> 214 </ul>
197 </div> 215 </div>
198 216
199 <div id="errorDetails" jsselect="details" jscontent="$this"></div> 217 <div id="errorDetails" jsselect="details" jscontent="$this"></div>
200 </div> 218 </div>
201 </div> 219 </div>
202 </body> 220 </body>
203 </html> 221 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698