Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor UI tweaks

  • Loading branch information...
commit 1c2147076eaccb2c83bb99662a49041bba881330 1 parent 85288eb
@autonome authored
View
7 data/commands-autocomplete.html
@@ -4,16 +4,17 @@
body {
margin: 0;
padding: 0;
- background-color: silver;
}
#cmdContainer {
- padding: 0.5em;
+ padding-top: 0.5em;
+ padding-left: 0.5em;
}
#cmd {
color: #fff;
- font-size: 2em;
overflow: hidden;
white-space: nowrap;
+ font: message-box;
+ font-size: 2em;
}
.typed {
text-decoration: underline;
View
3  data/commands-autocomplete.js
@@ -19,9 +19,6 @@ window.addEventListener("DOMContentLoaded", function() {
cmd.style.color = "red";
}
});
-
- // sent init message to jetpack code
- //postMessage(JSON.stringify({init: true}));
}, false);
function generateUnderlined(wholeString, subString) {
View
5 lib/main.js
@@ -110,8 +110,9 @@ function isIgnorable(e) {
}
function onKeyPress(e) {
- if (active)
- e.preventDefault();
+ //if (active)
+ // e.preventDefault();
+
// show ui on cmd+shift+; (colon)
if (!active && e.metaKey && e.which == 58) {
update("", lastExecuted || "Type a command...");
View
4 package.json
@@ -2,8 +2,8 @@
"name": "cmd",
"license": "MPL 1.1/GPL 2.0/LGPL 2.1",
"author": "Dietrich Ayala",
- "version": "3.0",
+ "version": "4.0",
"fullName": "cmd",
"id": "jid0-IwGwzPi3AqlZLfHV1nfcQbYQj6E",
- "description": "Quick command execution for Firefox"
+ "description": "Quick command execution for Firefox - default shortcut is control/command + shift + semi-colon."
}
Please sign in to comment.
Something went wrong with that request. Please try again.