Chromium Code Reviews| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 107 clear: both; | 112 clear: both; |
| 108 content: ''; | 113 content: ''; |
| 109 display: table; | 114 display: table; |
| 110 width: 100%; | 115 width: 100%; |
| 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 :-webkit-any( |
| 118 .safe-browsing #details, | 123 a, #details, #details-button, h1, h2, .small-link) { |
| 119 .safe-browsing #details-button, | |
| 120 .safe-browsing h1, | |
| 121 .safe-browsing h2 { | |
| 122 color: white; | 124 color: white; |
| 123 } | 125 } |
| 124 | 126 |
| 125 .safe-browsing button { | 127 .safe-browsing button { |
| 126 background-color: rgb(206, 52, 38); | 128 background-color: rgb(206, 52, 38); |
| 127 border: 1px solid white; | 129 border: 1px solid white; |
| 128 } | 130 } |
| 129 | 131 |
| 130 .safe-browsing button:active { | 132 .safe-browsing button:active { |
| 131 background-color: rgb(206, 52, 38); | 133 background-color: rgb(206, 52, 38); |
| 132 border-color: rgba(255, 255, 255, .6); | 134 border-color: rgba(255, 255, 255, .6); |
| 133 } | 135 } |
| 134 | 136 |
| 135 .safe-browsing button:hover { | 137 .safe-browsing button:hover { |
| 136 box-shadow: 0 2px 3px rgba(0, 0, 0, .5); | 138 box-shadow: 0 2px 3px rgba(0, 0, 0, .5); |
| 137 } | 139 } |
| 138 | 140 |
| 139 .safe-browsing .icon { | 141 .safe-browsing .icon { |
| 140 background-image: -webkit-image-set( | 142 background-image: -webkit-image-set( |
| 141 url('../safe_browsing/images/1x/stop_sign.png') 1x, | 143 url(../safe_browsing/images/1x/stop_sign.png) 1x, |
| 142 url('../safe_browsing/images/2x/stop_sign.png') 2x); | 144 url(../safe_browsing/images/2x/stop_sign.png) 2x); |
| 143 } | 145 } |
| 144 | 146 |
| 145 .small-link { | 147 .small-link { |
| 146 color: #696969; | 148 color: #696969; |
| 147 font-size: .875em; | 149 font-size: .875em; |
| 148 } | 150 } |
| 149 | 151 |
| 150 .ssl .icon { | 152 .ssl .icon { |
| 151 background-image: -webkit-image-set( | 153 background-image: -webkit-image-set( |
| 152 url('images/1x/brokenssl_red.png') 1x, | 154 url(images/1x/brokenssl_red.png) 1x, |
| 153 url('images/2x/brokenssl_red.png') 2x); | 155 url(images/2x/brokenssl_red.png) 2x); |
| 156 } | |
| 157 | |
| 158 .ssl-guard .icon { | |
| 159 background-image: -webkit-image-set( | |
| 160 url(images/1x/brokenssl_guard.png) 1x, | |
| 161 url(images/2x/brokenssl_guard.png) 2x) !important; | |
|
Dan Beam
2014/06/21 02:13:47
^ ping on removing !important
felt
2014/06/21 02:24:44
it has been banished
| |
| 162 height: 104px; | |
| 163 width: 94px; | |
| 154 } | 164 } |
| 155 | 165 |
| 156 .styled-checkbox { | 166 .styled-checkbox { |
| 157 float: left; | 167 float: left; |
| 158 height: 16px; | 168 height: 16px; |
| 159 margin-top: .36em; | 169 margin-top: .36em; |
| 160 position: relative; | 170 position: relative; |
| 161 width: 16px; | 171 width: 16px; |
| 162 } | 172 } |
| 163 | 173 |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 188 position: absolute; | 198 position: absolute; |
| 189 top: 4px; | 199 top: 4px; |
| 190 transform: rotate(-45deg); | 200 transform: rotate(-45deg); |
| 191 width: 9px; | 201 width: 9px; |
| 192 } | 202 } |
| 193 | 203 |
| 194 .styled-checkbox input[type=checkbox]:checked + label::after { | 204 .styled-checkbox input[type=checkbox]:checked + label::after { |
| 195 opacity: 1; | 205 opacity: 1; |
| 196 } | 206 } |
| 197 | 207 |
| 208 .yellow :-webkit-any( | |
| 209 a, #details, #details-button, h1, .small-link) { | |
| 210 color: black; | |
| 211 } | |
| 212 | |
| 213 .yellow .icon { | |
| 214 background-image: -webkit-image-set( | |
| 215 url(images/1x/brokenssl_yellow.png) 1x, | |
| 216 url(images/2x/brokenssl_yellow.png) 2x); | |
| 217 } | |
| 218 | |
| 198 @media (max-width: 700px) { | 219 @media (max-width: 700px) { |
| 199 .interstitial-wrapper { | 220 .interstitial-wrapper { |
| 200 padding: 0 10%; | 221 padding: 0 10%; |
| 201 } | 222 } |
| 202 } | 223 } |
| 203 | 224 |
| 204 @media (max-height: 600px) { | 225 @media (max-height: 600px) { |
| 205 .interstitial-wrapper { | 226 .interstitial-wrapper { |
| 206 margin-top: 13%; | 227 margin-top: 13%; |
| 207 } | 228 } |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 235 } | 256 } |
| 236 | 257 |
| 237 #malware-opt-in { | 258 #malware-opt-in { |
| 238 margin-top: 24px; | 259 margin-top: 24px; |
| 239 } | 260 } |
| 240 | 261 |
| 241 .nav-wrapper { | 262 .nav-wrapper { |
| 242 margin-top: 30px; | 263 margin-top: 30px; |
| 243 } | 264 } |
| 244 } | 265 } |
| OLD | NEW |