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

Unified Diff: remoting/tools/javascript_key_tester/main.css

Issue 900983003: Clean-up key tester. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer feedback. 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 side-by-side diff with in-line comments
Download patch
Index: remoting/tools/javascript_key_tester/main.css
diff --git a/remoting/tools/javascript_key_tester/main.css b/remoting/tools/javascript_key_tester/main.css
index 8010f619b543947c9fe481b25d321dbfd7272eb2..0c6f4e5ac49f9bca8625bc49e968a8d287c179b2 100644
--- a/remoting/tools/javascript_key_tester/main.css
+++ b/remoting/tools/javascript_key_tester/main.css
@@ -12,44 +12,44 @@ html {
height: 100%;
}
-#pnacl-plugin {
- background-color: gray;
- border: 1px solid
-}
-
-#pnacl-plugin:focus {
- background-color: yellow;
-}
-
.summary-log-container {
width: 50%;
- height: 50vh;
+ height: 100%;
overflow-y: auto;
float: left;
}
-.text-log-container {
- width: 100%;
- max-height: 25vh;
- overflow-y: auto;
- float: left;
+#text-log-container {
+ position: fixed;
+ top: 32px;
+ left: 16px;
+ right: 16px;
+ bottom: 32px;
+ border: 1px solid gray;
+ box-shadow: 0px 4px 10px 4px rgba(0,0,0,0.3);
+ background-color: white;
+ overflow: scroll;
}
-.char-event,
-.key-down,
-.key-up {
+#text-log {
+ padding: 8px;
+}
+
+.selectable {
+ -webkit-user-select: text;
+ cursor: text;
+}
+
+.key-div {
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, 0.3);
padding: 2px;
margin-right: 2px;
+ display: inline-block;
}
.char-event {
- background-color: yellow;
-}
-
-.char-event::before {
- content: "char:";
+ background-color: #DDF;
}
.key-up {
@@ -57,7 +57,7 @@ html {
}
.key-up::before {
- content: "-";
+ content: "\2011"; /** non-breaking hyphen */
}
.key-down {
@@ -93,3 +93,9 @@ html {
content: " \2716"; /* cross */
color: red;
}
+
+.controls {
+ position: absolute;
+ right: 8px;
+ top: 8px;
+}
« no previous file with comments | « remoting/tools/javascript_key_tester/event_listeners.js ('k') | remoting/tools/javascript_key_tester/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698