Any reason you don't want to modify the jQuery UI stylesheet?

Samuel Richardson
www.richardson.co.nz | 0405 472 748


On Wed, Oct 26, 2011 at 7:03 PM, Chris Berkhout <[email protected]>wrote:

> To clarify, ideally I'd like to:
> 1) use no helpers (so that I don't have to modify the auto-generated
> jquery-ui stylesheet)
> 2) use the assets pipeline (so that the CSS goes into the single
> application.css, and gets minified automatically)
>
> Cheers,
> Chris
>
> On Wed, Oct 26, 2011 at 3:59 PM, Chris Darroch <[email protected]>
> wrote:
> > Use the image-path() or image-url() sass-rails helpers.
> >
> > https://github.com/rails/sass-rails
> >
> > Sent from my iPhone
> >
> > On 26/10/2011, at 6:45 PM, Chris Berkhout <[email protected]>
> wrote:
> >
> >> Hi All,
> >>
> >> I've got a Rails 3.1 app, and I've just started using the jQuery UI
> >> plugin's datepicker.
> >>
> >> I'm getting the javascript code out of the jquery-rails gem, by adding
> >> (to app/assets/javascripts/application.js):
> >> //= require jquery-ui.min
> >>
> >> For the theme/style, I generated one on jqueryui.com, and added the
> >> CSS file here:
> >> app/assets/stylesheets/jquery-ui-datepicker.smoothness.css
> >>
> >> My problem is with the images.
> >>
> >> Putting them under app/assets/stylesheets/images/* worked in
> >> development, but in production (when MD5 hashes get added) it doesn't
> >> work.
> >>
> >> With the CSS going into /assets/application.css, it's expecting its
> >> images to be under /assets/images/*.
> >>
> >> Is there a way to have the CSS and the images packaged as assets
> >> without modifying the CSS to use the asset_path helper?
> >>
> >> The only solution I can see at the moment is to put CSS and images
> >> under /public and manually link to the stylesheet in my application
> >> layout.
> >>
> >> Cheers,
> >> Chris
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "Ruby or Rails Oceania" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> [email protected].
> >> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected].
> > For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to