| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The Chromium Authors. All rights reserved. | 2 * Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 :host { | 7 :host { |
| 8 white-space: nowrap; | 8 white-space: nowrap; |
| 9 } | 9 } |
| 10 | 10 |
| 11 .bezier-swatch { | 11 .shadow-swatch-icon { |
| 12 position: relative; | 12 position: relative; |
| 13 margin-left: 1px; | 13 margin-left: 1px; |
| 14 margin-right: 2px; | 14 margin-right: 2px; |
| 15 width: 10px; | 15 width: 10px; |
| 16 height: 10px; | 16 height: 10px; |
| 17 top: 1px; | 17 top: 1px; |
| 18 display: inline-block; | 18 display: inline-block; |
| 19 -webkit-user-select: none; | 19 -webkit-user-select: none; |
| 20 line-height: 10px; | 20 line-height: 10px; |
| 21 -webkit-mask-image: url(Images/smallIcons.png); | 21 -webkit-mask-image: url(Images/smallIcons.png); |
| 22 -webkit-mask-size: 190px 30px; | 22 -webkit-mask-size: 190px 30px; |
| 23 -webkit-mask-position: -80px -20px; | 23 -webkit-mask-position: -60px -20px; |
| 24 background-color: #9C27B0; | 24 background-color: #9C27B0; |
| 25 } | 25 } |
| 26 | 26 |
| 27 @media (-webkit-min-device-pixel-ratio: 1.5) { | 27 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 28 .bezier-swatch { | 28 .shadow-swatch-icon { |
| 29 -webkit-mask-image: url(Images/smallIcons_2x.png); | 29 -webkit-mask-image: url(Images/smallIcons_2x.png); |
| 30 } | 30 } |
| 31 } /* media */ | 31 } /* media */ |
| 32 | 32 |
| 33 .bezier-swatch:hover { | 33 .shadow-swatch-icon:hover { |
| 34 background-color: #800080; | 34 background-color: #800080; |
| 35 } | 35 } |
| OLD | NEW |