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

Side by Side Diff: chrome/browser/resources/ssl/blocking.css

Issue 23965003: New SSL blocking screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored to share more code Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 .explanation-par {
6 color: #444;
Patrick Dubroy 2013/09/18 15:01:35 This should probably be a more general rule that s
felt 2013/10/18 05:53:12 This rule is needed to override the styling set in
Patrick Dubroy 2013/10/21 07:48:50 Almost all the text on the page is #444 and align:
felt 2013/10/21 13:08:34 Done, although note I had to put the buttons in a
7 padding: 0 20px 20px 20px;
8 text-align: start;
9 }
10
11 h2 {
12 color: #666;
13 font-size: 1.2em;
14 font-weight: normal;
15 margin: 10px 0;
16 }
17
18 #icon-lock {
19 content: -webkit-image-set(
20 url('locked_page_100.png') 1x,
21 url('locked_page_200.png') 2x);
22 padding-bottom: 15px;
23 padding-top: 10px;
24 }
25
26 /* Increase line height at higher resolutions. */
27 @media (min-width: 641px) and (min-height: 641px) {
28 .explanation-par {
29 line-height: 18px;
30 }
31 .ssl-help-box-inner {
32 line-height: 18px;
33 }
34 }
35
36 /* Decrease padding at low sizes. */
37 @media (max-width: 640px) {
38 .explanation-par {
39 padding: 0 20px 20px 20px;
Patrick Dubroy 2013/09/18 15:01:35 This is exactly the same as the default padding th
felt 2013/10/18 05:53:12 That was a mistake, decreased.
40 }
41 .ssl-help-box-inner {
42 padding: 0 20px;
Patrick Dubroy 2013/09/18 15:01:35 This is also the same as the default padding.
felt 2013/10/18 05:53:12 That was a mistake, decreased.
43 }
44 }
45
46 /* Decrease padding at low sizes. */
47 @media (max-height: 640px) {
48 .explanation-par {
49 padding: 0 10px 10px 10px;
50 }
51 .ssl-help-box-inner {
52 padding: 0 20px;
Patrick Dubroy 2013/09/18 15:01:35 Same again.
felt 2013/10/18 05:53:12 That was a mistake, decreased.
53 }
54 }
55
56 .outer-explanation-par {
Patrick Dubroy 2013/09/18 15:01:35 Where is the class even used?
felt 2013/10/18 05:53:12 Good catch, removed.
57 -webkit-transition: height ease-in 218ms;
58 overflow: hidden;
59 }
60
61 .ssl-help-box-inner {
62 padding: 0 20px;
Patrick Dubroy 2013/09/18 15:01:35 Won't this cause an *additional* 20px padding on t
felt 2013/10/18 05:53:12 Yes, that's exactly why I added ssl-help-box-inner
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698