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

Side by Side Diff: ui/keyboard/resources/elements/kb-keyboard.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
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-keyboard" on-key-over="{{keyOver}}" 7 <polymer-element name="kb-keyboard" on-key-over="{{keyOver}}"
8 on-key-up="{{keyUp}}" on-key-down="{{keyDown}}" 8 on-key-up="{{keyUp}}" on-key-down="{{keyDown}}"
9 on-key-longpress="{{keyLongpress}}" on-pointerup="{{up}}" 9 on-key-longpress="{{keyLongpress}}" on-pointerup="{{up}}"
10 on-pointerdown="{{down}}" on-pointerout="{{out}}" 10 on-pointerdown="{{down}}" on-pointerout="{{out}}"
11 on-enable-sel="{{enableSel}}" on-enable-dbl="{{enableDbl}}" 11 on-enable-sel="{{enableSel}}" on-enable-dbl="{{enableDbl}}"
12 on-key-out="{{keyOut}}" on-set-layout="{{setLayout}}" on-type-key="{{type}}" 12 on-key-out="{{keyOut}}" on-set-layout="{{setLayout}}" on-type-key="{{type}}"
13 attributes="inputType inputTypeToLayoutMap keyset layout volume"> 13 attributes="inputType inputTypeToLayoutMap keyset layout volume">
14 <template> 14 <template>
15 <style> 15 <style>
16 :host { 16 :host {
17 -webkit-user-select: none; 17 -webkit-user-select: none;
18 background-image: -webkit-linear-gradient(#282828, #000000); 18 background-color: #eeeeee;
19 background-size: cover;
20 bottom: 0; 19 bottom: 0;
21 cursor: default; 20 cursor: default;
22 left: 0; 21 left: 0;
23 margin: 0; 22 margin: 0;
24 overflow: hidden; 23 overflow: hidden;
25 padding: 0; 24 padding: 0;
26 position: absolute; 25 position: absolute;
27 right: 0; 26 right: 0;
28 top: 0; 27 top: 0;
29 } 28 }
30 </style> 29 </style>
31 <!-- The ID for a keyset follows the naming convention of combining the 30 <!-- The ID for a keyset follows the naming convention of combining the
32 -- layout name with a base keyset name. This convention is used to 31 -- layout name with a base keyset name. This convention is used to
33 -- allow multiple layouts to be loaded (enablign fast switching) while 32 -- allow multiple layouts to be loaded (enablign fast switching) while
34 -- allowing the shift and spacebar keys to be common across multiple 33 -- allowing the shift and spacebar keys to be common across multiple
35 -- keyboard layouts. 34 -- keyboard layouts.
36 --> 35 -->
37 <content select="kb-keyset" id="content"></content> 36 <content select="kb-keyset" id="content"></content>
38 <kb-key-codes id="keyCodeMetadata"></kb-key-codes> 37 <kb-key-codes id="keyCodeMetadata"></kb-key-codes>
39 </template> 38 </template>
40 </polymer-element> 39 </polymer-element>
OLDNEW
« no previous file with comments | « ui/keyboard/resources/elements/kb-key.html ('k') | ui/keyboard/resources/elements/kb-shift-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698