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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html

Issue 1187823002: Update Polymer components and re-run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 2 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
8 --><html><head><link rel="import" href="../polymer/polymer.html"> 8 --><html><head><link rel="import" href="../polymer/polymer.html">
9 <link rel="import" href="../paper-ripple/paper-ripple.html"> 9 <link rel="import" href="../paper-ripple/paper-ripple.html">
10 <link rel="import" href="../paper-styles/default-theme.html"> 10 <link rel="import" href="../paper-styles/default-theme.html">
11 <link rel="import" href="../paper-behaviors/paper-radio-button-behavior.html"> 11 <link rel="import" href="../paper-behaviors/paper-inky-focus-behavior.html">
12 12
13 <!-- 13 <!--
14 `paper-radio-button` is a button that can be either checked or unchecked. 14 `paper-radio-button` is a button that can be either checked or unchecked.
15 User can tap the radio button to check it. But it cannot be unchecked by 15 User can tap the radio button to check it. But it cannot be unchecked by
16 tapping once checked. 16 tapping once checked.
17 17
18 Use `paper-radio-group` to group a set of radio buttons. When radio buttons 18 Use `paper-radio-group` to group a set of radio buttons. When radio buttons
19 are inside a radio group, only one radio button in the group can be checked. 19 are inside a radio group, only one radio button in the group can be checked.
20 20
21 Example: 21 Example:
(...skipping 11 matching lines...) Expand all
33 `--paper-radio-button-checked-color` | Radio button color when the input is chec ked | `--default-primary-color` 33 `--paper-radio-button-checked-color` | Radio button color when the input is chec ked | `--default-primary-color`
34 `--paper-radio-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--default-primary-color` 34 `--paper-radio-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--default-primary-color`
35 `--paper-radio-button-label-color` | Label color | `--primary-text-color` 35 `--paper-radio-button-label-color` | Label color | `--primary-text-color`
36 36
37 @group Paper Elements 37 @group Paper Elements
38 @element paper-radio-button 38 @element paper-radio-button
39 @hero hero.svg 39 @hero hero.svg
40 @demo demo/index.html 40 @demo demo/index.html
41 --> 41 -->
42 42
43 <style is="custom-style">
44 :root {
45 --paper-radio-button-unchecked-color: var(--primary-text-color);
46 --paper-radio-button-unchecked-ink-color: var(--primary-text-color);
47
48 --paper-radio-button-checked-color: var(--default-primary-color);
49 --paper-radio-button-checked-ink-color: var(--default-primary-color);
50
51 --paper-radio-button-label-color: var(--primary-text-color);
52 }
53 </style>
54
55 </head><body><dom-module id="paper-radio-button"> 43 </head><body><dom-module id="paper-radio-button">
56 44
57 <link rel="import" type="css" href="paper-radio-button.css"> 45 <link rel="import" type="css" href="paper-radio-button.css">
58 46
59 <template> 47 <template>
60 48
61 <div id="radioContainer"> 49 <div id="radioContainer">
62 <div id="offRadio"></div> 50 <div id="offRadio"></div>
63 <div id="onRadio"></div> 51 <div id="onRadio"></div>
64 <paper-ripple id="ink" class="circle" center="" checked$="[[checked]]"></p aper-ripple> 52 <paper-ripple id="ink" class="circle" center="" checked$="[[checked]]"></p aper-ripple>
65 </div> 53 </div>
66 54
67 <div id="radioLabel" aria-hidden="true"><content></content></div> 55 <div id="radioLabel" aria-hidden="true"><content></content></div>
68 56
69 </template> 57 </template>
70 58
71 </dom-module> 59 </dom-module>
72 <script src="paper-radio-button-extracted.js"></script></body></html> 60 <script src="paper-radio-button-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698