1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 06:45:45 +01:00

Add light striping to the completions list until someone complains (especially those using custom themes...)

This commit is contained in:
Kris Maglione
2010-11-17 19:50:47 -05:00
parent a7eed221a2
commit 073b2e5e31
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -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;