| OLD | NEW |
| 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 */ | 8 */ |
| 9 | 9 |
| 10 :host { | 10 :host { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 opacity: 0.6; | 35 opacity: 0.6; |
| 36 pointer-events: none; | 36 pointer-events: none; |
| 37 } | 37 } |
| 38 | 38 |
| 39 :host #ink[checked] { | 39 :host #ink[checked] { |
| 40 color: var(--paper-radio-button-checked-ink-color, --default-primary-color); | 40 color: var(--paper-radio-button-checked-ink-color, --default-primary-color); |
| 41 } | 41 } |
| 42 | 42 |
| 43 :host #offRadio { | 43 :host #offRadio { |
| 44 position: absolute; | 44 position: absolute; |
| 45 box-sizing: content-box; |
| 45 top: 0px; | 46 top: 0px; |
| 46 left: 0px; | 47 left: 0px; |
| 47 width: 12px; | 48 width: 12px; |
| 48 height: 12px; | 49 height: 12px; |
| 49 border-radius: 50%; | 50 border-radius: 50%; |
| 50 border: solid 2px; | 51 border: solid 2px; |
| 51 background-color: var(--paper-radio-button-unchecked-background-color, transpa
rent); | 52 background-color: var(--paper-radio-button-unchecked-background-color, transpa
rent); |
| 52 border-color: var(--paper-radio-button-unchecked-color, --primary-text-color); | 53 border-color: var(--paper-radio-button-unchecked-color, --primary-text-color); |
| 53 transition: border-color 0.28s; | 54 transition: border-color 0.28s; |
| 54 } | 55 } |
| 55 | 56 |
| 56 :host #onRadio { | 57 :host #onRadio { |
| 57 position: absolute; | 58 position: absolute; |
| 59 box-sizing: content-box; |
| 58 top: 4px; | 60 top: 4px; |
| 59 left: 4px; | 61 left: 4px; |
| 60 width: 8px; | 62 width: 8px; |
| 61 height: 8px; | 63 height: 8px; |
| 62 border-radius: 50%; | 64 border-radius: 50%; |
| 63 background-color: var(--paper-radio-button-checked-color, --default-primary-co
lor); | 65 background-color: var(--paper-radio-button-checked-color, --default-primary-co
lor); |
| 64 -webkit-transform: scale(0); | 66 -webkit-transform: scale(0); |
| 65 transform: scale(0); | 67 transform: scale(0); |
| 66 transition: -webkit-transform ease 0.28s; | 68 transition: -webkit-transform ease 0.28s; |
| 67 transition: transform ease 0.28s; | 69 transition: transform ease 0.28s; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 104 |
| 103 :host([disabled][checked]) #onRadio { | 105 :host([disabled][checked]) #onRadio { |
| 104 background-color: var(--paper-radio-button-unchecked-color, --primary-text-col
or); | 106 background-color: var(--paper-radio-button-unchecked-color, --primary-text-col
or); |
| 105 opacity: 0.5; | 107 opacity: 0.5; |
| 106 } | 108 } |
| 107 | 109 |
| 108 :host([disabled]) #radioLabel { | 110 :host([disabled]) #radioLabel { |
| 109 /* slightly darker than the button, so that it's readable */ | 111 /* slightly darker than the button, so that it's readable */ |
| 110 opacity: 0.65; | 112 opacity: 0.65; |
| 111 } | 113 } |
| OLD | NEW |