-
2 Dec 2010 1:28 PM #1
Difficulty setting $active-color (for active list elements) in sass theme
Difficulty setting $active-color (for active list elements) in sass theme
I've been working on a simple custom theme using the sass/compass theming process, and I'm running into difficulty setting the color of active list elements. As far as I can tell this is set via the $active-color variable, but I don't seem to be able to override it. Here's my scss file:
The $base-color variable is being applied correctly, giving me dark gray toolbars and buttons. But the list items in my application are still bright blue. I can't find any instances of #DDDDDD at all in the compiled css file.Code:// import the framework and base components @import 'sencha-touch/default/all'; // Trying to set variables here $base-color: #333333; $active-color: #DDDDDD; $base-gradient: 'glossy'; // Include sencha styles @include sencha-panel; @include sencha-buttons; @include sencha-sheet; @include sencha-picker; @include sencha-tabs; @include sencha-toolbar; @include sencha-toolbar-forms; @include sencha-carousel; @include sencha-indexbar; @include sencha-list; @include sencha-layout; @include sencha-form; @include sencha-msgbox; @include sencha-loading-spinner;
I would appreciate any insight or help! I'm using sencha-touch 1.0
-
2 Dec 2010 2:50 PM #2
you can set the color over following two variables
PHP Code:$list-pressed-color: #dcdcdc;
$list-active-color: #dcdcdc;
trainings / workshops / consulting: Sencha Touch / Ext JS
Profile on SenchaDevs
www: http://www.nils-dehl.de
twitter: nilsdehl
meetup: Sencha Touch / Ext JS Meetup Frankfurt
videos: http://vimeo.com/album/1621422
conference photos: http://www.flickr.com/photos/nils-dehl/
-
2 Dec 2010 4:47 PM #3
Similar Threads
-
Error while setting active tab
By Wolfie in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 17 Nov 2010, 3:36 AM -
Treepanel Disable tree only - leave other elements active
By keckeroo in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 10 Dec 2008, 11:37 AM -
Help Setting Active Tab On Invalid Validation
By finch in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 9 Dec 2008, 3:53 AM -
[2.2] default theme - change active sprite blue -> orange
By denkoo in forum Ext 2.x: User Extensions and PluginsReplies: 4Last Post: 20 Aug 2008, 7:46 AM -
Need Help in TabPanel -- Active tab setting(Extjs2.0)
By cprabha in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 14 Jul 2008, 1:01 AM


Reply With Quote