Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve UI of keyboard shortcuts #201

neocotic opened this issue May 21, 2013 · 1 comment

Improve UI of keyboard shortcuts #201

neocotic opened this issue May 21, 2013 · 1 comment


Copy link

@neocotic neocotic commented May 21, 2013

This can be done easily. First, replace the following lines (currently separate) from popup.css:

#templates li > a .pull-right {color: #999;}
#templates li > a:hover .pull-right {color: #FFF;}


#templates li > a .shortcut {font-family: Consolas, "Liberation Mono", Courier, monospace; font-size: 12px;}
#templates li > a:hover .shortcut {color: #FFF;}

And change the following in the buildTemplate function within

  if template.shortcut and store.get 'shortcuts.enabled'
    anchor.append $ '<span/>',
      class: 'pull-right muted shortcut'
      html:  "#{ext.modifiers()}#{template.shortcut}"

This same sort of change should also be applied to the Shortcut column on the Templates tab of the options page.

Copy link
Member Author

@neocotic neocotic commented Feb 26, 2014

This has been implemented as part of #213.

@neocotic neocotic closed this Feb 26, 2014
@neocotic neocotic self-assigned this Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.