Results 1 to 6 of 6

Thread: Sencha Cmd v3.0 :: CSS is overriden and erased // bad relative reference to images

    Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-162 in 3.0.0.190.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
      0  

    Default Sencha Cmd v3.0 :: CSS is overriden and erased // bad relative reference to images

    Hi,

    Two points :

    1) i'am adding my own css classes in the default/app.css juste after the
    Code:
    @import url('../../../../../../../../lib/ext/resources/css/ext-all.css');
    which now looks like :
    Code:
    @import url('../../../../../../../../lib/ext/resources/css/ext-all.css');
    .header-panel {
    	height				: 80px;	
    	vertical-align 		: middle;
    	text-align 			: center;	
    	background			: #1272a2;
    	background-image	: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #60c0e8), color-stop(100%, #1272a2));
    	background-image	: -webkit-linear-gradient(top, #60c0e8,#1272a2);
    	background-image	: -moz-linear-gradient(top, #60c0e8,#1272a2);
    	background-image	: -o-linear-gradient(top, #60c0e8,#1272a2);
    	background-image	: -ms-linear-gradient(top, #60c0e8,#1272a2);
    	background-image	: linear-gradient(top, #60c0e8,#1272a2);
    	background-repeat	: no-repeat;	
    	color 				: #fff;
    	text-shadow			: 0 -1px 0 rgba(0, 0, 0, .4);	
    	border-bottom		: 1px solid #3a3a3a;
    }
    .../...
    When i'am build the application (using sencha app build) the app.css is overriden and only the sencha css is included (all of my own definitions are removed)

    2) Some of the images are not well pointed and give me a 404 http error with the build :

    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/form/trigger.gif


  2. #2
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
      0  

    Default

    It seems that the "theme process" point on the absolute path of my workspace/project folder !

    (since the compiled css file has different url for the same images !!)

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
      0  

    Default

    I've resolved the first point :

    - adding a css reference in the index.html which point in "resources/css/default"



    <link rel="stylesheet" href="resources/css/default/app.css">
    <link rel="stylesheet" href="resources/css/default/charting.css">



    The file is now copied in the build process, but, sadly, not compiled !!!!

    But, my own folders in the resources personal folders ARE NOT COPIED WHEN BUILDING, so now, in build/resources/css folder there is no "images" folder which contains my own images used in my application...




    But this do not resolve the "absolute url" for some of the images used in my application !

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
      0  

    Default PARTIALY RESOLVED

    See my other thread ::

    http://www.sencha.com/forum/showthre...lder-in-build-!


    So now, how to add the "theme" for form !!!

    Code:
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/form/exclamation.gif
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/form/text-bg.gif
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/form/trigger.gif
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/form/date-trigger.gif
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/form/spinner.gif
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/button/s-arrow.gif
    Failed to load resource: the server responded with a status of 404 (Not Found) 
    http://xx.xx.xx.xx:yy/Users/tag-all/Workspace/www/project/lib/ext/resources/themes/images/default/grid/grid3-hd-btn.gif

    ps : so good to be my own personnal Sencha Team answerer ;-) maybe i'll burn out my tickets for this kind of "mysterious things" !!


  5. #5
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
      0  

    Default FOR FORUM ADMIN

    So,

    since i'm a "supported user" (sorry with an other name/email then this one i'am using there ;-) )

    i'll open a ticket

  6. #6
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,711
    Vote Rating
    242
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

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