# File lib/compass/sass_extensions/functions/urls.rb, line 3 def stylesheet_url(path) # Compute the path to the stylesheet, either root relative or stylesheet relative # or nil if the http_images_path is not set in the configuration. http_stylesheets_path = if relative? compute_relative_path(Compass.configuration.css_dir) elsif Compass.configuration.http_stylesheets_path Compass.configuration.http_stylesheets_path else Compass.configuration.root_relative(Compass.configuration.css_dir) end url("#{http_stylesheets_path}/#{path}") end