susy 1.0.9 → 2.0.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.mkdn +0 -27
- data/README.md +4 -87
- data/docs/BUGS.md +2 -0
- data/docs/Gemfile.lock +142 -0
- data/docs/README.md +54 -0
- data/docs/config.rb +120 -0
- data/docs/lib/guide_helpers.rb +19 -0
- data/docs/source/apple-touch-icon-114x114-precomposed.png +0 -0
- data/docs/source/apple-touch-icon-144x144-precomposed.png +0 -0
- data/docs/source/apple-touch-icon-72x72-precomposed.png +0 -0
- data/docs/source/apple-touch-icon-precomposed.png +0 -0
- data/docs/source/demos/grid-types.html.md +263 -0
- data/docs/source/demos/index.html.md +23 -0
- data/docs/source/demos/magic.html.md +320 -0
- data/docs/source/favicon.ico +0 -0
- data/docs/source/fonts/@Font-Face License.txt +18 -0
- data/docs/source/fonts/Baskerville-amp-webfont.eot +0 -0
- data/docs/source/fonts/Baskerville-amp-webfont.svg +241 -0
- data/docs/source/fonts/Baskerville-amp-webfont.ttf +0 -0
- data/docs/source/fonts/Baskerville-amp-webfont.woff +0 -0
- data/docs/source/fonts/CenturyOldStyle-Bold-webfont.eot +0 -0
- data/docs/source/fonts/CenturyOldStyle-Bold-webfont.svg +240 -0
- data/docs/source/fonts/CenturyOldStyle-Bold-webfont.ttf +0 -0
- data/docs/source/fonts/CenturyOldStyle-Bold-webfont.woff +0 -0
- data/docs/source/fonts/CenturyOldStyle-Italic-webfont.eot +0 -0
- data/docs/source/fonts/CenturyOldStyle-Italic-webfont.svg +240 -0
- data/docs/source/fonts/CenturyOldStyle-Italic-webfont.ttf +0 -0
- data/docs/source/fonts/CenturyOldStyle-Italic-webfont.woff +0 -0
- data/docs/source/fonts/CenturyOldStyle-Regular-webfont.eot +0 -0
- data/docs/source/fonts/CenturyOldStyle-Regular-webfont.svg +240 -0
- data/docs/source/fonts/CenturyOldStyle-Regular-webfont.ttf +0 -0
- data/docs/source/fonts/CenturyOldStyle-Regular-webfont.woff +0 -0
- data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.eot +0 -0
- data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.svg +240 -0
- data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.ttf +0 -0
- data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-Book-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-Book-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-Book-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-Book-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-BookIt-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-BookIt-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-BookIt-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-BookIt-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-Cd-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-Cd-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-Cd-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-Cd-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-CdIt-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-CdIt-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-CdIt-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-CdIt-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-Med-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-Med-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-Med-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-Med-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-MedCd-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-MedCd-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-MedCd-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-MedCd-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.woff +0 -0
- data/docs/source/fonts/FranklinGothic-MedIt-webfont.eot +0 -0
- data/docs/source/fonts/FranklinGothic-MedIt-webfont.svg +240 -0
- data/docs/source/fonts/FranklinGothic-MedIt-webfont.ttf +0 -0
- data/docs/source/fonts/FranklinGothic-MedIt-webfont.woff +0 -0
- data/docs/source/fonts/License.txt +77 -0
- data/docs/source/fonts/susy.eot +0 -0
- data/docs/source/fonts/susy.svg +69 -0
- data/docs/source/fonts/susy.ttf +0 -0
- data/docs/source/fonts/susy.woff +0 -0
- data/docs/source/guides/getting-started.html.md +277 -0
- data/docs/source/guides/reference.html.md +658 -0
- data/docs/source/guides/upgrade-1-0.html.md +286 -0
- data/docs/source/humans.txt +45 -0
- data/docs/source/images/splash-iphone.png +0 -0
- data/docs/source/images/splash-iphone4.png +0 -0
- data/docs/source/images/splash-landscape.png +0 -0
- data/docs/source/images/splash-portrait.png +0 -0
- data/docs/source/index.html.md +87 -0
- data/docs/source/javascripts/jquery-1.7.1.min.js +4 -0
- data/docs/source/javascripts/jqwidont.js +5 -0
- data/docs/source/javascripts/modernizr-2.5.3.min.js +4 -0
- data/docs/source/javascripts/modernizr.selectors.js +55 -0
- data/docs/source/javascripts/viewport.js +9 -0
- data/docs/source/layouts/grid-types.haml +22 -0
- data/docs/source/layouts/layout.haml +34 -0
- data/docs/source/layouts/magic.haml +28 -0
- data/docs/source/partials/_contentinfo.haml +47 -0
- data/docs/source/partials/_demonav.haml +2 -0
- data/docs/source/partials/_google_analytics.haml +5 -0
- data/docs/source/partials/_head.haml +22 -0
- data/docs/source/partials/_javascripts.haml +4 -0
- data/docs/source/partials/_navigation.haml +15 -0
- data/docs/source/sites-using-susy.html.md +29 -0
- data/docs/source/stylesheets/_base/_base.scss +23 -0
- data/docs/source/stylesheets/_base/_colors.scss +47 -0
- data/docs/source/stylesheets/_base/_size.scss +49 -0
- data/docs/source/stylesheets/_base/_type.scss +19 -0
- data/docs/source/stylesheets/_demos/_demo.scss +28 -0
- data/docs/source/stylesheets/_demos/magic/_layout.scss +39 -0
- data/docs/source/stylesheets/_demos/magic/_style.scss +104 -0
- data/docs/source/stylesheets/_demos/types/_layouts.scss +88 -0
- data/docs/source/stylesheets/_demos/types/_template.scss +57 -0
- data/docs/source/stylesheets/_general/_century-oldstyle.scss +70 -0
- data/docs/source/stylesheets/_general/_font-license.scss +23 -0
- data/docs/source/stylesheets/_general/_fonts.scss +26 -0
- data/docs/source/stylesheets/_general/_franklin-gothic.scss +112 -0
- data/docs/source/stylesheets/_general/_icons.scss +86 -0
- data/docs/source/stylesheets/_general/_root.scss +79 -0
- data/docs/source/stylesheets/_general/_type.scss +114 -0
- data/docs/source/stylesheets/_layout.scss +48 -0
- data/docs/source/stylesheets/_modules/_ag-test.scss +59 -0
- data/docs/source/stylesheets/_modules/_banner.scss +61 -0
- data/docs/source/stylesheets/_modules/_contentinfo.scss +41 -0
- data/docs/source/stylesheets/_modules/_intro.scss +53 -0
- data/docs/source/stylesheets/_modules/_nav.scss +44 -0
- data/docs/source/stylesheets/_modules/_pages.scss +5 -0
- data/docs/source/stylesheets/_modules/_secondary.scss +22 -0
- data/docs/source/stylesheets/_modules/_toggle.scss +40 -0
- data/docs/source/stylesheets/_vendor/pygments/solarized.scss +65 -0
- data/docs/source/stylesheets/grid-types.css.scss +6 -0
- data/docs/source/stylesheets/magic.css.scss +6 -0
- data/docs/source/stylesheets/site.css.scss +27 -0
- data/lib/susy.rb +12 -1
- data/sass/README.md +33 -0
- data/sass/_susy.scss +55 -16
- data/sass/susy/_api.scss +39 -0
- data/sass/susy/_grids.scss +2 -0
- data/sass/susy/_gutters.scss +2 -0
- data/sass/susy/_helpers.scss +14 -0
- data/sass/susy/_language.scss +3 -0
- data/sass/susy/_math.scss +3 -0
- data/sass/susy/api/_float.scss +72 -0
- data/sass/susy/api/_isolation.scss +16 -0
- data/sass/susy/grids/_add.scss +10 -0
- data/sass/susy/grids/_find.scss +10 -0
- data/sass/susy/gutters/_add.scss +10 -0
- data/sass/susy/gutters/_find.scss +10 -0
- data/sass/susy/helpers/_background-grid.scss +65 -0
- data/sass/susy/helpers/_box-sizing.scss +25 -0
- data/sass/susy/helpers/_clearfix.scss +51 -0
- data/sass/susy/helpers/_columns.scss +15 -0
- data/sass/susy/helpers/_find.scss +63 -0
- data/sass/susy/helpers/_sass-lists.scss +71 -0
- data/sass/susy/helpers/_span-shared.scss +9 -0
- data/sass/susy/language/_parse-add.scss +19 -0
- data/sass/susy/language/_parse-list.scss +53 -0
- data/sass/susy/language/_span.scss +20 -0
- data/sass/susy/math/_columns.scss +70 -0
- data/sass/susy/math/_context.scss +3 -0
- data/sass/susy/math/_gutters.scss +11 -0
- data/templates/box-sizing/behaviors/box-sizing/boxsizing.htc +399 -0
- data/templates/box-sizing/behaviors/box-sizing/boxsizing.php +23 -0
- data/templates/box-sizing/manifest.rb +4 -0
- data/templates/project/README.md +59 -0
- data/templates/project/_base.scss +0 -10
- data/templates/project/behaviors/box-sizing/boxsizing.htc +399 -0
- data/templates/project/behaviors/box-sizing/boxsizing.php +23 -0
- data/templates/project/manifest.rb +3 -0
- data/templates/project/screen.scss +0 -8
- metadata +200 -43
- data/Manifest +0 -39
- data/Rakefile +0 -19
- data/VERSION +0 -1
- data/sass/susy/_background.scss +0 -18
- data/sass/susy/_functions.scss +0 -376
- data/sass/susy/_grid.scss +0 -286
- data/sass/susy/_isolation.scss +0 -51
- data/sass/susy/_margin.scss +0 -93
- data/sass/susy/_media.scss +0 -112
- data/sass/susy/_padding.scss +0 -92
- data/sass/susy/_settings.scss +0 -56
- data/sass/susy/_support.scss +0 -198
- data/sass/susy/_units.scss +0 -159
- data/susy.gemspec +0 -35
- 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/functions.scss
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
// ---------------------------------------------------------------------------
|
2
|
-
// Imports
|
3
|
-
|
4
|
-
@import "../../sass/susy";
|
5
|
-
|
6
|
-
// ---------------------------------------------------------------------------
|
7
|
-
// Functions
|
8
|
-
|
9
|
-
.container-outer-width-default {
|
10
|
-
width: container-outer-width();
|
11
|
-
}
|
12
|
-
|
13
|
-
.container-outer-width-explicit {
|
14
|
-
width: container-outer-width(8);
|
15
|
-
}
|
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
|
-
}
|