This is a migrated thread and some comments may be shown as answers.

Touch Effekt for Elements

3 Answers 43 Views
Application
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 29 Feb 2012, 12:58 PM
What css-Class is needed to set the "touch"-effekt of an element?

e.g. the listview-Item.

This code does not work:
#termin-listview li, #sk-listview li
{
    background:-moz-linear-gradient(top, #2468A5, #17436A); /* Firefox */
    background : -webkit-gradient(linear, left top, left bottom, from(#2468A5), to(#17436A)); /* Safari, Chrome */
 
}
 
#termin-listview li:active, #sk-listview li:active
{
    background:-moz-linear-gradient(top, #ef652a, #ef652a); /* Firefox */
    background : -webkit-gradient(linear, left top, left bottom, from(#ef652a), to(#ef652a)); /* Safari, Chrome */

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 29 Feb 2012, 01:25 PM
Hi,

The listview will support a separate CSS class for active state in the next mobile beta, due this week.
 
Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Thomas
Top achievements
Rank 1
answered on 29 Feb 2012, 02:11 PM
Sounds great!

Do you already know when this week you will release the next beta?
And do you already know how to use the touch-effect?
Just like 

".km-android .km-list .album-set-active"

or something this way?

Greetings -

Tom
0
Petyo
Telerik team
answered on 29 Feb 2012, 06:17 PM
Hi,

Please checkout this demo from the new beta for more details and the exact CSS class:

http://demos.kendoui.com/beta/mobile/listview/index.html 

Greetings,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Application
Asked by
Thomas
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or