Results 1 to 3 of 3

Thread: Compiling sencha.scss - No form styling!

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    39
    Answers
    3
    Vote Rating
    1
      0  

    Default Compiling sencha.scss - No form styling!

    Hello,

    I've been styling sencha using the scss/compass method using 'sencha-touch-2-1.0.0-commercial'. HOWEVER. my form elements do not get styled!
    This is the way they look.
    I wish to have the default styling for my forms, everything else seems styled fine.
    like the live preview here http://docs.sencha.com/touch/2-0/#!/...t.field.Select

    Screen Shot 2012-05-31 at 1.07.09 PM.jpg

    Code:
    // 1. Variable overrides, example:$include-default-icons: false;
    $page-bg-color:         #fff;
    $base-color:            #555;
    
    
    // 2. Include Sencha Touch styles
    @import 'sencha-touch/default/all';
    @include sencha-panel;
    @include sencha-buttons;
    @include sencha-sheet; 
    @include sencha-picker;
    @include sencha-toolbar-forms;
    @include sencha-tabs;
    @include sencha-toolbar;
    @include sencha-carousel;
    @include sencha-indexbar;
    @include sencha-list;
    @include sencha-layout;
    @include sencha-form;
    @include sencha-form-sliders;
    @include sencha-sheet;
    @include sencha-msgbox;
    @include sencha-loading-spinner;
    @include sencha-list-pullrefresh;
    @include pictos-iconmask('photo1');

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    39
    Answers
    3
    Vote Rating
    1
      0  

    Default

    The problem seems to be that the styling only applies to elements INSIDE a fieldset, HOWEVER the change log a few versions back stated that no field set was REQUIRED for the styling to get applied... Differences between the compiled .css files and custom compiling?

  3. #3
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Changing the variables works for me.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •