| 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-flex-layout/iron-flex-layout.html"> | 10 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 ### Styling | 35 ### Styling |
| 36 | 36 |
| 37 The following custom properties and mixins are available for styling: | 37 The following custom properties and mixins are available for styling: |
| 38 | 38 |
| 39 Custom property | Description | Default | 39 Custom property | Description | Default |
| 40 ----------------|-------------|---------- | 40 ----------------|-------------|---------- |
| 41 `--paper-spinner-layer-1-color` | Color of the first spinner rotation | `--googl
e-blue-500` | 41 `--paper-spinner-layer-1-color` | Color of the first spinner rotation | `--googl
e-blue-500` |
| 42 `--paper-spinner-layer-2-color` | Color of the second spinner rotation | `--goog
le-red-500` | 42 `--paper-spinner-layer-2-color` | Color of the second spinner rotation | `--goog
le-red-500` |
| 43 `--paper-spinner-layer-3-color` | Color of the third spinner rotation | `--googl
e-yellow-500` | 43 `--paper-spinner-layer-3-color` | Color of the third spinner rotation | `--googl
e-yellow-500` |
| 44 `--paper-spinner-layer-4-color` | Color of the fourth spinner rotation | `--goog
le-green-500` | 44 `--paper-spinner-layer-4-color` | Color of the fourth spinner rotation | `--goog
le-green-500` |
| 45 `--paper-spinner-stroke-width` | The width of the spinner stroke | 3px |
| 45 | 46 |
| 46 @group Paper Elements | 47 @group Paper Elements |
| 47 @element paper-spinner | 48 @element paper-spinner |
| 48 @hero hero.svg | 49 @hero hero.svg |
| 49 @demo demo/index.html | 50 @demo demo/index.html |
| 50 --> | 51 --> |
| 51 | 52 |
| 52 </head><body><dom-module id="paper-spinner"> | 53 </head><body><dom-module id="paper-spinner"> |
| 53 <template> | 54 <template> |
| 54 <style include="paper-spinner-styles"></style> | 55 <style include="paper-spinner-styles"></style> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 <div class="circle"></div> | 92 <div class="circle"></div> |
| 92 </div><div class="circle-clipper right"> | 93 </div><div class="circle-clipper right"> |
| 93 <div class="circle"></div> | 94 <div class="circle"></div> |
| 94 </div> | 95 </div> |
| 95 </div> | 96 </div> |
| 96 </div> | 97 </div> |
| 97 </template> | 98 </template> |
| 98 | 99 |
| 99 </dom-module> | 100 </dom-module> |
| 100 <script src="paper-spinner-extracted.js"></script></body></html> | 101 <script src="paper-spinner-extracted.js"></script></body></html> |
| OLD | NEW |