Guest User

Untitled

a guest
Jan 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. # =====================================
  2. # REQUIRED 3RD PARTY COMPASS EXTENSIONS
  3. # =====================================
  4. #require
  5.  
  6. # =============================
  7. # COMPASS PROJECT CONFIGURATION
  8. # =============================
  9.  
  10. # Can be `:stand_alone` or `:rails`. Defaults to `:stand_alone`.
  11. project_type = :rails
  12.  
  13. # To enable use on Heroku
  14.  
  15. project_path = Compass::AppIntegration::Rails.root
  16.  
  17. environment = Compass::AppIntegration::Rails.env
  18. if environment == 'production'
  19. css_dir = "tmp/stylesheets"
  20. sass_dir = "app/views/stylesheets"
  21. else
  22. css_dir = "public/stylesheets"
  23. sass_dir = "app/stylesheets"
  24. end
  25.  
  26. # To enable relative paths to assets via compass helper functions. Please note
  27. # that this will *only* allow you to use relative URLs for the image_url SASS
  28. # function, and not compute relative URLs for you.
  29.  
  30. # Uncomment:
  31. relative_assets = true
  32.  
  33. # Indicates whether line comments should be added to compiled css that says
  34. # where the selectors were defined.
  35. line_comments = false
  36.  
  37. # The output style for the compiled css. One of: `:nested`, `:expanded`,
  38. # `:compact`, or`:compressed`.
  39. output_style = :compressed
  40.  
  41. # ======================================
  42. # COMPASS SOURCE DIRECTORY CONFIGURATION
  43. # ======================================
  44.  
  45. # Directory containing the SASS source files
  46. sass_dir = 'app/stylesheets'
  47.  
  48. # Directory where Compass dumps the generated CSS files [Heroku Specific]
  49. css_dir = 'tmp/stylesheets'
  50.  
  51. # Directory where font files use in font-face declarations are stored
  52. fonts_dir = 'public/fonts'
  53.  
  54. # Directory where Compass stores the Grid image, and the sites images are stored
  55. images_dir = 'public/images'
  56.  
  57. # Directory where the sites' JavaScript file are stored
  58. javascripts_dir = 'public/javascripts'
  59.  
  60. # ======================================
  61. # COMPASS TARGET DIRECTORY CONFIGURATION
  62. # ======================================
  63.  
  64. # The root of all operations, must be set for Compass to work.
  65. http_path = '/'
  66.  
  67. # Directory where Compass dumps the generated CSS files
  68. http_css_path = http_path + 'tmp/stylesheets'
  69.  
  70. # Directory where font files use in font-face declarations are stored
  71. http_fonts_path = http_path + 'public/fonts'
  72.  
  73. # Directory where Compass stores the Grid image, and the sites images are stored
  74. http_images_path = http_path + 'public/images'
  75.  
  76. # Directory where the sites' JavaScript file are stored
  77. http_javascripts_path = http_path + 'public/javascripts'
  78.  
  79. # =======
  80. # THE END
  81. # =======
Add Comment
Please, Sign In to add comment