Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: dashboard/dashboard/elements/primary-button.html

Issue 1661103002: Add blue paper-button. (Closed) Base URL: https://github.com/catapult-project/catapult.git@bisect_result_feedback
Patch Set: . Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698