susy 2.2.9 → 2.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/docs/changelog.rst +7 -0
- data/sass/susy/language/susyone/_grid.scss +29 -7
- data/sass/susy/language/susyone/_settings.scss +4 -0
- data/sass/susy/output/support/_support.scss +1 -1
- 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: 0c948faa92935c579c4a03c343cbc112a9f81917
|
4
|
+
data.tar.gz: e34a987745b9ba0adc02d78b178f4579b647278f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06dcf36ba8048bed991f9f01a9904e77e930831c813cac4a139a44b002e836b342ca557a094e07c66c3dbe86ca25f4107d0c518c0d2fe94d3ec84ff0c87f1cdb
|
7
|
+
data.tar.gz: 80a2e09e2ddc01895aa97667d887e81a1f42a4f9a80831c45b7f4884caba6aaa174b3471408a65fde049945128d96ad6462733bbb9f5ac0d3673cc0b4e375edf
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.9
|
data/docs/changelog.rst
CHANGED
@@ -22,17 +22,33 @@
|
|
22
22
|
// $columns : The number of columns in the Grid Layout.
|
23
23
|
@mixin set-container-width(
|
24
24
|
$columns : $total-columns,
|
25
|
-
$style : $container-style
|
25
|
+
$style : $container-style,
|
26
|
+
$px-vals : $pixel-values-only
|
26
27
|
){
|
27
28
|
$width: container-outer-width($columns);
|
28
29
|
|
29
30
|
@if $style == 'static' {
|
30
|
-
@
|
31
|
+
@if $px-vals == true {
|
32
|
+
width: round(convert-length($width, px));
|
33
|
+
} @else {
|
34
|
+
@include rem(width, $width);
|
35
|
+
}
|
31
36
|
} @else {
|
32
37
|
@if $style == 'fluid' {
|
33
|
-
@if unit($width) == '%' {
|
38
|
+
@if unit($width) == '%' {
|
39
|
+
@if $px-vals == true {
|
40
|
+
width: round(convert-length($width, px));
|
41
|
+
} @else {
|
42
|
+
@include rem(width, $width);
|
43
|
+
}
|
44
|
+
}
|
34
45
|
} @else {
|
35
|
-
@
|
46
|
+
@if $px-vals == true {
|
47
|
+
max-width: round(convert-length($width, px));
|
48
|
+
} @else {
|
49
|
+
@include rem(max-width, $width);
|
50
|
+
}
|
51
|
+
|
36
52
|
@include for-legacy-browser(ie,"6") {
|
37
53
|
@if unit($width) == 'rem' {
|
38
54
|
_width: round(convert-length($width, px));
|
@@ -48,12 +64,18 @@
|
|
48
64
|
//
|
49
65
|
// $columns : The number of columns in the container.
|
50
66
|
@mixin apply-container(
|
51
|
-
$columns : $total-columns
|
67
|
+
$columns : $total-columns,
|
68
|
+
$px-vals : $pixel-values-only
|
52
69
|
){
|
53
70
|
@include pie-clearfix;
|
54
71
|
@include set-container-width($columns);
|
55
|
-
@
|
56
|
-
|
72
|
+
@if $px-vals == true {
|
73
|
+
padding-left: round(convert-length($grid-padding, px));
|
74
|
+
padding-right: round(convert-length($grid-padding, px));
|
75
|
+
} @else {
|
76
|
+
@include rem(padding-left, $grid-padding);
|
77
|
+
@include rem(padding-right, $grid-padding);
|
78
|
+
}
|
57
79
|
margin: { left: auto; right: auto; }
|
58
80
|
}
|
59
81
|
|
@@ -42,6 +42,10 @@ $container-style : magic !default;
|
|
42
42
|
// and simply apply the border-box-sizing mixin.
|
43
43
|
$border-box-sizing : false !default;
|
44
44
|
|
45
|
+
// Pixel Values only:
|
46
|
+
// Make sure only pixel values are set for the container width.
|
47
|
+
$pixel-values-only : false !default;
|
48
|
+
|
45
49
|
// ---------------------------------------------------------------------------
|
46
50
|
// IE Settings
|
47
51
|
|