OLD | NEW |
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-color: #f7f7f7; | 10 background-color: #f7f7f7; |
11 color: #585858; | 11 color: #585858; |
12 font-size: 125%; | 12 font-size: 125%; |
13 } | 13 } |
14 | 14 |
15 body.safe-browsing { | 15 body.safe-browsing { |
16 background-color: rgb(206, 52, 38); | 16 background-color: rgb(206, 52, 38); |
17 color: white; | 17 color: white; |
18 } | 18 } |
19 | 19 |
| 20 body.yellow { |
| 21 background-color: rgb(255, 220, 59); |
| 22 color: black; |
| 23 } |
| 24 |
20 button { | 25 button { |
21 background: rgb(76, 142, 250); | 26 background: rgb(76, 142, 250); |
22 border: 0; | 27 border: 0; |
23 border-radius: 2px; | 28 border-radius: 2px; |
24 box-sizing: border-box; | 29 box-sizing: border-box; |
25 color: #fff; | 30 color: #fff; |
26 cursor: pointer; | 31 cursor: pointer; |
27 float: right; | 32 float: right; |
28 font-size: .875em; | 33 font-size: .875em; |
29 height: 36px; | 34 height: 36px; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 } | 116 } |
112 | 117 |
113 #opt-in-label { | 118 #opt-in-label { |
114 -webkit-margin-start: 32px; | 119 -webkit-margin-start: 32px; |
115 } | 120 } |
116 | 121 |
117 .safe-browsing a, | 122 .safe-browsing a, |
118 .safe-browsing #details, | 123 .safe-browsing #details, |
119 .safe-browsing #details-button, | 124 .safe-browsing #details-button, |
120 .safe-browsing h1, | 125 .safe-browsing h1, |
121 .safe-browsing h2 { | 126 .safe-browsing h2, |
| 127 .safe-browsing .small-link { |
122 color: white; | 128 color: white; |
123 } | 129 } |
124 | 130 |
125 .safe-browsing button { | 131 .safe-browsing button { |
126 background-color: rgb(206, 52, 38); | 132 background-color: rgb(206, 52, 38); |
127 border: 1px solid white; | 133 border: 1px solid white; |
128 } | 134 } |
129 | 135 |
130 .safe-browsing button:active { | 136 .safe-browsing button:active { |
131 background-color: rgb(206, 52, 38); | 137 background-color: rgb(206, 52, 38); |
132 border-color: rgba(255, 255, 255, .6); | 138 border-color: rgba(255, 255, 255, .6); |
133 } | 139 } |
134 | 140 |
135 .safe-browsing button:hover { | 141 .safe-browsing button:hover { |
136 box-shadow: 0 2px 3px rgba(0, 0, 0, .5); | 142 box-shadow: 0 2px 3px rgba(0, 0, 0, .5); |
137 } | 143 } |
138 | 144 |
139 .safe-browsing .icon { | 145 .safe-browsing .icon { |
140 background-image: -webkit-image-set( | 146 background-image: -webkit-image-set( |
141 url('../safe_browsing/images/1x/stop_sign.png') 1x, | 147 url(../safe_browsing/images/1x/stop_sign.png) 1x, |
142 url('../safe_browsing/images/2x/stop_sign.png') 2x); | 148 url(../safe_browsing/images/2x/stop_sign.png) 2x); |
143 } | 149 } |
144 | 150 |
145 .small-link { | 151 .small-link { |
146 color: #696969; | 152 color: #696969; |
147 font-size: .875em; | 153 font-size: .875em; |
148 } | 154 } |
149 | 155 |
150 .ssl .icon { | 156 .ssl .icon { |
151 background-image: -webkit-image-set( | 157 background-image: -webkit-image-set( |
152 url('images/1x/brokenssl_red.png') 1x, | 158 url(images/1x/brokenssl_red.png) 1x, |
153 url('images/2x/brokenssl_red.png') 2x); | 159 url(images/2x/brokenssl_red.png) 2x); |
| 160 } |
| 161 |
| 162 .ssl-guard .icon { |
| 163 background-image: -webkit-image-set( |
| 164 url(images/1x/brokenssl_guard.png) 1x, |
| 165 url(images/2x/brokenssl_guard.png) 2x) !important; |
| 166 height: 104px; |
| 167 width: 94px; |
154 } | 168 } |
155 | 169 |
156 .styled-checkbox { | 170 .styled-checkbox { |
157 float: left; | 171 float: left; |
158 height: 16px; | 172 height: 16px; |
159 margin-top: .36em; | 173 margin-top: .36em; |
160 position: relative; | 174 position: relative; |
161 width: 16px; | 175 width: 16px; |
162 } | 176 } |
163 | 177 |
(...skipping 24 matching lines...) Expand all Loading... |
188 position: absolute; | 202 position: absolute; |
189 top: 4px; | 203 top: 4px; |
190 transform: rotate(-45deg); | 204 transform: rotate(-45deg); |
191 width: 9px; | 205 width: 9px; |
192 } | 206 } |
193 | 207 |
194 .styled-checkbox input[type=checkbox]:checked + label::after { | 208 .styled-checkbox input[type=checkbox]:checked + label::after { |
195 opacity: 1; | 209 opacity: 1; |
196 } | 210 } |
197 | 211 |
| 212 .yellow a, |
| 213 .yellow #details, |
| 214 .yellow #details-button, |
| 215 .yellow h1, |
| 216 .yellow small-link { |
| 217 color: black; |
| 218 } |
| 219 |
| 220 .yellow .icon { |
| 221 background-image: -webkit-image-set( |
| 222 url(images/1x/brokenssl_yellow.png) 1x, |
| 223 url(images/2x/brokenssl_yellow.png) 2x); |
| 224 } |
| 225 |
198 @media (max-width: 700px) { | 226 @media (max-width: 700px) { |
199 .interstitial-wrapper { | 227 .interstitial-wrapper { |
200 padding: 0 10%; | 228 padding: 0 10%; |
201 } | 229 } |
202 } | 230 } |
203 | 231 |
204 @media (max-height: 600px) { | 232 @media (max-height: 600px) { |
205 .interstitial-wrapper { | 233 .interstitial-wrapper { |
206 margin-top: 13%; | 234 margin-top: 13%; |
207 } | 235 } |
(...skipping 27 matching lines...) Expand all Loading... |
235 } | 263 } |
236 | 264 |
237 #malware-opt-in { | 265 #malware-opt-in { |
238 margin-top: 24px; | 266 margin-top: 24px; |
239 } | 267 } |
240 | 268 |
241 .nav-wrapper { | 269 .nav-wrapper { |
242 margin-top: 30px; | 270 margin-top: 30px; |
243 } | 271 } |
244 } | 272 } |
OLD | NEW |