Projet

Général

Profil

Révision a08833bd

Ajouté par Assos Assos il y a presque 8 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/adaptivetheme/at_subtheme/config.rb
4 4
#
5 5
# If you'd like to learn more about Sass and Compass, see the sass/_README.txt
6 6
# file for more information.
7
#
8
# This config file is borrowed from Zen, so thanks JohnAlbin for your hard work
9
# in bringing such fine tools to Drupal so us mere mortals may benefit.
10

  
11

  
12
# Set the Environment Variable
13
# Using :development enables the use of FireSass but will bloat the stylesheets
14
# with debug code, be sure to change to :production when moving from development
15
# to production servers.
16
environment = :development
17
#environment = :production
18 7

  
19 8

  
20
# Location of the theme's resources.
21
# Compass will overwrite the CSS files in the css_dir when set to watch.
9
# Directory paths
10
# -----------------------------------------------------------------------------
22 11
css_dir = "css"
23 12
sass_dir = "sass"
24 13
images_dir = "css/images"
25 14

  
26 15

  
16
# Add imports
17
# -----------------------------------------------------------------------------
27 18
# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
28 19
# included with a module by uncommenting and modifying one of the lines below:
29 20
#add_import_path "../../../default/modules/FOO"
......
31 22
#add_import_path "../../../../modules/FOO"
32 23

  
33 24

  
34
################################################################################
35
# You probably don't need to edit anything below this.
25
# Precision
26
# -----------------------------------------------------------------------------
27
Sass::Script::Number.precision = 5
36 28

  
37 29

  
38
# You can select your preferred output style here (can be overridden via the
39
# command line)
40
#output_style = :expanded or :nested or :compact or :compressed
41
output_style = (environment == :development) ? :expanded : :compact
30
# Environment
31
# -----------------------------------------------------------------------------
32
environment = :development
33
#environment = :production
34

  
35

  
36
# Output Style
37
# -----------------------------------------------------------------------------
38
# You can select your preferred output style here (:expanded, :nested, :compact
39
# or :compressed). :expanded is closest to Drupal coding standards and it is
40
# not necessary to compress in the preprocessor since Drupal will do this for
41
# us using its own aggregation and compression systems.
42
output_style = :expanded
42 43

  
43 44

  
44
# To enable relative paths to assets via compass helper functions. Since Drupal
45
# themes can be installed in multiple locations, we don't need to worry about
46
# the absolute path to the theme from server root.
45
# Assets
46
# -----------------------------------------------------------------------------
47 47
relative_assets = true
48 48

  
49
# To disable debugging comments that display the original location of your
50
# selectors. Uncomment:
51
# line_comments = false
52 49

  
53
# Pass options to sass.
54
# - For development, we turn on the FireSass-compatible debug_info.
55
# - For production, we force the CSS to be regenerated even though the source
56
#   scss may not have changed, since we want the CSS to be compressed and have
57
#   the debug info removed.
58
sass_options = (environment == :development) ? {:debug_info => true} : {:always_update => true}
50
# Line Comments
51
# -----------------------------------------------------------------------------
52
line_comments = (environment == :development) ? true : false
53

  
54

  
55
# Sourcemaps
56
# -----------------------------------------------------------------------------
57
sourcemap = (environment == :development) ? true : false

Formats disponibles : Unified diff