You are here: Foswiki>Tasks Web>Item1852 (01 Nov 2012, GeorgeClark)Edit Attach

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

pencil
Priority: Low
Current State: Closed
Released In: 1.0.7
Target Release: patch
Applies To: Web Site
Component: PatternSkin
Branches:
Reported By: ItaloValcy
Waiting For:
Last Change By: GeorgeClark
Hi,

I think that the change of background-color made at foswikiBroadcastMessage css class (http://translate.foswiki.org/pub/System/PatternSkin/colors.css, revision 890) is incompatible with the background-image in the same class. The color of http://translate.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 Closed
WaitingFor
Checkins distro:6a3cb480b73f distro:fb409cfd4ae1 distro:30ab5429788f
TargetRelease patch
ReleasedIn 1.0.7
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r6 - 01 Nov 2012, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy