OLD | NEW |
1 <polymer-element name="sliding-checkbox"> | 1 <polymer-element name="sliding-checkbox"> |
2 <template> | 2 <template> |
3 <style> | 3 <style> |
4 .switch { | 4 .switch { |
5 position: relative; | 5 position: relative; |
6 width: 121px; | 6 width: 121px; |
7 -webkit-user-select: none; | 7 -webkit-user-select: none; |
8 -moz-user-select: none; | 8 -moz-user-select: none; |
9 -ms-user-select: none; | 9 -ms-user-select: none; |
10 } | 10 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 <input type="checkbox" | 76 <input type="checkbox" |
77 class="hide" | 77 class="hide" |
78 id="slide-switch" | 78 id="slide-switch" |
79 on-change="{{ change }}"> | 79 on-change="{{ change }}"> |
80 <label class="label" for="slide-switch"> | 80 <label class="label" for="slide-switch"> |
81 <div class="content"></div> | 81 <div class="content"></div> |
82 <div class="dot"></div> | 82 <div class="dot"></div> |
83 </label> | 83 </label> |
84 </div> | 84 </div> |
85 </template> | 85 </template> |
86 <script type="application/dart" src="sliding_checkbox.dart"></script> | 86 <script type="application/dart;component=1" src="sliding_checkbox.dart"></scri
pt> |
87 </polymer-element> | 87 </polymer-element> |
OLD | NEW |