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 body { | 7 body { |
8 -webkit-box-pack: center; | 8 -webkit-box-pack: center; |
9 -webkit-user-select: none; | 9 -webkit-user-select: none; |
10 background-color: #0b0b0b; | 10 background-color: #0b0b0b; |
11 display: -webkit-box; | 11 display: -webkit-box; |
12 margin: 0; | 12 margin: 0; |
13 overflow: hidden; | 13 overflow: hidden; |
14 padding: 0; | 14 padding: 0; |
15 } | 15 } |
16 | 16 |
17 kb-keyboard { | 17 kb-keyboard { |
18 -webkit-box-orient: vertical; | 18 -webkit-box-orient: vertical; |
19 display: -webkit-box; | 19 display: -webkit-box; |
20 } | 20 } |
21 | 21 |
22 kb-key { | 22 kb-key { |
23 background-color: #444444; | 23 background-color: #444444; |
24 border-top: 1px solid #666666; | 24 border-top: 2px solid #555555; |
25 border-radius: 3px; | 25 border-radius: 1px; |
26 color: #ffffff; | 26 color: #ffffff; |
27 font-family: sans-serif; | 27 font-family: sans-serif; |
28 font-weight: 100; | 28 font-weight: 600; |
29 margin-left: 3px; | 29 margin-left: 3px; |
30 } | 30 } |
31 | 31 |
32 kb-key.dark { | 32 kb-key.dark { |
33 background-color: #333333; | 33 background-color: #333333; |
| 34 border-top: 2px solid #444444; |
| 35 } |
| 36 |
| 37 /* Left and right-side special keys with a character letter next to them need |
| 38 * additional padding. |
| 39 * */ |
| 40 kb-key.padded-left-special { |
| 41 margin-right: 2px; |
| 42 } |
| 43 |
| 44 kb-key.padded-right-special { |
| 45 margin-left: 5px; |
| 46 } |
| 47 |
| 48 kb-row.top { |
| 49 margin-top: 5px !important; |
34 } | 50 } |
35 | 51 |
36 #upper .left-shift, | 52 #upper .left-shift, |
37 #upper .right-shift, | 53 #upper .right-shift, |
38 .active { | 54 .active { |
39 background-color: #acacac !important; | 55 background-color: #acacac !important; |
40 border-top: 1px solid rgba(125,125,125,0.5); | 56 border-top: 2px solid rgba(125,125,125,0.5) !important; |
41 /* Do not use box shadow until performance improves | 57 /* Do not use box shadow until performance improves |
42 * http://code.google.com/p/chromium/issues/detail?id=99045 | 58 * http://code.google.com/p/chromium/issues/detail?id=99045 |
43 box-shadow: 0px 0px 15px #fff; | 59 * box-shadow: 0px 0px 15px #fff; |
44 */ | 60 * */ |
45 } | 61 } |
46 | 62 |
47 .at, | 63 .at, |
48 .com, | 64 .com, |
49 .comma, | 65 .comma, |
50 .hide, | 66 .hide, |
51 .mic, | 67 .mic, |
52 .period, | 68 .period, |
53 .tab { | 69 .tab { |
54 -webkit-box-flex: 1.3 !important; | 70 -webkit-box-flex: 1.3 !important; |
(...skipping 28 matching lines...) Expand all Loading... |
83 | 99 |
84 .backspace, | 100 .backspace, |
85 .tab, | 101 .tab, |
86 .return, | 102 .return, |
87 .left-shift, | 103 .left-shift, |
88 .right-shift, | 104 .right-shift, |
89 .left-more, | 105 .left-more, |
90 .right-more, | 106 .right-more, |
91 .symbol, | 107 .symbol, |
92 .moddown.shift { | 108 .moddown.shift { |
93 font-size: 80%; | 109 font-size: 55%; |
| 110 font-weight: 200; |
94 } | 111 } |
95 | 112 |
96 .mic { | 113 .mic { |
97 background-image: url('images/mic.svg'); | 114 background-image: url('images/mic.svg'); |
98 } | 115 } |
99 | 116 |
100 .audio .mic { | 117 .audio .mic { |
101 background-image: url('images/mic-green.svg'); | 118 background-image: url('images/mic-green.svg'); |
102 } | 119 } |
| 120 |
| 121 .half-key-spacer { |
| 122 -webkit-box-flex: 0.5; |
| 123 margin-left: 4px; |
| 124 } |
OLD | NEW |