remove vendored gems

i18n_v4
tdreyno 2010-02-15 13:02:20 -08:00
parent 0186ec892d
commit a0cce524a8
3202 changed files with 19 additions and 379164 deletions

19
Gemfile
View File

@ -1,19 +0,0 @@
bundle_path "lib/middleman/vendor/gems"
bin_path "lib/middleman/vendor/bin"
# disable_rubygems
# disable_system_gems
gem "shotgun"
gem "templater"
gem "sprockets"
gem "sinatra", "1.0.a"
gem "sinatra-content-for"
gem "rack-test"
gem "yui-compressor"
gem "haml"
gem "compass", "0.10.0.pre5"
gem "compass-colors"
gem "fancy-buttons"
gem "json_pure"
gem "smusher"
gem "compass-slickmap"

View File

@ -15,8 +15,25 @@ begin
gem.executables = %w(mm-init mm-build mm-server)
gem.add_dependency("rack")
gem.add_dependency("thin")
gem.add_dependency("shotgun")
gem.add_dependency("templater")
gem.add_dependency("sprockets")
gem.add_dependency("sinatra", "1.0.a")
gem.add_dependency("sinatra-content-for")
gem.add_dependency("rack-test")
gem.add_dependency("yui-compressor")
gem.add_dependency("haml")
gem.add_dependency("compass", "0.10.0.pre5")
gem.add_dependency("compass-colors")
gem.add_dependency("fancy-buttons")
gem.add_dependency("json_pure")
gem.add_dependency("smusher")
gem.add_dependency("compass-slickmap")
gem.add_development_dependency("rspec")
gem.add_development_dependency("cucumber")
gem.add_development_dependency("jeweler")
end
Jeweler::GemcutterTasks.new

View File

@ -1 +1 @@
0.13.1
0.13.2

View File

@ -1,5 +1,5 @@
libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'middleman/vendor/gems/environment'
require 'rubygems'
require 'middleman/base'

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/compass-0.10.0.pre5/bin/compass"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/haml-2.2.17/bin/css2sass"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/json-1.2.0/bin/edit_json.rb"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/haml-2.2.17/bin/haml"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/haml-2.2.17/bin/html2haml"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/diff-lcs-1.1.2/bin/htmldiff"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/diff-lcs-1.1.2/bin/ldiff"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/json-1.2.0/bin/prettify_json.rb"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/rack-1.1.0/bin/rackup"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/rake-0.8.7/bin/rake"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/haml-2.2.17/bin/sass"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/shotgun-0.6/bin/shotgun"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/smusher-0.4.2/bin/smusher"))

View File

@ -1,3 +0,0 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/environment"))
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/ruby/1.8/gems/sprockets-1.0.2/bin/sprocketize"))

View File

@ -1,4 +0,0 @@
require 'rbconfig'
engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
version = Config::CONFIG['ruby_version']
require File.expand_path("../#{engine}/#{version}/environment", __FILE__)

View File

@ -1,177 +0,0 @@
# DO NOT MODIFY THIS FILE
module Bundler
file = File.expand_path(__FILE__)
dir = File.dirname(file)
ENV["PATH"] = "#{dir}/../../../bin:#{ENV["PATH"]}"
ENV["RUBYOPT"] = "-r#{file} #{ENV["RUBYOPT"]}"
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json_pure-1.2.0/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json_pure-1.2.0/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.14/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.14/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/ext/json/ext")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/ext")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/yui-compressor-0.9.1/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/yui-compressor-0.9.1/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.1.0/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.1.0/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/shotgun-0.6/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/shotgun-0.6/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.3/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.3/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.17/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.17/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-1.0.a/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-1.0.a/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/sprockets-1.0.2/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/sprockets-1.0.2/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/diff-lcs-1.1.2/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/diff-lcs-1.1.2/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/highline-1.5.1/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/highline-1.5.1/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/templater-1.0.0/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/templater-1.0.0/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/httpclient-2.1.5.2/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/httpclient-2.1.5.2/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-content-for-0.2/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-content-for-0.2/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.10.0.pre5/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.10.0.pre5/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.3/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.3/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/smusher-0.4.2/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/smusher-0.4.2/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-colors-0.3.1/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-colors-0.3.1/lib")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fancy-buttons-0.3.9/bin")
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fancy-buttons-0.3.9/lib")
@gemfile = "#{dir}/../../../../../../Gemfile"
require "rubygems" unless respond_to?(:gem) # 1.9 already has RubyGems loaded
@bundled_specs = {}
@bundled_specs["json_pure"] = eval(File.read("#{dir}/specifications/json_pure-1.2.0.gemspec"))
@bundled_specs["json_pure"].loaded_from = "#{dir}/specifications/json_pure-1.2.0.gemspec"
@bundled_specs["extlib"] = eval(File.read("#{dir}/specifications/extlib-0.9.14.gemspec"))
@bundled_specs["extlib"].loaded_from = "#{dir}/specifications/extlib-0.9.14.gemspec"
@bundled_specs["json"] = eval(File.read("#{dir}/specifications/json-1.2.0.gemspec"))
@bundled_specs["json"].loaded_from = "#{dir}/specifications/json-1.2.0.gemspec"
@bundled_specs["yui-compressor"] = eval(File.read("#{dir}/specifications/yui-compressor-0.9.1.gemspec"))
@bundled_specs["yui-compressor"].loaded_from = "#{dir}/specifications/yui-compressor-0.9.1.gemspec"
@bundled_specs["rack"] = eval(File.read("#{dir}/specifications/rack-1.1.0.gemspec"))
@bundled_specs["rack"].loaded_from = "#{dir}/specifications/rack-1.1.0.gemspec"
@bundled_specs["shotgun"] = eval(File.read("#{dir}/specifications/shotgun-0.6.gemspec"))
@bundled_specs["shotgun"].loaded_from = "#{dir}/specifications/shotgun-0.6.gemspec"
@bundled_specs["rack-test"] = eval(File.read("#{dir}/specifications/rack-test-0.5.3.gemspec"))
@bundled_specs["rack-test"].loaded_from = "#{dir}/specifications/rack-test-0.5.3.gemspec"
@bundled_specs["haml"] = eval(File.read("#{dir}/specifications/haml-2.2.17.gemspec"))
@bundled_specs["haml"].loaded_from = "#{dir}/specifications/haml-2.2.17.gemspec"
@bundled_specs["sinatra"] = eval(File.read("#{dir}/specifications/sinatra-1.0.a.gemspec"))
@bundled_specs["sinatra"].loaded_from = "#{dir}/specifications/sinatra-1.0.a.gemspec"
@bundled_specs["sprockets"] = eval(File.read("#{dir}/specifications/sprockets-1.0.2.gemspec"))
@bundled_specs["sprockets"].loaded_from = "#{dir}/specifications/sprockets-1.0.2.gemspec"
@bundled_specs["diff-lcs"] = eval(File.read("#{dir}/specifications/diff-lcs-1.1.2.gemspec"))
@bundled_specs["diff-lcs"].loaded_from = "#{dir}/specifications/diff-lcs-1.1.2.gemspec"
@bundled_specs["highline"] = eval(File.read("#{dir}/specifications/highline-1.5.1.gemspec"))
@bundled_specs["highline"].loaded_from = "#{dir}/specifications/highline-1.5.1.gemspec"
@bundled_specs["templater"] = eval(File.read("#{dir}/specifications/templater-1.0.0.gemspec"))
@bundled_specs["templater"].loaded_from = "#{dir}/specifications/templater-1.0.0.gemspec"
@bundled_specs["rake"] = eval(File.read("#{dir}/specifications/rake-0.8.7.gemspec"))
@bundled_specs["rake"].loaded_from = "#{dir}/specifications/rake-0.8.7.gemspec"
@bundled_specs["httpclient"] = eval(File.read("#{dir}/specifications/httpclient-2.1.5.2.gemspec"))
@bundled_specs["httpclient"].loaded_from = "#{dir}/specifications/httpclient-2.1.5.2.gemspec"
@bundled_specs["sinatra-content-for"] = eval(File.read("#{dir}/specifications/sinatra-content-for-0.2.gemspec"))
@bundled_specs["sinatra-content-for"].loaded_from = "#{dir}/specifications/sinatra-content-for-0.2.gemspec"
@bundled_specs["compass"] = eval(File.read("#{dir}/specifications/compass-0.10.0.pre5.gemspec"))
@bundled_specs["compass"].loaded_from = "#{dir}/specifications/compass-0.10.0.pre5.gemspec"
@bundled_specs["compass-slickmap"] = eval(File.read("#{dir}/specifications/compass-slickmap-0.2.3.gemspec"))
@bundled_specs["compass-slickmap"].loaded_from = "#{dir}/specifications/compass-slickmap-0.2.3.gemspec"
@bundled_specs["smusher"] = eval(File.read("#{dir}/specifications/smusher-0.4.2.gemspec"))
@bundled_specs["smusher"].loaded_from = "#{dir}/specifications/smusher-0.4.2.gemspec"
@bundled_specs["compass-colors"] = eval(File.read("#{dir}/specifications/compass-colors-0.3.1.gemspec"))
@bundled_specs["compass-colors"].loaded_from = "#{dir}/specifications/compass-colors-0.3.1.gemspec"
@bundled_specs["fancy-buttons"] = eval(File.read("#{dir}/specifications/fancy-buttons-0.3.9.gemspec"))
@bundled_specs["fancy-buttons"].loaded_from = "#{dir}/specifications/fancy-buttons-0.3.9.gemspec"
def self.add_specs_to_loaded_specs
Gem.loaded_specs.merge! @bundled_specs
end
def self.add_specs_to_index
@bundled_specs.each do |name, spec|
Gem.source_index.add_spec spec
end
end
add_specs_to_loaded_specs
add_specs_to_index
def self.require_env(env = nil)
context = Class.new do
def initialize(env) @env = env && env.to_s ; end
def method_missing(*) ; yield if block_given? ; end
def only(*env)
old, @only = @only, _combine_only(env.flatten)
yield
@only = old
end
def except(*env)
old, @except = @except, _combine_except(env.flatten)
yield
@except = old
end
def gem(name, *args)
opt = args.last.is_a?(Hash) ? args.pop : {}
only = _combine_only(opt[:only] || opt["only"])
except = _combine_except(opt[:except] || opt["except"])
files = opt[:require_as] || opt["require_as"] || name
files = [files] unless files.respond_to?(:each)
return unless !only || only.any? {|e| e == @env }
return if except && except.any? {|e| e == @env }
if files = opt[:require_as] || opt["require_as"]
files = Array(files)
files.each { |f| require f }
else
begin
require name
rescue LoadError
# Do nothing
end
end
yield if block_given?
true
end
private
def _combine_only(only)
return @only unless only
only = [only].flatten.compact.uniq.map { |o| o.to_s }
only &= @only if @only
only
end
def _combine_except(except)
return @except unless except
except = [except].flatten.compact.uniq.map { |o| o.to_s }
except |= @except if @except
except
end
end
context.new(env && env.to_s).instance_eval(File.read(@gemfile), @gemfile, 1)
end
end
module Gem
@loaded_stacks = Hash.new { |h,k| h[k] = [] }
def source_index.refresh!
super
Bundler.add_specs_to_index
end
end

View File

@ -1,793 +0,0 @@
COMPASS CHANGELOG
=================
0.10.0.pre5 (January 18, 2010)
------------------------------
* Fixed a bug in the grid builder in ruby 1.8.6 (Credit: [Richard Wöber][der-rich])
* Better sudo handling for the rails installer via environment variables or prompt. (Credit: Ryan Shaw, Evan Sharp)
* Removed support for the rip package manager.
* Support for scss files in the compass watcher.
* Cache buster timestamps were not working in some cases.
* Make ANSI color output work on windows.
* Command line switch (--boring) to turn off colorized output.
* Strip trailing slash from directory and path configuration variables.
* Added a --poll option to the compass watch subcommand to force polling.
* Fixed a test failure in ruby 1.9 due to faulty test code.
* Move the frameworks directory back to the top level. There's not actually a good reason for it to be buried in the ruby source.
* Upgrade FSSM. (Hopfully) Fixes a watcher issue that caused the watcher to not trigger for some users.
* Silence a deprecation warning in Rails 3.
0.10.0.pre4 (January 04, 2010)
------------------------------
* Fixed an FSSM loading issue that broke the compass watcher.
* Fixed some compatibility issues with edge versions of Sass.
0.10.0.pre3 (January 02, 2010)
------------------------------
Bug fixes:
* [Blueprint] Bug Fix: variable referenced in a non-script context within the
dquo mixin in the fancy_type module.
* [Rails] fixed win32 sudo incompatibility issue in the rails installer template.
(Credit: [Jonathan Silverman][jsilver])
* [Rails] Update the gem dependencies for the rails installer template.
* If the configuration file changes, wipe out the sass cache and force compilation
* Upgrade the vendored version of FSSM to version 0.1.2.
Fixes some bugs with jruby and adds inotify support for linux.
(Credit: [Travis Tilley][ttilley])
* Patched hide-text to account for items that are not left aligned.
(Credit: [Josh Pyles][pixelmatrix])
Minor Enhancements:
* Support for SCSS files if haml edge is installed.
* Color any stderr or stdout output from the `Sass::Engine` red during compilation.
* [Configuration] The sass cache location can now be set in the compass config
file using the `cache_dir` property and the cache can be disabled by setting
`cache = false`.
* [Compass Core] `+min-height`, `+min-width`, and `+bang-hack` mixins in the
compass/utilities/general/min.sass module.
(Credit: [Adam Stacoviak][adamstac])
* [Command Line] If you only want to compile certain files, you can now
specify them when invoking compass compile. E.g. `compass compile src/foo.sass`
* [Compass Core] Split out `+hide-text` as its own mixin.
(Credit: [Andrew Vit][avit])
* Some code cleanup for the compass project compiler.
* Removed the dependency on RMagic for grid image generation.
(Credit: [Richard Wöber][der-rich])
0.10.0.pre2 (November 30, 2009)
--------------------------------
Bug fixes:
* The line-height in the compass reset should have been 1 and not 1em.
* Fixed the reference in the rails initializer to the compass configuration file.
* Use the correct error formatting function based on what sass version is installed.
* Boolean properties like line_comments can now be set to false in configuration files
0.10.0.pre1 (November 29, 2009)
--------------------------------
Deprecated in this release:
* The usless blueprint "modules" folder will be removed. Please update your
blueprint imports by removing the modules folder. Deprecation warnings will be
emitted if you use the old imports.
* Blueprint mixins that used to accept a "body selector" argument, are now
deprecated, instead you should pass `true` to them and mix them into
the selector of your choice.
* If you are using the `+opacity` or `+inline-block` mixins, you may need to update your imports.
* In your configuration file, setting `http_images_path` to `:relative` is
deprecated in favor of setting `relative_assets` to `true`
* The YUI framework has been extracted to a plugin.
If you use it, please follow the [installation instructions](http://github.com/chriseppstein/yui-compass-plugin)
Command-Line:
* The compass command-line tool has been re-written to allow be easier to
use and be more flexible. The old command line is still supported at
this time. "compass help" will get you started on using the new
command line syntax.
* Allow specification of a height for the grid image
* For the truly hardcore compass users, you may now create a
compass project using "compass create my_project --bare"
and you'll have a completely bare project created for you with no
sass files provided for you.
* Get stats on your compass project with "compass stats". You'll
need to install the "css_parser" ruby gem to get stats on your
css files.
Configuration:
* The entire configuration infrastructure has been re-written to make it
easier to support the various sources of configuration data (project type,
config file, command line, and hard coded defaults)
* Whether to generate relative links to assets is now controlled by a
separate boolean configuration flag called `relative_assets` in the
configuration file and `--relative-assets` on the command line.
Setting `http_images_path` to `:relative` is deprecated.
* You may now configure the http locations for your project by simply setting
`http_path` for the top level path of the project. You
may also set `http_images_dir`, `http_stylesheets_dir`, and
`http_javascripts_dir` relative to the `http_path` instead of
setting the absolute `http_XXX_path` counterparts.
* You may now configure the fonts directory for your project (fonts_dir).
By default, for standalone projects, it is the "fonts" subdirectory of
your css directory. Rails projects will default to "public/fonts".
Compass Core:
* A new helper function `stylesheet_url(path)` can now be used to refer
to assets that are relative to the css directory.
* Compass sprite mixins are now more flexible and feature rich.
* Fixed the append_selector function to allow comma-delimited selectors
for both arguments instead of just the first
* There is no longer any outline on unstyled links in the :active and :focused states.
* IE6 bug fixes for sticky-footer
* New CSS3 Compatibility Mixins. You can import them all with `@import compass/css3.sass`
* `+opacity(amount)` where amount should be between 0 and 1, where 0 is transparent and 1 is opaque.
* `+opaque` and `+transparent` mixins for convenience. Built on top of the opacity mixin.
* `+border-radius(amount)` as well as the following convenience mixins:
* `+border-top-left-radius(amount)`
* `+border-top-right-radius(amount)`
* `+border-top-right-radius(amount)`,
* `+border-bottom-left-radius(amount)`
* `+border-bottom-right-radius(amount)`
* `+border-top-radius(amount)`
* `+border-right-radius(amount)`
* `+border-left-radius(amount)`
* `+border-bottom-radius(amount)`
* `+box-shadow(!horiz_offset, !vert_offset, !blur, !color)`
* `+box-sizing(!sizing_mode)`
* Column support via the following mixins:
* `+column-count`
* `+column-gap`
* `+column-width`
* `+column-rule-width`
* `+column-rule-style`
* `+column-rule-color`
* `+column-rule`
* `+background-clip(clip)` where clip can be `padding-box` or `border-box`
* `+background-origin(origin)` where origin can be `padding-box`, `border-box`, or `content-box`
* `+background-size(size)` where size is a width and height. E.g. "50% 75%"
* `+font-face` should be mixed into the top level of your document.
Usage Example: `+font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")`
* Simple Background Gradient Support:
* `+gradient` - Generic background gradient mixin
* `+radial-gradient` - Radial gradient mixin
* `+linear-gradient` - Linear gradient mixin
* `+h-gradient` - Horizontal linear gradient mixin
* `+v-gradient` - Vertical linear gradient mixin
* `+text-shadow` - Create a text shadow effect.
* Transforms Support:
* `+transform`
* `+scale`
* `+rotate`
* `+translate`
* `+skew`
* Transition Support:
* `+transition-property`
* `+transition-duration`
* `+transition-timing-function`
* `+transition-delay`
* `+transition`
* The import for `+inline-block` has moved from compass/utilities/general/inline_block
to compass/css3/inline_block
* The import for `+opacity` has moved from compass/utilities/general/opacity
to compass/css3/opacity
* Note: If you are using the `+opacity` or `+inline-block` mixins,
you may need to update your imports.
Blueprint:
* Make the primary blueprint mixins easier to use by allowing them to be nested when passing true as the first argument.
The old approach of passing a selector as the first argument is now deprecated in favor of a simple flag to indicate nesting or not.
YUI:
* YUI was upgraded to 2.7.0
* Yahoo has deprecated the YUI CSS framework, as such YUI has been extracted to a plugin.
If you use it, please install it with: `sudo gem install compass-yui`
Extensions:
* Extensions can now be installed locally by unpacking them into a project's
"extensions" directory. Rails projects use "vendor/plugins/compass/extenstions".
* Extensions can deliver html to projects if they like. The html can be in
haml and will be transformed to html and can contain inline, compass-enabled
sass.
* All files can be processed using ERB before being copied into the user's
project.
* Compass extensions can now add support for other application frameworks.
These extensions can help compass understand the project structure of that
framework as well as provide runtime integration for ruby-based apps.
Contact me if you plan to do this -- the first couple times may be a little
rough.
* Compass extensions can now add new command line commands. Contact me if you
plan to do this -- the first couple times may be a little rough.
* Extensions can now provide help documentation just after a project is
created and on demand when the user uses the command line help system.
This can be done via the manifest file or by adding a USAGE.markdown file
at the top level of the framework template.
Miscellaneous:
* The compass configuration object is no longer a singleton, this makes it
possible for other ruby software to manage multiple compass projects at a
time.
* Compass no longer requires rubygems in order to work, this is a ruby
best-practice.
* All sass provided by compass now uses css-style property syntax.
* The command line tool is now tested using the cucumber testing framework.
Many thanks to the following Contributors:
* Brandon Mathis - CSS3 (+opacity, +border-radius) and sprites
* Eric Meyer - CSS3 (+box-shadow, +columns, +box-sizing)
* Jacques Crocker - Merb Compatibility fixes
* Gabriel Mansour - Fixes to +unstyled-link
* John Debs - IE6 Fixes for +sticky-footer
* Brian Johnson - Upgraded to YUI 2.7.0
* Beau Smith - fixing my dyslexia.
0.8.17 (September 24, 2009)
---------------------------
* The enumerate function now accepts an optional fourth parameter that specifies the separator to be used.
Enables fixing a bug in the Compass 960 Plugin.
0.8.16 (September 12, 2009)
---------------------------
* Fixed a bug in compass that assumed compass extensions would provide stylesheets.
0.8.15 (September 5, 2009)
--------------------------
* Upgrade the FSSM library to 0.0.6 to fix bugs on windows.
0.8.14 (September 2, 2009)
--------------------------
* Upgrade the FSSM library to 0.0.4 to fix bugs and enable FS Events on Mac OS.
0.8.13 (August 30, 2009)
------------------------
* [Blueprint] Mixins have been added for these as +prepend-top and +append-bottom and grid classes will be generated by +blueprint-grid.
* [Command Line] The watch mode has been re-implemented to use the FSSM library by Travis Tilley. OSX users will
now have support for filesystem monitoring. Fixes an infinite looping bug that occured with syntax users.
0.8.12 (August 22, 2009)
------------------------
Bug Fix Release:
* [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables
* Ruby 1.9.1 fix: binding for parse_string
* [Rails] Don't suggest creating a stylesheet link to partials.
0.8.10 (August 16, 2009)
------------------------
Bug Fix Release:
* Write files in binary mode to avoid data corruption when installing images on windows.
Fixes [Issue #39](http://github.com/chriseppstein/compass/issues/#issue/39)
0.8.9 (August 9, 2009)
----------------------
Bug Fix Release:
* [Blueprint] The default screen.sass generated invalid selectors due to improper nesting. A better fix is coming in the next release.
0.8.8 (July 21, 2009)
---------------------
Bug Fix Release:
* [Compass Core] Fixed a bug in alternating_rows_and_columns. Improper nesting caused some styles to be improperly rendered.
[Commit](http://github.com/chriseppstein/compass/commit/e277ed2cd3fded0b98ddaa87fc4d3b9d37cb7354)
* [YUI] Fixed a bug in yui grids where the .first div wouldn't get the right styles in some rare cases due to incorrect nesting.
[Commit](http://github.com/chriseppstein/compass/commit/4bfcef4f376ee6e5d5a2b47419d2f21ef4c6eff8)
0.8.7 (July 09, 2009)
---------------------
Bug Fix Release:
* Load haml-edge only if it's all new and shiny. Closes GH-26.
[Commit](http://github.com/chriseppstein/compass/commit/59a6067b3a67a79bfd9a5ce325fc1be4bb6c9e78)
* [Blueprint] Added more descriptive comments to the Blueprint IE template.
[Commit](http://github.com/chriseppstein/compass/commit/8684966be1e8166a986ae81abd3daf6c44ed4f94)
* [Rails] Fixed a bug in rails integration if the request is not set on the controller.
[Commit](http://github.com/chriseppstein/compass/commit/7fba6028d8073a9124a6505aab9246b5b459db34)
* [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25.
[Commit](http://github.com/chriseppstein/compass/commit/d2b1370c80a32f70ae6ec94126b737f4f0fc0851)
0.8.6 (July 08, 2009)
---------------------
### Rails
* The rails installer now correctly references the haml 2.2 dependency.
[Commit](http://github.com/chriseppstein/compass/commit/85bb337f50a3a3dfaafa2820d5463f7296140c9e)
by [Filip Tepper][filiptepper].
* When installing into a new rails project, set the http paths correctly for stylesheets and javascripts
in the configuration file.
[Commit](http://github.com/chriseppstein/compass/commit/94e9696b30a9a9fd750c45e6fe3c2bc93eba506a)
* Fixed a bug in asset hosts support when compiling outside the context of a controller.
[Commit](http://github.com/chriseppstein/compass/commit/6b8bbd22b13ef4c329777913a633948e66e3da99)
### Command Line
* Fixed a bug that caused the output after installing to not display the conditional comments.
[Commit](http://github.com/chriseppstein/compass/commit/48a0356ad8bc7b965e64f82498a9adcc1872abad)
### Compass Core
* Fixed a copy & paste error in image_url() that caused the http_images_path to not get picked up unless the
http_stylesheets_path was also set.
[Commit](http://github.com/chriseppstein/compass/commit/b7a9772efb89b2b882d3fafe02813c0fc650719a)
0.8.5 (July 06, 2009)
---------------------
The Compass::TestCase class now inherits from ActiveSupport::TestCase if it exists.
[Commit](http://github.com/chriseppstein/compass/commit/71d5ae8544d1c5ae49e28dcd6b3768fc39d7f01c)
0.8.4 (July 06, 2009)
---------------------
Fixed a bug in rails integration introduced in 0.8.3.
0.8.3 (July 06, 2009)
---------------------
Note: Compass now depends on the stable release of haml with version 2.2.0 or greater.
### Compass Core
* A new helper function `stylesheet_url(path)` can now be used to refer to assets that are relative to the css directory.
[Commit](http://github.com/chriseppstein/compass/commit/ff5c8500144272ee2b94271b06cce1690cbbc000).
* Cross browser ellipsis mixin is now available. Use `compass -p ellipsis` to install it into your project since it
requires some additional assets.
[Commit](http://github.com/chriseppstein/compass/commit/3d909ceda997bdcde2aec09bd72e646098389e7d).
### Blueprint
* The +colruler mixin now accepts an argument for the color.
[Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
by [Thomas Reynolds][tdreyno].
### Extensions
* A bug was fixed related to how javascript installation as part of an extension manifest.
[Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
by [dturnbull][dturnbull].
* When installing a file, the :like option can now be set to have it installed into the
same location as what it is like. E.g. `file 'foo.xml', :like => :css` will install
the foo.xml file into the top level of the project's css directory.
[Commit](http://github.com/chriseppstein/compass/commit/21cfce33db81e185ce5517818844a9849b5a836e).
### Configuration
* Setting `http_images_path` to `:relative` is now **deprecated**. Instead, please set `relative_assets` to
`true`.
[Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
* New configuration option `http_path` can be used to set the project's path relative to the server's root.
Defaults to "/". The http paths to images, stylesheets, and javascripts are now assumed to be relative to that
path but can be overridden using the `http_images_path`, `http_css_path`, `http_javascripts_path`.
[Commit](http://github.com/chriseppstein/compass/commit/6555ab3952ae37d736d54f43ee7053c2a88f4a69).
### Command Line
* A new command line option `--relative-assets` can be used to cause links to assets generated
via compass helper functions to be relative to the target css file.
[Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
0.8.2 (July 04, 2009)
---------------------
Fixed a bug that caused touch to fail on windows due to open files. (Contributor: Joe Wasson)
0.8.1
-----
Fixed some build issues and a bug in the rewritten --watch mode that caused changes to partials to go unnoticed.
0.8.0
-----
### Rails
* image_url() now integrates with the rails asset handling code when
stylesheets are generated within the rails container.
**This causes your rails configuration for cache busting and asset hosts
to be used when generating your stylesheets**. Unfortunately, all
that code runs within the context of a controller, so the stylesheets
have to be generated during first request to use this functionality. If you
need to compile stylesheets offline, use the compass configuration file to set
the <code>asset_host</code> and <code>asset_cache_buster</code>.
[Commit](http://github.com/chriseppstein/compass/commit/998168160b11c8702ded0a32820ea15b70d51e83).
* An official Rails template for Compass is now [provided][rails_template].
[Commit](http://github.com/chriseppstein/compass/commit/f6948d1d58818ef8babce8f8f9d775562d7cd7ef)
by [Derek Perez][perezd].
### Blueprint
* The Blueprint port has been upgraded to match Blueprint 0.9. The following changes were made as part
of that project:
* Removed body margins from blueprint scaffolding by default.
The old body styles can be reinstated by mixing +blueprint-scaffolding-body into your body selector(s).
[Commit](http://github.com/chriseppstein/compass/commit/45af89d4c7a396fae5d14fab4ef3bab23bcdfb6a)
by [Enrico Bianco][enricob].
* A bug in the calculations affecting the +colborder mixin has been fixed.
[Commit](http://github.com/chriseppstein/compass/commit/4b33fae5e5c5421580ba536116cb10194f1318d1)
by [Enrico Bianco][enricob].
Related [commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10).
* Blueprint now has inline form support. Mix +blueprint-inline-form into a form selector to make it inline.
[Commit](http://github.com/chriseppstein/compass/commit/56c745b939c763cfcc5549b54979d48ab1309087)
by [Enrico Bianco][enricob].
* Please update the conditional comment that surrounds your IE stylesheet to use "lt IE 8" as the condition
as these styles are not needed in IE8. New blueprint projects will now use this conditional as their default.
[Commit](http://github.com/chriseppstein/compass/commit/77f6e02c0ec80d2b6fd19e611ced02be003c98ae)
by [Enrico Bianco][enricob].
* Explicitly define image interpolation mode for IE so that images aren't jagged when resizing.
[Commit](http://github.com/chriseppstein/compass/commit/63075f82db367913efcce5e1d0f5489888e86ca4)
by [Enrico Bianco][enricob].
* When starting a new project based on Blueprint, a more complete screen.sass file will be
provided that follows compass best practices instead of matching blueprint css exactly. A
partials/_base.sass file is provided and already set up for blueprint customization.
[Commit](http://github.com/chriseppstein/compass/commit/11b6ea14c3ee919711fa4bdce349f88b64b68d51)
* The sizes and borders for form styling can now be altered via mixin arguments.
[Commit](http://github.com/chriseppstein/compass/commit/b84dd3031b82547cff8e1ef1f85de66d98cd162b)
by [Thomas Reynolds][tdreyno].
* Grid borders can now be altered via mixin arguments.
[Commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10)
by [Thomas Reynolds][tdreyno].
* The reset file for blueprint has moved from compass/reset.sass to blueprint/reset.sass. Please
update your imports accordingly. Also note that some of the reset mixin names have changed
(now prefixed with blueprint-*).
[Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
by [Noel Gomez][noel].
### Compass Core
* **Sprites**. A basic sprite mixin is now available. Import compass/utilities/sprites.sass and use the +sprite-img
mixin to set the background image from a sprite image file. Assumes every sprite in the sprite image
file has the same dimensions.
[Commit](http://github.com/chriseppstein/compass/commit/1f21d6309140c009188d350ed911eed5d34bf02e)
by [Thomas Reynolds][tdreyno].
* **Reset**. The compass reset is now based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/).
which makes no attempt to apply base styles like the blueprint reset does. **Existing compass projects
will want to change their reset import to point to blueprint/reset.sass** -- which is where the old
default reset for compass projects now lives -- see the blueprint notes above for more information.
[Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
by [Noel Gomez][noel].
* A bug was fixed in the tag_cloud mixin so that it actually works.
[Commit](http://github.com/chriseppstein/compass/commit/be5c0ff6731ec5e0cdac73bc47f5603c3db899b5)
by [Bjørn Arild Mæland][Chrononaut].
### Sass Extensions
* The <code>inline_image(image_path)</code> function can now be used to generate a data url that embeds the image data in
the generated css file -- avoiding the need for another request.
This function works like <code>image_url()</code> in that it expects the image to be a path
relative to the images directory. There are clear advantages and disadvantages to this approach.
See [Wikipedia](http://en.wikipedia.org/wiki/Data_URI_scheme) for more details.
NOTE: Neither IE6 nor IE7 support this feature.
[Commit](http://github.com/chriseppstein/compass/commit/5a015b3824f280af56f1265bf8c3a7c64a252621).
### Configuration
* **Asset Hosts**. You can now configure the asset host(s) used for images via the image_url() function.
Asset hosts are off unless configured and also off when relative urls are enabled.
[Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e).
In your compass configuration file, you must define an asset_host algorithm to be used like so:
# Return the same host for all images:
asset_host {|path| "http://assets.example.com" }
# Return a different host based on the image path.
asset_host do |path|
"http://assets%d.example.com" % (path.hash % 4)
end
* **Configurable Cache Buster**. You can now configure the cache buster that gets placed at the end of
images via the image_url function. This might be useful if you need to coordinate the query string
or use something other than a timestamp.
[Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e)
Example:
asset_cache_buster do |path, file|
"busted=true"
end
* You can now set/override arbitrary sass options by setting the <code>sass_options</code> configuration property
to a hash. [Commit](http://github.com/chriseppstein/compass/commit/802bca61741db31da7131c82d31fff45f9323696).
* You can now specify additional import paths to look for sass code outside the project.
[Commit](http://github.com/chriseppstein/compass/commit/047be06a0a63923846f53849fc220fb4be69513b).
This can be done in two ways:
1. By setting <code>additional_import_paths</code> to an array of paths.
2. By (repeatedly) calling <code>add_import_path(path)</code>
* The compass configuration can now be placed in PROJECT_DIR/.compass/config.rb if you so choose.
[Commit](http://github.com/chriseppstein/compass/commit/69cf32f70ac79c155198d2dbf96f50856bee9504).
### Command Line
* **Watch Improvements** The watch command was rewritten for robustness and reliability. The most
important change is that generated css files will be deleted if the originating sass file is removed while
watching the project. [Commit](http://github.com/chriseppstein/compass/commit/0a232bd922695f6f659fac9f90466745d4425839).
* The images and javascripts directories may now be set via the command line.
[Commit](http://github.com/chriseppstein/compass/84aec053d0109923ea0208ac0847684cf09cefc1).
* The usage output (-h) of the command-line has been reformatted to make it more readable and understandable.
[Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
* The configuration file being read can now be specified explicitly using the -c option.
This also affects the output location of the --write-configuration command.
NOTE: The -c option used to be for writing the configuration file, an infrequently used option.
[Commit](http://github.com/chriseppstein/compass/d2acd343b899db960c1d3a377e2ee6f58595c6b1).
* You can now install into the current working directory by explicitly setting the command line mode to -i
and providing no project name.
[Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
### Compass Internals
* Some internal code was reorganized to make managing sass extensions and functions more manageable.
* Some internal code was reorganized to make managing ruby application integration more manageable.
* The compass unit tests were reorganized to separate rails testing from other tests.
* The [Rip Packaging System](http://hellorip.com) is now supported.
[Commit](http://github.com/chriseppstein/compass/commit/56f36577c7654b93a349f74abf274327df23402b)
by [Will Farrington](http://github.com/wfarr).
* A [licence is now available](http://github.com/chriseppstein/compass/blob/master/LICENSE.markdown)
making the copyrights and terms of use clear for people who care about such things.
0.6.14
------
Extracted the css validator to an external gem that is only required if you try to use the validation feature.
This makes the compass gem a lot smaller (0.37MB instead of 4MB). To install the validator:
sudo gem install chriseppstein-compass-validator --source http://gems.github.com/
0.6.8 thru 0.6.13
-----------------
The compass gem is now built with Jeweler instead of Echoe. No changes to speak of. These versions were bug
fixes and working out the new release process.
0.6.7
-----
Bug fix release.
### Rails
The output_style will no longer be set in the compass.config file. Instead compass will use the runtime rails environment to set a sensible default.
### Command Line
The Sass cache directory will be placed into the sass directory of the project instead of the directory from where the compass command was ran.
### Compass Core
Extracted two new mixins from +horizontal-list. The new +horizontal-list-container and +horizontal-list-item mixins can be used to build your
horizontal list when you need more control over the selectors (E.g. when working with nested lists).
0.6.6
-----
The Haml project now releases a gem called haml-edge that is built from the haml master branch instead of stable. Compass now depends on this gem and will continue to do so until haml 2.2 is released. This should reduce the number of installation problems that have been encountered by new users.
### Command Line
* Fixed a bug that had broken the --write-configuration (-c) option.
* The --force option will now force recompilation. Useful when the stylesheets don't appear to need a recompile according to the file timestamps.
### Unit tests
* Some unit tests were cleaned up for clarity and to better take advantage of the compass project management facilities.
0.6.5
-----
### Compass Core
Converted all mixins definitions referencing images to use the new sass function <code>image\_url()</code>. The following mixins were affected:
* <code>+pretty-bullets</code>
* <code>+replace-text</code>
The calls to these mixins should now pass a path to the image that is relative to the images directory of the project.
### Command Line
* Required frameworks specified from the command line will now be added into the initial project configuration file.
0.6.4
-----
### Command Line
Added a command line option --install-dir that will emit the directory where compass is installed. Useful for debugging and drilling into the compass examples and libraries.
0.6.3
-----
### Rails
Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images".
### Command Line
These changes, coupled with upcoming changes to Sass result in significantly reduced time spent on compilation for large projects.
* The compass command line will no longer recompile sass files that haven't changed (taking import dependencies into account).
* The compass command line will now respect the -q (quiet) option during compilation. Additionally, the quiet option will be set by default when watching a project for changes.
0.6.2
-----
### Blueprint
Split the push and pull mixins into sub-mixins that separate the common styles from the ones that vary. The generated css when using presentational class names will be smaller as a result. The existing <code>+push</code> and <code>+pull</code> mixins continue to work as expected. The following mixins were added:
+push-base
+push-margins
+pull-base
+pull-margins
Additonally, the liquid plugin was updated to have a span mixin that matches elsewhere.
### YUI
Added Yahoo's version of the css reset. To use it, mix into the top level of your project:
@import yui/modules/reset.sass
+reset
### Rails
* Conditionally defining #blank? on String/NilClass (Erik Bryn <erik.bryn@gmail.com>)
* Set compass environment in plugin based on RAILS_ENV (Lee Nussbaum <wln@scrunch.org>)
0.6.1
-----
Maintenance release that fixes several bugs in the handling of configuration files.
0.6.0
-----
### New Core Functionality: **Patterns**
Patterns give a framework or plugin access to the compass installer framework
to install customizable sass, html as well as image and javascript assets.
A pattern is a folder in the plugin's templates directory. It must
have a manifest file that tells compass what to install and where.
Unlike the project template, a pattern can be stamped out any number of
times.
It is best for pattern stylesheets to only provide example usage to get
the user started. All the core styles for the pattern should be
distributed as part of the framework's stylesheets as mixins to
facilitate easy upgrades and bug fixing on the part of the pattern's
maintainer.
Example Usage:
compass --framework blueprint --pattern buttons
Please read the
[Wiki Page](http://wiki.github.com/chriseppstein/compass/patterns) for more information.
### New Command-line options:
1. <code>--validate</code><br/>
Validate your project's compiled css. Requires java and probably only works on Mac and Unix.
2. <code>--grid-img [DIMENSIONS]</code><br/>
Generate a background image to test grid alignment. Dimension is given as
<column_width>+<gutter_width>. Defaults to 30+10.
3. <code>-p, --pattern PATTERN</code><br/>
When combined with with the --framework option, will stamp a plugin's pattern named PATTERN.
4. <code>-n, --pattern-name NAME</code><br/>
When combined with the --pattern option, the pattern that gets stamped out will
be isolated in subdirectories named NAME.
5. <code>-c, --write-configuration</code><br/>
Emit a compass configuration file into the current directory, taking any existing configuration
file and any command line options provided into account. (command line options override
configuration file options).
### New Sass Functions:
Compass projects can call these sass functions within their sass files, if you find them useful.
1. <code>enumerate(prefix, start, end)</code><br/>
Generates selectors with a prefix and a numerical ending
counting from start to end. E.g. enumerate("foo", 1, 3) returns "foo-1, foo-2, foo-3"
2. <code>image_url(path)</code><br/>
Uses the compass configuration to convert a path relative to the compass
project directory to a path that is either absolute for serving in an HTTP
context or that is relative to whatever css file the function was being
compiled into. In the future, this function may also tap into the rails
asset host configuration.
### New Compass Core Mixins
1. <code>+float-left</code> & <code>+float-right</code><br/>
In order to include fixes for IE's double-margin bug universally,
floats were implemented as a utility mixins. These are available by importing
compass/utilities/general/float.sass which also imports the clearfix module.
2. <code>+pie-clearfix</code><br/>
Implementation of the
[position-is-everything clearfix](http://www.positioniseverything.net/easyclearing.html)
that uses content :after.
### Blueprint 0.8
The Compass port of Blueprint has been upgraded from 0.7.1 to 0.8.0. The 0.8.0 release
brings many bug fixes and a few backward incompatible changes if you use it's presentational
classnames (you don't do that, do you?). Upgrading to 0.8 is automatic when you upgrade to
compass 0.6.0. The Blueprint team didn't release a detailed changelog for me to point at here.
One of the key features of the release was the inclusion of three new core blueprint plugins
(a.k.a. folders you can copy). These are what prompted the development of the compass patterns
feature and two of them are packaged as patterns:
1. Buttons<br/>
To install: <code>compass --framework blueprint --pattern buttons</code><br/>
Then follow your nose.
2. Link Icons<br/>
To install: <code>compass --framework blueprint --pattern link\_icons</code><br/>
Then follow your nose.
The third plugin is the RTL (right-to-left) plugin. To use this one, simply import it after the import
of the blueprint grid and your mixins will be redefined to work in a left to right manner. Additionally,
it provides +rtl-typography mixin that works in conjunction with +blueprint-typography and should be mixed
in with it.
Lastly, I've rewrote some of the presentational class name generation code so that it very nearly
matches the blueprint CSS. Please note that they are not 100% the same because we fix some bugs
that are not yet fixed in blueprint-css and we use a different clearfix implementation.
### Bug Fixes
1. A Safari bug related to the +clearfix mixin was resolved.
2. Running the compass command line installer a second time.
### Bugs Introduced
Almost definitely. Please let me know if you encounter any problems and I'll get a patch out
[tdreyno]: http://github.com/tdreyno
[noel]: http://github.com/noel
[enricob]: http://github.com/enricob
[perezd]: http://github.com/perezd
[Chrononaut]: http://github.com/Chrononaut
[rails_template]: http://github.com/chriseppstein/compass/raw/4e7e51e2c5491851f66c77abf3f15194f2f8fb8d/lib/compass/app_integration/rails/templates/compass-install-rails.rb
[dturnbull]: http://github.com/dturnbull
[filiptepper]: http://github.com/filiptepper
[pixelmatrix]: http://github.com/pixelmatrix
[jsilver]: http://github.com/jsilver
[avit]: http://github.com/avit
[der-rich]: http://github.com/der-rich
[adamstac]: http://github.com/adamstac
[ttilley]: http://github.com/ttilley

View File

@ -1,29 +0,0 @@
Copyright (c) 2009 Christopher M. Eppstein
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
No attribution is required by products that make use of this software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.
Contributors to this project agree to grant all rights to the copyright
holder of the primary product. Attribution is maintained in the source
control history of the product.

View File

@ -1,56 +0,0 @@
# Compass
A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of the following CSS frameworks:
- [Compass Core][compass_core_website] - [Wiki Documentation][compass_core_wiki]
- [Blueprint][blueprint_website] - [Wiki Documentation][bleuprint_wiki]
- [960][ninesixty_website] - [Wiki Documentation][ninesixty_wiki]
- [Susy][susy_website] - [Wiki Documentation][susy_wiki]
- [YUI][yui_website] - [Wiki Documentation][yui_wiki]
- New frameworks and extensions are [tracked on the wiki][plugins_wiki] as they are created.
- Other frameworks can be added relatively easily. Create your own!
## Compass Provides
1. A [command line tool][command_line_wiki] for managing your Sass projects.
2. Simple integration with [Ruby-on-Rails][ruby_on_rails_wiki], [Merb][merb_wiki], [StaticMatic][static_matic_wiki], and even [non-ruby application servers][command_line_wiki].
3. Loads of Sass mixins to make building your website a snap.
## Quick Start
$ (sudo) gem install compass
$ compass create my_compass_project --using blueprint
$ cd my_compass_project
$ compass watch
## More Information
Please see the [wiki][wiki]
## Author
Compass is written by [Chris Eppstein][chris_eppstein].<br>
Chris is the Software Architect of [Caring.com][caring.com] and a member of the [Sass][sass] core team.
## License
Copyright (c) 2008-2009 Christopher M. Eppstein<br>
All Rights Reserved.<br>
Released under a [slightly modified MIT License][license].
[sass]: http://sass-lang.com/ "Syntactically Awesome StyleSheets"
[compass_core_website]: http://github.com/chriseppstein/compass/tree/master/frameworks/compass
[compass_core_wiki]: http://github.com/chriseppstein/compass/wikis/compass-core-documentation
[blueprint_website]: http://blueprintcss.org/
[bleuprint_wiki]: http://github.com/chriseppstein/compass/wikis/blueprint-documentation
[yui_website]: http://developer.yahoo.com/yui/grids/
[yui_wiki]: http://github.com/chriseppstein/compass/wikis/yui-documentation
[plugins_wiki]: http://github.com/chriseppstein/compass/wikis/compass-plugins
[ninesixty_website]: http://960.gs/
[ninesixty_wiki]: http://github.com/chriseppstein/compass/wikis/960gs-documentation
[command_line_wiki]: http://wiki.github.com/chriseppstein/compass/command-line-tool
[wiki]: http://github.com/chriseppstein/compass/wikis/home
[ruby_on_rails_wiki]: http://wiki.github.com/chriseppstein/compass/ruby-on-rails-integration
[merb_wiki]: http://wiki.github.com/chriseppstein/compass/merb-integration
[static_matic_wiki]: http://wiki.github.com/chriseppstein/compass/staticmatic-integration
[chris_eppstein]: http://chriseppstein.github.com
[caring.com]: http://www.caring.com/ "Senior Care Resources"
[license]: http://github.com/chriseppstein/compass/tree/master/LICENSE.markdown
[susy_website]: http://www.oddbird.net/susy/
[susy_wiki]: http://github.com/chriseppstein/compass/wikis/susy-documentation

View File

@ -1 +0,0 @@
9503512782eba7e387ba0dec14e5cfe1f3c0f22b

View File

@ -1,167 +0,0 @@
if ENV['RUN_CODE_RUN']
# We need to checkout edge haml for the run>code>run test environment.
if File.directory?("haml")
Dir.chdir("haml") do
sh "git", "fetch"
sh "git", "reset", "--hard", "origin/stable"
end
else
sh "git", "clone", "git://github.com/nex3/haml.git"
end
$LOAD_PATH.unshift "haml/lib"
end
require 'rubygems'
require 'rake'
$:.unshift File.join(File.dirname(__FILE__), 'lib')
require 'compass'
require 'rcov/rcovtask'
# ----- Default: Testing ------
task :default => :run_tests
require 'rake/testtask'
require 'fileutils'
Rake::TestTask.new :run_tests do |t|
t.libs << 'lib'
t.libs << 'test'
t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
test_files = FileList['test/**/*_test.rb']
test_files.exclude('test/rails/*', 'test/haml/*')
t.test_files = test_files
t.verbose = true
end
Rake::Task[:test].send(:add_comment, <<END)
To run with an alternate version of Rails, make test/rails a symlink to that version.
To run with an alternate version of Haml & Sass, make test/haml a symlink to that version.
END
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.rubyforge_project = "compass"
gemspec.name = "compass"
gemspec.summary = "A Real Stylesheet Framework"
gemspec.email = "chris@eppsteins.net"
gemspec.homepage = "http://compass-style.org"
gemspec.description = "Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS."
gemspec.authors = ["Chris Eppstein"]
gemspec.has_rdoc = false
gemspec.add_dependency('haml', '>= 2.2.14')
gemspec.files = []
gemspec.files << "CHANGELOG.markdown"
gemspec.files << "README.markdown"
gemspec.files << "LICENSE.markdown"
gemspec.files << "REVISION"
gemspec.files << "VERSION.yml"
gemspec.files << "Rakefile"
gemspec.files << "deps.rip"
gemspec.files += Dir.glob("bin/*")
gemspec.files += Dir.glob("examples/**/*.*")
gemspec.files -= Dir.glob("examples/**/*.css")
gemspec.files -= Dir.glob("examples/**/*.html")
gemspec.files -= Dir.glob("examples/*/extensions/**")
gemspec.files += Dir.glob("frameworks/**/*")
gemspec.files += Dir.glob("lib/**/*")
gemspec.files += Dir.glob("test/**/*.*")
gemspec.files -= Dir.glob("test/fixtures/stylesheets/*/saved/**/*.*")
gemspec.test_files = Dir.glob("test/**/*.*")
gemspec.test_files -= Dir.glob("test/fixtures/stylesheets/*/saved/**/*.*")
gemspec.test_files += Dir.glob("features/**/*.*")
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
desc "Record the current git revision."
task :REVISION do
require 'git'
repo = Git.open('.')
open("REVISION", "w") do |f|
f.write(repo.object("HEAD").sha)
end
end
desc "Commit the revision file."
task :commit_revision => :REVISION do
require 'git'
repo = Git.open('.')
repo.add("REVISION")
repo.commit("Record current revision for release.")
end
task :release => :commit_revision
task :gem => :build
desc "Compile Examples into HTML and CSS"
task :examples do
linked_haml = "tests/haml"
if File.exists?(linked_haml) && !$:.include?(linked_haml + '/lib')
puts "[ using linked Haml ]"
$:.unshift linked_haml + '/lib'
end
require 'haml'
require 'sass'
require 'pathname'
require 'lib/compass'
require 'lib/compass/exec'
FileList['examples/*'].each do |example|
next unless File.directory?(example)
puts "\nCompiling #{example}"
puts "=" * "Compiling #{example}".length
Dir.chdir example do
load "bootstrap.rb" if File.exists?("bootstrap.rb")
Compass::Exec::SwitchUI.new(["--force"]).run!
end
# compile any haml templates to html
FileList["#{example}/**/*.haml"].each do |haml_file|
basename = haml_file[0..-6]
engine = Haml::Engine.new(open(haml_file).read, :filename => haml_file)
puts " haml #{File.basename(basename)}"
output = open(basename,'w')
output.write(engine.render)
output.close
end
end
end
namespace :git do
task :clean do
sh "git", "clean", "-fdx"
end
end
require 'cucumber/rake/task'
namespace :rcov do
Cucumber::Rake::Task.new(:cucumber) do |t|
t.rcov = true
t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
t.rcov_opts << %[-o "coverage"]
end
Rcov::RcovTask.new(:units) do |rcov|
rcov.libs << 'lib'
rcov.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
test_files = FileList['test/**/*_test.rb']
test_files.exclude('test/rails/*', 'test/haml/*')
rcov.pattern = test_files
rcov.output_dir = 'coverage'
rcov.verbose = true
rcov.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
rcov.rcov_opts << %[-o "coverage" --sort coverage]
end
desc "Run both specs and features to generate aggregated coverage"
task :all do |t|
rm "coverage.data" if File.exist?("coverage.data")
Rake::Task["rcov:units"].invoke
Rake::Task["rcov:cucumber"].invoke
end
end

View File

@ -1,5 +0,0 @@
---
:patch: 0
:major: 0
:minor: 10
:build: pre5

View File

@ -1,26 +0,0 @@
#!/usr/bin/env ruby
# The compass command line utility
# This allows compass to run easily from a git checkout without install.
def fallback_load_path(path)
retried = false
begin
yield
rescue LoadError
unless retried
$: << path
retried = true
retry
end
raise
end
end
fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
require 'compass'
require 'compass/exec'
end
command_line_class = Compass::Exec::Helpers.select_appropriate_command_line_ui(ARGV)
exit command_line_class.new(ARGV).run!

View File

@ -1,4 +0,0 @@
To build the examples:
1. You can run the compass command line from any particular compass example project
2. You can compile them all by running `rake examples` at the top of the project directory.

View File

@ -1,7 +0,0 @@
# Require any additional compass plugins here.
project_type = :stand_alone
css_dir = "stylesheets"
sass_dir = "src"
images_dir = "images"
output_style = :compact
relative_assets = true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

View File

@ -1,85 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint test pages
/
Framework CSS
%link{ :href => "stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "stylesheets/index.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container
%h1
Blueprint test pages
%hr
%p
Welcome to the Blueprint test pages. The HTML files below tests most HTML elements, and especially classes provided
by&nbsp;Blueprint.
%table{ :cellspacing => "0", :border => "0", :cellpadding => "0" }
%tr
%th.span-6
Test page
%th.span-8
Main files tested
%th.span-10
Description
%tr
%td
%a{ :href => "parts/grid.html" }
Grid
%td
%a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_grid.sass" }
grid.sass
%td
Tests classes provided by the grid module.
%tr.even
%td
%a{ :href => "parts/elements.html" }
Typography
%td
%a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_typography.sass" }
typography.sass
%td
Tests HTML elements which gets set in the typography module.
%tr
%td
%a{ :href => "parts/forms.html" }
Forms
%td
%a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_form.sass" }
form.sass
%td
Tests classes and default look provided by the form module.
%p
%em
%strong
Note about the css files:
These test files utilize the css files that are generated from
%a{ :href => "http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html" }
Sass templates
\.
In other words, if you change any of the source files,
you'll have to re-build them with
%code
rake examples
to see any&nbsp;changes.
.box
%p
For more information and help, try these resources:
%ul.bottom
%li
%a{ :href => "http://code.google.com/p/blueprintcss" }
The Blueprint home page.
%li
%a{ :href => "http://groups.google.com/group/blueprintcss" }
Our anything-goes mailing list.
%li
%a{ :href => "http://bjorkoy.com" }
The blog where news about Blueprint gets posted.
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "parts/valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,282 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint HTML Elements Tests
/
Framework CSS
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container.showgrid
%h2
Tests for common HTML elements
%hr
%h5
PARAGRAPHS
%span.alt
\&amp;
BOXES
.span-8
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
%sub
sub text
ut labore et
%sup
sup text
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
.span-8
%p.small
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
%p.large
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-8.last
.box
%p.last
Aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%blockquote
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
%hr
%h5
LISTS
.span-8
%ul
%li
Unordered list test
%li
Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
%li
Yet another element in the list
%li
Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
%ol
%li
Ordered list test
%li
Another list element
%li
Yet another element in the list
.span-8
%ol
%li
Ordered list
%li
Here's a nested unordered list
%ul
%li
Nested Unordered list
%li
Nested ordered list
%ol
%li
The first
%li
And the second
%li
Ordered List item
%li
Nested Ordered list
%ol
%li
Some point
%li
Nested Unordered list
%ul
%li
The first
%li
And the second
.span-8.last
%dl
%dt
definition list dt
%dd
definition list dd
%dt
definition list dt
%dd
definition list dd
%dt
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
%dd
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
%dt
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
%dd
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
%hr
%h5
HEADINGS
.span-8
%h1
H1: Lorem ipsum dolor sit amet
%h2
H2: Lorem ipsum dolor sit amet, consectetur elit
%h3
H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit
%h4
H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis
%h5
H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
%h6
H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
.span-8
%h1
Heading 1
%hr
%h2
Heading 2
%hr
%h3
Heading 3
%hr
%h4
Heading 4
%hr
%h5
Heading 5
%hr
%h6
Heading 6
.span-8.last
%h1
Heading 1
%h2
Heading 2
%h3
Heading 3
%h4
Heading 4
%h5
Heading 5
%h6
Heading 6
%hr
%h5
MISC ELEMENTS
.span-8
%p
%strong
\&lt;strong&gt;
%br
%del
\&lt;del&gt; deleted
%br
%dfn
\&lt;dfn&gt; dfn
%br
%em
\&lt;em&gt; emphasis
%p
%a
\&lt;a&gt; anchor
%br
%a{ :href => "http://www.google.com" }
\&lt;a&gt; a + href
%p
%abbr{ :title => "extended abbr text should show when mouse over" }
\&lt;abbr&gt; abbr - extended text when mouseover.
%br
%acronym{ :title => "extended acronym text should show when mouse over" }
\&lt;acronym&gt; acronym - extended text when mouseover.
%address
\&lt;address&gt;
%br
Donald Duck
%br
Box 555
%br
Disneyland
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore.
.span-8
%table{ :cellspacing => "0", :border => "0", :summary => "This is the summary text for this table.", :cellpadding => "0" }
%caption
%em
A standard test table with a caption, tr, td elements
%tr
%th.span-4
Table Header One
%th.span-4.last
Table Header Two
%tr
%td
TD One
%td
TD Two
%tr
%td{ :colspan => "2" }
TD colspan 2
%table{ :cellspacing => "0", :border => "0", :summary => "This is the summary text for this table.", :cellpadding => "0" }
%caption
%em
A test table with a thead, tfoot, and tbody elements
%thead
%tr
%th.span-4
Table Header One
%th.span-4.last
Table Header Two
%tfoot
%tr
%td{ :colspan => "2" }
tfoot footer
%tbody
%tr
%td
TD One
%td
TD Two
%tr
%td
TD One
%td
TD Two
%tbody
%tr
%td
TD One
%td
TD Two
%tr
%td
TD One
%td
TD Two
.span-8.last
%pre
\&lt;pre&gt;
pre space1
pre space1
pre space2
pre space2
pre tab
pre tab
%code
\&lt;code&gt;
Not indented
indent1
indent1
indent2
indent3
%tt
\&lt;tt&gt;
This tt text should be monospaced
and
wrap as if
one line of text
even though the code has newlines, spaces, and tabs.
It should be the same size as &lt;p&gt; text.
%hr
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,192 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint Forms Tests
/
Framework CSS
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if lt IE 8]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container.showgrid
%h1
Forms
%hr
.span-12
%form#dummy{ :action => "", :method => "post" }
%fieldset
%legend
Simple sample form
%p
%label{ :for => "dummy0" }
Text input (title)
%br
%input#dummy0.title{ :name => "dummy0", :type => "text", :value => "Field with class .title" }
%p
%label{ :for => "dummy1" }
Another field
%br
%input#dummy1.text{ :name => "dummy1", :type => "text", :value => "Field with class .text" }
%p
%label{ :for => "dummy2" }
Textarea
%br
%textarea#dummy2{ :name => "dummy2", :rows => "5", :cols => "20" }
%p
%input{ :type => "submit", :value => "Submit" }
%input{ :type => "reset", :value => "Reset" }
.span-12.last
.error
This is a &lt;div&gt; with the class
%strong
\.error
\.
%a{ :href => "#" }
Link
\.
.notice
This is a &lt;div&gt; with the class
%strong
\.notice
\.
%a{ :href => "#" }
Link
\.
.success
This is a &lt;div&gt; with the class
%strong
\.success
\.
%a{ :href => "#" }
Link
\.
%fieldset
%legend
Select, checkboxes, lists
%p
%label{ :for => "dummy3" }
Select field
%br
%select#dummy3{ :name => "dummy3" }
%option{ :value => "1" }
Ottawa
%option{ :value => "2" }
Calgary
%option{ :value => "3" }
Moosejaw
%p
%label{ :for => "dummy4" }
Select with groups
%br
%select#dummy4{ :name => "dummy4" }
%option
Favorite pet
%optgroup{ :label => "mammals" }
%option
dog
%option
cat
%option
rabbit
%option
horse
%optgroup{ :label => "reptiles" }
%option
iguana
%option
snake
%p
%label
Radio buttons
%br
%input{ :name => "example", :type => "radio" }
Radio one
%br
%input{ :name => "example", :type => "radio" }
Radio two
%br
%input{ :name => "example", :type => "radio" }
Radio three
%br
%p
%label
Checkboxes
%br
%input{ :type => "checkbox" }
Check one
%br
%input{ :type => "checkbox" }
Check two
%br
%input{ :type => "checkbox" }
Check three
%br
.span-24.last
%fieldset
%legend
Alignment
%p
%label{ :for => "dummy5" }
Select field
%select#dummy5{ :name => "dummy5" }
%option{ :value => "1" }
Ottawa
%option{ :value => "2" }
Calgary
%option{ :value => "3" }
Moosejaw
%p
%label{ :for => "dummy6" }
Text input (title)
%input#dummy6.title{ :name => "dummy6", :type => "text", :value => "Field with class .title" }
%p
%label{ :for => "dummy7" }
Select field
%select#dummy7{ :name => "dummy7" }
%option{ :value => "1" }
Ottawa
%option{ :value => "2" }
Calgary
%option{ :value => "3" }
Moosejaw
%label{ :for => "dummy8" }
Another field
%input#dummy8.text{ :name => "dummy8", :type => "text", :value => "Field with class .text" }
.span-24.last
%form.inline{ :action => "", :method => "post" }
%fieldset
%legend
A form with class "inline"
.span-3
%label{ :for => "a" }
Label A:
%select#a{ :name => "a" }
%option{ :value => "0" }
All
.span-2
some text
.span-3
%input#o.checkbox{ :type => "checkbox", :name => "o", :value => "true", :checked => "checked" }
checkbox one
.span-3
%label{ :for => "b" }
Label B:
%select#b{ :name => "b" }
%option{ :value => "0" }
All
.span-2
%a{ :href => "" }
A Hyperlink
.span-8
%input#q.text{ :type => "text", :name => "q", :value => "Field with class .text" }
.span-2.last
%input.button{ :type => "submit", :value => "submit" }
/ WTF This doesn't render correctly without some space.
&nbsp;
%hr
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,274 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint Grid Tests
/
Framework CSS
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container.showgrid
%h1
Blueprint Tests: grid.css
.span-8
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-8
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-8.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-6.append-1
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-6.append-2
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-6.append-3.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-6.prepend-1
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-6.prepend-2
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
.span-6.prepend-3.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
%hr
.span-12.border
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
.span-12.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%hr
.span-1.prepend-1
%p
1
.span-1.prepend-2
%p
2
.span-1.prepend-3
%p
3
.span-1.prepend-4
%p
4
.span-1.prepend-5
%p
5
.span-1.prepend-3.last
%p
3
.span-1.append-1
%p
1
.span-1.append-2
%p
2
.span-1.append-3
%p
3
.span-1.append-4
%p
4
.span-1.append-5
%p
5
.span-1.append-3.last
%p
3
.span-1.border
%p
1
.span-1.border
%p
2
.span-1.border
%p
3
.span-1.border
%p
4
.span-1.border
%p
5
.span-1.border
%p
6
.span-1.border
%p
7
.span-1.border
%p
8
.span-1.border
%p
9
.span-1.border
%p
10
.span-1.border
%p
11
.span-1.border
%p
12
.span-1.border
%p
13
.span-1.border
%p
14
.span-1.border
%p
15
.span-1.border
%p
16
.span-1.border
%p
17
.span-1.border
%p
18
.span-1.border
%p
19
.span-1.border
%p
20
.span-1.border
%p
21
.span-1.border
%p
22
.span-1.border
%p
23
.span-1.last
%p
24
.span-4
%p
1
.span-4
%p
2
.span-4
%p
3
.span-4
%p
4
.span-4
%p
5
.span-4.last
%p
6
.prepend-23.span-1.last
%p
24
.prepend-1.span-1
%p
2
.prepend-20.span-1.append-1.last
%p
23
%hr
.span-24
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
.span-12
.span-6
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.
.span-6.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-12.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-12.last
.span-6
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.
.span-6.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-12.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-14.prepend-5.append-5.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
%hr
.span-12
%h5
TESTING .PUSH-1 TO .PUSH-5
.span-2
%img.push-1{ :src => "test-small.jpg" }
.span-10.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2
%img.push-2{ :src => "test-small.jpg" }
.span-10.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2
%img.push-3{ :src => "test-small.jpg" }
.span-10.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2
%img.push-4{ :src => "test-small.jpg" }
.span-10.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2
%img.push-5{ :src => "test-small.jpg" }
.span-10.last
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-12.last
%h5
TESTING .PULL-1 TO .PULL-5
.span-10
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2.last
%img.top.pull-1{ :src => "test-small.jpg" }
.span-10
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2.last
%img.top.pull-2{ :src => "test-small.jpg" }
.span-10
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2.last
%img.top.pull-3{ :src => "test-small.jpg" }
.span-10
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2.last
%img.top.pull-4{ :src => "test-small.jpg" }
.span-10
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
.span-2.last
%img.top.pull-5{ :src => "test-small.jpg" }
.span-24
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.bottom{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,3 +0,0 @@
@import blueprint.sass
+blueprint-ie

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

View File

@ -1,3 +0,0 @@
@import blueprint.sass
+blueprint-print

View File

@ -1,8 +0,0 @@
@import blueprint.sass
@import blueprint/scaffolding.sass
@import compass/reset.sass
+blueprint
// Remove the scaffolding when you're ready to start doing visual design.
// Or leave it in if you're happy with how blueprint looks out-of-the-box
+blueprint-scaffolding

View File

@ -1,8 +0,0 @@
# Require any additional compass plugins here.
project_type = :stand_alone
css_dir = "stylesheets"
sass_dir = "src"
images_dir = "images"
output_style = :compact
relative_assets = true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,96 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint test pages
/
Framework CSS
%link{ :href => "stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container
%h1
Blueprint test pages
%hr
%p
Welcome to the Blueprint Plugin test pages. The HTML files below tests most HTML elements, and especially classes provided
by&nbsp;Blueprint.
%table{ :cellspacing => "0", :border => "0", :cellpadding => "0" }
%tr
%th.span-6
Test page
%th.span-8
Main files tested
%th.span-10
Description
%tr
%td
%a{ :href => "plugins/fancy_type.html" }
Fancy Type
%td
%a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_grid.sass" }
grid.sass
,
%a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_typography.sass" }
typography.sass
,
%a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass" }
fancy_type.sass
%td
A simple sample page, with common elements and fancy type.
%tr
%td
%a{ :href => "plugins/buttons.html" }
Buttons
%td
%a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_buttons.sass" }
buttons.sass
%td
A simple page, showing links and buttons styled using the button plugin.
%tr
%td
%a{ :href => "plugins/link_icons.html" }
Link Icons
%td
%a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass" }
link_icons.sass
%td
A simple page, showing links icons.
%tr
%td
%a{ :href => "plugins/rtl.html" }
RTL
%td
%a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_rtl.sass" }
rtl.sass
%td
A simple page, showing a right-to-left grid layout.
%p
%em
%strong
Note about the css files:
These test files utilize the css files that are generated from
%a{ :href => "http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html" }
Sass templates
\.
In other words, if you change any of the source files,
you'll have to re-build them with
%code
rake examples
to see any&nbsp;changes.
.box
%p
For more information and help, try these resources:
%ul.bottom
%li
%a{ :href => "http://www.blueprintcss.org/" }
The Blueprint home page.
%li
%a{ :href => "http://groups.google.com/group/blueprintcss" }
Our anything-goes mailing list.
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "images/valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,67 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint Buttons Sample Page
/
Framework CSS
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%link{ :href => "../stylesheets/buttons.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%body
.container
%h1
A Button Example Page
%hr
%h2.alt
This sample page demonstrates what you can do with the Buttons plugin.
%hr
.span-12
%h3
Link Buttons
%a.button
Link Button
%a.button.positive
Positive Button
%a.button.negative
Negative Button
.span-12.last
%h3
Real Buttons
%button
Normal Button
%button.positive
Positive Button
%button.negative
Negative Button
.span-12
%h3
Link Buttons with Images
%a.button
%img{ :src => "../images/buttons/tick.png", :alt => "" }
Save
%a.button.positive
%img{ :src => "../images/buttons/key.png", :alt => "" }
Change Password
%a.button.negative
%img{ :src => "../images/buttons/cross.png", :alt => "" }
Cancel
.span-12.last
%h3
Real Buttons with Images
%button
%img{ :src => "../images/buttons/tick.png", :alt => "" }
Save
%button.positive
%img{ :src => "../images/buttons/key.png", :alt => "" }
Change Password
%button.negative
%img{ :src => "../images/buttons/cross.png", :alt => "" }
Cancel
.span-24
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,100 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint Sample Page
/
Framework CSS
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container
%h1
A simple sample page
%hr
%h2.alt
This sample page demonstrates a tiny fraction of what you get with Blueprint.
%hr
.span-7.colborder
%h6
Here's a box
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
.span-8.colborder
%h6
And another box
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat laboris nisi ut aliquip.
.span-7.last
%h6
This box is aligned with the sidebar
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
%hr
%hr.space
.span-15.prepend-1.colborder
%p
%img.left.top.pull-1{ :src => "../images/test.jpg", :alt => "test" }
Lorem ipsum dolor sit amet,
%em
consectetuer adipiscing elit
\. Nunc congue ipsum vestibulum libero. Aenean vitae justo. Nam eget tellus. Etiam convallis, est eu lobortis mattis, lectus tellus tempus felis, a ultricies erat ipsum at metus.
%p
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
%a{ :href => "#" }
Morbi et risus
\. Aliquam nisl. Nulla facilisi. Cras accumsan vestibulum ante. Vestibulum sed tortor. Praesent
%span.caps
SMALL CAPS
tempus fringilla elit. Ut elit diam, sagittis in, nonummy in, gravida non, nunc. Ut orci. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Nam egestas, orci eu imperdiet malesuada, nisl purus fringilla odio, quis commodo est orci vitae justo. Aliquam placerat odio tincidunt nulla. Cras in libero. Aenean rutrum, magna non tristique posuere, erat odio eleifend nisl, non convallis est tortor blandit ligula. Nulla id augue.
%p
Nullam mattis, odio ut tempus facilisis, metus nisl facilisis metus, auctor consectetuer felis ligula nec mauris. Vestibulum odio erat, fermentum at, commodo vitae, ultrices et, urna. Mauris vulputate, mi pulvinar sagittis condimentum, sem nulla aliquam velit, sed imperdiet mi purus eu magna. Nulla varius metus ut eros. Aenean aliquet magna eget orci. Class aptent taciti sociosqu ad litora.
%p
Vivamus euismod. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Suspendisse vel nibh ut turpis dictum sagittis. Aliquam vel velit a elit auctor sollicitudin. Nam vel dui vel neque lacinia pretium. Quisque nunc erat, venenatis id, volutpat ut, scelerisque sed, diam. Mauris ante. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec mattis. Morbi dignissim sollicitudin libero. Nulla lorem.
%blockquote
%p
Integer cursus ornare mauris. Praesent nisl arcu, imperdiet eu, ornare id, scelerisque ut, nunc. Praesent sagittis erat sed velit tempus imperdiet. Ut tristique, ante in interdum hendrerit, erat enim faucibus felis, quis rutrum mauris lorem quis sem. Vestibulum ligula nisi, mattis nec, posuere et, blandit eu, ligula. Nam suscipit placerat odio. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Pellentesque tortor libero, venenatis vitae, rhoncus eu, placerat ut, mi. Nulla nulla.
%p
Maecenas vel metus quis magna pharetra fermentum.
%em
Integer sit amet tortor
\. Maecenas porttitor, pede sed gravida auctor, nulla augue aliquet elit, at pretium urna orci ut metus. Aliquam in dolor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed aliquam, tellus id ornare posuere, quam nunc accumsan turpis, at convallis tellus orci et nisl. Phasellus congue neque a lorem.
%hr
.span-7.colborder
%h6
This is a nested column
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
.span-7.last
%h6
This is another nested column
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
.span-7.last
%h3
A
%span.alt
Simple
Sidebar
%p
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue.
%p
Mauris a lectus. Aliquam erat volutpat. Phasellus ultrices mi a sapien. Nunc rutrum egestas lorem. Duis ac sem sagittis elit tincidunt gravida. Mauris a lectus. Aliquam erat volutpat. Phasellus ultrices mi a sapien. Nunc rutrum egestas lorem. Duis ac sem sagittis elit tincidunt gravida.
%p.quiet
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue.
%h5
Incremental leading
%p.incr
Vestibulum ante ipsum primis in faucibus orci luctus vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. sed aliquet vehicula, lectus tellus.
%p.incr
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue.
%hr
%h2.alt
You may pick and choose amongst these and many more features, so be bold.
%hr
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,61 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint Link Icons Sample Page
/
Framework CSS
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%link{ :href => "../stylesheets/link_icons.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%body
.container
%h1
A Link Icons Example Page
%hr
%h2.alt
This sample page demonstrates what you can do with the Link Icons plugin.
%hr
.span-12
%h3
External Links
%a{ :href => "http://www.no-such-website.com/" }
A Normal External Link
%a{ :href => "http://www.google.com" }
A Visited External Link
%a{ :href => "mailto:donald@duck.com" }
An Email Link
.span-12.last
%h3
Document Links
%a{ :href => "http://www.no-such-website.com/sample.pdf" }
A .pdf Link
%a{ :href => "http://www.no-such-website.com/sample.doc" }
A .doc Link
%a{ :href => "http://www.no-such-website.com/sample.xls" }
A .xls Link
.span-12
%h3
Misc Links
%a{ :href => "http://www.no-such-website.com/sample.rss" }
An RSS Link
%a{ :href => "http://www.no-such-website.com/sample.rdf" }
An Atom Link
%a{ :href => "aim:chatmeup" }
A Instant Messenger Link
.span-12.last
%h3
Turning Icons Off
%a.noicon{ :href => "http://www.no-such-website.com/" }
A Normal External Link
%a.noicon{ :href => "http://www.google.com" }
A Visited External Link
%a.noicon{ :href => "mailto:donald@duck.com" }
An Email Link
.span-24
%p
%a.noicon{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,100 +0,0 @@
!!!
%html{ :lang => "en" }
%head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
%title
Blueprint Sample Page
/
Framework CSS
%link{ :href => "../stylesheets/rtl_screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
/
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
%body
.container
%h1
A simple sample page
%hr
%h2.alt
This sample page demonstrates a tiny fraction of what you get with Blueprint.
%hr
.span-7.colborder
%h6
Here's a box
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
.span-8.colborder
%h6
And another box
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat laboris nisi ut aliquip.
.span-7.last
%h6
This box is aligned with the sidebar
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
%hr
%hr.space
.span-15.prepend-1.colborder
%p
%img.left.top.pull-1{ :src => "../images/test.jpg", :alt => "test" }
Lorem ipsum dolor sit amet,
%em
consectetuer adipiscing elit
\. Nunc congue ipsum vestibulum libero. Aenean vitae justo. Nam eget tellus. Etiam convallis, est eu lobortis mattis, lectus tellus tempus felis, a ultricies erat ipsum at metus.
%p
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
%a{ :href => "#" }
Morbi et risus
\. Aliquam nisl. Nulla facilisi. Cras accumsan vestibulum ante. Vestibulum sed tortor. Praesent
%span.caps
SMALL CAPS
tempus fringilla elit. Ut elit diam, sagittis in, nonummy in, gravida non, nunc. Ut orci. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Nam egestas, orci eu imperdiet malesuada, nisl purus fringilla odio, quis commodo est orci vitae justo. Aliquam placerat odio tincidunt nulla. Cras in libero. Aenean rutrum, magna non tristique posuere, erat odio eleifend nisl, non convallis est tortor blandit ligula. Nulla id augue.
%p
Nullam mattis, odio ut tempus facilisis, metus nisl facilisis metus, auctor consectetuer felis ligula nec mauris. Vestibulum odio erat, fermentum at, commodo vitae, ultrices et, urna. Mauris vulputate, mi pulvinar sagittis condimentum, sem nulla aliquam velit, sed imperdiet mi purus eu magna. Nulla varius metus ut eros. Aenean aliquet magna eget orci. Class aptent taciti sociosqu ad litora.
%p
Vivamus euismod. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Suspendisse vel nibh ut turpis dictum sagittis. Aliquam vel velit a elit auctor sollicitudin. Nam vel dui vel neque lacinia pretium. Quisque nunc erat, venenatis id, volutpat ut, scelerisque sed, diam. Mauris ante. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec mattis. Morbi dignissim sollicitudin libero. Nulla lorem.
%blockquote
%p
Integer cursus ornare mauris. Praesent nisl arcu, imperdiet eu, ornare id, scelerisque ut, nunc. Praesent sagittis erat sed velit tempus imperdiet. Ut tristique, ante in interdum hendrerit, erat enim faucibus felis, quis rutrum mauris lorem quis sem. Vestibulum ligula nisi, mattis nec, posuere et, blandit eu, ligula. Nam suscipit placerat odio. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Pellentesque tortor libero, venenatis vitae, rhoncus eu, placerat ut, mi. Nulla nulla.
%p
Maecenas vel metus quis magna pharetra fermentum.
%em
Integer sit amet tortor
\. Maecenas porttitor, pede sed gravida auctor, nulla augue aliquet elit, at pretium urna orci ut metus. Aliquam in dolor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed aliquam, tellus id ornare posuere, quam nunc accumsan turpis, at convallis tellus orci et nisl. Phasellus congue neque a lorem.
%hr
.span-7.colborder
%h6
This is a nested column
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
.span-7.last
%h6
This is another nested column
%p
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
.span-7.last
%h3
A
%span.alt
Simple
Sidebar
%p
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue.
%p
Mauris a lectus. Aliquam erat volutpat. Phasellus ultrices mi a sapien. Nunc rutrum egestas lorem. Duis ac sem sagittis elit tincidunt gravida. Mauris a lectus. Aliquam erat volutpat. Phasellus ultrices mi a sapien. Nunc rutrum egestas lorem. Duis ac sem sagittis elit tincidunt gravida.
%p.quiet
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue.
%h5
Incremental leading
%p.incr
Vestibulum ante ipsum primis in faucibus orci luctus vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. sed aliquet vehicula, lectus tellus.
%p.incr
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras ornare mattis nunc. Mauris venenatis, pede sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue. sed aliquet vehicula, lectus tellus pulvinar neque, non cursus sem nisi vel augue.
%hr
%h2.alt
You may pick and choose amongst these and many more features, so be bold.
%hr
%p
%a{ :href => "http://validator.w3.org/check?uri=referer" }
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }

View File

@ -1,49 +0,0 @@
@import compass/utilities/general/float.sass
@import blueprint/buttons.sass
//
Use the following HTML code to place the buttons on your site:
<button type="submit" class="button positive">
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
</button>
<a class="button" href="/password/reset/">
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
</a>
<a href="#" class="button negative">
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
</a>
a.button
// you can pass "left" or "right" to +anchor-button to float it in that direction
// or you can pass no argument to leave it inline-block (cross browser safe!) within
// the flow of your page.
+anchor-button("left")
// All the button color mixins take 4 optional arguments:
// font color, background color, border color, border highlight color
// the first three default to constants set in blueprint/buttons.sass
// the last one defaults to a shade lighter than the border color.
+button-colors
+button-hover-colors
+button-active-colors
button
// The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
+button-button("left")
+button-colors
+button-hover-colors
+button-active-colors
// We can change the colors for buttons of certain classes, etc.
a.positive, button.positive
:color #529214
+button-hover-colors(#529214, #E6EFC2, #C6D880)
+button-active-colors(#FFF, #529214, #529214)
a.negative, button.negative
:color #D12F19
+button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
+button-active-colors(#FFF, #D12F19, #D12F19)

View File

@ -1,3 +0,0 @@
@import blueprint.sass
+blueprint-ie

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

View File

@ -1,13 +0,0 @@
@import blueprint/link_icons.sass
// This turns link icons on for all links. You can change the scoping selector from
// body to something more specific if you prefer.
body
+link-icons
// Use this class if a link gets an icon when it shouldn't.
a.noicon
+no-link-icon
// Not all links have a url structure that can be detected,
// So you can set them explicitly yourself like so:
a#this-is-a-pdf-link
+link-icon("pdf.png")

View File

@ -1,3 +0,0 @@
@import blueprint.sass
+blueprint-print

View File

@ -1,13 +0,0 @@
@import blueprint.sass
@import blueprint/fancy_type.sass
@import blueprint/scaffolding.sass
@import blueprint/rtl.sass
@import compass/reset.sass
+blueprint
+rtl-typography
+fancy-type
// Remove the scaffolding when you're ready to start doing visual design.
// Or leave it in if you're happy with how blueprint looks out-of-the-box
+blueprint-scaffolding

View File

@ -1,11 +0,0 @@
@import blueprint.sass
@import blueprint/fancy_type.sass
@import blueprint/scaffolding.sass
@import compass/reset.sass
+blueprint
+fancy-type
// Remove the scaffolding when you're ready to start doing visual design.
// Or leave it in if you're happy with how blueprint looks out-of-the-box
+blueprint-scaffolding

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

View File

@ -1,4 +0,0 @@
@import blueprint.sass
body.bp
+blueprint-ie(true)

View File

@ -1,4 +0,0 @@
@import blueprint.sass
body.bp
+blueprint-print(true)

View File

@ -1,5 +0,0 @@
@import blueprint.sass
@import compass/reset.sass
body.bp
+blueprint(true)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

View File

@ -1,3 +0,0 @@
@import blueprint.sass
+blueprint-ie

View File

@ -1,3 +0,0 @@
@import blueprint.sass
+blueprint-print

View File

@ -1,10 +0,0 @@
@import blueprint.sass
@import compass/reset.sass
+blueprint-grid
+blueprint-typography
+blueprint-utilities
+blueprint-debug
+blueprint-interaction
form.blueprint
+blueprint-form

View File

@ -1,7 +0,0 @@
# Require any additional compass plugins here.
project_type = :stand_alone
css_dir = "stylesheets"
sass_dir = "src"
images_dir = "images"
output_style = :compact
relative_assets = true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Some files were not shown because too many files have changed in this diff Show More