Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 52687 invoked from network); 3 Jul 2007 23:01:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 23:01:25 -0000 Received: (qmail 31101 invoked by uid 500); 3 Jul 2007 23:01:28 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 30935 invoked by uid 500); 3 Jul 2007 23:01:28 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 30920 invoked by uid 99); 3 Jul 2007 23:01:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 16:01:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [203.121.192.8] (HELO mail.e-wire.net.au) (203.121.192.8) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 16:01:24 -0700 Received: from developer (203-121-204-130.e-wire.net.au [203.121.204.130]) by mail.e-wire.net.au (8.13.1/8.13.1) with ESMTP id l63N0wsg027372 for ; Wed, 4 Jul 2007 07:00:58 +0800 From: "Gav...." To: Subject: RE: [jira] Commented: (FOR-605) CSS enhancements needed for MOTD area inside Table of Contents Date: Wed, 4 Jul 2007 07:01:02 +0800 Message-ID: <00a301c7bdc6$07fdb430$650fa8c0@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <20070626012606.GG1111@igg.indexgeo.com.au> Thread-index: Ace3kQ0GChGJIDTpRDeSO2EsZ4hEQQGMp4wA X-Antivirus: avast! (VPS 000753-2, 03/07/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.90.1/3582/Tue Jul 3 13:50:07 2007 on mail.e-wire.net.au X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on perm-colo-mail2-local X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.0 required=8.0 tests=none autolearn=disabled version=3.1.9 > -----Original Message----- > From: David Crossley [mailto:crossley@apache.org] > Sent: Tuesday, 26 June 2007 9:26 AM > To: dev@forrest.apache.org > Subject: Re: [jira] Commented: (FOR-605) CSS enhancements needed for MOTD > area inside Table of Contents > > Gav.... wrote: > > From: David Crossley: > > > Gav.... wrote: > > > > > > > > Ok, so 550036 has moved MOTD to the left and removed relative > > > positioning. > > > > > > > > It looks much better than it did and does not overlap content. > > > > > > > > Where it was floated right, it caused all sorts of issues, not > easily > > > > fixed due to the fact that MOTD and/or surrounding content divs and > > > classes > > > > could be optionally added/removed at any time. There is as far as I > can > > > see > > > > no good all round fix for this, taking browser sizes, browser > versions > > > and > > > > screen resolutions into account. The current fix works fine for all > > > those > > > > but may not 'look' as good as if it were prevalent on the right > side. > > > > > > It is a shame. The original right-hand position was also > > > trying to utilise the whitespace at the right of the > > > Table Of Contents (ToC). Option #1 has even more wasted space. > > > > Agree > > > > > > I do have one idea to improve the look and keep it where it is on > the > > > > left, hopefully being an agreed final fix for this MOTD position. > > > > > > > > I would like to propose that we create a new MOTD class in the same > > > > style as .note, .warning and .fixme. We'll give it a unique color > from > > > > the rest but will be displayed in exactly the same way, from the > left > > > going > > > > as far across the screen as necessary, with a title section and > content > > > > section the same as .note etc. > > > > > > > > We can call it .information with 'Information' being the default > label > > > for > > > > the top part which can be over-ridden with your own label, the MOTD > on > > > the > > > > current forrest index page would instead use this with a label of > > > 'Latest > > > > release 0.8', the content area then having '18 April 2007 Forrest- > 0.8 > > > > released: Features the Locationmap. (More)' > > > > > > There is no configuration for the "label" attribute. > > > > Sorry, mistake I meant :- > > > >
> >
latest 0.8 release
> >
'18 April 2007 Forrest-0.8 > > released: Features the Locationmap. (More) > >
> >
> > > > but don't worry about it now ... > > No that is not what i meant. There is no > configuration in skinconf.xml for "motd label". > It is only a snippet of text, so it needs to be > kept simple. > > > > Perhaps just use a concise box with slightly bigger > > > border on all sides, using the existing colours. > > > > Ok, no problem. > > > > > > I'll do a mock up in a test-sample site and attach the graphic to > this > > > issue > > > > if you like but I'm sure you know what I mean. > > > > > > > > So we have choices :- > > > > > > > > 1. Keep it as I have changed it to currently - to the left and still > the > > > > traditional MOTD. > > > > > > It wasn't a "traditional look". It was just a hack to fix > > > the docs during the 0.7 release. No effort was spent on > > > the look. I would prefer it to be more prominent CSS emphasis. > > > > > > > 2. Create a new version of MOTD in the style of .note etc -- still > > > keeping > > > > the same way that we apply the MOTD, just the style changes. > > > > > > I reckon that it would be too bulky and not stand > > > out sufficiently. > > > > > > > 3. Revert and try something else, but it will be difficult to get it > > > right > > > > and keep it right for all scenarios. The above two will work in all > > > > scenarios. > > > > > > > > 4. Something else. > > > > > > > > Thoughts ? > > > > > > Remember that these MOTD notes are intended to be > > > very short. The content needs to also be able to > > > fit into the bottom of the left-hand panel. > > > > > > We are already utilising the space to the right > > > of the Title for Font Size and alternate formats, > > > so cannot put it there. > > > > > > There are a number of pieces of "top matter". > > > a) Title and its right-hand friends seem fine as-is. > > > b) Optional header/abstract is shown above the ToC. > > > > > > Would it be possible to have a div for this second set? > > > Then perhaps include the "motd" to the right-hand side. > > > It should then collapse gracefully if those two > > > pieces of content are missing. FLW. > > > > > > This is probably how i should have done it to > > > start with, but was in a rush at the time. > > > > Ok, so enclose #MOTD and .abstract into a new div holding area. > > > > .abstract left and #motd floated right, if either one is missing > > make sure the other still holds its place. If both are missing > > the container div will collapse. > > > > Sounds like a plan. > > Actually i meant to include the Table of Contents too. > > +-----------------------------------------------+ > | +-----------------------------+-------------+ | > | | | Right Panel | | > | | header/abstract | | | > | | | | | > | +-----------------------------+ | | > | | | | | > | | Generated ToC | | | > | | | | | > | | | | | > | +-----------------------------+-------------+ | > +-----------------------------------------------+ > > In the "Right Panel" would go the MOTD. > Perhaps later other things could go there too. What would be the consequences of moving header/abstract into ? I am trying to re-organise header/abstract + MOTD + ToC into a container div, but is a little difficult when some of the content/structure comes from site-to-xhtml.xsl and some come from document-to-html.xsl and the 2nd refers to the 1st !! If I move header/abstract into the then it all works fine and I have my master container div for these sections. CSS then makes it how we want. I will have to rethink another strategy if I can not move the above though. I will expand on the exact problem later, off to work. Gav... > > This is easier with the Dispatcher of course. > > -David > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.9.8/869 - Release Date: 6/25/2007 > 5:32 PM