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

Unified Diff: chrome/browser/resources/ssl/interstitial_v2.css

Issue 319193002: Update the malware interstitial to have the new layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed variables, updated malware CSS label names Created 6 years, 6 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/browser/resources/ssl/interstitial_v2.css
diff --git a/chrome/browser/resources/ssl/interstitial_v2.css b/chrome/browser/resources/ssl/interstitial_v2.css
index 2ea38bb5f3a4ff37eb5450996f707e822c63f9ab..c2ba12e18372ad55903daa982914941741fe0e79 100644
--- a/chrome/browser/resources/ssl/interstitial_v2.css
+++ b/chrome/browser/resources/ssl/interstitial_v2.css
@@ -12,6 +12,11 @@ body {
line-height: 1.7em;
}
+body.malware {
+ background: rgb(217, 69, 61);
+ color: rgb(255, 255, 255);
+}
+
button {
background: rgb(76, 142, 250);
border: 0;
@@ -40,14 +45,11 @@ h1 {
}
.icon {
- background: -webkit-image-set(
- url('images/1x/brokenssl_red.png') 1x,
- url('images/2x/brokenssl_red.png') 2x);
background-repeat: no-repeat;
background-size: 100%;
- height: 69px;
+ height: 72px;
margin: 0 0 40px;
- width: 56px;
+ width: 72px;
}
.interstitial-wrapper {
@@ -57,6 +59,20 @@ h1 {
width: 100%;
}
+.malware a {
+ color: rgb(255, 255, 255);
+}
+
+.malware button {
+ background: rgba(255, 255, 255, 0.15);
+}
+
+.malware .icon {
+ background: -webkit-image-set(
+ url('../safe_browsing/images/1x/stop_sign.png') 1x,
+ url('../safe_browsing/images/2x/stop_sign.png') 2x);
+}
+
.nav-wrapper {
margin-top: 60px;
}
@@ -72,6 +88,12 @@ p {
margin-bottom: 22px;
}
+.ssl .icon {
+ background: -webkit-image-set(
+ url('images/1x/brokenssl_red.png') 1x,
+ url('images/2x/brokenssl_red.png') 2x);
+}
+
@media (max-width: 700px) {
.interstitial-wrapper {
padding: 0 10%;

Powered by Google App Engine
This is Rietveld 408576698