| 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 @font-face { | 7 @font-face { |
| 8 font-family: roboto-bold; | 8 font-family: roboto-bold; |
| 9 src: url(roboto_bold.ttf); | 9 src: url(roboto_bold.ttf); |
| 10 } | 10 } |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * TODO(rsadam@): Remove all these rules once we switch to native | 13 * TODO(rsadam@): Remove all these rules once we switch to native |
| 14 * shadow dom. | 14 * shadow dom. |
| 15 */ | 15 */ |
| 16 kb-keyboard.ctrl-active kb-modifier-key[char=Ctrl], | 16 kb-keyboard.ctrl-active kb-modifier-key[char=Ctrl], |
| 17 kb-keyboard.alt-active kb-modifier-key[char=Alt] { | 17 kb-keyboard.alt-active kb-modifier-key[char=Alt], |
| 18 background-color: #bbbbbb; | 18 kb-keyboard.caps-locked kb-shift-key.dark { |
| 19 } | 19 -webkit-box-shadow: inset 0 0 3px 2px #aaaaaa; |
| 20 | 20 background-color: #cccccc; |
| 21 kb-keyboard[keyset="upper"] kb-shift-key.dark /deep/ .key { | |
| 22 background-image: url('images/shift-filled.svg'); | |
| 23 } | |
| 24 | |
| 25 kb-keyboard[keyset="lower"] kb-shift-key /deep/ .key{ | |
| 26 background-image: url('images/shift.svg'); | |
| 27 } | 21 } |
| 28 | 22 |
| 29 /** | 23 /** |
| 30 * Controls whether the shift key should be highlighted or not. | 24 * Controls whether the shift key should be highlighted or not. |
| 31 */ | 25 */ |
| 32 kb-keyboard.caps-locked kb-shift-key.dark /deep/ | 26 kb-keyboard[keyset="upper"] kb-shift-key.dark /deep/ |
| 33 .shift-light { | 27 .shift-light { |
| 34 background-color: #4285f4; | 28 background-color: #4285f4; |
| 35 } | 29 } |
| 36 | 30 |
| 37 .space, | 31 .space, |
| 38 .dark { | 32 .dark { |
| 39 font-size: 70%; | 33 font-size: 70%; |
| 40 } | 34 } |
| 41 | 35 |
| 42 .dark:not(.active), | 36 .dark:not(.active), |
| 43 :not(kb-altkey-set) > :not(.dark).active { | 37 :not(kb-altkey-set) > :not(.dark).active { |
| 44 background-color: #dddddd; | 38 background-color: #dddddd; |
| 45 } | 39 } |
| 46 | 40 |
| 47 .space { | 41 .space { |
| 48 color: #bbbbbb; | 42 color: #bbbbbb; |
| 49 } | 43 } |
| OLD | NEW |