| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 </head><body><dom-module id="paper-fab"> | 56 </head><body><dom-module id="paper-fab"> |
| 57 <style> | 57 <style> |
| 58 | 58 |
| 59 :host { | 59 :host { |
| 60 display: inline-block; | 60 display: inline-block; |
| 61 position: relative; | 61 position: relative; |
| 62 outline: none; | 62 outline: none; |
| 63 -moz-user-select: none; | 63 -moz-user-select: none; |
| 64 -ms-user-select: none; | 64 -ms-user-select: none; |
| 65 -webkit-user-select: none; | 65 -webkit-user-select: none; |
| 66 -webkit-tap-highlight-color: rgba(0,0,0,0); |
| 66 user-select: none; | 67 user-select: none; |
| 67 cursor: pointer; | 68 cursor: pointer; |
| 68 | 69 |
| 69 box-sizing: border-box; | 70 box-sizing: border-box; |
| 70 min-width: 0; | 71 min-width: 0; |
| 71 width: 56px; | 72 width: 56px; |
| 72 height: 56px; | 73 height: 56px; |
| 73 background: var(--paper-fab-background, --accent-color); | 74 background: var(--paper-fab-background, --accent-color); |
| 74 color: var(--text-primary-color); | 75 color: var(--text-primary-color); |
| 75 border-radius: 50%; | 76 border-radius: 50%; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 106 } | 107 } |
| 107 </style> | 108 </style> |
| 108 <template> | 109 <template> |
| 109 <paper-ripple></paper-ripple> | 110 <paper-ripple></paper-ripple> |
| 110 <paper-material class$="[[_computeContentClass(receivedFocusFromKeyboard)]]"
elevation="[[_elevation]]" animated=""> | 111 <paper-material class$="[[_computeContentClass(receivedFocusFromKeyboard)]]"
elevation="[[_elevation]]" animated=""> |
| 111 <iron-icon id="icon" src="[[src]]" icon="[[icon]]"></iron-icon> | 112 <iron-icon id="icon" src="[[src]]" icon="[[icon]]"></iron-icon> |
| 112 </paper-material> | 113 </paper-material> |
| 113 </template> | 114 </template> |
| 114 </dom-module> | 115 </dom-module> |
| 115 <script src="paper-fab-extracted.js"></script></body></html> | 116 <script src="paper-fab-extracted.js"></script></body></html> |
| OLD | NEW |