aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-05-10 22:40:47 +0100
committerStephen Blott2015-05-11 06:07:00 +0100
commitd9d2e1ed9286523081a49705e4827425f565c202 (patch)
treefbd76e93f140c30922834d22d458d77445851379
parentb733790d6b1b0f4110f3910e317e0be32b962fa4 (diff)
downloadvimium-d9d2e1ed9286523081a49705e4827425f565c202.tar.bz2
Search completion; tweak selection color.
-rw-r--r--background_scripts/completion_search.coffee2
-rw-r--r--pages/vomnibar.css6
2 files changed, 6 insertions, 2 deletions
diff --git a/background_scripts/completion_search.coffee b/background_scripts/completion_search.coffee
index 46533833..841990c9 100644
--- a/background_scripts/completion_search.coffee
+++ b/background_scripts/completion_search.coffee
@@ -74,7 +74,7 @@ CompletionSearch =
reusePreviousSuggestions = do =>
# Verify that the previous query is a prefix of the current query.
return false unless 0 == query.indexOf @mostRecentQuery.toLowerCase()
- # Ensure that every previous suggestion contains the text of the new query.
+ # Verify that every previous suggestion contains the text of the new query.
for suggestion in (@mostRecentSuggestions.map (s) -> s.toLowerCase())
return false unless 0 <= suggestion.indexOf query
# Ok. Re-use the suggestion.
diff --git a/pages/vomnibar.css b/pages/vomnibar.css
index dbcaf6e4..9fdc43ba 100644
--- a/pages/vomnibar.css
+++ b/pages/vomnibar.css
@@ -139,5 +139,9 @@
/* background-color: #F1F1F1; */
/* This is the light blue color of the vomnibar selected item. */
- background-color: #BBCEE9;
+ /* background-color: #BBCEE9; */
+
+ /* This is a considerably lighter blue than Vimium blue, which seems softer
+ * on the eye for this purpose. */
+ background-color: #E6EEFB;
}