Chromium Code Reviews| 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; |
| } |
| } |