(js,css) Improve keyboard shortcuts

- Defined some hotkeys in all modules;
- Added generation of cheat sheet.
This commit is contained in:
Francis Lachapelle
2016-09-27 16:16:09 -04:00
parent 13dd21bebb
commit 57a735753f
21 changed files with 630 additions and 74 deletions
@@ -0,0 +1,21 @@
/// hotkeys.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
.sg-hotkey-container {
display: inline;
margin-right: 1em;
text-align: right;
max-width: 7em;
min-width: 3em;
}
sg-hotkey {
background-color: #333;
border-radius: 5px;
border: 1px solid #333;
box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;
color: #fff;
display: inline-block;
margin-right: 5px;
padding: 5px 9px;
text-align: center;
}