Commit 85e84386 authored by newt@chromium.org's avatar newt@chromium.org

Upstream Android-specific tweaks to neterror.html.

BUG=136951


Review URL: https://chromiumcodereview.appspot.com/10834378

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152435 0039d316-1c4b-4281-b951-d872f2087c98
parent e58234cc
<!DOCTYPE html>
<html i18n-values="dir:textdirection">
<head>
<if expr="pp_ifdef('android')">
<meta name="viewport" content="width=device-width" />
</if>
<title i18n-content="title">
</title>
<style>
......@@ -14,13 +17,22 @@ html[main-frame] body {
background-color: #CCC;
}
/* On Android, gradient is broken due to background-attachment: fixed being
currently disabled on Android; see crbug.com/135942 */
<if expr="not pp_ifdef('android')">
html[main-frame][high-color-depth] body {
background: -webkit-linear-gradient(#CCC, #AAA);
background-attachment: fixed;
}
</if>
html[main-frame] #cell {
<if expr="not pp_ifdef('android')">
padding: 40px;
</if>
<if expr="pp_ifdef('android')">
padding: 20px;
</if>
}
#box {
......@@ -37,8 +49,14 @@ html[main-frame] #cell {
html[main-frame] #box {
border-radius: 5px;
-webkit-box-shadow: 2px 5px 12px #555;
<if expr="not pp_ifdef('android')">
padding: 20px;
width: 80%;
</if>
<if expr="pp_ifdef('android')">
padding: 10px;
width: 90%;
</if>
}
ul {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment