drhenner / ror_ecommerce

Ruby on Rails Ecommerce platform, perfect for your small business solution.
www.ror-e.com
MIT License
1.21k stars 409 forks source link

Cannot style admin #90

Closed shivendrasoni closed 11 years ago

shivendrasoni commented 11 years ago

Hi, I have taken upto move the admin to bootstrap 3, however I am having certain problems. I can not find where to put the styles specific to admin. I have changed the customer facing parts ( well not all, but admin, just doesnt seem to fetch the styles).

In short my question is, how to add styles to admin or more precisely where.

I am using bootstrap via the bootstrap gem.

drhenner commented 11 years ago
<%= stylesheet_link_tag "admin/foundation" %>
<%= stylesheet_link_tag "admin/app" %>

then look into assets/stylesheets/admin/*.css.scss

also each layout file should point you to the stylesheets used.

If your question is specific to bootstrap3 I don't know all the details. You should remove foundation.css before you add bootstrap though.

BTW: What don't you like about foundation? I've found it to work well.

shivendrasoni commented 11 years ago

I am sorry, I just missed out that part, infact I had come to close the issue myself. Btw, am now finally starting to get the hang of this asset pipeline. Its not that I dont like foundation, its just I've worked a lot with bootstrap so I know how to mould it and change it to my needs. But, honestly, I agree foundation is more robust and semantic.

And yes, thanks for such an amazing work on RoR -E as well as for the prompt reply. Cheers.

drhenner commented 11 years ago

Thanks,

If you run into any issues feel free to ask.

Dave