| Index: third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.html
|
| diff --git a/third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.html b/third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.html
|
| deleted file mode 100644
|
| index 81407249f3f700e50fdc4b1abd3cac81c5cdd0ba..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/components-chromium/paper-toggle-button/paper-toggle-button.html
|
| +++ /dev/null
|
| @@ -1,78 +0,0 @@
|
| -<!--
|
| -Copyright (c) 2014 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
|
| ---><!--
|
| -`paper-toggle-button` provides a ON/OFF switch that user can toggle the state
|
| -by tapping or by dragging the swtich.
|
| -
|
| -Example:
|
| -
|
| - <paper-toggle-button></paper-toggle-button>
|
| -
|
| -Styling toggle button:
|
| -
|
| -To change the toggle color:
|
| -
|
| - paper-toggle-button::shadow .toggle {
|
| - background-color: #9c27b0;
|
| - }
|
| -
|
| -To change the ink color:
|
| -
|
| - paper-toggle-button::shadow .toggle-ink {
|
| - color: #009688;
|
| - }
|
| -
|
| -To change the checked toggle color:
|
| -
|
| - paper-toggle-button::shadow [checked] .toggle {
|
| - background-color: #4285f4;
|
| - }
|
| -
|
| -To change the checked ink color:
|
| -
|
| - paper-toggle-button::shadow [checked] .toggle-ink {
|
| - color: #4285f4;
|
| - }
|
| -
|
| -To change the toggle bar and toggle button colors separately:
|
| -
|
| - paper-toggle-button::shadow .toggle-bar {
|
| - background-color: #5677fc;
|
| - }
|
| -
|
| - paper-toggle-button::shadow .toggle-button {
|
| - background-color: #9c27b0;
|
| - }
|
| -
|
| -@group Paper Elements
|
| -@element paper-toggle-button
|
| -@homepage github.io
|
| ---><html><head><link rel="import" href="../paper-radio-button/paper-radio-button.html">
|
| -<link rel="import" href="../core-a11y-keys/core-a11y-keys.html">
|
| -
|
| -</head><body><polymer-element name="paper-toggle-button" attributes="checked disabled" role="button" aria-pressed="false" tabindex="0" assetpath="">
|
| -<template>
|
| -
|
| - <link rel="stylesheet" href="paper-toggle-button.css">
|
| -
|
| - <core-a11y-keys target="{{}}" keys="space" on-keys-pressed="{{tap}}"></core-a11y-keys>
|
| -
|
| - <div id="toggleContainer" checked?="{{checked}}" disabled?="{{disabled}}">
|
| -
|
| - <div id="toggleBar" class="toggle toggle-bar"></div>
|
| -
|
| - <div id="toggleButton" class="toggle toggle-button">
|
| - <paper-ripple id="ink" class="toggle-ink circle"></paper-ripple>
|
| - </div>
|
| -
|
| - </div>
|
| -
|
| -</template>
|
| -
|
| -</polymer-element>
|
| -<script charset="utf-8" src="paper-toggle-button-extracted.js"></script></body></html>
|
|
|