chriseppstein-compass 0.5.5 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +17 -3
- data/VERSION +1 -1
- data/compass.gemspec +4 -4
- data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
- data/examples/blueprint_plugins/images/buttons/key.png +0 -0
- data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
- data/examples/blueprint_plugins/index.html +7 -0
- data/examples/blueprint_plugins/parts/buttons.html +59 -0
- data/examples/blueprint_plugins/src/buttons.sass +49 -0
- data/examples/compass/src/utilities.sass +34 -2
- data/examples/compass/utilities.html.haml +45 -1
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +3 -1
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +2 -1
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +6 -4
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -3
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +3 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +1 -1
- data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +23 -10
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +2 -2
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +1 -1
- data/lib/compass/actions.rb +2 -3
- data/lib/compass/commands/create_project.rb +5 -26
- data/lib/compass/commands/generate_grid_background.rb +27 -0
- data/lib/compass/commands/project_base.rb +4 -0
- data/lib/compass/commands/stamp_pattern.rb +45 -0
- data/lib/compass/commands/validate_project.rb +21 -0
- data/lib/compass/configuration.rb +4 -0
- data/lib/compass/exec.rb +23 -0
- data/{frameworks/blueprint/lib/blueprint → lib/compass}/grid_builder.rb +26 -8
- data/lib/compass/installers/base.rb +20 -2
- data/lib/compass/installers/manifest.rb +1 -0
- data/lib/compass/installers/rails.rb +2 -3
- data/lib/compass/installers/stand_alone.rb +2 -6
- data/lib/compass/validator.rb +19 -22
- data/test/fixtures/stylesheets/blueprint/css/typography.css +2 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +13 -2
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +3 -2
- metadata +23 -6
- data/frameworks/blueprint/lib/blueprint/constants.rb +0 -17
- data/lib/compass/validate.rb +0 -13
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'fileutils'
|
2
|
-
module Blueprint
|
3
|
-
module Constants
|
4
|
-
# path to the root Blueprint directory
|
5
|
-
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), "../../"))
|
6
|
-
# path to where the Blueprint CSS files are stored
|
7
|
-
BLUEPRINT_ROOT_PATH = File.join(ROOT_PATH, 'blueprint')
|
8
|
-
# path to where the Blueprint CSS raw Sass files are stored
|
9
|
-
SOURCE_PATH = File.join(ROOT_PATH, 'src')
|
10
|
-
# path to where the Blueprint CSS generated test files are stored
|
11
|
-
EXAMPLES_PATH = File.join(ROOT_PATH, 'examples')
|
12
|
-
# path to the root of the Blueprint scripts
|
13
|
-
LIB_PATH = File.join(ROOT_PATH, 'lib', 'blueprint')
|
14
|
-
# path to validator jar file to validate generated CSS files
|
15
|
-
VALIDATOR_FILE = File.join(LIB_PATH, 'validate', 'css-validator.jar')
|
16
|
-
end
|
17
|
-
end
|
data/lib/compass/validate.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require File.join(File.dirname(__FILE__), 'compass', 'validator')
|
3
|
-
|
4
|
-
# This script will validate the core Compass files.
|
5
|
-
#
|
6
|
-
# The files are not completely valid. This has to do
|
7
|
-
# with a small number of CSS hacks needed to ensure
|
8
|
-
# consistent rendering across browsers.
|
9
|
-
#
|
10
|
-
# To add your own CSS files for validation, see
|
11
|
-
# /lib/compass/validator.rb
|
12
|
-
|
13
|
-
Compass::Validator.new.validate
|