Disabling xforms-repat highlighting

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

Disabling xforms-repat highlighting

Ralf Jung
Hi list,

is there a good way to disable the highlighting of the currently active xforms
repeat? I excluded the DOMFocus events as suggested in the performance
documentation, so that it does not show the correct state anyway. Of course I
can restore the original background-color using my own CSS rules, but if there
are text lines or buttons within that repeat - which is the case for me - this
will not bring back the same appearance as without any CSS styling (Firefox is
then using the OS default buttons). The only way I found to fix that is to
extract xforms.css, comment out the rules for .xforms-repeat-selected-item-*,
and put it into the resources/config/theme folder.

Kind regards,
Ralf


--
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: Disabling xforms-repat highlighting

Tambet Matiisen
I used following in my css file:
/* Remove yellow background from repeats. */
.xforms-repeat-selected-item-1,
.xforms-repeat-selected-item-2,
.xforms-repeat-selected-item-3,
.xforms-repeat-selected-item-4
{
   background-color: transparent !important;
}

   Tambet

On 23.03.2011 16:51, Ralf Jung wrote:

> Hi list,
>
> is there a good way to disable the highlighting of the currently active xforms
> repeat? I excluded the DOMFocus events as suggested in the performance
> documentation, so that it does not show the correct state anyway. Of course I
> can restore the original background-color using my own CSS rules, but if there
> are text lines or buttons within that repeat - which is the case for me - this
> will not bring back the same appearance as without any CSS styling (Firefox is
> then using the OS default buttons). The only way I found to fix that is to
> extract xforms.css, comment out the rules for .xforms-repeat-selected-item-*,
> and put it into the resources/config/theme folder.
>
> Kind regards,
> Ralf


--
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: Disabling xforms-repat highlighting

Ralf Jung
Hi Tambet,

that's looking good, at least for comboboxes and line edits - thanks a lot!

Kind regards,
Ralf

Am Mittwoch 23 März 2011, um 16:00:37 schrieb Tambet Matiisen:

> I used following in my css file:
> /* Remove yellow background from repeats. */
> .xforms-repeat-selected-item-1,
> .xforms-repeat-selected-item-2,
> .xforms-repeat-selected-item-3,
> .xforms-repeat-selected-item-4
> {
>    background-color: transparent !important;
> }
>
>    Tambet
>
> On 23.03.2011 16:51, Ralf Jung wrote:
> > Hi list,
> >
> > is there a good way to disable the highlighting of the currently active
> > xforms repeat? I excluded the DOMFocus events as suggested in the
> > performance documentation, so that it does not show the correct state
> > anyway. Of course I can restore the original background-color using my
> > own CSS rules, but if there are text lines or buttons within that repeat
> > - which is the case for me - this will not bring back the same
> > appearance as without any CSS styling (Firefox is then using the OS
> > default buttons). The only way I found to fix that is to extract
> > xforms.css, comment out the rules for .xforms-repeat-selected-item-*,
> > and put it into the resources/config/theme folder.
> >
> > Kind regards,
> > Ralf


--
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