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