Index: chrome/renderer/resources/neterror.css |
diff --git a/chrome/renderer/resources/neterror.css b/chrome/renderer/resources/neterror.css |
index fc2e1535a8c6eb37d6dc1c0a26445c7d42c2b1c3..6541f29011b89c20f18e6831a59b6aafd3644397 100644 |
--- a/chrome/renderer/resources/neterror.css |
+++ b/chrome/renderer/resources/neterror.css |
@@ -45,18 +45,18 @@ html:not([subframe]) #sub-frame-error { |
} |
#diagnose-button { |
- margin-top: 20px; |
+ -webkit-margin-start: 0; |
margin-bottom: 10px; |
- -webkit-margin-start: 0px; |
+ margin-top: 20px; |
} |
#content-top #buttons, |
#content-top h1 { |
color: #666; |
- margin: 10px 0px 30px 0px; |
- font-weight: normal; |
font-size: 1.5em; |
+ font-weight: normal; |
text-align: center; |
+ margin: 10px 0 30px 0; |
} |
h2 { |
@@ -67,7 +67,7 @@ h2 { |
} |
a { |
- color: #15c; |
+ color: rgb(17, 85, 204); |
text-decoration: none; |
} |
@@ -96,8 +96,8 @@ a { |
} |
#help-box-outer { |
- overflow: hidden; |
-webkit-transition: height ease-in 218ms; |
+ overflow: hidden; |
} |
#help-box-inner { |
@@ -129,10 +129,10 @@ a { |
} |
button { |
+ -webkit-user-select: none; |
border: 1px solid rgba(0, 0, 0, 0.25); |
border-radius: 2px; |
color: #444; |
- -webkit-user-select: none; |
<if expr="not is_android"> |
/* iOS does not support linear-gradient without a prefix. */ |
background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); |
@@ -145,7 +145,8 @@ button { |
</if> |
<if expr="not is_android and not is_ios"> |
/* Not done on mobile for performance reasons. */ |
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75); |
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), |
+ inset 0 1px 2px rgba(255, 255, 255, 0.75); |
</if> |
} |
@@ -159,7 +160,8 @@ button:hover { |
background-color: #f0f0f0; |
</if> |
<if expr="not is_android and not is_ios"> |
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95); |
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), |
+ inset 0 1px 2px rgba(255, 255, 255, 0.95); |
</if> |
} |
@@ -178,10 +180,21 @@ button:active { |
} |
.text-button { |
+ margin: 0 5px; |
+ min-height: 29px; |
+ min-width: 65px; |
+ padding: 7px 13px; |
+} |
+ |
+.active-text { |
margin: 0px 5px; |
min-height: 29px; |
min-width: 65px; |
padding: 7px 13px; |
+ color: #777777; |
+ text-decoration: underline; |
+ /* Match button font. */ |
+ font: -webkit-small-control; |
} |
.blue-button { |
@@ -196,7 +209,8 @@ button:active { |
border: 1px solid rgb(0, 152, 206); |
</if> |
<if expr="not is_android and not is_ios"> |
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2); |
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), |
+ inset 0 1px 2px rgba(255, 255, 255, 0.2); |
</if> |
} |
@@ -207,7 +221,8 @@ button:active { |
border: 1px solid rgba(45, 102, 195, 1); |
</if> |
<if expr="not is_android and not is_ios"> |
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2); |
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), |
+ inset 0 1px 2px rgba(255, 255, 255, 0.2); |
</if> |
} |
@@ -240,20 +255,20 @@ button:active { |
} |
#search-box:focus { |
- border: 1px solid #5d9aff; |
+ border: 1px solid rgb(93, 154, 255); |
outline: none; |
} |
#search-button { |
border: none; |
- border-top-left-radius: 0; |
border-bottom-left-radius: 0; |
+ border-top-left-radius: 0; |
box-shadow: none; |
display: flex; |
height: 30px; |
margin: 0; |
- width: 60px; |
padding: 0; |
+ width: 60px; |
} |
#search-image { |
@@ -299,7 +314,7 @@ button:active { |
margin: 15px; |
} |
h1 { |
- margin: 10px 0px 15px 0px; |
+ margin: 10px 0 15px 0; |
} |
#content-top { |
margin: 15px; |
@@ -311,7 +326,7 @@ button:active { |
margin-top: 10px; |
} |
.suggestion-header { |
- margin-bottom: 0px; |
+ margin-bottom: 0; |
} |
.error-code { |
margin-top: 10px; |
@@ -325,14 +340,14 @@ html[subframe] body { |
#sub-frame-error { |
-webkit-align-items: center; |
+ -webkit-flex-flow: column; |
+ -webkit-justify-content: center; |
background-color: #DDD; |
display: -webkit-flex; |
- -webkit-flex-flow: column; |
height: 100%; |
- -webkit-justify-content: center; |
- left: 0px; |
+ left: 0; |
position: absolute; |
- top: 0px; |
+ top: 0; |
width: 100%; |
} |
@@ -357,3 +372,10 @@ html[subframe] body { |
display: none; |
} |
} |
+ |
+#buttons::after { |
+ clear: both; |
+ content: ''; |
+ display: block; |
+ width: 100%; |
+} |