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

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: 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 e76e014df208e61ad9fe1108f969085ff439a9ad..2bdb41b144fc76b397a03264672a0b02c3afd018 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;
Bernhard Bauer 2014/06/12 06:25:14 I thought there was a way to make this work automa
+}
+
button:hover {
box-shadow: 0 1px 3px rgba(0, 0, 0, .50);
}
@@ -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