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

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

Issue 249493002: Reskins the Compact and System VK to look closer to the IME VK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed background-image to background-color. Created 6 years, 8 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
« no previous file with comments | « ui/keyboard/resources/elements/kb-keyboard.html ('k') | ui/keyboard/resources/images/back.svg » ('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 bottom: 3px;
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 -webkit-box-shadow: inset 0 1px #101010, inset 0 -1px #444444; 22 background-color: #ffffff;
23 background-image: -webkit-linear-gradient(#101010, #000000); 23 border: none;
24 border: solid; 24 height: 0.2em;
25 border-bottom-color: #1d1d1d;
26 border-top-color: #2d2d2d;
27 border-width: 1px 0;
28 height: 0.3em;
29 margin: 0 auto; 25 margin: 0 auto;
30 position: relative; 26 position: relative;
31 width: 1.8em; 27 width: 1.8em;
32 } 28 }
33 </style> 29 </style>
34 <div class="shift-light-wrapper"> 30 <div class="shift-light-wrapper">
35 <div class="shift-light"> </div> 31 <div class="shift-light"> </div>
36 </div> 32 </div>
37 <shadow></shadow> 33 <shadow></shadow>
38 </template> 34 </template>
39 </polymer-element> 35 </polymer-element>
OLDNEW
« no previous file with comments | « ui/keyboard/resources/elements/kb-keyboard.html ('k') | ui/keyboard/resources/images/back.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698