Stanimir Stamenkov wrote:
Sun, 15 May 2011 21:14:39 +0300, /Stanimir Stamenkov/:

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

Ah, you'll need to mark the style declarations as !important to override
the existing ones (I always forget):

.urlbar-security-level[level="high"],
.urlbar-security-level[level="low"] {
background-color: pink !important;
color: black !important;
}


I never paid any attention to the URL bar color, but that tweak WFM in SM 2.1RC1 on openSUSE 11.3 Linux. I always wondered why !important was included and now I know. I'm off to remove the code.

WLS
--

openSUSE 11.3(x86_64) - Gnome2.30 - SeaMonkey 2.1
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to