| OLD | NEW |
| 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 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 | 5 |
| 6 .lock-icon, | 6 .lock-icon, |
| 7 .security-property { | 7 .security-property { |
| 8 background-size: cover; | |
| 9 height: 16px; | 8 height: 16px; |
| 10 width: 16px; | 9 width: 16px; |
| 10 |
| 11 -webkit-mask-image: url(Images/securityIcons.png); |
| 12 -webkit-mask-size: 80px 32px; |
| 13 |
| 14 background-color: #888; |
| 11 } | 15 } |
| 12 | 16 |
| 13 .lock-icon-unknown { | 17 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 14 background-image: url(Images/securityStateNeutral.svg); | 18 .lock-icon, |
| 19 .security-property { |
| 20 -webkit-mask-image: url(Images/securityIcons_2x.png); |
| 21 } |
| 15 } | 22 } |
| 16 | 23 |
| 24 .lock-icon-secure { |
| 25 -webkit-mask-position: 0px 0px; |
| 26 background-color: #0B8043; |
| 27 } |
| 28 |
| 29 .lock-icon-unknown, |
| 17 .lock-icon-neutral { | 30 .lock-icon-neutral { |
| 18 background-image: url(Images/securityStateNeutral.svg); | 31 -webkit-mask-position: -16px 0px; |
| 32 background-color: #000000; /* Black for clarity on lower DPI screens */ |
| 33 } |
| 34 |
| 35 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 36 .lock-icon-unknown, |
| 37 .lock-icon-neutral { |
| 38 background-color: #5A5A5A; /* Gray for hiDPI screens */ |
| 39 } |
| 19 } | 40 } |
| 20 | 41 |
| 21 .lock-icon-insecure { | 42 .lock-icon-insecure { |
| 22 background-image: url(Images/securityStateInsecure.svg); | 43 -webkit-mask-position: -32px 0px; |
| 44 background-color: #C63626; |
| 23 } | 45 } |
| 24 | 46 |
| 25 .lock-icon-secure { | 47 .security-property-secure { |
| 26 background-image: url(Images/securityStateSecure.svg); | 48 -webkit-mask-position: 0px -16px; |
| 49 background-color: #0B8043; |
| 50 } |
| 51 |
| 52 .security-property-neutral { |
| 53 -webkit-mask-position: -16px -16px; |
| 54 background-color: #C63626; |
| 27 } | 55 } |
| 28 | 56 |
| 29 .security-property-insecure { | 57 .security-property-insecure { |
| 30 background-image: url(Images/securityPropertyInsecure.svg); | 58 -webkit-mask-position: -32px -16px; |
| 59 background-color: #C63626; |
| 31 } | 60 } |
| 32 | 61 |
| 33 .security-property-neutral { | 62 .security-property-info { |
| 34 background-image: url(Images/securityPropertyWarning.svg); | 63 -webkit-mask-position: -48px -16px; |
| 35 } | 64 background-color: rgba(0, 0, 0, 0.5); |
| 36 | |
| 37 .security-property-warning { | |
| 38 background-image: url(Images/securityPropertyWarning.svg); | |
| 39 } | 65 } |
| 40 | 66 |
| 41 .security-property-unknown { | 67 .security-property-unknown { |
| 42 background-image: url(Images/securityPropertyUnknown.svg); | 68 -webkit-mask-position: -64px -16px; |
| 69 background-color: rgba(0, 0, 0, 0.5); |
| 43 } | 70 } |
| 44 | |
| 45 .security-property-secure { | |
| 46 background-image: url(Images/securityPropertySecure.svg); | |
| 47 } | |
| 48 | |
| 49 .security-property-info { | |
| 50 background-image: url(Images/securityPropertyInfo.svg); | |
| 51 } | |
| OLD | NEW |