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

Side by Side Diff: remoting/tools/javascript_key_tester/main.css

Issue 884703006: Handling PNaCl KeyboardInputEvent(s) in the key tester app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding disable_nacl==0 condition and disabling _jscompile target. Created 5 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
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « remoting/tools/javascript_key_tester/keyboard_map.js ('k') | remoting/tools/javascript_key_tester/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698