From a5a645d1770e844afad9173592eee10349589714 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sun, 22 Jul 2012 14:42:34 -0700 Subject: Use vimium-specific class names, and use vimium reset. Now the vomnibar is more resistant to a site's css. Previously the vomnibar didn't look great on Quora because of this. --- content_scripts/vomnibar.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee index ac02dfca..0b96d2bb 100644 --- a/content_scripts/vomnibar.coffee +++ b/content_scripts/vomnibar.coffee @@ -67,7 +67,7 @@ class VomnibarUI if (@completions.length > 0) @selection = Math.min(@selection, @completions.length - 1) for i in [0...@completionList.children.length] - @completionList.children[i].className = (if i == @selection then "selected" else "") + @completionList.children[i].className = (if i == @selection then "vomnibarSelected" else "") # # Returns the user's action ("up", "down", "enter", "dismiss" or null) based on their keypress. @@ -158,8 +158,8 @@ class VomnibarUI initDom: -> @box = Utils.createElementFromHtml( '