source: ether_2012/web/cathy/css/blueprint-css/lib/blueprint/blueprint.rb @ 319

Last change on this file since 319 was 319, checked in by vmipsl, 12 years ago

Import du projet Ether pour le nouveau look 2012

File size: 1.7 KB
Line 
1require 'fileutils'
2module Blueprint
3  # path to the root Blueprint directory
4  ROOT_PATH =             File.join(File.expand_path(File.dirname(__FILE__)), "../../")
5  # path to where the Blueprint CSS files are stored
6  BLUEPRINT_ROOT_PATH =   File.join(Blueprint::ROOT_PATH, "blueprint")
7  # path to where the Blueprint CSS raw CSS files are stored
8  SOURCE_PATH =           File.join(Blueprint::BLUEPRINT_ROOT_PATH, "src")
9  # path to where the Blueprint CSS generated test files are stored
10  TEST_PATH =             File.join(Blueprint::ROOT_PATH, "tests")
11  # path to the root of the Blueprint scripts
12  LIB_PATH =              File.join(Blueprint::ROOT_PATH, "lib", "blueprint")
13  # path to where Blueprint plugins are stored
14  PLUGINS_PATH =          File.join(Blueprint::BLUEPRINT_ROOT_PATH, "plugins")
15  # settings YAML file where custom user settings are saved
16  SETTINGS_FILE =         File.join(Blueprint::ROOT_PATH, "lib", "settings.yml")
17  # path to validator jar file to validate generated CSS files
18  VALIDATOR_FILE =        File.join(Blueprint::LIB_PATH, "validate", "css-validator.jar")
19  # hash of compressed and source CSS files
20  CSS_FILES = {
21    "screen.css"   => ["reset.css", "typography.css", "forms.css", "grid.css"],
22    "print.css"    => ["print.css"],
23    "ie.css"       => ["ie.css"]
24  }
25
26  # default number of columns for Blueprint layout
27  COLUMN_COUNT =          24
28  # default column width (in pixels) for Blueprint layout
29  COLUMN_WIDTH =          30
30  # default gutter width (in pixels) for Blueprint layout
31  GUTTER_WIDTH =          10
32 
33  INPUT_PADDING =         5
34  INPUT_BORDER =          1
35end
36
37Dir["#{File.join(Blueprint::LIB_PATH)}/*"].each do |file|
38  require file if file =~ /\.rb$/ && file !~ /blueprint\.rb/
39end
Note: See TracBrowser for help on using the repository browser.