1 <!-- 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 4 -- found in the LICENSE file. 5 --> 6 7 <polymer-element name="kb-shift-key" attributes="lowerCaseKeysetId 8 upperCaseKeysetId" class="shift dark" char="Shift" image="shift.png" 9 on-pointerout="{{out}}" extends="kb-key"> 10 <template> 11 <style> 12 .shift-light-wrapper { 13 top: 6px; 14 height: 10%; 15 margin: 0; 16 padding: 0; 17 position: absolute; 18 width: 100%; 19 } 20 21 .shift-light { 22 background-color: #cccccc; 23 border: none; 24 height: 4px; 25 margin: 0 6px 0 auto; 26 position: relative; 27 width: 4px; 28 } 29 </style> 30 <div class="shift-light-wrapper"> 31 <div class="shift-light"> </div> 32 </div> 33 <shadow></shadow> 34 </template> 35 </polymer-element> 36