OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 Copyright 2016 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. |
| 6 --> |
| 7 |
| 8 <link rel="import" href="/components/paper-button/paper-button.html"> |
| 9 |
| 10 <polymer-element name="primary-button" extends="button" noscript> |
| 11 <template> |
| 12 <style> |
| 13 :host { |
| 14 border: 0; |
| 15 padding: 0; |
| 16 background: transparent; |
| 17 font-size: inherit; |
| 18 } |
| 19 |
| 20 :host(.mini) { |
| 21 height: 22px; |
| 22 line-height: 0.5em; |
| 23 margin-left: 5px; |
| 24 padding-top: 0; |
| 25 } |
| 26 |
| 27 paper-button { |
| 28 background-color: #4285f4; |
| 29 color: white; |
| 30 } |
| 31 </style> |
| 32 |
| 33 <paper-button raised disabled?="{{disabled}}"> |
| 34 <content></content> |
| 35 </paper-button> |
| 36 |
| 37 </template> |
| 38 </polymer-element> |
OLD | NEW |