summaryrefslogtreecommitdiffstats
path: root/client/components/main/keyboardShortcuts.styl
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-28 00:32:08 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-28 00:41:50 +0200
commit35d1d6b463c4a91ab06838896f5531f759696da2 (patch)
tree9fd93cc1e2e5213509384c19bed415ff787ac188 /client/components/main/keyboardShortcuts.styl
parent31c4aa01bda63e510e120ae9da8149c732111d2a (diff)
downloadwekan-35d1d6b463c4a91ab06838896f5531f759696da2.tar.gz
wekan-35d1d6b463c4a91ab06838896f5531f759696da2.tar.bz2
wekan-35d1d6b463c4a91ab06838896f5531f759696da2.zip
Display keyboard shortcuts on a modal
Fixes #241
Diffstat (limited to 'client/components/main/keyboardShortcuts.styl')
-rw-r--r--client/components/main/keyboardShortcuts.styl25
1 files changed, 25 insertions, 0 deletions
diff --git a/client/components/main/keyboardShortcuts.styl b/client/components/main/keyboardShortcuts.styl
new file mode 100644
index 00000000..42e0637b
--- /dev/null
+++ b/client/components/main/keyboardShortcuts.styl
@@ -0,0 +1,25 @@
+.shortcuts-list
+ .shortcuts-list-item
+ border-bottom: 1px solid darken(white, 25%)
+ padding: 10px 5px
+
+ &:last-child
+ border-bottom: none
+
+ .shortcuts-list-item-keys
+ margin-top: 5px
+ float: right
+
+ kbd
+ padding: 5px 8px
+ margin: 5px
+ font-size: 18px
+ font-weight: bold
+ background: white
+ border-radius: 3px
+ border: 1px solid darken(white, 10%)
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15)
+
+ .shortcuts-list-item-action
+ font-size: 1.4em
+ margin: 5px