Index: dashboard/dashboard/elements/primary-button.html |
diff --git a/dashboard/dashboard/elements/primary-button.html b/dashboard/dashboard/elements/primary-button.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c630209c00df4896d1c5b4655891aff2a781cd2 |
--- /dev/null |
+++ b/dashboard/dashboard/elements/primary-button.html |
@@ -0,0 +1,38 @@ |
+<!DOCTYPE html> |
+<!-- |
+ Copyright 2016 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. |
+--> |
+ |
+<link rel="import" href="/components/paper-button/paper-button.html"> |
+ |
+<polymer-element name="primary-button" extends="button" noscript> |
+ <template> |
+ <style> |
+ :host { |
+ border: 0; |
+ padding: 0; |
+ background: transparent; |
+ font-size: inherit; |
+ } |
+ |
+ :host(.mini) { |
+ height: 22px; |
+ line-height: 0.5em; |
+ margin-left: 5px; |
+ padding-top: 0; |
+ } |
+ |
+ paper-button { |
+ background-color: #4285f4; |
+ color: white; |
+ } |
+ </style> |
+ |
+ <paper-button raised disabled?="{{disabled}}"> |
+ <content></content> |
+ </paper-button> |
+ |
+ </template> |
+</polymer-element> |