| 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="../paper-behaviors/paper-checked-element-behavior.html"
> | 10 <link rel="import" href="../paper-behaviors/paper-checked-element-behavior.html"
> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 left: 4px; | 112 left: 4px; |
| 113 right: 4px; | 113 right: 4px; |
| 114 width: 8px; | 114 width: 8px; |
| 115 height: 8px; | 115 height: 8px; |
| 116 border-radius: 50%; | 116 border-radius: 50%; |
| 117 background-color: var(--paper-radio-button-checked-color, --primary-colo
r); | 117 background-color: var(--paper-radio-button-checked-color, --primary-colo
r); |
| 118 -webkit-transform: scale(0); | 118 -webkit-transform: scale(0); |
| 119 transform: scale(0); | 119 transform: scale(0); |
| 120 transition: -webkit-transform ease 0.28s; | 120 transition: -webkit-transform ease 0.28s; |
| 121 transition: transform ease 0.28s; | 121 transition: transform ease 0.28s; |
| 122 will-change: transform; |
| 122 } | 123 } |
| 123 | 124 |
| 124 :host([checked]) #offRadio { | 125 :host([checked]) #offRadio { |
| 125 border-color: var(--paper-radio-button-checked-color, --primary-color); | 126 border-color: var(--paper-radio-button-checked-color, --primary-color); |
| 126 } | 127 } |
| 127 | 128 |
| 128 :host([checked]) #onRadio { | 129 :host([checked]) #onRadio { |
| 129 -webkit-transform: scale(1); | 130 -webkit-transform: scale(1); |
| 130 transform: scale(1); | 131 transform: scale(1); |
| 131 } | 132 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 <div id="radioContainer"> | 170 <div id="radioContainer"> |
| 170 <div id="offRadio"></div> | 171 <div id="offRadio"></div> |
| 171 <div id="onRadio"></div> | 172 <div id="onRadio"></div> |
| 172 </div> | 173 </div> |
| 173 | 174 |
| 174 <div id="radioLabel"><content></content></div> | 175 <div id="radioLabel"><content></content></div> |
| 175 </template> | 176 </template> |
| 176 | 177 |
| 177 </dom-module> | 178 </dom-module> |
| 178 <script src="paper-radio-button-extracted.js"></script></body></html> | 179 <script src="paper-radio-button-extracted.js"></script></body></html> |
| OLD | NEW |