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..c568efbd0fd0b58c7dc47e914b747d61ffe7a1aa 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; |
| } |
| #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,12 @@ h1 { |
| width: 100%; |
| } |
| -.small-link { |
| - color: #696969; |
| - font-size: .875em; |
| +#optin-label { |
| + margin-left: 32px; |
|
Dan Beam
2014/06/17 17:52:54
-webkit-margin-start: 32px; (no need for [dir='rt
felt
2014/06/17 18:03:28
oh! that's how it's done. I was trying to remember
|
| +} |
| + |
| +[dir='rtl'] #optin-label { |
| + margin-right: 32px; |
| } |
| .safe-browsing a, |
| @@ -121,12 +129,59 @@ 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; |
|
Dan Beam
2014/06/17 17:52:54
^ why is this a hand?
felt
2014/06/17 18:03:28
because the checkbox is clickable. note that this
Dan Beam
2014/06/17 18:07:23
there's no hand on any label/checkbox/radio in set
felt
2014/06/17 18:25:52
ah, I didn't realize that. un-handing.
|
| + height: 16px; |
| + left: 0; |
| + position: absolute; |
|
Dan Beam
2014/06/17 17:52:54
does this need a right: 0;? (which would take prec
felt
2014/06/17 18:03:28
Done.
|
| + top: 0; |
| + width: 16px; |
| +} |
| + |
| +.styled-checkbox label::after { |
| + background: transparent; |
| + border: 2px solid rgb(217, 69, 61); |
| + border-right: 0; |
|
Dan Beam
2014/06/17 17:52:54
border-right-width: 0; /* @noflip */
border-top-w
felt
2014/06/17 18:03:27
Done.
|
| + border-top: 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 +221,10 @@ h1 { |
| padding: 0 5%; |
| } |
| + #malware-optin { |
| + margin-top: 24px; |
| + } |
| + |
| .nav-wrapper { |
| margin-top: 30px; |
| } |