chriseppstein-compass 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/REVISION +1 -1
- data/Rakefile +1 -0
- data/VERSION.yml +1 -1
- data/examples/README.markdown +4 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -2
- data/frameworks/blueprint/templates/project/ie.sass +13 -1
- data/lib/compass/app_integration/rails/urls.rb +1 -1
- data/lib/compass/dependencies.rb +3 -2
- metadata +3 -2
data/REVISION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9aa986744abad7ddb4101b123f4189e5e8efc51e
|
data/Rakefile
CHANGED
|
@@ -102,6 +102,7 @@ task :examples do
|
|
|
102
102
|
require 'lib/compass'
|
|
103
103
|
require 'lib/compass/exec'
|
|
104
104
|
FileList['examples/*'].each do |example|
|
|
105
|
+
next unless File.directory?(example)
|
|
105
106
|
puts "\nCompiling #{example}"
|
|
106
107
|
puts "=" * "Compiling #{example}".length
|
|
107
108
|
# compile any haml templates to html
|
data/VERSION.yml
CHANGED
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
|
|
147
147
|
// Border with more whitespace, spans one column.
|
|
148
148
|
=colborder(!border_color = #eee, !border_width = 1px)
|
|
149
|
-
:padding-right= floor((!blueprint_grid_width
|
|
150
|
-
:margin-right= ceil((!blueprint_grid_width
|
|
149
|
+
:padding-right= floor((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
|
150
|
+
:margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
|
151
151
|
:border-right #{!border_width} solid #{!border_color}
|
|
152
152
|
|
|
153
153
|
// Mixin this to an hr to make a horizontal ruler across a column.
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
@import blueprint.sass
|
|
2
2
|
|
|
3
|
-
+blueprint-ie
|
|
3
|
+
+blueprint-ie
|
|
4
|
+
|
|
5
|
+
// Note :
|
|
6
|
+
//
|
|
7
|
+
// Compass will center text to fix IE6 container centering.
|
|
8
|
+
// This means all your texts will be centered under all version of IE by default.
|
|
9
|
+
// Please don't forget to restore the correct behavior to your main container (but not the body tag!)
|
|
10
|
+
//
|
|
11
|
+
// Example :
|
|
12
|
+
//
|
|
13
|
+
// .container, .footer
|
|
14
|
+
// :text-align left
|
|
15
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module Compass::SassExtensions::Functions::Urls
|
|
2
2
|
def image_url_with_rails_integration(path)
|
|
3
|
-
if @controller = Sass::Plugin.rails_controller
|
|
3
|
+
if (@controller = Sass::Plugin.rails_controller) && @controller.respond_to?(:request) && @controller.request
|
|
4
4
|
begin
|
|
5
5
|
Sass::Script::String.new "url(#{image_path(path.value)})"
|
|
6
6
|
ensure
|
data/lib/compass/dependencies.rb
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
unless defined?(Sass)
|
|
2
2
|
require 'rubygems'
|
|
3
3
|
begin
|
|
4
|
-
gem 'haml','>= 2.
|
|
4
|
+
gem 'haml-edge', '>= 2.3.0'
|
|
5
|
+
$stderr.puts "Loading haml-edge gem."
|
|
5
6
|
rescue Exception
|
|
6
|
-
|
|
7
|
+
#pass
|
|
7
8
|
end
|
|
8
9
|
require 'sass'
|
|
9
10
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chriseppstein-compass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Eppstein
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-07-
|
|
12
|
+
date: 2009-07-09 00:00:00 -07:00
|
|
13
13
|
default_executable: compass
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -40,6 +40,7 @@ files:
|
|
|
40
40
|
- VERSION.yml
|
|
41
41
|
- bin/compass
|
|
42
42
|
- deps.rip
|
|
43
|
+
- examples/README.markdown
|
|
43
44
|
- examples/blueprint_default/config.rb
|
|
44
45
|
- examples/blueprint_default/images/grid.png
|
|
45
46
|
- examples/blueprint_default/index.html.haml
|