susy 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,11 @@
1
1
  Susy Changelog
2
2
  ==============
3
3
 
4
+ v1.0.8 [March 25, 2013]
5
+ -----------------------
6
+
7
+ * Fix more edge mixed-unit conflicts with `container-style: static`.
8
+
4
9
  v1.0.7 [March 19, 2013]
5
10
  -----------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.7
1
+ 1.0.8
@@ -157,7 +157,7 @@ $rem-with-px-fallback : true !default;
157
157
  $context : $total-columns,
158
158
  $style : fix-static-misalignment()
159
159
  ) {
160
- @return columns($columns, $context, $style) + if($columns >= 1, gutter($context), 0);
160
+ @return columns($columns, $context, $style) + if($columns >= 1, gutter($context, $style), 0);
161
161
  }
162
162
 
163
163
  // Accept a list including column-count and (optional) position.
@@ -217,7 +217,7 @@
217
217
  @mixin remove-omega(
218
218
  $context : $total-columns,
219
219
  $from : $from-direction,
220
- $style : $container-style
220
+ $style : fix-static-misalignment()
221
221
  ) {
222
222
  $from : unquote($from);
223
223
  $to : opposite-position($from);
@@ -243,7 +243,7 @@
243
243
  $selector : child,
244
244
  $context : $total-columns,
245
245
  $from : $from-direction,
246
- $style : $container-style
246
+ $style : fix-static-misalignment()
247
247
  ) {
248
248
  $from : unquote($from);
249
249
  $ie: if($n == "first", true, false);
@@ -10,7 +10,7 @@
10
10
  $location,
11
11
  $context: $total-columns,
12
12
  $from: $from-direction,
13
- $style: $container-style
13
+ $style: fix-static-misalignment()
14
14
  ) {
15
15
  $to: opposite-position($from);
16
16
  margin-#{$to}: -100%;
@@ -26,7 +26,7 @@
26
26
  $columns,
27
27
  $context: $total-columns,
28
28
  $from: $from-direction,
29
- $style: $container-style
29
+ $style: fix-static-misalignment()
30
30
  ) {
31
31
  $to: opposite-position($from);
32
32
  $location: 1;
@@ -13,7 +13,7 @@
13
13
  $columns,
14
14
  $context : $total-columns,
15
15
  $from : $from-direction,
16
- $style : $container-style
16
+ $style : fix-static-misalignment()
17
17
  ) {
18
18
  $from : unquote($from);
19
19
  margin-#{$from}: space($columns, $context, $style);
@@ -24,10 +24,10 @@
24
24
  $columns,
25
25
  $context : $total-columns,
26
26
  $from : $from-direction,
27
- $style : $container-style
27
+ $style : fix-static-misalignment()
28
28
  ) {
29
29
  $from : unquote($from);
30
- @include pre($columns,$context,$from)
30
+ @include pre($columns, $context, $from, $style);
31
31
  }
32
32
 
33
33
  // Apply negative 'columns' margin before an element to pull it along the grid.
@@ -42,7 +42,7 @@
42
42
  $columns,
43
43
  $context : $total-columns,
44
44
  $from : $from-direction,
45
- $style : $container-style
45
+ $style : fix-static-misalignment()
46
46
  ) {
47
47
  $from : unquote($from);
48
48
  margin-#{$from}: 0 - space($columns, $context, $style);
@@ -60,7 +60,7 @@
60
60
  $columns,
61
61
  $context : $total-columns,
62
62
  $from : $from-direction,
63
- $style : $container-style
63
+ $style : fix-static-misalignment()
64
64
  ) {
65
65
  $from : unquote($from);
66
66
  $to : opposite-position($from);
@@ -81,7 +81,7 @@
81
81
  $post : false,
82
82
  $context : $total-columns,
83
83
  $from : $from-direction,
84
- $style : $container-style
84
+ $style : fix-static-misalignment()
85
85
  ) {
86
86
  $from : unquote($from);
87
87
  @if $pre {
@@ -12,7 +12,7 @@
12
12
  $columns,
13
13
  $context : $total-columns,
14
14
  $from : $from-direction,
15
- $style : $container-style
15
+ $style : fix-static-misalignment()
16
16
  ) {
17
17
  $from : unquote($from);
18
18
  padding-#{$from}: space($columns, $context, $style);
@@ -29,7 +29,7 @@
29
29
  $columns,
30
30
  $context : $total-columns,
31
31
  $from : $from-direction,
32
- $style : $container-style
32
+ $style : fix-static-misalignment()
33
33
  ) {
34
34
  $from : unquote($from);
35
35
  $to : opposite-position($from);
@@ -48,7 +48,7 @@
48
48
  $suffix : false,
49
49
  $context : $total-columns,
50
50
  $from : $from-direction,
51
- $style : $container-style
51
+ $style : fix-static-misalignment()
52
52
  ) {
53
53
  $from : unquote($from);
54
54
  @if $prefix {
@@ -69,7 +69,7 @@
69
69
  @mixin bleed(
70
70
  $width: $grid-padding,
71
71
  $sides: left right,
72
- $style: $container-style
72
+ $style: fix-static-misalignment()
73
73
  ) {
74
74
  @if $border-box-sizing { @include box-sizing(content-box) }
75
75
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "susy"
5
- s.version = "1.0.7"
5
+ s.version = "1.0.8"
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 = "2013-03-20"
9
+ s.date = "2013-03-25"
10
10
  s.description = "Susy grids are fluid on the inside, ready to respond at any moment, but contained in the candy shell of your choice, so they respond how and when and where you want them to. We don't design your site or dictate your markup, we just do the math and get out of your way."
11
11
  s.email = "eric@oddbird.net"
12
12
  s.extra_rdoc_files = ["CHANGELOG.mkdn", "LICENSE.txt", "README.md", "lib/susy.rb"]
@@ -129,4 +129,6 @@
129
129
  float: left;
130
130
  margin-right: 1.69492%;
131
131
  display: inline;
132
+ margin-left: 8.47458%;
133
+ margin-right: 8.47458%;
132
134
  }
@@ -70,6 +70,7 @@ $container-style: static;
70
70
  .force-fluid {
71
71
  $container-width: 960px;
72
72
  @include span-columns(2);
73
+ @include squish(1,1);
73
74
  $container-width: false;
74
75
  }
75
76
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: susy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 7
10
- version: 1.0.7
9
+ - 8
10
+ version: 1.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Meyer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-20 00:00:00 Z
18
+ date: 2013-03-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: compass