susy 1.0.9 → 2.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +1 -1
- data/README.md +20 -115
- data/VERSION +1 -1
- data/docs/changelog.rst +783 -0
- data/lib/compass-susy.rb +1 -0
- data/lib/susy.rb +14 -4
- data/sass/_su.scss +4 -0
- data/sass/_susy.scss +3 -15
- data/sass/_susyone.scss +4 -0
- data/sass/susy/_su.scss +7 -0
- data/sass/susy/language/_susy.scss +24 -0
- data/sass/susy/language/_susyone.scss +13 -0
- data/sass/susy/language/susy/_background.scss +385 -0
- data/sass/susy/language/susy/_bleed.scss +200 -0
- data/sass/susy/language/susy/_box-sizing.scss +47 -0
- data/sass/susy/language/susy/_breakpoint-plugin.scss +185 -0
- data/sass/susy/language/susy/_container.scss +81 -0
- data/sass/susy/language/susy/_context.scss +36 -0
- data/sass/susy/language/susy/_gallery.scss +94 -0
- data/sass/susy/language/susy/_grids.scss +64 -0
- data/sass/susy/language/susy/_gutters.scss +154 -0
- data/sass/susy/language/susy/_isolate.scss +77 -0
- data/sass/susy/language/susy/_margins.scss +94 -0
- data/sass/susy/language/susy/_padding.scss +74 -0
- data/sass/susy/language/susy/_rows.scss +138 -0
- data/sass/susy/language/susy/_settings.scss +216 -0
- data/sass/susy/language/susy/_span.scss +163 -0
- data/sass/susy/language/susy/_validation.scss +16 -0
- data/sass/susy/{_background.scss → language/susyone/_background.scss} +0 -0
- data/sass/susy/{_functions.scss → language/susyone/_functions.scss} +23 -22
- data/sass/susy/{_grid.scss → language/susyone/_grid.scss} +76 -50
- data/sass/susy/{_isolation.scss → language/susyone/_isolation.scss} +0 -0
- data/sass/susy/{_margin.scss → language/susyone/_margin.scss} +0 -0
- data/sass/susy/{_media.scss → language/susyone/_media.scss} +26 -33
- data/sass/susy/{_padding.scss → language/susyone/_padding.scss} +0 -0
- data/sass/susy/{_settings.scss → language/susyone/_settings.scss} +4 -0
- data/sass/susy/output/_float.scss +9 -0
- data/sass/susy/output/_shared.scss +15 -0
- data/sass/susy/output/_support.scss +9 -0
- data/sass/susy/output/float/_container.scss +16 -0
- data/sass/susy/output/float/_end.scss +40 -0
- data/sass/susy/output/float/_isolate.scss +22 -0
- data/sass/susy/output/float/_span.scss +35 -0
- data/sass/susy/output/shared/_background.scss +26 -0
- data/sass/susy/output/shared/_container.scss +21 -0
- data/sass/susy/output/shared/_direction.scss +42 -0
- data/sass/susy/output/shared/_inspect.scss +25 -0
- data/sass/susy/output/shared/_margins.scss +23 -0
- data/sass/susy/output/shared/_output.scss +14 -0
- data/sass/susy/output/shared/_padding.scss +23 -0
- data/sass/susy/output/support/_background.scss +58 -0
- data/sass/susy/output/support/_box-sizing.scss +19 -0
- data/sass/susy/output/support/_clearfix.scss +18 -0
- data/sass/susy/output/support/_prefix.scss +19 -0
- data/sass/susy/output/support/_rem.scss +22 -0
- data/sass/susy/output/support/_support.scss +95 -0
- data/sass/susy/su/_grid.scss +103 -0
- data/sass/susy/su/_settings.scss +73 -0
- data/sass/susy/su/_utilities.scss +111 -0
- data/sass/susy/su/_validation.scss +57 -0
- data/templates/project/_grids.scss +9 -0
- data/templates/project/manifest.rb +6 -10
- data/templates/project/style.scss +4 -0
- metadata +106 -111
- data/CHANGELOG.mkdn +0 -296
- data/Manifest +0 -39
- data/Rakefile +0 -19
- data/sass/susy/_support.scss +0 -198
- data/sass/susy/_units.scss +0 -159
- data/susy.gemspec +0 -35
- data/templates/project/_base.scss +0 -14
- data/templates/project/screen.scss +0 -12
- data/test/config.rb +0 -10
- data/test/css/background.css +0 -16
- data/test/css/bleed.css +0 -20
- data/test/css/functions.css +0 -7
- data/test/css/grid.css +0 -134
- data/test/css/isolation.css +0 -46
- data/test/css/margin.css +0 -20
- data/test/css/media.css +0 -101
- data/test/css/padding.css +0 -12
- data/test/scss/background.scss +0 -11
- data/test/scss/bleed.scss +0 -19
- data/test/scss/functions.scss +0 -15
- data/test/scss/grid.scss +0 -77
- data/test/scss/isolation.scss +0 -19
- data/test/scss/margin.scss +0 -27
- data/test/scss/media.scss +0 -50
- data/test/scss/padding.scss +0 -19
data/test/scss/grid.scss
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
// ---------------------------------------------------------------------------
|
2
|
-
// Imports
|
3
|
-
|
4
|
-
@import "../../sass/susy";
|
5
|
-
|
6
|
-
// ---------------------------------------------------------------------------
|
7
|
-
// Grid
|
8
|
-
|
9
|
-
.container {
|
10
|
-
@include container;
|
11
|
-
}
|
12
|
-
|
13
|
-
.complex-container {
|
14
|
-
@include container($total-columns,14);
|
15
|
-
}
|
16
|
-
|
17
|
-
.span-columns {
|
18
|
-
@include span-columns(6 omega,12);
|
19
|
-
}
|
20
|
-
|
21
|
-
.span-columns-with-padding {
|
22
|
-
@include span-columns(6 omega,12,1 * $gutter-width 2 * $gutter-width);
|
23
|
-
}
|
24
|
-
|
25
|
-
.reset-columns {
|
26
|
-
@include reset-columns;
|
27
|
-
}
|
28
|
-
|
29
|
-
.omega {
|
30
|
-
@include omega;
|
31
|
-
}
|
32
|
-
|
33
|
-
.nth-omega {
|
34
|
-
@include nth-omega;
|
35
|
-
}
|
36
|
-
|
37
|
-
.remove-omega {
|
38
|
-
@include remove-omega;
|
39
|
-
}
|
40
|
-
|
41
|
-
.remove-nth-omega {
|
42
|
-
@include remove-nth-omega;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* ---------------------------------------------------------------------------
|
46
|
-
/* Border-Box Sizing */
|
47
|
-
|
48
|
-
@include border-box-sizing;
|
49
|
-
|
50
|
-
.container {
|
51
|
-
@include container;
|
52
|
-
}
|
53
|
-
|
54
|
-
.span-columns-with-padding {
|
55
|
-
@include span-columns(6 omega,12,1 * $gutter-width 2 * $gutter-width);
|
56
|
-
}
|
57
|
-
|
58
|
-
// Reset $border-box-sizing so it doesn't have other effects
|
59
|
-
$border-box-sizing: false;
|
60
|
-
|
61
|
-
/* ---------------------------------------------------------------------------
|
62
|
-
/* Static output */
|
63
|
-
|
64
|
-
$container-style: static;
|
65
|
-
|
66
|
-
.static {
|
67
|
-
@include span-columns(2);
|
68
|
-
}
|
69
|
-
|
70
|
-
.force-fluid {
|
71
|
-
$container-width: 960px;
|
72
|
-
@include span-columns(2);
|
73
|
-
@include squish(1,1);
|
74
|
-
$container-width: false;
|
75
|
-
}
|
76
|
-
|
77
|
-
$container-style: magic;
|
data/test/scss/isolation.scss
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
// ---------------------------------------------------------------------------
|
2
|
-
// Imports
|
3
|
-
|
4
|
-
@import "../../sass/susy";
|
5
|
-
|
6
|
-
// ---------------------------------------------------------------------------
|
7
|
-
// Isolation
|
8
|
-
|
9
|
-
.isolate {
|
10
|
-
@include isolate(3);
|
11
|
-
}
|
12
|
-
|
13
|
-
.isolate-grid {
|
14
|
-
@include isolate-grid(4,16);
|
15
|
-
}
|
16
|
-
|
17
|
-
.isolate-grid-for-nth-of-type {
|
18
|
-
@include isolate-grid(4,16, 'of-type');
|
19
|
-
}
|
data/test/scss/margin.scss
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
// ---------------------------------------------------------------------------
|
2
|
-
// Imports
|
3
|
-
|
4
|
-
@import "../../sass/susy";
|
5
|
-
|
6
|
-
// ---------------------------------------------------------------------------
|
7
|
-
// Margin
|
8
|
-
|
9
|
-
.pre {
|
10
|
-
@include pre(3);
|
11
|
-
}
|
12
|
-
|
13
|
-
.post {
|
14
|
-
@include post(4,12);
|
15
|
-
}
|
16
|
-
|
17
|
-
.push {
|
18
|
-
@include push(3);
|
19
|
-
}
|
20
|
-
|
21
|
-
.pull {
|
22
|
-
@include pull(4,12);
|
23
|
-
}
|
24
|
-
|
25
|
-
.squish {
|
26
|
-
@include squish(1,2,8);
|
27
|
-
}
|
data/test/scss/media.scss
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
// ---------------------------------------------------------------------------
|
2
|
-
// Imports
|
3
|
-
|
4
|
-
@import "../../sass/susy";
|
5
|
-
@import "compass/css3/border-radius";
|
6
|
-
|
7
|
-
// ---------------------------------------------------------------------------
|
8
|
-
// Media
|
9
|
-
|
10
|
-
@include layout(4) {
|
11
|
-
.layout { @include container; }
|
12
|
-
}
|
13
|
-
|
14
|
-
.breakpoint{
|
15
|
-
@include at-breakpoint(6) {
|
16
|
-
.break6 { @include container; }
|
17
|
-
.nth-omega { @include nth-omega(3n); }
|
18
|
-
}
|
19
|
-
|
20
|
-
@include at-breakpoint(60em 8 30em) {
|
21
|
-
.break60-8-30 { @include set-container-width; }
|
22
|
-
}
|
23
|
-
|
24
|
-
@include at-breakpoint(24 lt-ie9) {
|
25
|
-
.break-ltie9 {
|
26
|
-
@include set-container-width;
|
27
|
-
@include has-layout; // test adjustments to experimental support
|
28
|
-
@include border-radius; // test adjustments to experimental support
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
@include with-grid-settings(6,3em,2em,1em) {
|
34
|
-
.with-settings6-3-2-1 { @include container; }
|
35
|
-
}
|
36
|
-
|
37
|
-
$base-font-size: 18px;
|
38
|
-
|
39
|
-
@include with-grid-settings(6,3rem,2rem,1rem) {
|
40
|
-
.with-settings6-3r-2r-1r { @include container; }
|
41
|
-
|
42
|
-
@include at-breakpoint(60rem 8 30rem) {
|
43
|
-
.break60r-8-30r { @include set-container-width; }
|
44
|
-
}
|
45
|
-
@include at-breakpoint(60em 8 30em) {
|
46
|
-
.break60-8-30 { @include set-container-width; }
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
$base-font-size: 16px;
|
data/test/scss/padding.scss
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
// ---------------------------------------------------------------------------
|
2
|
-
// Imports
|
3
|
-
|
4
|
-
@import "../../sass/susy";
|
5
|
-
|
6
|
-
// ---------------------------------------------------------------------------
|
7
|
-
// Padding
|
8
|
-
|
9
|
-
.prefix {
|
10
|
-
@include prefix(2);
|
11
|
-
}
|
12
|
-
|
13
|
-
.suffix {
|
14
|
-
@include suffix(2,9);
|
15
|
-
}
|
16
|
-
|
17
|
-
.pad {
|
18
|
-
@include pad(2,4,10);
|
19
|
-
}
|