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.
Files changed (49) hide show
  1. data/Manifest +17 -3
  2. data/VERSION +1 -1
  3. data/compass.gemspec +4 -4
  4. data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
  5. data/examples/blueprint_plugins/images/buttons/key.png +0 -0
  6. data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
  7. data/examples/blueprint_plugins/index.html +7 -0
  8. data/examples/blueprint_plugins/parts/buttons.html +59 -0
  9. data/examples/blueprint_plugins/src/buttons.sass +49 -0
  10. data/examples/compass/src/utilities.sass +34 -2
  11. data/examples/compass/utilities.html.haml +45 -1
  12. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +3 -1
  13. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +2 -1
  14. data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
  15. data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +6 -4
  16. data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -3
  17. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +3 -2
  18. data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +1 -1
  19. data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
  20. data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
  21. data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
  22. data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
  23. data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
  24. data/frameworks/compass/stylesheets/compass/utilities/_general.sass +2 -0
  25. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +23 -10
  26. data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
  27. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
  28. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +2 -2
  29. data/frameworks/yui/stylesheets/yui/modules/_grids.sass +1 -1
  30. data/lib/compass/actions.rb +2 -3
  31. data/lib/compass/commands/create_project.rb +5 -26
  32. data/lib/compass/commands/generate_grid_background.rb +27 -0
  33. data/lib/compass/commands/project_base.rb +4 -0
  34. data/lib/compass/commands/stamp_pattern.rb +45 -0
  35. data/lib/compass/commands/validate_project.rb +21 -0
  36. data/lib/compass/configuration.rb +4 -0
  37. data/lib/compass/exec.rb +23 -0
  38. data/{frameworks/blueprint/lib/blueprint → lib/compass}/grid_builder.rb +26 -8
  39. data/lib/compass/installers/base.rb +20 -2
  40. data/lib/compass/installers/manifest.rb +1 -0
  41. data/lib/compass/installers/rails.rb +2 -3
  42. data/lib/compass/installers/stand_alone.rb +2 -6
  43. data/lib/compass/validator.rb +19 -22
  44. data/test/fixtures/stylesheets/blueprint/css/typography.css +2 -0
  45. data/test/fixtures/stylesheets/compass/css/utilities.css +13 -2
  46. data/test/fixtures/stylesheets/compass/sass/utilities.sass +3 -2
  47. metadata +23 -6
  48. data/frameworks/blueprint/lib/blueprint/constants.rb +0 -17
  49. 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
@@ -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