OLD | NEW |
1 <!-- | 1 <!-- |
2 -- Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 -- Copyright (c) 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-row" attributes="align weight"> | 7 <polymer-element name="kb-row" attributes="align weight"> |
8 <template> | 8 <template> |
9 <style> | 9 <style> |
10 :host { | 10 :host { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 border-top-color: #717171; | 48 border-top-color: #717171; |
49 } | 49 } |
50 | 50 |
51 :host>:not(.dark):not(.active) { | 51 :host>:not(.dark):not(.active) { |
52 -webkit-box-shadow: inset 0px 1px #565656, inset 0px -1px #434343; | 52 -webkit-box-shadow: inset 0px 1px #565656, inset 0px -1px #434343; |
53 background-image: -webkit-linear-gradient(#484848, #474747); | 53 background-image: -webkit-linear-gradient(#484848, #474747); |
54 background-size: cover; | 54 background-size: cover; |
55 border-bottom-color: #393939; | 55 border-bottom-color: #393939; |
56 border-top-color: #717171; | 56 border-top-color: #717171; |
57 } | 57 } |
| 58 |
| 59 :host:nth-child(2) ::part(hint) { |
| 60 color: #2C2C2C; |
| 61 } |
| 62 |
| 63 :host:nth-child(3) ::part(hint) { |
| 64 color: #272727; |
| 65 } |
| 66 |
| 67 :host:nth-child(4) ::part(hint) { |
| 68 color: #232323; |
| 69 } |
58 </style> | 70 </style> |
59 <content select="*"></content> | 71 <content select="*"></content> |
60 </template> | 72 </template> |
61 <script> | 73 <script> |
62 Polymer('kb-row', { | 74 Polymer('kb-row', { |
63 align: RowAlignment.STRETCH, | 75 align: RowAlignment.STRETCH, |
64 weight: DEFAULT_KEY_WEIGHT_Y, | 76 weight: DEFAULT_KEY_WEIGHT_Y, |
65 }); | 77 }); |
66 </script> | 78 </script> |
67 </polymer-element> | 79 </polymer-element> |
OLD | NEW |