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

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

Issue 163413006: Makes the hint text darker for lower rows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | 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 (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
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698