2 Feb 2011 10:56 AM #1
SASS & Sencha Touch: how do I apply a gradient to a pressed list item?
I'm trying to theme a Sencha Touch app with SASS.
In an scss file, I can define a color for a pressed list item:
this makes the pressed behavior render the list item in flat white. works.
I can also define a gradient for an "active" item:
this makes the "active" behavior render the list item with a bevel gradient. works. (I don't know the exact definition of "active", but it definitely is well after "pressed")
How do I add a gradient for the list item for "pressed"? I've tried $list_pressed_gradient and $list_selected_gradient, and neither work.
I have only found beta documentation for sass theming, and none of this is yet documented. Is there a more complete documentation available for sass variables somewhere?
By sim4life in forum Sencha Touch 1.x: DiscussionReplies: 9Last Post: 12 Nov 2013, 6:11 AM
By Riaz in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 5 Mar 2012, 12:04 AM
By RobinQu in forum Sencha Touch 1.x: DiscussionReplies: 10Last Post: 21 Dec 2010, 10:21 AM
By bklaas in forum Sencha Touch 1.x: DiscussionReplies: 3Last Post: 20 Dec 2010, 10:41 AM
By reminder in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 27 Jun 2010, 11:33 AM