OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --><html><head><link rel="import" href="../polymer/polymer.html"> | 9 --><html><head><link rel="import" href="../polymer/polymer.html"> |
10 <link rel="import" href="../paper-behaviors/paper-ripple-behavior.html"> | 10 <link rel="import" href="../paper-behaviors/paper-ripple-behavior.html"> |
11 | 11 |
12 <!-- | 12 <!-- |
| 13 The following custom properties and mixins are also available for styling: |
| 14 |
| 15 Custom property | Description | Default |
| 16 ----------------|-------------|---------- |
| 17 `--paper-icon-button-light-ripple` | Mixin applied to the paper ripple | `{}` |
| 18 |
13 @group Paper Elements | 19 @group Paper Elements |
14 @element paper-icon-button-light | 20 @element paper-icon-button-light |
15 @demo demo/paper-icon-button-light.html | 21 @demo demo/paper-icon-button-light.html |
16 --> | 22 --> |
17 </head><body><dom-module id="paper-icon-button-light"> | 23 </head><body><dom-module id="paper-icon-button-light"> |
18 <template strip-whitespace=""> | 24 <template strip-whitespace=""> |
19 <style> | 25 <style> |
20 :host { | 26 :host { |
21 vertical-align: middle; | 27 vertical-align: middle; |
22 color: inherit; | 28 color: inherit; |
(...skipping 15 matching lines...) Expand all Loading... |
38 | 44 |
39 :host([disabled]) { | 45 :host([disabled]) { |
40 color: #9b9b9b; | 46 color: #9b9b9b; |
41 pointer-events: none; | 47 pointer-events: none; |
42 cursor: auto; | 48 cursor: auto; |
43 } | 49 } |
44 | 50 |
45 paper-ripple { | 51 paper-ripple { |
46 opacity: 0.6; | 52 opacity: 0.6; |
47 color: currentColor; | 53 color: currentColor; |
| 54 @apply(--paper-icon-button-light-ripple); |
48 } | 55 } |
49 </style> | 56 </style> |
50 <content></content> | 57 <content></content> |
51 </template> | 58 </template> |
52 </dom-module> | 59 </dom-module> |
53 <script src="paper-icon-button-light-extracted.js"></script></body></html> | 60 <script src="paper-icon-button-light-extracted.js"></script></body></html> |
OLD | NEW |