Index: chrome/renderer/resources/neterror.html |
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html |
index d9aaf8927cab3ad3b64125b54e1fa5c78d1b3402..f3a30831e7726abd23eafc79180b018d03683d60 100644 |
--- a/chrome/renderer/resources/neterror.html |
+++ b/chrome/renderer/resources/neterror.html |
@@ -36,7 +36,7 @@ html:not([subframe]) #sub-frame-error { |
border-bottom: 1px solid #888; |
border-radius: 3px; |
color: black; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
/* Not done on mobile for performance reasons. */ |
box-shadow: 0px 2px 2px #AAA; |
</if> |
@@ -88,7 +88,7 @@ a { |
#sub-frame-error-details { |
color: #8F8F8F; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
/* Not done on mobile for performance reasons. */ |
text-shadow: 0 1px 0 rgba(255,255,255,0.3); |
</if> |
@@ -109,7 +109,7 @@ button { |
text-shadow: 0 1px 0 rgb(240, 240, 240); |
-webkit-user-select: none; |
padding: 8px 13px; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
/* Not done on mobile for performance reasons. */ |
border-radius: 2px; |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75); |
@@ -120,7 +120,7 @@ button:hover { |
background-image: -webkit-linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); |
border: 1px solid rgba(0, 0, 0, 0.3); |
color: #000; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95); |
</if> |
} |
@@ -129,7 +129,7 @@ button:active { |
background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); |
border: 1px solid rgba(0, 0, 0, 0.3); |
color: #444; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
box-shadow: none; |
</if> |
} |
@@ -139,7 +139,7 @@ button:active { |
border: 1px solid rgba(45, 102, 195, 1); |
color: #fff; |
text-shadow: 0 1px 0 rgba(0,0,0,0.5); |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2); |
</if> |
} |
@@ -148,7 +148,7 @@ button:active { |
background-image: -webkit-linear-gradient(#659efd, #659efd 38%, #6097f1); |
border: 1px solid rgba(45, 102, 195, 1); |
color: #fff; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2); |
</if> |
} |
@@ -157,7 +157,7 @@ button:active { |
background-image: -webkit-linear-gradient(#6095ed, #6095ed 38%, #6095ed); |
border: 1px solid rgba(38, 84, 160, 1); |
color: #fff; |
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> |
+<if expr="not is_android and not pp_ifdef('ios')"> |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); |
</if> |
} |