xforms css help

classic Classic list List threaded Threaded
5 messages Options
mar
Reply | Threaded
Open this post in threaded view
|

xforms css help

mar

Can someone help me with the correct css reference.

I don't want the default blue background for the selected row in a
xforms:repeat that is in a fr:datatable that is in a xforms:repeat.  

The HTML looks like (via firebug) what should the css reference be?
<tr id="xf-106$xf-165.1-1" class="yui-dt-first yui-dt-even
yui-dt-selected xforms-repeat-selected-item-2" xxbl:scope="outer"
style="height: auto;">

I have tried both:

.yui-dt-selected { color: #3E454F; background: #F5F5F5; }
.tr.yui-dt-selected { color: #3E454F; background: #F5F5F5; }

Thanks in advance.

Martin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xforms css help

Stephanie Hall (TT)
I haven't tested it, but try doing something like:

.xforms-repeat-selected-item-2
{
        background: <your color>;
}

-----Original Message-----
From: Schwartzman, Martin [mailto:[hidden email]]
Sent: Thursday, January 07, 2010 3:36 PM
To: [hidden email]
Subject: [ops-users] xforms css help


Can someone help me with the correct css reference.

I don't want the default blue background for the selected row in a xforms:repeat that is in a fr:datatable that is in a xforms:repeat.  

The HTML looks like (via firebug) what should the css reference be?
<tr id="xf-106$xf-165.1-1" class="yui-dt-first yui-dt-even yui-dt-selected xforms-repeat-selected-item-2" xxbl:scope="outer"
style="height: auto;">

I have tried both:

.yui-dt-selected { color: #3E454F; background: #F5F5F5; } .tr.yui-dt-selected { color: #3E454F; background: #F5F5F5; }

Thanks in advance.

Martin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms css help

Ethan Gruber
In reply to this post by mar
Hi Martin,

It doesn't look like either one of those.  #F5F5F5 looks like a hex code for a shade of gray.  Try one of the different classes.  I haven't used datatables, so I regret to say I can't help in this specific instance.

Ethan

On Thu, Jan 7, 2010 at 4:36 PM, Schwartzman, Martin <[hidden email]> wrote:

Can someone help me with the correct css reference.

I don't want the default blue background for the selected row in a
xforms:repeat that is in a fr:datatable that is in a xforms:repeat.

The HTML looks like (via firebug) what should the css reference be?
<tr id="xf-106$xf-165.1-1" class="yui-dt-first yui-dt-even
yui-dt-selected xforms-repeat-selected-item-2" xxbl:scope="outer"
style="height: auto;">

I have tried both:

.yui-dt-selected { color: #3E454F; background: #F5F5F5; }
.tr.yui-dt-selected { color: #3E454F; background: #F5F5F5; }

Thanks in advance.

Martin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
mar
Reply | Threaded
Open this post in threaded view
|

RE: Re: xforms css help

mar
I've tried what seems logical to me as well as all I've been able to
find in online examples, etc. but nothing has worked so far?
 
Another attempt:
.yui-dt-first yui-dt-even yui-dt-selected xforms-repeat-selected-item-2
{ color: #D1D2D4; background-color : #D1D2D4; }

It seems like the above should work because it's the contents of the
class attribute of the row <tr/> via firebug.
class="yui-dt-first yui-dt-even yui-dt-selected
xforms-repeat-selected-item-2"


________________________________

From: Ethan Gruber [mailto:[hidden email]]
Sent: Thursday, January 07, 2010 2:51 PM
To: [hidden email]
Subject: [ops-users] Re: xforms css help


Hi Martin,

It doesn't look like either one of those.  #F5F5F5 looks like a hex code
for a shade of gray.  Try one of the different classes.  I haven't used
datatables, so I regret to say I can't help in this specific instance.

Ethan


On Thu, Jan 7, 2010 at 4:36 PM, Schwartzman, Martin
<[hidden email]> wrote:



        Can someone help me with the correct css reference.
       
        I don't want the default blue background for the selected row in
a
        xforms:repeat that is in a fr:datatable that is in a
xforms:repeat.
       
        The HTML looks like (via firebug) what should the css reference
be?
        <tr id="xf-106$xf-165.1-1" class="yui-dt-first yui-dt-even
        yui-dt-selected xforms-repeat-selected-item-2"
xxbl:scope="outer"
        style="height: auto;">
       
        I have tried both:
       
        .yui-dt-selected { color: #3E454F; background: #F5F5F5; }
        .tr.yui-dt-selected { color: #3E454F; background: #F5F5F5; }
       
        Thanks in advance.
       
        Martin
       
       
       
        --
        You receive this message as a subscriber of the
[hidden email] mailing list.
        To unsubscribe: mailto:[hidden email]
        For general help: mailto:[hidden email]?subject=help
        OW2 mailing lists service home page: http://www.ow2.org/wws
       
       




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: xforms css help

Einar Moos
My 5 cents:

tr, td.yui-dt-selected { color: #3E454F; background: #F5F5F5; }

cheers

-- einar

On Thu, Jan 7, 2010 at 11:21 PM, Schwartzman, Martin
<[hidden email]> wrote:

> I've tried what seems logical to me as well as all I've been able to
> find in online examples, etc. but nothing has worked so far?
>
> Another attempt:
> .yui-dt-first yui-dt-even yui-dt-selected xforms-repeat-selected-item-2
> { color: #D1D2D4; background-color : #D1D2D4; }
>
> It seems like the above should work because it's the contents of the
> class attribute of the row <tr/> via firebug.
> class="yui-dt-first yui-dt-even yui-dt-selected
> xforms-repeat-selected-item-2"
>
>
> ________________________________
>
> From: Ethan Gruber [mailto:[hidden email]]
> Sent: Thursday, January 07, 2010 2:51 PM
> To: [hidden email]
> Subject: [ops-users] Re: xforms css help
>
>
> Hi Martin,
>
> It doesn't look like either one of those.  #F5F5F5 looks like a hex code
> for a shade of gray.  Try one of the different classes.  I haven't used
> datatables, so I regret to say I can't help in this specific instance.
>
> Ethan
>
>
> On Thu, Jan 7, 2010 at 4:36 PM, Schwartzman, Martin
> <[hidden email]> wrote:
>
>
>
>        Can someone help me with the correct css reference.
>
>        I don't want the default blue background for the selected row in
> a
>        xforms:repeat that is in a fr:datatable that is in a
> xforms:repeat.
>
>        The HTML looks like (via firebug) what should the css reference
> be?
>        <tr id="xf-106$xf-165.1-1" class="yui-dt-first yui-dt-even
>        yui-dt-selected xforms-repeat-selected-item-2"
> xxbl:scope="outer"
>        style="height: auto;">
>
>        I have tried both:
>
>        .yui-dt-selected { color: #3E454F; background: #F5F5F5; }
>        .tr.yui-dt-selected { color: #3E454F; background: #F5F5F5; }
>
>        Thanks in advance.
>
>        Martin
>
>
>
>        --
>        You receive this message as a subscriber of the
> [hidden email] mailing list.
>        To unsubscribe: mailto:[hidden email]
>        For general help: mailto:[hidden email]?subject=help
>        OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws