susy 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/sass/susy/language/susy/_background.scss +5 -5
- data/sass/susy/language/susy/_container.scss +1 -1
- data/sass/susy/language/susy/_context.scss +1 -1
- data/sass/susy/language/susy/_gallery.scss +1 -1
- data/sass/susy/language/susy/_gutters.scss +1 -1
- data/sass/susy/language/susy/_rows.scss +2 -2
- data/sass/susy/language/susy/_span.scss +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb5b89b744ac20007a3a1d91a36a970bbffe1e99
|
4
|
+
data.tar.gz: 9a46e0d21945bf5a645f2b7b7c8e1c127d198d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db91d54a75ed724235d0e8938add1e32abfb9fe5b603806584fbe4b5998d209f1065af0ab2e3b05494b48e5efa31177429ed8c106e38c2647f9f32e96d525b5d
|
7
|
+
data.tar.gz: 304373902790d7558f5105948646e6cf0b14ec9ff652948ea4f56741235ad72f2b422d444fcf9518519c6e22b8acf26cb4444a12927a70ba4dab088b34f6a5c9
|
@@ -186,7 +186,7 @@ $susy-overlay-grid-head-exists: false;
|
|
186
186
|
$_light : lighten($_color, 15%);
|
187
187
|
$_stops : ();
|
188
188
|
|
189
|
-
@for $location from 1 through
|
189
|
+
@for $location from 1 through susy-count($_columns) {
|
190
190
|
$this-stop: ();
|
191
191
|
|
192
192
|
@if $location == 1 {
|
@@ -197,7 +197,7 @@ $susy-overlay-grid-head-exists: false;
|
|
197
197
|
$this-stop: append($this-stop, $_color $start, comma);
|
198
198
|
}
|
199
199
|
|
200
|
-
@if $location ==
|
200
|
+
@if $location == susy-count($_columns) {
|
201
201
|
$this-stop: append($this-stop, $_light, comma);
|
202
202
|
} @else {
|
203
203
|
$_end: parse-span(1 at ($location + 1) $grid);
|
@@ -225,7 +225,7 @@ $susy-overlay-grid-head-exists: false;
|
|
225
225
|
$_light : lighten($_color, 15%);
|
226
226
|
$_stops : ();
|
227
227
|
|
228
|
-
@for $location from 1 through
|
228
|
+
@for $location from 1 through susy-count($_columns) {
|
229
229
|
$this-stop: ();
|
230
230
|
|
231
231
|
$start: parse-span(1 at $location $grid);
|
@@ -258,7 +258,7 @@ $susy-overlay-grid-head-exists: false;
|
|
258
258
|
$_trans : transparent;
|
259
259
|
$_stops : ();
|
260
260
|
|
261
|
-
@for $location from 1 through
|
261
|
+
@for $location from 1 through susy-count($_columns) {
|
262
262
|
$this-stop: ();
|
263
263
|
|
264
264
|
@if $location == 1 {
|
@@ -269,7 +269,7 @@ $susy-overlay-grid-head-exists: false;
|
|
269
269
|
$this-stop: append($this-stop, $_color $start, comma);
|
270
270
|
}
|
271
271
|
|
272
|
-
@if $location ==
|
272
|
+
@if $location == susy-count($_columns) {
|
273
273
|
$this-stop: append($this-stop, $_light, comma);
|
274
274
|
} @else {
|
275
275
|
$gutter: get-span-width(first $location $grid);
|
@@ -51,7 +51,7 @@
|
|
51
51
|
$_columns : susy-get(columns, $layout);
|
52
52
|
$_gutters : susy-get(gutters, $layout);
|
53
53
|
$_spread : if(is-split($layout), wide, narrow);
|
54
|
-
$_width :
|
54
|
+
$_width : susy-sum($_columns, $_gutters, $_spread) * $_column-width;
|
55
55
|
} @else {
|
56
56
|
// if we have nothing, default to 100%
|
57
57
|
$_width: 100%;
|
@@ -73,7 +73,7 @@
|
|
73
73
|
} @else {
|
74
74
|
$_columns : susy-get(columns, $context);
|
75
75
|
$_spread : if(is-split($context), wide, susy-get(spread, $context));
|
76
|
-
$_gutter : percentage($_gutters /
|
76
|
+
$_gutter : percentage($_gutters / susy-sum($_columns, $_gutters, $_spread));
|
77
77
|
}
|
78
78
|
}
|
79
79
|
|
@@ -81,7 +81,7 @@
|
|
81
81
|
$edge : susy-get(edge, $span);
|
82
82
|
|
83
83
|
@if not $edge {
|
84
|
-
$count:
|
84
|
+
$count: susy-count(susy-get(columns, $span));
|
85
85
|
$location: susy-get(location, $span);
|
86
86
|
$n: susy-get(span, $span);
|
87
87
|
|
@@ -122,7 +122,7 @@
|
|
122
122
|
@if $edge == first {
|
123
123
|
$location: 1;
|
124
124
|
} @else if $edge == last {
|
125
|
-
$location:
|
125
|
+
$location: susy-count(susy-get(columns, $span)) - $n + 1;
|
126
126
|
}
|
127
127
|
}
|
128
128
|
|
@@ -129,15 +129,15 @@
|
|
129
129
|
@if $n == 'full' {
|
130
130
|
$pos: susy-get(gutter-position, $span);
|
131
131
|
$role: susy-get(role, $span);
|
132
|
-
$n: if($pos == split and $role != nest,
|
132
|
+
$n: if($pos == split and $role != nest, susy-count($columns), 100%);
|
133
133
|
}
|
134
134
|
|
135
135
|
@if type-of($n) != number {
|
136
136
|
@warn "(#{type-of($n)}) #{$n} is not a valid span.";
|
137
137
|
} @else if unitless($n) {
|
138
|
-
$context:
|
138
|
+
$context: susy-sum($columns, $gutters, if(is-split($span), wide, narrow));
|
139
139
|
$spread: if(is-inside($span), $spread or wide, $spread);
|
140
|
-
$span-sum:
|
140
|
+
$span-sum: susy($n, $location, $columns, $gutters, $spread);
|
141
141
|
|
142
142
|
@if susy-get(math, $span) == static {
|
143
143
|
$width: $span-sum * susy-get(column-width, $span);
|