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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 color: #bbbbbb; | 62 color: #bbbbbb; |
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-context(.hide-hint-text) .hint { |
| 73 display: none; |
| 74 } |
| 75 |
72 :host([invert]) .hint { | 76 :host([invert]) .hint { |
73 color: #666666; | 77 color: #666666; |
74 } | 78 } |
75 | 79 |
76 :host(.dark) { | 80 :host(.dark) { |
77 font-size: 70%; | 81 font-size: 70%; |
78 } | 82 } |
79 | 83 |
80 :host(.active) { | 84 :host(.active) { |
81 background-color: #dddddd; | 85 background-color: #dddddd; |
(...skipping 17 matching lines...) Expand all Loading... |
99 </polymer-element> | 103 </polymer-element> |
100 | 104 |
101 <!-- Special keys --> | 105 <!-- Special keys --> |
102 <polymer-element name="kb-abc-key" class="symbol dark" char="Invalid" | 106 <polymer-element name="kb-abc-key" class="symbol dark" char="Invalid" |
103 extends="kb-key" weight="125"> | 107 extends="kb-key" weight="125"> |
104 </polymer-element> | 108 </polymer-element> |
105 | 109 |
106 <polymer-element name="kb-hide-keyboard-key" class="hide-keyboard dark" | 110 <polymer-element name="kb-hide-keyboard-key" class="hide-keyboard dark" |
107 align="center" attributes="showMenu" char="Invalid" extends="kb-key"> | 111 align="center" attributes="showMenu" char="Invalid" extends="kb-key"> |
108 </polymer-element> | 112 </polymer-element> |
OLD | NEW |