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

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

Issue 339503004: Add the extended reporting checkbox to the malware interstitial v3 (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. */ 3 found in the LICENSE file. */
4 4
5 a { 5 a {
6 color: #585858; 6 color: #585858;
7 } 7 }
8 8
9 body { 9 body {
10 background: rgb(247, 247, 247); 10 background: rgb(247, 247, 247);
(...skipping 28 matching lines...) Expand all
39 button:active { 39 button:active {
40 background: rgb(50, 102, 213); 40 background: rgb(50, 102, 213);
41 } 41 }
42 42
43 button:hover { 43 button:hover {
44 box-shadow: 0 1px 3px rgba(0, 0, 0, .50); 44 box-shadow: 0 1px 3px rgba(0, 0, 0, .50);
45 } 45 }
46 46
47 #details { 47 #details {
48 color: #696969; 48 color: #696969;
49 margin: 45px 0 150px 0; 49 margin: 45px 0 50px 0;
50 } 50 }
51 51
52 #details p:not(:first-of-type) { 52 #details p:not(:first-of-type) {
53 margin-top: 39px; 53 margin-top: 39px;
54 } 54 }
55 55
56 #error-code { 56 #error-code {
57 color: black; 57 color: black;
58 opacity: .35; 58 opacity: .35;
59 text-transform: uppercase; 59 text-transform: uppercase;
(...skipping 21 matching lines...) Expand all
81 81
82 .interstitial-wrapper { 82 .interstitial-wrapper {
83 box-sizing: border-box; 83 box-sizing: border-box;
84 font-size: 1em; 84 font-size: 1em;
85 line-height: 1.6em; 85 line-height: 1.6em;
86 margin: 100px auto 0; 86 margin: 100px auto 0;
87 max-width: 600px; 87 max-width: 600px;
88 width: 100%; 88 width: 100%;
89 } 89 }
90 90
91 #malware-optin {
92 font-size: .875em;
93 margin-top: 39px;
94 }
95
91 .nav-wrapper { 96 .nav-wrapper {
92 margin-top: 84px; 97 margin-top: 51px;
93 } 98 }
94 99
95 .nav-wrapper::after { 100 .nav-wrapper::after {
96 clear: both; 101 clear: both;
97 content: ''; 102 content: '';
98 display: table; 103 display: table;
99 width: 100%; 104 width: 100%;
100 } 105 }
101 106
102 .small-link { 107 #optin-label {
103 color: #696969; 108 margin-left: 32px;
Dan Beam 2014/06/16 19:05:50 RTL?
felt 2014/06/17 05:41:55 Done.
104 font-size: .875em;
105 } 109 }
106 110
107 .safe-browsing a, 111 .safe-browsing a,
108 .safe-browsing #details, 112 .safe-browsing #details,
109 .safe-browsing #details-button, 113 .safe-browsing #details-button,
110 .safe-browsing h1 { 114 .safe-browsing h1 {
111 color: rgb(255, 255, 255); 115 color: rgb(255, 255, 255);
112 } 116 }
113 117
114 .safe-browsing button { 118 .safe-browsing button {
115 background: rgba(255, 255, 255, 0.15); 119 background: rgba(255, 255, 255, 0.15);
116 } 120 }
117 121
118 .safe-browsing .icon { 122 .safe-browsing .icon {
119 background-image: -webkit-image-set( 123 background-image: -webkit-image-set(
120 url('../safe_browsing/images/1x/stop_sign.png') 1x, 124 url('../safe_browsing/images/1x/stop_sign.png') 1x,
121 url('../safe_browsing/images/2x/stop_sign.png') 2x); 125 url('../safe_browsing/images/2x/stop_sign.png') 2x);
122 } 126 }
123 127
128 .small-link {
129 color: #696969;
130 font-size: .875em;
131 }
132
124 .ssl .icon { 133 .ssl .icon {
125 background-image: -webkit-image-set( 134 background-image: -webkit-image-set(
126 url('images/1x/brokenssl_red.png') 1x, 135 url('images/1x/brokenssl_red.png') 1x,
127 url('images/2x/brokenssl_red.png') 2x); 136 url('images/2x/brokenssl_red.png') 2x);
128 } 137 }
129 138
139 .styled-checkbox {
140 float: left;
Dan Beam 2014/06/16 19:05:50 RTL?
felt 2014/06/17 05:41:55 Done.
141 height: 16px;
142 margin-top: .36em;
143 position: relative;
144 width: 16px;
145 }
146
147 .styled-checkbox label {
148 background-color: white;
149 border-radius: 2px;
150 cursor: pointer;
151 height: 16px;
152 left: 0;
153 position: absolute;
154 top: 0;
155 width: 16px;
156 }
157
158 .styled-checkbox label::after {
159 background: transparent;
160 border: 2px solid rgb(217, 69, 61);
161 border-right: 0;
Dan Beam 2014/06/16 19:05:50 RTL?
felt 2014/06/17 05:41:55 Is it normal for checkboxes to be checked backward
Dan Beam 2014/06/17 17:52:54 i guess not
162 border-top: 0;
163 content: '';
164 height: 4px;
165 left: 3px;
166 opacity: 0.3;
167 position: absolute;
168 top: 4px;
169 transform: rotate(-45deg);
170 width: 9px;
171 }
172
173 .styled-checkbox input[type=checkbox]:checked + label::after {
174 opacity: 1;
175 }
176
130 @media (max-width: 700px) { 177 @media (max-width: 700px) {
131 .interstitial-wrapper { 178 .interstitial-wrapper {
132 padding: 0 10%; 179 padding: 0 10%;
133 } 180 }
134 } 181 }
135 182
136 @media (max-height: 600px) { 183 @media (max-height: 600px) {
137 .interstitial-wrapper { 184 .interstitial-wrapper {
138 margin-top: 13%; 185 margin-top: 13%;
139 } 186 }
(...skipping 19 matching lines...) Expand all
159 display: block; 206 display: block;
160 padding-top: 14px; 207 padding-top: 14px;
161 text-align: center; 208 text-align: center;
162 width: 100%; 209 width: 100%;
163 } 210 }
164 211
165 .interstitial-wrapper { 212 .interstitial-wrapper {
166 padding: 0 5%; 213 padding: 0 5%;
167 } 214 }
168 215
216 #malware-optin {
217 margin-top: 24px;
218 }
219
169 .nav-wrapper { 220 .nav-wrapper {
170 margin-top: 30px; 221 margin-top: 30px;
171 } 222 }
172 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698