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


None yet
1 participant

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.


This comment has been minimized.

Show comment
Hide comment

neocotic Feb 26, 2014


This has been implemented as part of #213.


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