Item1852: Wrong background color in CSS class foswikiBroadcastMessage and other template/CSS bugs
Priority: Low
Current State: Closed
Released In: 1.0.7
Target Release: patch
Hi,
I think that the change of background-color made at foswikiBroadcastMessage css class (
http://foswiki.org/pub/System/PatternSkin/colors.css, revision 890) is incompatible with the background-image in the same class. The color of
http://foswiki.org/pub/System/PatternSkin/background_alert.gif
(value of background-image in that css class) looks like #ffe67b html code (the old code) and not with #fff0c4 html code (the new code).
Because this, when the BROADCASTMESSAGE text is great than the size of background-image (vertical size) then the page looks bad... For example:
https://wiki.dcc.ufba.br/Sandbox/TestBroadCastMessage
I think that these changes bellow fix this "problem" (I tested this unit, but I don't know if this change can break other template... - and because this the change was made only in foswikiBroadcastMessage and not in foswikiNotification):
Index: colors.css
===================================================================
--- colors.css (revisão 4544)
+++ colors.css (cópia de trabalho)
@@ -340,7 +340,9 @@
.foswikiToc .foswikiTocTitle {
color:#777;
}
-.foswikiBroadcastMessage,
+.foswikiBroadcastMessage{
+ background-color:#ffe67b;
+}
.foswikiNotification {
background-color:#fff7e1;
}
Thanks for any help!!!
--
ItaloValcy
You are right.
--
ArthurClemens - 26 Jul 2009
It just broke some unit tests, because you also fixed the patternAtachmentHeader typo (Attachment). Fixing and closing.
--
OlivierRaginel - 29 Jul 2009