| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 -- Copyright 2013 The Chromium Authors. All rights reserved. | 2 -- Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 -- Use of this source code is governed by a BSD-style license that can be | 3 -- Use of this source code is governed by a BSD-style license that can be |
| 4 -- found in the LICENSE file. | 4 -- found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <polymer-element name="kb-shift-key" attributes="lowerCaseKeysetId | 7 <polymer-element name="kb-shift-key" attributes="lowerCaseKeysetId |
| 8 upperCaseKeysetId" class="shift dark" char="Shift" on-pointerout="{{out}}" | 8 upperCaseKeysetId" class="shift dark" char="Shift" image="shift.png" |
| 9 extends="kb-key"> | 9 on-pointerout="{{out}}" extends="kb-key"> |
| 10 <template> | 10 <template> |
| 11 <style> | 11 <style> |
| 12 .shift-light-wrapper { | 12 .shift-light-wrapper { |
| 13 top: 6px; | 13 top: 6px; |
| 14 height: 10%; | 14 height: 10%; |
| 15 margin: 0; | 15 margin: 0; |
| 16 padding: 0; | 16 padding: 0; |
| 17 position: absolute; | 17 position: absolute; |
| 18 width: 100%; | 18 width: 100%; |
| 19 } | 19 } |
| 20 | 20 |
| 21 .shift-light { | 21 .shift-light { |
| 22 background-color: #cccccc; | 22 background-color: #cccccc; |
| 23 border: none; | 23 border: none; |
| 24 height: 4px; | 24 height: 4px; |
| 25 margin: 0 6px 0 auto; | 25 margin: 0 6px 0 auto; |
| 26 position: relative; | 26 position: relative; |
| 27 width: 4px; | 27 width: 4px; |
| 28 } | 28 } |
| 29 </style> | 29 </style> |
| 30 <div class="shift-light-wrapper"> | 30 <div class="shift-light-wrapper"> |
| 31 <div class="shift-light"> </div> | 31 <div class="shift-light"> </div> |
| 32 </div> | 32 </div> |
| 33 <shadow></shadow> | 33 <shadow></shadow> |
| 34 </template> | 34 </template> |
| 35 </polymer-element> | 35 </polymer-element> |
| OLD | NEW |