Improve presentation of hotkeys and add bold+italics

This commit is contained in:
James Allen 2016-02-04 15:52:38 +00:00
parent 5cfd4e0d1f
commit a6793be3cf
2 changed files with 13 additions and 3 deletions

View file

@ -50,16 +50,22 @@ script(type="text/ng-template", id="hotkeysModalTemplate")
.hotkey .hotkey
span.combination {{ctrl}} + A span.combination {{ctrl}} + A
span.description Select All span.description Select All
.col-xs-6
.hotkey .hotkey
span.combination Tab span.combination Tab
span.description Indent Selection span.description Indent Selection
.col-xs-6
.hotkey .hotkey
span.combination {{ctrl}} + U span.combination Ctrl + U
span.description To Uppercase span.description To Uppercase
.hotkey .hotkey
span.combination Ctrl + Shift + U span.combination Ctrl + Shift + U
span.description To Lowercase span.description To Lowercase
.hotkey
span.combination {{ctrl}} + B
span.description Bold text
.hotkey
span.combination {{ctrl}} + I
span.description Italic Text
.modal-footer .modal-footer
button.btn.btn-default( button.btn.btn-default(
ng-click="cancel()" ng-click="cancel()"

View file

@ -6,7 +6,11 @@
} }
.hotkey { .hotkey {
margin-bottom: @line-height-computed / 4; margin-bottom: @line-height-computed / 2;
}
.description {
display: inline-block;
} }
.combination { .combination {