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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user