OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 @license | 3 @license |
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
8 Code distributed by Google as part of the polymer project is also | 8 Code distributed by Google as part of the polymer project is also |
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
10 --> | 10 --> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 } | 110 } |
111 paper-button.green[active] { | 111 paper-button.green[active] { |
112 background-color: var(--paper-red-500); | 112 background-color: var(--paper-red-500); |
113 } | 113 } |
114 paper-button.disabled { | 114 paper-button.disabled { |
115 color: white; | 115 color: white; |
116 } | 116 } |
117 </style> | 117 </style> |
118 </template> | 118 </template> |
119 </demo-snippet> | 119 </demo-snippet> |
| 120 |
| 121 <h3>Buttons can be used as a link</h3> |
| 122 <demo-snippet class="centered-demo"> |
| 123 <template> |
| 124 <a href="https://www.polymer-project.org/" tabindex="-1"> |
| 125 <paper-button raised>Polymer Project</paper-button> |
| 126 </a> |
| 127 <style> |
| 128 a paper-button, |
| 129 a:active paper-button, |
| 130 a:visited paper-button { |
| 131 color: #000; |
| 132 } |
| 133 </style> |
| 134 </template> |
| 135 </demo-snippet> |
120 </div> | 136 </div> |
121 </body> | 137 </body> |
122 </html> | 138 </html> |
OLD | NEW |