Re: T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Gunnar Eketrapp
I found a solution ...

1down voteaccepted

You need a more specific selector to override... BP is pretty general though
so that shouldnt be an issue for example:

table.no-zebra tbody tr:nth-child(even) td,
table.no-zebra tbody tr.even td {
  background: transparent;
}

you can replace transparent with whatever color to make all rows a solid
color.

2011/1/20 Gunnar Eketrapp 

> Aha ! Thanks for the info ...
>
> Then it must be the Blueprint CSS framework that does this ... but striped
> they are ...
>
> I added a beautiful picture and I hope that is not against the list rules
> .-)
>
>
> /Gunnar
>
> 2011/1/20 Thiago H. de Paula Figueiredo 
>
> On Thu, 20 Jan 2011 11:53:41 -0200, Gunnar Eketrapp <
>> gunnar.eketr...@gmail.com> wrote:
>>
>>  Hi!
>>>
>>
>> Hi!
>>
>>  I have used rowClass to mark "bad" rows in one of my grids applied the
>>> following css
>>>
>>> .invalid  {
>>>background-color: #FBE3E4;
>>> }
>>>
>>> It works but only  for the rows with white background 
>>>
>>> How does T5 do the striping ? I guess with some smart .js cause when
>>> inspecting the page with chrome everything seems fine.
>>>
>>
>> I've never seen T5 do striping by itself. I haven't used 5.2 yet (sigh),
>> so I think it's done by CSS.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and instructor
>> Owner, Ars Machina Tecnologia da Informação Ltda.
>> http://www.arsmachina.com.br
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
> Allévägen 2A, 132 42 Saltsjö-Boo
>



-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo


Re: T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Gunnar Eketrapp
Aha ! Thanks for the info ...

Then it must be the Blueprint CSS framework that does this ... but striped
they are ...

I added a beautiful picture and I hope that is not against the list rules
.-)


/Gunnar

2011/1/20 Thiago H. de Paula Figueiredo 

> On Thu, 20 Jan 2011 11:53:41 -0200, Gunnar Eketrapp <
> gunnar.eketr...@gmail.com> wrote:
>
>  Hi!
>>
>
> Hi!
>
>  I have used rowClass to mark "bad" rows in one of my grids applied the
>> following css
>>
>> .invalid  {
>>background-color: #FBE3E4;
>> }
>>
>> It works but only  for the rows with white background 
>>
>> How does T5 do the striping ? I guess with some smart .js cause when
>> inspecting the page with chrome everything seems fine.
>>
>
> I've never seen T5 do striping by itself. I haven't used 5.2 yet (sigh), so
> I think it's done by CSS.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Re: T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Thiago H. de Paula Figueiredo
On Thu, 20 Jan 2011 11:53:41 -0200, Gunnar Eketrapp  
 wrote:



Hi!


Hi!


I have used rowClass to mark "bad" rows in one of my grids applied the
following css

.invalid  {
background-color: #FBE3E4;
}

It works but only  for the rows with white background 

How does T5 do the striping ? I guess with some smart .js cause when
inspecting the page with chrome everything seems fine.


I've never seen T5 do striping by itself. I haven't used 5.2 yet (sigh),  
so I think it's done by CSS.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Gunnar Eketrapp
Hi!

I have used rowClass to mark "bad" rows in one of my grids applied the
following css

.invalid  {
background-color: #FBE3E4;
}

It works but only  for the rows with white background 

How does T5 do the striping ? I guess with some smart .js cause when
inspecting the page with chrome everything seems fine.

I.e. the  should have this red/pink background but it doesn't ... it has
this blue/gray background that is applied to each second row in the grid.

Is there some easy way to fix this?

Thanks in advance,
Gunnar Eketrapp