OLD | NEW |
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 body { | 6 body { |
7 height: calc(100% - 12px); | 7 height: calc(100% - 12px); |
8 overflow: auto; | 8 overflow: auto; |
9 } | 9 } |
10 | 10 |
11 html { | 11 html { |
12 height: 100%; | 12 height: 100%; |
13 } | 13 } |
14 | 14 |
| 15 #pnacl-plugin { |
| 16 background-color: gray; |
| 17 border: 1px solid |
| 18 } |
| 19 |
| 20 #pnacl-plugin:focus { |
| 21 background-color: yellow; |
| 22 } |
| 23 |
| 24 .summary-log-container { |
| 25 width: 50%; |
| 26 height: 50vh; |
| 27 overflow-y: auto; |
| 28 float: left; |
| 29 } |
| 30 |
| 31 .text-log-container { |
| 32 width: 100%; |
| 33 max-height: 25vh; |
| 34 overflow-y: auto; |
| 35 float: left; |
| 36 } |
| 37 |
| 38 .char-event, |
15 .key-down, | 39 .key-down, |
16 .key-up { | 40 .key-up { |
17 border-radius: 4px; | 41 border-radius: 4px; |
18 border: 1px solid rgba(0, 0, 0, 0.3); | 42 border: 1px solid rgba(0, 0, 0, 0.3); |
19 padding: 2px; | 43 padding: 2px; |
20 margin-right: 2px; | 44 margin-right: 2px; |
21 } | 45 } |
22 | 46 |
| 47 .char-event { |
| 48 background-color: yellow; |
| 49 } |
| 50 |
| 51 .char-event::before { |
| 52 content: "char:"; |
| 53 } |
| 54 |
23 .key-up { | 55 .key-up { |
24 background-color: #DFD; | 56 background-color: #DFD; |
25 } | 57 } |
26 | 58 |
27 .key-up::before { | 59 .key-up::before { |
28 content: "-"; | 60 content: "-"; |
29 } | 61 } |
30 | 62 |
31 .key-down { | 63 .key-down { |
32 background-color: #FDD; | 64 background-color: #FDD; |
(...skipping 21 matching lines...) Expand all Loading... |
54 | 86 |
55 .chord-div.all-keys-released::after { | 87 .chord-div.all-keys-released::after { |
56 content: " \2714"; /* tick */ | 88 content: " \2714"; /* tick */ |
57 color: green; | 89 color: green; |
58 } | 90 } |
59 | 91 |
60 .chord-div.some-keys-still-pressed::after { | 92 .chord-div.some-keys-still-pressed::after { |
61 content: " \2716"; /* cross */ | 93 content: " \2716"; /* cross */ |
62 color: red; | 94 color: red; |
63 } | 95 } |
OLD | NEW |