| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 /* |  | 
| 2 Copyright (c) 2014 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 |  | 
| 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 |  | 
| 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 |  | 
| 8 */ |  | 
| 9 |  | 
| 10 :host { |  | 
| 11   display: inline-block; |  | 
| 12 } |  | 
| 13 |  | 
| 14 :host(:focus) { |  | 
| 15   outline: none; |  | 
| 16 } |  | 
| 17 |  | 
| 18 #toggleContainer { |  | 
| 19   position: relative; |  | 
| 20   width: 64px; |  | 
| 21   height: 16px; |  | 
| 22 } |  | 
| 23 |  | 
| 24 #toggleBar { |  | 
| 25   position: absolute; |  | 
| 26   top: 8px; |  | 
| 27   left: 16px; |  | 
| 28   height: 1px; |  | 
| 29   width: 32px; |  | 
| 30   background-color: #5a5a5a; |  | 
| 31   pointer-events: none; |  | 
| 32 } |  | 
| 33 |  | 
| 34 #toggleBar[checked] { |  | 
| 35   background-color: #0f9d58; |  | 
| 36 } |  | 
| 37 |  | 
| 38 #toggleContainer[checked] #checkedBar { |  | 
| 39   width: 100%; |  | 
| 40 } |  | 
| 41 |  | 
| 42 #toggleRadio { |  | 
| 43   position: absolute; |  | 
| 44   left: 0; |  | 
| 45   padding: 8px 48px 8px 0; |  | 
| 46   margin: -8px -48px -8px 0; |  | 
| 47   transition: -webkit-transform linear .08s; |  | 
| 48   transition: transform linear .08s; |  | 
| 49 } |  | 
| 50 |  | 
| 51 #toggleRadio[checked] { |  | 
| 52   -webkit-transform: translate(48px, 0); |  | 
| 53   transform: translate(48px, 0); |  | 
| 54   padding: 8px 0 8px 48px; |  | 
| 55   margin: -8px 0 -8px -48px; |  | 
| 56 } |  | 
| 57 |  | 
| 58 #toggleRadio.dragging { |  | 
| 59   -webkit-transition: none; |  | 
| 60   transition: none; |  | 
| 61 } |  | 
| OLD | NEW | 
|---|