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 84506997e4ccbe963d7e9970b6b3e813df2f1a77..9ddec576a070692ac85f2f4487c641a60e46ca91 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 0; |
|
Dan Beam
2014/06/17 18:07:23
did this ever work in RTL? can you try the code?
felt
2014/06/17 18:25:52
this specifies the top and bottom margins, with bo
Dan Beam
2014/06/17 18:28:31
oh, sorry, i just misread.
FYI: this could be
felt
2014/06/17 18:29:39
Done.
|
| } |
| #details p:not(:first-of-type) { |
| @@ -88,8 +88,13 @@ h1 { |
| width: 100%; |
| } |
| +#malware-optin { |
| + 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; |
| +#optin-label { |
| + -webkit-margin-start: 32px; |
| } |
| .safe-browsing a, |
| @@ -121,12 +125,60 @@ 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; |
| + cursor: pointer; |
| + 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 +218,10 @@ h1 { |
| padding: 0 5%; |
| } |
| + #malware-optin { |
| + margin-top: 24px; |
| + } |
| + |
| .nav-wrapper { |
| margin-top: 30px; |
| } |