mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-01 19:57:17 +00:00
(js,css) Improve keyboard shortcuts
- Defined some hotkeys in all modules; - Added generation of cheat sheet.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -65,6 +65,7 @@
|
||||
// Inverse components
|
||||
@import 'components/draggable-droppable/draggable';
|
||||
@import 'components/draggable-droppable/droppable';
|
||||
@import 'components/hotkeys/hotkeys';
|
||||
@import 'components/ripple/ripple';
|
||||
@import 'components/timepicker/timepicker';
|
||||
@import 'components/pseudo-input/pseudo-input';
|
||||
|
||||
Reference in New Issue
Block a user