Index: third_party/polymer/v0_8/components-chromium/paper-button/demo/index.html |
diff --git a/third_party/polymer/v0_8/components-chromium/paper-button/demo/index.html b/third_party/polymer/v0_8/components-chromium/paper-button/demo/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..216bcf9020fed614610b30fa333f5911bd917c3a |
--- /dev/null |
+++ b/third_party/polymer/v0_8/components-chromium/paper-button/demo/index.html |
@@ -0,0 +1,131 @@ |
+<!doctype html> |
+<!-- |
+Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+Code distributed by Google as part of the polymer project is also |
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+--> |
+ |
+<html> |
+<head> |
+ |
+ <meta charset="utf-8"> |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> |
+ |
+ <title>paper-button</title> |
+ |
+ <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
+ |
+ <link rel="import" href="../../paper-styles/classes/typography.html"> |
+ <link rel="import" href="../../iron-icons/iron-icons.html"> |
+ <link rel="import" href="../paper-button.html"> |
+ |
+ <style> |
+ |
+ body { |
+ font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; |
+ font-size: 14px; |
+ padding: 24px; |
+ margin: 0; |
+ } |
+ |
+ section { |
+ display: block; |
+ position: relative; |
+ padding: 20px 0; |
+ } |
+ |
+ section > div { |
+ padding: 14px; |
+ font-size: 16px; |
+ } |
+ |
+ paper-button.colorful { |
+ color: #4285f4; |
+ } |
+ |
+ paper-button[raised].colorful { |
+ background: #4285f4; |
+ color: #fff; |
+ } |
+ |
+ paper-button[toggles] { |
+ transition: background-color 0.3s; |
+ } |
+ |
+ paper-button[toggles][active] { |
+ background-color: rgba(0, 0, 0, 0.25); |
+ } |
+ |
+ paper-button[toggles][active].colorful { |
+ background-color: rgba(66, 133, 244, 0.25); |
+ } |
+ |
+ paper-button[toggles][active][raised].colorful { |
+ background-color: rgba(66, 133, 244, 0.75); |
+ } |
+ |
+ paper-button.hover:hover { |
+ background: #eee; |
+ } |
+ |
+ paper-button.blue-ripple::shadow paper-ripple { |
+ color: #4285f4; |
+ } |
+ |
+ paper-button.blue-ripple paper-ripple { |
+ color: #4285f4; |
+ } |
+ |
+ </style> |
+ |
+</head> |
+<body> |
+ |
+ <h1>Paper Buttons</h1> |
+ <h2>Flat</h2> |
+ |
+ <paper-button tabindex="0">button</paper-button> |
+ <paper-button tabindex="0" class="colorful">colorful</paper-button> |
+ <paper-button tabindex="0" disabled>disabled</paper-button> |
+ <paper-button tabindex="0" noink>noink</paper-button> |
+ |
+ <h2>Raised</h2> |
+ |
+ <paper-button tabindex="0" raised>button</paper-button> |
+ <paper-button tabindex="0" raised class="colorful">colorful</paper-button> |
+ <paper-button tabindex="0" raised disabled>disabled</paper-button> |
+ <paper-button tabindex="0" raised noink>noink</paper-button> |
+ |
+ <h2>Custom Content</h2> |
+ <paper-button tabindex="0" class="colorful custom"> |
+ <iron-icon icon="check"></iron-icon> |
+ ok |
+ </paper-button> |
+ |
+ <paper-button tabindex="0" class="custom"> |
+ <iron-icon icon="clear"></iron-icon> |
+ cancel |
+ </paper-button> |
+ |
+ <paper-button tabindex="0"> |
+ <h1>Header</h1> |
+ </paper-button> |
+ |
+ <h2>Toggleable</h2> |
+ |
+ <paper-button tabindex="0" toggles>button</paper-button> |
+ <paper-button tabindex="0" toggles raised noink>noink</paper-button> |
+ <paper-button tabindex="0" toggles active class="colorful">colorful</paper-button> |
+ <paper-button tabindex="0" toggles raised active class="colorful">colorful</paper-button> |
+ |
+ <h2>Custom Styles</h2> |
+ |
+ <paper-button tabindex="0" class="hover">hover</paper-button> |
+ <paper-button tabindex="0" class="blue-ripple">custom ripple</paper-button> |
+ |
+</body> |
+</html> |