| OLD | NEW |
| 1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 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 :host { | 6 #iconButton { |
| 7 background: transparent; | |
| 8 border: none; | |
| 9 border-radius: 50%; | |
| 10 height: 24px; | |
| 11 margin: 0; | |
| 12 outline: none; | |
| 13 padding: 0; | 7 padding: 0; |
| 14 width: 24px; | |
| 15 } | 8 } |
| 16 | |
| 17 :host(:hover) { | |
| 18 cursor: pointer; | |
| 19 } | |
| 20 | |
| 21 :host(:focus) { | |
| 22 background: rgba(0, 0, 0, .16); | |
| 23 border-color: transparent; | |
| 24 opacity: 0.75; | |
| 25 } | |
| 26 | |
| 27 :host(:active) { | |
| 28 background: rgba(0, 0, 0, .12); | |
| 29 opacity: 1.0; | |
| 30 } | |
| 31 | |
| 32 :host([disabled]) { | |
| 33 cursor: default; | |
| 34 } | |
| 35 | |
| OLD | NEW |