| Index: polymer_1.0.4/bower_components/paper-button/demo/index.html
|
| diff --git a/polymer_1.0.4/bower_components/paper-button/demo/index.html b/polymer_1.0.4/bower_components/paper-button/demo/index.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e8af2969e83c2cf85a6b64340a9a1c925248373f
|
| --- /dev/null
|
| +++ b/polymer_1.0.4/bower_components/paper-button/demo/index.html
|
| @@ -0,0 +1,158 @@
|
| +<!doctype html>
|
| +<!--
|
| +@license
|
| +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 demo</title>
|
| +
|
| + <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
|
| + <link rel="import" href="../../paper-styles/paper-styles.html">
|
| + <link rel="import" href="../../paper-styles/demo-pages.html">
|
| + <link rel="import" href="../../iron-icons/iron-icons.html">
|
| + <link rel="import" href="../paper-button.html">
|
| +
|
| + <style is="custom-style">
|
| + .horizontal-section {
|
| + min-width: 130px;
|
| + }
|
| +
|
| + paper-button {
|
| + display: block;
|
| + margin-bottom: 24px;
|
| + }
|
| +
|
| + 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.blue {
|
| + color: var(--paper-light-blue-500);
|
| + --paper-button-flat-focus-color: var(--paper-light-blue-50);
|
| + }
|
| + paper-button.blue:hover {
|
| + background: var(--paper-light-blue-50);
|
| + }
|
| + paper-button.red {
|
| + color: var(--paper-red-500);
|
| + --paper-button-flat-focus-color: var(--paper-red-50);
|
| + }
|
| + paper-button.red:hover {
|
| + background: var(--paper-red-50);
|
| + }
|
| + paper-button.green {
|
| + color: var(--paper-green-500);
|
| + --paper-button-flat-focus-color: var(--paper-green-50);
|
| + }
|
| + paper-button.green:hover {
|
| + background: var(--paper-green-50);
|
| + }
|
| + paper-button.orange {
|
| + color: var(--paper-orange-500);
|
| + --paper-button-flat-focus-color: var(--paper-orange-50);
|
| + }
|
| + paper-button.orange:hover {
|
| + background: var(--paper-orange-50);
|
| + }
|
| +
|
| + paper-button.hover:hover {
|
| + background: #eee;
|
| + }
|
| +
|
| + paper-button.ripple::shadow paper-ripple {
|
| + color: var(--paper-pink-a200);
|
| + }
|
| +
|
| + paper-button.ripple paper-ripple {
|
| + color: var(--paper-pink-a200);
|
| + }
|
| +
|
| + </style>
|
| +
|
| +</head>
|
| +<body>
|
| + <div class="horizontal center-justified layout">
|
| + <div>
|
| + <h4>Flat</h4>
|
| + <div class="horizontal-section">
|
| + <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>
|
| + <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>
|
| +
|
| + </div>
|
| + </div>
|
| +
|
| + <div>
|
| + <h4>Raised</h4>
|
| + <div class="horizontal-section">
|
| + <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>
|
| + <paper-button tabindex="0" raised class="colorful custom"><iron-icon icon="check"></iron-icon>ok</paper-button>
|
| + <paper-button tabindex="0" raised class="custom"><iron-icon icon="clear"></iron-icon>cancel</paper-button>
|
| + </div>
|
| + </div>
|
| +
|
| + <div>
|
| + <h4>Toggleable</h4>
|
| + <div class="horizontal-section">
|
| + <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>
|
| + <paper-button tabindex="0" toggles class="colorful custom"><iron-icon icon="check"></iron-icon>ok</paper-button>
|
| + <paper-button tabindex="0" toggles class="custom"><iron-icon icon="clear"></iron-icon>cancel</paper-button>
|
| + </div>
|
| + </div>
|
| +
|
| + <div>
|
| + <h4>Color</h4>
|
| + <div class="horizontal-section">
|
| + <paper-button tabindex="0" class="blue ripple">button</paper-button>
|
| + <paper-button tabindex="0" class="red ripple">noink</paper-button>
|
| + <paper-button tabindex="0" class="orange ripple">colorful</paper-button>
|
| + <paper-button tabindex="0" class="green ripple">colorful</paper-button>
|
| + <paper-button tabindex="0" class="red ripple"><iron-icon icon="check"></iron-icon>ok</paper-button>
|
| + <paper-button tabindex="0" class="blue ripple"><iron-icon icon="clear"></iron-icon>cancel</paper-button>
|
| + </div>
|
| + </div>
|
| + </div>
|
| +</body>
|
| +</html>
|
|
|