| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 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="../iron-icon/iron-icon.html"> | 10 <link rel="import" href="../iron-icon/iron-icon.html"> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 --> | 62 --> |
| 63 | 63 |
| 64 </head><body><dom-module id="paper-icon-button"> | 64 </head><body><dom-module id="paper-icon-button"> |
| 65 <template strip-whitespace=""> | 65 <template strip-whitespace=""> |
| 66 <style> | 66 <style> |
| 67 :host { | 67 :host { |
| 68 display: inline-block; | 68 display: inline-block; |
| 69 position: relative; | 69 position: relative; |
| 70 padding: 8px; | 70 padding: 8px; |
| 71 outline: none; | 71 outline: none; |
| 72 -webkit-tap-highlight-color: rgba(0,0,0,0); | |
| 73 -webkit-user-select: none; | |
| 74 -moz-user-select: none; | |
| 75 -ms-user-select: none; | |
| 76 user-select: none; | 72 user-select: none; |
| 77 cursor: pointer; | 73 cursor: pointer; |
| 78 z-index: 0; | 74 z-index: 0; |
| 79 line-height: 1; | 75 line-height: 1; |
| 80 | 76 |
| 81 width: 40px; | 77 width: 40px; |
| 82 height: 40px; | 78 height: 40px; |
| 83 | 79 |
| 84 /* Because of polymer/2558, this style has lower specificity than * */ | 80 /* Because of polymer/2558, this style has lower specificity than * */ |
| 85 box-sizing: border-box !important; | 81 box-sizing: border-box !important; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 105 iron-icon { | 101 iron-icon { |
| 106 --iron-icon-width: 100%; | 102 --iron-icon-width: 100%; |
| 107 --iron-icon-height: 100%; | 103 --iron-icon-height: 100%; |
| 108 } | 104 } |
| 109 </style> | 105 </style> |
| 110 <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-ico
n> | 106 <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-ico
n> |
| 111 </template> | 107 </template> |
| 112 | 108 |
| 113 </dom-module> | 109 </dom-module> |
| 114 <script src="paper-icon-button-extracted.js"></script></body></html> | 110 <script src="paper-icon-button-extracted.js"></script></body></html> |
| OLD | NEW |