nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
517 stars 65 forks source link

application.css not found #233

Closed tbleiker closed 11 years ago

tbleiker commented 11 years ago

I am trying to get nitrotask running on Archlinux. What I did:

However, only the index.html is shown when I open localhost:9294 in the browser. From the firefox console I get "GET http://localhost:9294/application.css [HTTP/1.1 404 Not Found 2ms]" and also firebug does not find the stylesheets.

charlie89 commented 11 years ago

I also use Archlinux. I didn't find any way to install sass, so i just installed node-sass (sudo npm install -g node-sass). Then you have to manually run 'node-sass css/index.scss public/application.css' to generate the css file. You will notice an error, something like 'unrecognized attribute filter' or something like that. Just remove all 'filter( opacity=...' statements from the css/index.scss file and run node-sass again until it succeeded. The filter Attribute is just used on IE as far as i remember, so that doesn't matter for me.

Hope i could help you.

stayradiated commented 11 years ago

I've switched the Sass compiler over to node-sass. Hopefully that should make it easier for pepole to compile application.css

The only problem I've seen with this is that it doesn't handle filter: correctly so I've moved jqueryui.css into a seperate css file so node-sass doesn't need to compile it.