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-key" extends="kb-key-base" attributes="image keyCode | 7 <polymer-element name="kb-key" extends="kb-key-base" attributes="image keyCode |
8 keyName shiftModifier sound stretch weight"> | 8 keyName shiftModifier sound stretch weight"> |
9 <template> | 9 <template> |
10 <style> | 10 <style> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 :host([image]) .key { | 52 :host([image]) .key { |
53 height: 30%; | 53 height: 30%; |
54 } | 54 } |
55 | 55 |
56 :host([image].tab) .key { | 56 :host([image].tab) .key { |
57 height: 40%; | 57 height: 40%; |
58 } | 58 } |
59 | 59 |
60 :host .hint, | 60 :host .hint, |
61 :host([invert]) key { | 61 :host([invert]) key { |
62 color: #bbbbbb; | 62 color: #bababa; |
63 } | 63 } |
64 | 64 |
65 :host .hint { | 65 :host .hint { |
66 font-size: 70%; | 66 font-size: 70%; |
67 position: absolute; | 67 position: absolute; |
68 right: 7%; | 68 right: 7%; |
69 top: 5%; | 69 top: 5%; |
70 } | 70 } |
71 | 71 |
72 :host([invert]) .hint { | 72 :host([invert]) .hint { |
(...skipping 30 matching lines...) Expand all Loading... |
103 </polymer-element> | 103 </polymer-element> |
104 | 104 |
105 <!-- Special keys --> | 105 <!-- Special keys --> |
106 <polymer-element name="kb-abc-key" class="symbol dark" char="Invalid" | 106 <polymer-element name="kb-abc-key" class="symbol dark" char="Invalid" |
107 extends="kb-key" weight="125"> | 107 extends="kb-key" weight="125"> |
108 </polymer-element> | 108 </polymer-element> |
109 | 109 |
110 <polymer-element name="kb-hide-keyboard-key" class="hide-keyboard dark" | 110 <polymer-element name="kb-hide-keyboard-key" class="hide-keyboard dark" |
111 align="center" attributes="showMenu" char="Invalid" extends="kb-key"> | 111 align="center" attributes="showMenu" char="Invalid" extends="kb-key"> |
112 </polymer-element> | 112 </polymer-element> |
OLD | NEW |