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

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

Issue 339503004: Add the extended reporting checkbox to the malware interstitial v3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: opt-in, not optin 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 84506997e4ccbe963d7e9970b6b3e813df2f1a77..5d40546dbab7d061c3847eb7eb62322cf91ef030 100644
--- a/chrome/browser/resources/ssl/interstitial_v2.css
+++ b/chrome/browser/resources/ssl/interstitial_v2.css
@@ -46,7 +46,7 @@ button:hover {
#details {
color: #696969;
- margin: 45px 0 150px 0;
+ margin: 45px 0 50px;
}
#details p:not(:first-of-type) {
@@ -88,8 +88,13 @@ h1 {
width: 100%;
}
+#malware-opt-in {
+ font-size: .875em;
+ margin-top: 39px;
+}
+
.nav-wrapper {
- margin-top: 84px;
+ margin-top: 51px;
}
.nav-wrapper::after {
@@ -99,9 +104,8 @@ h1 {
width: 100%;
}
-.small-link {
- color: #696969;
- font-size: .875em;
+#opt-in-label {
+ -webkit-margin-start: 32px;
}
.safe-browsing a,
@@ -121,12 +125,59 @@ h1 {
url('../safe_browsing/images/2x/stop_sign.png') 2x);
}
+.small-link {
+ color: #696969;
+ font-size: .875em;
+}
+
.ssl .icon {
background-image: -webkit-image-set(
url('images/1x/brokenssl_red.png') 1x,
url('images/2x/brokenssl_red.png') 2x);
}
+.styled-checkbox {
+ float: left;
+ height: 16px;
+ margin-top: .36em;
+ position: relative;
+ width: 16px;
+}
+
+[dir='rtl'] .styled-checkbox {
+ float: right;
+}
+
+.styled-checkbox label {
+ background-color: white;
+ border-radius: 2px;
+ height: 16px;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: 0;
+ width: 16px;
+}
+
+.styled-checkbox label::after {
+ background: transparent;
+ border: 2px solid rgb(217, 69, 61);
+ border-right-width: 0;
+ border-top-width: 0;
+ content: '';
+ height: 4px;
+ left: 3px;
+ opacity: 0.3;
+ position: absolute;
+ top: 4px;
+ transform: rotate(-45deg);
+ width: 9px;
+}
+
+.styled-checkbox input[type=checkbox]:checked + label::after {
+ opacity: 1;
+}
+
@media (max-width: 700px) {
.interstitial-wrapper {
padding: 0 10%;
@@ -166,6 +217,10 @@ h1 {
padding: 0 5%;
}
+ #malware-opt-in {
+ margin-top: 24px;
+ }
+
.nav-wrapper {
margin-top: 30px;
}
« no previous file with comments | « chrome/browser/resources/safe_browsing/safe_browsing_v3.js ('k') | chrome/browser/resources/ssl/interstitial_v2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698