Module: Blueprint

Defined in:
lib/blueprint-css/lib/blueprint/blueprint.rb,
lib/blueprint-css/lib/blueprint/namespace.rb,
lib/blueprint-css/lib/blueprint/validator.rb,
lib/blueprint-css/lib/blueprint/compressor.rb,
lib/blueprint-css/lib/blueprint/css_parser.rb,
lib/blueprint-css/lib/blueprint/grid_builder.rb,
lib/blueprint-css/lib/blueprint/custom_layout.rb,
lib/blueprint-css/lib/blueprint/semantic_class_names.rb

Defined Under Namespace

Classes: CSSParser, Compressor, CustomLayout, GridBuilder, Namespace, SemanticClassNames, Validator

Constant Summary collapse

ROOT_PATH =

path to the root Blueprint directory

File.join(File.expand_path(File.dirname(__FILE__)), "../../")
BLUEPRINT_ROOT_PATH =

path to where the Blueprint CSS files are stored

File.join(Blueprint::ROOT_PATH, 'blueprint')
SOURCE_PATH =

path to where the Blueprint CSS raw CSS files are stored

File.join(Blueprint::BLUEPRINT_ROOT_PATH, 'src')
TEST_PATH =

path to where the Blueprint CSS generated test files are stored

File.join(Blueprint::ROOT_PATH, 'tests')
LIB_PATH =

path to the root of the Blueprint scripts

File.join(Blueprint::ROOT_PATH, 'lib', 'blueprint')
PLUGINS_PATH =

path to where Blueprint plugins are stored

File.join(Blueprint::BLUEPRINT_ROOT_PATH, 'plugins')
SETTINGS_FILE =

settings YAML file where custom user settings are saved

File.join(Blueprint::ROOT_PATH, 'lib', 'settings.yml')
VALIDATOR_FILE =

path to validator jar file to validate generated CSS files

File.join(Blueprint::LIB_PATH, 'validate', 'css-validator.jar')
CSS_FILES =

hash of compressed and source CSS files

{
  'screen.css'   => ['reset.css', 'typography.css', 'forms.css', 'grid.css'],
  'print.css'    => ['print.css'],
  'ie.css'       => ['ie.css']
}
COLUMN_COUNT =

default number of columns for Blueprint layout

24
COLUMN_WIDTH =

default column width (in pixels) for Blueprint layout

30
GUTTER_WIDTH =

default gutter width (in pixels) for Blueprint layout

10
INPUT_PADDING =
5
INPUT_BORDER =
1