| Index: third_party/polymer/components-chromium/paper-radio-button/paper-radio-button.html
|
| diff --git a/third_party/polymer/components-chromium/paper-radio-button/paper-radio-button.html b/third_party/polymer/components-chromium/paper-radio-button/paper-radio-button.html
|
| deleted file mode 100644
|
| index 6f9353051ed14a17df962d601b10b0e5dbb6c944..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/components-chromium/paper-radio-button/paper-radio-button.html
|
| +++ /dev/null
|
| @@ -1,77 +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-radio-button` is a button that can be either checked or unchecked.
|
| -User can tap the radio button to check it. But it cannot be unchecked by
|
| -tapping once checked.
|
| -
|
| -Use `paper-radio-group` to group a set of radio buttons. When radio buttons
|
| -are inside a radio group, only one radio button in the group can be checked.
|
| -
|
| -Example:
|
| -
|
| - <paper-radio-button></paper-radio-button>
|
| -
|
| -Styling radio button:
|
| -
|
| -To change the ink color for checked state:
|
| -
|
| - paper-radio-button::shadow #ink[checked] {
|
| - color: #4285f4;
|
| - }
|
| -
|
| -To change the radio checked color:
|
| -
|
| - paper-radio-button::shadow #onRadio {
|
| - background-color: #4285f4;
|
| - }
|
| -
|
| - paper-radio-button[checked]::shadow #offRadio {
|
| - border-color: #4285f4;
|
| - }
|
| -
|
| -To change the ink color for unchecked state:
|
| -
|
| - paper-radio-button::shadow #ink {
|
| - color: #b5b5b5;
|
| - }
|
| -
|
| -To change the radio unchecked color:
|
| -
|
| - paper-radio-button::shadow #offRadio {
|
| - border-color: #b5b5b5;
|
| - }
|
| -
|
| -@group Paper Elements
|
| -@element paper-radio-button
|
| -@homepage github.io
|
| ---><html><head><link rel="import" href="../paper-ripple/paper-ripple.html">
|
| -<link rel="import" href="../core-a11y-keys/core-a11y-keys.html">
|
| -
|
| -</head><body><polymer-element name="paper-radio-button" role="radio" tabindex="0" aria-checked="false" assetpath="">
|
| -<template>
|
| -
|
| - <link rel="stylesheet" href="paper-radio-button.css">
|
| -
|
| - <core-a11y-keys target="{{}}" keys="space" on-keys-pressed="{{tap}}"></core-a11y-keys>
|
| -
|
| - <div id="radioContainer" class="{{ {labeled: label} | tokenList }}">
|
| -
|
| - <div id="offRadio"></div>
|
| - <div id="onRadio"></div>
|
| -
|
| - <paper-ripple id="ink" class="circle recenteringTouch" checked?="{{!checked}}"></paper-ripple>
|
| -
|
| - </div>
|
| -
|
| - <div id="radioLabel" aria-hidden="true" hidden?="{{!label}}">{{label}}<content></content></div>
|
| -
|
| -</template>
|
| -
|
| -</polymer-element>
|
| -<script charset="utf-8" src="paper-radio-button-extracted.js"></script></body></html>
|
|
|