OLD | NEW |
| (Empty) |
1 <!-- | |
2 @license | |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
4 This code may only be used under the BSD style license found at http://polym
er.github.io/LICENSE.txt | |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
.txt | |
6 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.txt | |
7 Code distributed by Google as part of the polymer project is also | |
8 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt | |
9 --> | |
10 <!doctype html> | |
11 <html> | |
12 <head> | |
13 <title>paper-radio-button</title> | |
14 | |
15 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> | |
16 <meta name="mobile-web-app-capable" content="yes"> | |
17 <meta name="apple-mobile-web-app-capable" content="yes"> | |
18 | |
19 <script src="../webcomponentsjs/webcomponents.js"></script> | |
20 | |
21 <link rel="import" href="paper-radio-button.html"> | |
22 | |
23 <style shim-shadowdom> | |
24 | |
25 body { | |
26 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; | |
27 margin: 0; | |
28 -webkit-tap-highlight-color: rgba(0,0,0,0); | |
29 -webkit-touch-callout: none; | |
30 } | |
31 | |
32 .label { | |
33 height: 40px; | |
34 font-size: 20px; | |
35 } | |
36 | |
37 section, paper-radio-button { | |
38 padding: 20px; | |
39 } | |
40 | |
41 paper-radio-button.blue::shadow #ink[checked] { | |
42 color: #4285f4; | |
43 } | |
44 | |
45 paper-radio-button.blue::shadow #onRadio { | |
46 background-color: #4285f4; | |
47 } | |
48 | |
49 paper-radio-button[checked].blue::shadow #offRadio { | |
50 border-color: #4285f4; | |
51 } | |
52 | |
53 </style> | |
54 | |
55 </head> | |
56 <body unresolved> | |
57 | |
58 <section> | |
59 <div class="label">Radio button</div> | |
60 <paper-radio-button></paper-radio-button> | |
61 </section> | |
62 | |
63 <section> | |
64 <div class="label">Radio button (toggles)</div> | |
65 <paper-radio-button toggles></paper-radio-button> | |
66 </section> | |
67 | |
68 <section> | |
69 <div class="label">Radio button (disabled)</div> | |
70 <paper-radio-button disabled toggles></paper-radio-button> | |
71 </section> | |
72 | |
73 <section> | |
74 <div class="label">Radio button (checked, disabled)</div> | |
75 <paper-radio-button checked disabled toggles></paper-radio-button> | |
76 </section> | |
77 | |
78 <section> | |
79 <div class="label">Radio button (toggles, Blue)</div> | |
80 <paper-radio-button class="blue" toggles></paper-radio-button> | |
81 </section> | |
82 | |
83 </body> | |
84 </html> | |
OLD | NEW |