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

Unified Diff: chrome/renderer/resources/neterror.css

Issue 865943002: Update SSL/malware/net error interstitial design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix hidden buttons on offline interstitial on CrOS Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/neterror.css
diff --git a/chrome/renderer/resources/neterror.css b/chrome/renderer/resources/neterror.css
index 4939d0e41d04396bf596aa84d1930853427712f0..cf7cd4e8c9f331a1188d1476ee43531e493030e5 100644
--- a/chrome/renderer/resources/neterror.css
+++ b/chrome/renderer/resources/neterror.css
@@ -37,6 +37,7 @@ a {
.icon {
-webkit-user-select: none;
+ content: '';
edwardjung 2015/01/23 12:19:40 Fixes empty image icon flash bug: https://code.goo
}
.icon-generic {
@@ -165,9 +166,6 @@ a {
/* Decrease padding at low sizes. */
@media (max-width: 640px), (max-height: 640px) {
- body {
- margin: 15px;
- }
h1 {
margin: 10px 0 15px;
}
@@ -282,8 +280,9 @@ html[subframe] body {
color: #2b2b2b;
font-size: 1em;
line-height: 1.55;
- margin: 100px auto 0;
+ margin: 0 auto;
max-width: 600px;
+ padding-top: 100px;
width: 100%;
}
@@ -324,7 +323,6 @@ html[subframe] body {
.suggested-left > #control-buttons,
.suggested-right > #control-buttons {
float: none;
- margin: 50px 0 20px;
}
}
@@ -345,3 +343,9 @@ html[subframe] body {
margin-top: 30px;
}
}
+
+@media (min-height: 240px) and (orientation: landscape) {
+ .offline .interstitial-wrapper {
+ margin-bottom: 20px;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698