compass-susy-plugin 0.9.alpha.5 → 0.9.beta.0

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -7,6 +7,7 @@ compass-susy-plugin.gemspec
7
7
  lib/susy.rb
8
8
  lib/susy/compass_plugin.rb
9
9
  sass/susy/_grid.scss
10
+ sass/susy/_reset.scss
10
11
  sass/susy/_susy.scss
11
12
  sass/susy/_utils.scss
12
13
  templates/project/_base.scss
data/README.mkdn CHANGED
@@ -64,17 +64,14 @@ Grid Basics
64
64
  ===========
65
65
 
66
66
  * Set up your default grid values (total columns, column width, gutter width,
67
- side gutter width), your base font size, and important mixins in `_base.scss`.
67
+ side gutter width) and important mixins in `_base.scss`.
68
68
 
69
69
  Example:
70
70
 
71
- $base-font-size: 16px;
72
- $base-line-height: 24px;
73
-
74
- $total-cols: 12; /* a 12-column grid */
75
- $col-width: 4em; /* each column is 4em (64px) wide */
76
- $gutter-width: 1em; /* 1em (16px) gutters between columns */
77
- $side-gutter-width: $gutter-width; /* 1em (16px) padding at the edges of the page as well */
71
+ $total-cols: 12; /* a 12-column grid */
72
+ $col-width: 4em; /* each column is 4em (64px) wide */
73
+ $gutter-width: 1em; /* 1em (16px) gutters between columns */
74
+ $side-gutter-width: $gutter-width; /* 1em (16px) padding at the edges of the page as well */
78
75
 
79
76
  * Create your grid in `screen.scss`: apply the `container` mixin to the
80
77
  element(s) that contains the page grid. This will set up your font sizes
@@ -282,3 +279,12 @@ advanced options hidden inside. Here are a few:
282
279
 
283
280
  * `side_gutter()` returns the percentage width of a side-gutter and takes no
284
281
  arguments since it can always used at the top nesting level.
282
+
283
+ Susy now also supports right-to-left and bi-directional documents. For a
284
+ simple toggle, set the default `$from-direction` (defaults to `left`). For
285
+ more specific control, you can pass an additional, localized `$from-direction`
286
+ artgument to any of the Susy mixins that need to know:
287
+
288
+ * `columns`, `un-column`
289
+ * `alpha`, `omega`
290
+ * `prefix`, `suffix`, `pad`
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ begin
10
10
  p.url = "http://susy.oddbird.net/"
11
11
  p.author = "Eric Meyer"
12
12
  p.email = "eric@oddbird.net"
13
- p.dependencies = ["compass >=0.11.beta.2"]
13
+ p.dependencies = ["compass >=0.11.beta.3"]
14
14
  p.has_rdoc = false
15
15
  end
16
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.alpha.5
1
+ 0.9.beta.0
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{compass-susy-plugin}
5
- s.version = "0.9.alpha.5"
5
+ s.version = "0.9.beta.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Eric Meyer"]
9
- s.date = %q{2011-02-16}
9
+ s.date = %q{2011-03-16}
10
10
  s.description = %q{Responsive web design with grids the quick and reliable way.}
11
11
  s.email = %q{eric@oddbird.net}
12
12
  s.extra_rdoc_files = ["LICENSE.txt", "README.mkdn", "lib/susy.rb", "lib/susy/compass_plugin.rb"]
13
- s.files = ["LICENSE.txt", "Manifest", "README.mkdn", "Rakefile", "VERSION", "compass-susy-plugin.gemspec", "lib/susy.rb", "lib/susy/compass_plugin.rb", "sass/susy/_grid.scss", "sass/susy/_susy.scss", "sass/susy/_utils.scss", "templates/project/_base.scss", "templates/project/grid.png", "templates/project/manifest.rb", "templates/project/screen.scss"]
13
+ s.files = ["LICENSE.txt", "Manifest", "README.mkdn", "Rakefile", "VERSION", "compass-susy-plugin.gemspec", "lib/susy.rb", "lib/susy/compass_plugin.rb", "sass/susy/_grid.scss", "sass/susy/_reset.scss", "sass/susy/_susy.scss", "sass/susy/_utils.scss", "templates/project/_base.scss", "templates/project/grid.png", "templates/project/manifest.rb", "templates/project/screen.scss"]
14
14
  s.homepage = %q{http://susy.oddbird.net/}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass-susy-plugin", "--main", "README.mkdn"]
16
16
  s.require_paths = ["lib"]
@@ -22,11 +22,11 @@ Gem::Specification.new do |s|
22
22
  s.specification_version = 3
23
23
 
24
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
- s.add_runtime_dependency(%q<compass>, [">= 0.11.beta.2"])
25
+ s.add_runtime_dependency(%q<compass>, [">= 0.11.beta.3"])
26
26
  else
27
- s.add_dependency(%q<compass>, [">= 0.11.beta.2"])
27
+ s.add_dependency(%q<compass>, [">= 0.11.beta.3"])
28
28
  end
29
29
  else
30
- s.add_dependency(%q<compass>, [">= 0.11.beta.2"])
30
+ s.add_dependency(%q<compass>, [">= 0.11.beta.3"])
31
31
  end
32
32
  end
data/sass/susy/_grid.scss CHANGED
@@ -195,12 +195,14 @@ $omega-float : opposite-position($from-direction) !default;
195
195
  $from : $from-direction
196
196
  ) {
197
197
  $to : opposite-position($from);
198
- $hack : opposite-position($omega-float);
198
+ $hack : #margin-#{opposite-position($omega-float)};
199
199
  $sg : 0;
200
200
  @if not $nested {
201
201
  $sg: side-gutter();
202
202
  }
203
203
  @include float($omega-float);
204
- margin-#{$to}: $sg;
205
- #margin-#{$hack}: - $gutter-width;
204
+ margin-#{$to}: $sg;
205
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
206
+ #{$hack}: - $gutter-width;
207
+ }
206
208
  }
@@ -0,0 +1,9 @@
1
+ //** Susy Reset **//
2
+
3
+ @warn 'The Susy reset is deprecated, as it is now identical to the core Compass
4
+ reset. It will be removed in the near future. Please change your import from
5
+ susy/reset to compass/reset.';
6
+
7
+ /* Reset --------------------------------------------------------------*/
8
+
9
+ @import "compass/reset";
data/sass/susy/_susy.scss CHANGED
@@ -4,8 +4,3 @@
4
4
  @import "compass";
5
5
  @import "utils";
6
6
  @import "grid";
7
-
8
- // Set Susy on your BODY element to get things started.
9
- @mixin susy() {
10
- @warn "the 'susy' base mixin is no longer needed and will be removed in the ner future.";
11
- }
@@ -13,8 +13,8 @@
13
13
  @include show-grid("grid.png"); }
14
14
 
15
15
  // show-grid loads a 64+16x24 grid image by default
16
- // For other grid settings, run `compass grid-img 30+10x20`
17
- // Where 30 is the column width, 10 is the gutter width,
18
- // and 20 is the (optional) line-height.
16
+ // For other grid settings, run `compass grid-img C+Gxh
17
+ // Where C is the column width, G is the gutter width,
18
+ // and h is the (optional) line-height.
19
19
 
20
20
  /* Styles -------------------------------------------------------------- */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-susy-plugin
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3702664210
4
+ hash: 62196251
5
5
  prerelease: 4
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - alpha
10
- - 5
11
- version: 0.9.alpha.5
9
+ - beta
10
+ - 0
11
+ version: 0.9.beta.0
12
12
  platform: ruby
13
13
  authors:
14
14
  - Eric Meyer
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-02-16 00:00:00 -07:00
19
+ date: 2011-03-16 00:00:00 -06:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -27,13 +27,13 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- hash: 62196239
30
+ hash: 62196237
31
31
  segments:
32
32
  - 0
33
33
  - 11
34
34
  - beta
35
- - 2
36
- version: 0.11.beta.2
35
+ - 3
36
+ version: 0.11.beta.3
37
37
  type: :runtime
38
38
  version_requirements: *id001
39
39
  description: Responsive web design with grids the quick and reliable way.
@@ -57,6 +57,7 @@ files:
57
57
  - lib/susy.rb
58
58
  - lib/susy/compass_plugin.rb
59
59
  - sass/susy/_grid.scss
60
+ - sass/susy/_reset.scss
60
61
  - sass/susy/_susy.scss
61
62
  - sass/susy/_utils.scss
62
63
  - templates/project/_base.scss