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

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

Issue 328293002: Made the new interstitial layout more mobile-friendly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 309d4534ee7532eb7ec9e602733ddf653fda45ff..dbd5b58b30c15115a71ac50eddbda7139a4acc4f 100644
--- a/chrome/browser/resources/ssl/interstitial_v2.css
+++ b/chrome/browser/resources/ssl/interstitial_v2.css
@@ -31,6 +31,10 @@ button {
padding: 8px 24px;
}
+[dir='rtl'] button {
+ float: left;
+}
+
button:active {
background: rgb(50, 102, 213);
}
@@ -108,19 +112,62 @@ h1 {
}
.safe-browsing .icon {
- background: -webkit-image-set(
+ background-image: -webkit-image-set(
url('../safe_browsing/images/1x/stop_sign.png') 1x,
url('../safe_browsing/images/2x/stop_sign.png') 2x);
}
.ssl .icon {
- background: -webkit-image-set(
+ background-image: -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%;
+ padding: 0 15%;
+ }
+}
+
+@media (max-width: 400px) {
+ button,
+ [dir='rtl'] button {
+ float: none;
+ height: auto;
+ width: 100%;
+ }
+
+ #details {
+ margin: 20px 0 20px 0;
+ }
+
+ #details p:not(:first-of-type) {
+ margin-top: 10px;
+ }
+
+ #details-button {
+ display: block;
+ padding-top: 10px;
+ text-align: center;
+ width: 100%;
+ }
+
+ h1 {
+ line-height: normal;
+ }
+
+ .icon {
+ background-size: 40px 40px;
+ height: 40px;
+ margin: 0 0 20px;
+ width: 40px;
+ }
+
+ .interstitial-wrapper {
+ padding: 0 5%;
+ }
+
+ #main-message {
+ height: 160px;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698