Commit 6ba7e301 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 272456 : Default text color not set

Patch by Myk Melez <myk@mozilla.org> r=LpSolit, justdave a=justdave
parent cf769571
...@@ -21,6 +21,12 @@ ...@@ -21,6 +21,12 @@
* Svetlana Harisova <light@rathedg.com> * Svetlana Harisova <light@rathedg.com>
*/ */
body
{
color: #000;
background-color: #fff;
}
/* banner (begin) */ /* banner (begin) */
#banner #banner
{ {
......
...@@ -264,7 +264,6 @@ ...@@ -264,7 +264,6 @@
'global/header.html.tmpl' => [ 'global/header.html.tmpl' => [
'javascript', 'javascript',
'style', 'style',
'bgcolor',
'onload', 'onload',
'h1', 'h1',
'h2', 'h2',
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
# h1: string. Main page header. # h1: string. Main page header.
# h2: string. Page subheader. # h2: string. Page subheader.
# h3: string. Right-aligned subheader. # h3: string. Right-aligned subheader.
# bgcolor: string. the page's background color ("#rrggbb").
# bodyclasses: array of extra CSS classes for the <body> # bodyclasses: array of extra CSS classes for the <body>
# onload: string. JavaScript code to run when the page finishes loading. # onload: string. JavaScript code to run when the page finishes loading.
# javascript: string. Javascript to go in the header. # javascript: string. Javascript to go in the header.
...@@ -43,7 +42,6 @@ ...@@ -43,7 +42,6 @@
[% DEFAULT [% DEFAULT
h2 = "" h2 = ""
h3 = "" h3 = ""
bgcolor = "#ffffff"
onload = "" onload = ""
%] %]
...@@ -101,10 +99,10 @@ ...@@ -101,10 +99,10 @@
</head> </head>
[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag, [%# Migration note: contents of the old Param 'bodyhtml' go in the body tag,
# but set the bgcolor and onload attributes in the DEFAULT directive above. # but set the onload attribute in the DEFAULT directive above.
#%] #%]
<body bgcolor="[% bgcolor %]" onload="[% onload %]" <body onload="[% onload %]"
class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
[% FOREACH class = bodyclasses %] [% FOREACH class = bodyclasses %]
[% ' ' %][% class FILTER css_class_quote %] [% ' ' %][% class FILTER css_class_quote %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment