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.github.io/LICENSE.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/CONTRIBUTORS.txt
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/PATENTS.txt
11 display: inline-block
;
20 display: inline-block
;
25 vertical-align: middle
;
34 color: var
(--paper-radio-button-unchecked-ink-color
, --primary-text-color
);
40 color: var
(--paper-radio-button-checked-ink-color
, --default-primary-color
);
51 background-color: var
(--paper-radio-button-unchecked-background-color
, transparent
);
52 border-color: var
(--paper-radio-button-unchecked-color
, --primary-text-color
);
53 transition: border-color
0.28s;
63 background-color: var
(--paper-radio-button-checked-color
, --default-primary-color
);
64 -webkit-transform: scale
(0);
66 transition: -webkit-transform ease
0.28s;
67 transition: transform ease
0.28s;
70 :host
([checked
]) #offRadio
{
71 border-color: var
(--paper-radio-button-checked-color
, --default-primary-color
);
74 :host
([checked
]) #onRadio
{
75 -webkit-transform: scale
(1);
81 display: inline-block
;
82 vertical-align: middle
;
86 color: var
(--paper-radio-button-label-color
, --primary-text-color
);
98 :host
([disabled
]) #offRadio
{
99 border-color: var
(--paper-radio-button-unchecked-color
, --primary-text-color
);
103 :host
([disabled
][checked
]) #onRadio
{
104 background-color: var
(--paper-radio-button-unchecked-color
, --primary-text-color
);
108 :host
([disabled
]) #radioLabel
{
109 /* slightly darker than the button, so that it's readable */