susy 1.0.9 → 2.2.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +1 -1
  3. data/README.md +20 -115
  4. data/VERSION +1 -1
  5. data/docs/changelog.rst +783 -0
  6. data/lib/compass-susy.rb +1 -0
  7. data/lib/susy.rb +14 -4
  8. data/sass/_su.scss +4 -0
  9. data/sass/_susy.scss +3 -15
  10. data/sass/_susyone.scss +4 -0
  11. data/sass/susy/_su.scss +7 -0
  12. data/sass/susy/language/_susy.scss +24 -0
  13. data/sass/susy/language/_susyone.scss +13 -0
  14. data/sass/susy/language/susy/_background.scss +385 -0
  15. data/sass/susy/language/susy/_bleed.scss +200 -0
  16. data/sass/susy/language/susy/_box-sizing.scss +47 -0
  17. data/sass/susy/language/susy/_breakpoint-plugin.scss +185 -0
  18. data/sass/susy/language/susy/_container.scss +81 -0
  19. data/sass/susy/language/susy/_context.scss +36 -0
  20. data/sass/susy/language/susy/_gallery.scss +94 -0
  21. data/sass/susy/language/susy/_grids.scss +64 -0
  22. data/sass/susy/language/susy/_gutters.scss +154 -0
  23. data/sass/susy/language/susy/_isolate.scss +77 -0
  24. data/sass/susy/language/susy/_margins.scss +94 -0
  25. data/sass/susy/language/susy/_padding.scss +74 -0
  26. data/sass/susy/language/susy/_rows.scss +138 -0
  27. data/sass/susy/language/susy/_settings.scss +216 -0
  28. data/sass/susy/language/susy/_span.scss +163 -0
  29. data/sass/susy/language/susy/_validation.scss +16 -0
  30. data/sass/susy/{_background.scss → language/susyone/_background.scss} +0 -0
  31. data/sass/susy/{_functions.scss → language/susyone/_functions.scss} +23 -22
  32. data/sass/susy/{_grid.scss → language/susyone/_grid.scss} +76 -50
  33. data/sass/susy/{_isolation.scss → language/susyone/_isolation.scss} +0 -0
  34. data/sass/susy/{_margin.scss → language/susyone/_margin.scss} +0 -0
  35. data/sass/susy/{_media.scss → language/susyone/_media.scss} +26 -33
  36. data/sass/susy/{_padding.scss → language/susyone/_padding.scss} +0 -0
  37. data/sass/susy/{_settings.scss → language/susyone/_settings.scss} +4 -0
  38. data/sass/susy/output/_float.scss +9 -0
  39. data/sass/susy/output/_shared.scss +15 -0
  40. data/sass/susy/output/_support.scss +9 -0
  41. data/sass/susy/output/float/_container.scss +16 -0
  42. data/sass/susy/output/float/_end.scss +40 -0
  43. data/sass/susy/output/float/_isolate.scss +22 -0
  44. data/sass/susy/output/float/_span.scss +35 -0
  45. data/sass/susy/output/shared/_background.scss +26 -0
  46. data/sass/susy/output/shared/_container.scss +21 -0
  47. data/sass/susy/output/shared/_direction.scss +42 -0
  48. data/sass/susy/output/shared/_inspect.scss +25 -0
  49. data/sass/susy/output/shared/_margins.scss +23 -0
  50. data/sass/susy/output/shared/_output.scss +14 -0
  51. data/sass/susy/output/shared/_padding.scss +23 -0
  52. data/sass/susy/output/support/_background.scss +58 -0
  53. data/sass/susy/output/support/_box-sizing.scss +19 -0
  54. data/sass/susy/output/support/_clearfix.scss +18 -0
  55. data/sass/susy/output/support/_prefix.scss +19 -0
  56. data/sass/susy/output/support/_rem.scss +22 -0
  57. data/sass/susy/output/support/_support.scss +95 -0
  58. data/sass/susy/su/_grid.scss +103 -0
  59. data/sass/susy/su/_settings.scss +73 -0
  60. data/sass/susy/su/_utilities.scss +111 -0
  61. data/sass/susy/su/_validation.scss +57 -0
  62. data/templates/project/_grids.scss +9 -0
  63. data/templates/project/manifest.rb +6 -10
  64. data/templates/project/style.scss +4 -0
  65. metadata +106 -111
  66. data/CHANGELOG.mkdn +0 -296
  67. data/Manifest +0 -39
  68. data/Rakefile +0 -19
  69. data/sass/susy/_support.scss +0 -198
  70. data/sass/susy/_units.scss +0 -159
  71. data/susy.gemspec +0 -35
  72. data/templates/project/_base.scss +0 -14
  73. data/templates/project/screen.scss +0 -12
  74. data/test/config.rb +0 -10
  75. data/test/css/background.css +0 -16
  76. data/test/css/bleed.css +0 -20
  77. data/test/css/functions.css +0 -7
  78. data/test/css/grid.css +0 -134
  79. data/test/css/isolation.css +0 -46
  80. data/test/css/margin.css +0 -20
  81. data/test/css/media.css +0 -101
  82. data/test/css/padding.css +0 -12
  83. data/test/scss/background.scss +0 -11
  84. data/test/scss/bleed.scss +0 -19
  85. data/test/scss/functions.scss +0 -15
  86. data/test/scss/grid.scss +0 -77
  87. data/test/scss/isolation.scss +0 -19
  88. data/test/scss/margin.scss +0 -27
  89. data/test/scss/media.scss +0 -50
  90. 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;
@@ -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
- }
@@ -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;
@@ -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
- }