Sun, 15 May 2011 20:39:04 +0300, /Stanimir Stamenkov/:
Sun, 15 May 2011 09:58:30 -0700, /David E. Ross/:
I'm already using browser.bookmarks.autoExportHTML to refresh my
bookmarks.html file. What I want is to apply some CSS to format its
display with folders indented, subfolders doubly indented, etc.
Placing:
@-moz-document
url("file:///.../Mozilla/SeaMonkey/Profiles/????????.default/bookmarks.html")
{
h3 + dl {
margin-left: 40px;
}
}
in my "userContent.css" (adjusting the URL as necessary) seems to
fix the presentation of the inherently broken "bookmarks.html"
markup for me.
I read at one time a technique for doing this. I think it involved
using the userChrome.css file in my profile, but I'm not sure. I
certainly don't remember how to set the CSS there. (CSS that I have
there now for coloring the address area for secure sites -- pink instead
of the default pale yellow -- no longer works with SM 2.1RC1 but did
work with SM 2.0.14.
Applying custom styling to the bookmarks.html should involve
"userContent.css" and not "userChrome.css". If you could open your
bookmarks with SM 2.0.14 and see your styling applied, you could use
the DOM Inspector to verify where the styles come from.
Sorry. Didn't realize you're taking about different than the
"bookmarks.html" thing. The background color of the URL field is
not exactly pale yellow by default, but uses the system color for
tool tips. You could either change that, or if you really want a
custom color, try adding the following to your "userChrome.css":
@-moz-document url("chrome://navigator/content/navigator.xul") {
.urlbar-security-level[level="high"],
.urlbar-security-level[level="low"] {
background-color: pink;
color: black;
}
}
--
Stanimir
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey