Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Highlighting the last item in the Site Tree


Reply


3 Posts   1240 Views

Avatar
Nathan Cox

Community Member, 99 Posts

4 July 2007 at 2:36am

I noticed that the last item on any level of the site tree (or should I say the last child of any item) doesn't highlight correctly when you select it.
This is because the .last class is overriding the background for the .current class.

On line 50 of /jsparty/tree/tree.css, change

ul.tree span.a.last {

to

ul.tree .a.last {

It makes the rule is less specific, so it's overwritten by .current and the background colour appears as it should.

Avatar
Tim

Core Development Team, 201 Posts

4 July 2007 at 9:20am

Thanks for these patches Nathan - these will be applied to the main branch in the latter this week.

Avatar
Andy

230 Posts

6 July 2007 at 12:06pm

Applied :)