1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    M_D is on a distinguished road

      0  

    Default Unanswered: How to change default css for projects generated by sencha command?

    Unanswered: How to change default css for projects generated by sencha command?


    I followed the ST 2.0 getting started guide and generated a new project structure. However the created app.css was generated with a default sencha touch style (sencha-touch.css?).
    Is it possible to generate projects with the apple style by default? Or how can the app.css be easily updated to the apple style after project generation?

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    mseeber is on a distinguished road

      0  

    Default


    You would normally style your App using the app.scss file in ./resources/sass/app.scss and compile this file with compass. This will update the css file. You may also have a look at the "Theming" topic in the documentation.

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    2
    Vote Rating
    0
    leaninonlife is on a distinguished road

      0  

    Default


    When using compass compile on app.scss, there are no changes reflected on my recently built app using sencha cmd. What am I missing here?

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    Monterrey N.L. México
    Posts
    8
    Answers
    1
    Vote Rating
    0
    nix_v2 is on a distinguished road

      0  

    Default


    Sencha already comes with an apple(ios), android and blackberry css file, this files are located in:


    "yourProyect"/sdk/resources/css/


    And to load the css in your proyect you need to modify your "app.json" file (is located in your proyect root folder). around line 58

    Code:
    "css": [
            {
                "path": "resources/css/app.css", // here you chanch the relative path to the app.json file, in your case you need something like "sdk/resources/css/apple.css"
                "update": "delta"
            }
        ],
    that should do the trick...

Thread Participants: 3

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi