1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:22:28 +01:00

Get rid of *style options and add highlight groups

This commit is contained in:
Kris Maglione
2008-10-07 14:46:18 +00:00
parent 45ad9f0c8b
commit 12a6b7ee05
4 changed files with 24 additions and 37 deletions

View File

@@ -88,7 +88,7 @@ liberator.Hints = function () //{{{
var scrollY = doc.defaultView.scrollY;
var baseNodeAbsolute = liberator.util.xmlToDom(
<span style={liberator.options["hintstyle"]} class="liberator-hint"/>, doc);
<span class="liberator-hint"/>, doc);
var elem, tagname, text, span, rect;
var res = liberator.buffer.evaluateXPath(liberator.options["hinttags"], doc, null, true);
@@ -555,10 +555,6 @@ liberator.Hints = function () //{{{
"XPath string of hintable elements activated by ';'",
"string", DEFAULT_HINTTAGS);
liberator.options.add(["hintstyle", "hs"],
"CSS specification of unfocused hints",
"string", "z-index:5000; font-family:monospace; font-size:10px; font-weight: bold; color:white; background-color:red; border-color:ButtonShadow; border-width:0px; border-style:solid; padding:0px 1px 0px 1px; position:absolute;");
liberator.options.add(["hinttags", "ht"],
"XPath string of hintable elements activated by 'f' and 'F'",
"string", DEFAULT_HINTTAGS);