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

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

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move off the record check before UMA stats collection Created 5 years, 10 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/security_warnings/interstitial_v2.css
diff --git a/chrome/browser/resources/security_warnings/interstitial_v2.css b/chrome/browser/resources/security_warnings/interstitial_v2.css
index a847191b8d9ac197f4abe56a7fd247eea65b53eb..cf5c136871d02a434cc7a2dacc4cf37c8fc19751 100644
--- a/chrome/browser/resources/security_warnings/interstitial_v2.css
+++ b/chrome/browser/resources/security_warnings/interstitial_v2.css
@@ -141,7 +141,7 @@ input[type=checkbox] {
width: 100%;
}
-#malware-opt-in {
+#extended-reporting-opt-in {
font-size: .875em;
margin-top: 39px;
}
@@ -221,7 +221,6 @@ input[type=checkbox] {
.styled-checkbox label {
background: transparent;
- border: white solid 1px;
border-radius: 2px;
height: 14px;
left: 0;
@@ -233,9 +232,6 @@ input[type=checkbox] {
.styled-checkbox .checkbox-tick {
background: transparent;
- border: 2px solid white;
- border-right-width: 0;
- border-top-width: 0;
content: '';
height: 4px;
left: 2px;
@@ -246,6 +242,26 @@ input[type=checkbox] {
width: 9px;
}
+.safe-browsing-opt-in .styled-checkbox label {
+ border: white solid 1px;
+}
+
+.safe-browsing-opt-in .styled-checkbox .checkbox-tick {
+ border: white solid 1px;
+ border-right-width: 0;
+ border-top-width: 0;
+}
+
+.ssl-opt-in .styled-checkbox label {
+ border: #696969 solid 1px;
+}
+
+.ssl-opt-in .styled-checkbox .checkbox-tick {
+ border: #696969 solid 1px;
+ border-right-width: 0;
+ border-top-width: 0;
+}
+
.styled-checkbox input[type=checkbox]:checked ~ .checkbox-tick {
opacity: 1;
}
@@ -291,7 +307,7 @@ input[type=checkbox] {
padding: 0 5%;
}
- #malware-opt-in {
+ #extended-reporting-opt-in {
margin-top: 24px;
}
@@ -419,7 +435,7 @@ input[type=checkbox] {
}
@media (min-height: 400px) and (orientation:portrait) {
- body:not(.safe-browsing-has-checkbox) .interstitial-wrapper {
+ body:not(.extended-reporting-has-checkbox) .interstitial-wrapper {
margin-bottom: 145px;
}
}
@@ -453,7 +469,7 @@ input[type=checkbox] {
}
@media (min-height: 500px) and (max-width: 414px) and (orientation: portrait) {
- :not(.safe-browsing-has-checkbox) .interstitial-wrapper {
+ :not(.extended-reporting-has-checkbox) .interstitial-wrapper {
margin-top: 96px;
}
}
@@ -534,7 +550,7 @@ input[type=checkbox] {
margin-top: 0;
}
- #malware-opt-in {
+ #extended-reporting-opt-in {
margin-top: 0;
}
@@ -609,30 +625,30 @@ input[type=checkbox] {
}
}
-/* Malware opt-in. No fixed nav. */
+/* Extended reporting opt-in. No fixed nav. */
@media (max-height: 600px) and (orientation: portrait),
(max-height: 360px) and (orientation: landscape) {
- .safe-browsing-has-checkbox .interstitial-wrapper {
+ .extended-reporting-has-checkbox .interstitial-wrapper {
display: flex;
flex-direction: column;
margin-bottom: 0;
}
- .safe-browsing-has-checkbox #details {
+ .extended-reporting-has-checkbox #details {
flex: 1 1 auto;
order: 0;
}
- .safe-browsing-has-checkbox #main-content {
+ .extended-reporting-has-checkbox #main-content {
flex: 1 1 auto;
order: 0;
}
- .safe-browsing-has-checkbox #malware-opt-in {
+ .extended-reporting-has-checkbox #extended-reporting-opt-in {
margin-bottom: 8px;
}
- body.safe-browsing-has-checkbox .nav-wrapper {
+ body.extended-reporting-has-checkbox .nav-wrapper {
flex: 0 1 auto;
margin-top: 0;
order: 1;

Powered by Google App Engine
This is Rietveld 408576698