Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: ui/keyboard/resources/elements/kb-shift-key.html

Issue 251593011: Make caps lock light to a square in upper corner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change color. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/keyboard/resources/main.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" on-pointerout="{{out}}"
9 extends="kb-key"> 9 extends="kb-key">
10 <template> 10 <template>
11 <style> 11 <style>
12 .shift-light-wrapper { 12 .shift-light-wrapper {
13 bottom: 3px; 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: #ffffff; 22 background-color: #cccccc;
23 border: none; 23 border: none;
24 height: 0.2em; 24 height: 4px;
25 margin: 0 auto; 25 margin: 0 6px 0 auto;
26 position: relative; 26 position: relative;
27 width: 1.8em; 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>
OLDNEW
« no previous file with comments | « no previous file | ui/keyboard/resources/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698