1. #1
    Ext User
    Join Date
    Dec 2010
    Posts
    2
    Vote Rating
    0
    wam is on a distinguished road

      0  

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

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

    I would appreciate any insight or help! I'm using sencha-touch 1.0

  2. #2
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    you can set the color over following two variables
    PHP Code:
    $list-pressed-color#dcdcdc;
    $list-active-color:  #dcdcdc; 

  3. #3
    Ext User
    Join Date
    Dec 2010
    Posts
    2
    Vote Rating
    0
    wam is on a distinguished road

      0  

    Default


    Thanks, that worked!

Similar Threads

  1. Error while setting active tab
    By Wolfie in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 17 Nov 2010, 3:36 AM
  2. Treepanel Disable tree only - leave other elements active
    By keckeroo in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Dec 2008, 11:37 AM
  3. Help Setting Active Tab On Invalid Validation
    By finch in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 9 Dec 2008, 3:53 AM
  4. [2.2] default theme - change active sprite blue -> orange
    By denkoo in forum Ext 2.x: User Extensions and Plugins
    Replies: 4
    Last Post: 20 Aug 2008, 7:46 AM
  5. Need Help in TabPanel -- Active tab setting(Extjs2.0)
    By cprabha in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 14 Jul 2008, 1:01 AM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar