NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item1852: Wrong background color in CSS class foswikiBroadcastMessage and other template/CSS bugs

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Waiting for Release Web Site PatternSkin  
Hi,

I think that the change of background-color made at foswikiBroadcastMessage css class (http://www.foswiki.org/pub/System/PatternSkin/colors.css, revision 890) is incompatible with the background-image in the same class. The color of http://www.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

ItemTemplate edit

Summary Wrong background color in CSS class foswikiBroadcastMessage and other template/CSS bugs
ReportedBy ItaloValcy
Codebase 1.0.6
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Web Site
Component PatternSkin
Priority Low
CurrentState Waiting for Release
WaitingFor
Checkins Foswikirev:4552 Foswikirev:4553 Foswikirev:4579
TargetRelease patch
ReleasedIn 1.0.7
Topic revision: r5 - 29 Jul 2009 - 15:24:53 - OlivierRaginel
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads