From 073b2e5e319123cd678d523330fc1caf92c8a983 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 17 Nov 2010 19:50:47 -0500 Subject: [PATCH] Add light striping to the completions list until someone complains (especially those using custom themes...) --- common/content/configbase.js | 1 + common/modules/highlight.jsm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/content/configbase.js b/common/content/configbase.js index 4a05ef17..864a1061 100644 --- a/common/content/configbase.js +++ b/common/content/configbase.js @@ -209,6 +209,7 @@ const ConfigBase = Class(ModuleBase, { CompTitle>* padding: 0 .5ex; CompMsg font-style: italic; margin-left: 16px; CompItem + CompItem:nth-child(2n+1) background: #f2f2f2; CompItem[selected] background: yellow; CompItem>* padding: 0 .5ex; CompIcon width: 16px; min-width: 16px; display: inline-block; margin-right: .5ex; diff --git a/common/modules/highlight.jsm b/common/modules/highlight.jsm index ef3bc6f3..fc116045 100644 --- a/common/modules/highlight.jsm +++ b/common/modules/highlight.jsm @@ -78,7 +78,7 @@ const Highlights = Module("Highlight", { obj.style = old.style; } - if (/^[[>+ ]/.test(args[1])) + if (/^[[>+: ]/.test(args[1])) obj.selector = this.selector(obj.class) + args[1]; if (old && old.value != old.default) obj.value = old.value;