sass - Failed to load COMPASS resource: the server responded with a status of 404 (Not Found) -


i created theme on liferay 6.1 using same css, jsp, js, images of classic theme (which located in root\html\themes\classic).

my copied theme works fine , standard css works except compass , sass doesn't work.

compass version 0.12.2
sass version 3.2.1

my custom.css:

@import "compass"; @import "mixins";  @import url(custom_common.css);  $dockbargradientend: #1273c7; $dockbargradientstart: #118ade;  $dockbaropengradientend: #0993dd; $dockbaropengradientstart: #0ea6f9;  /* ---------- base styles ---------- */  .aui {     .separator {         border-color: #bfbfbf transparent #fff;         border-style: solid;         border-width: 1px 0;     }      #wrapper {         background: none;         margin: 0 auto;         padding: 2em 5em 0;         position: relative;          @include respond-to(phone) {             padding-left: 0.5em;             padding-right: 0.5em;         }          @include respond-to(tablet) {             padding-left: 1em;             padding-right: 1em;         }     } /* etc....... */ 

in firebug error:

failed load resource: server responded status of 404 (not found)  http://localhost:8080/test-theme/css/compass 

i don't know why compass , sass works fine in classic theme doesn't work in theme identical classic theme. why?!

any appreciated! thank you!

the fact firebug tells can't find compass means has gone wrong.

compass pre-processor library, not css framework (like bootstrap), browser should never know it.

probably build.${user}.properties in plugins sdk folder has wrong. sass compilation (css pre-processing) happens using portal libraries, sdk must know correctly portal is.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -