stitch 0.1.6 → 0.1.7.beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Stitch
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7.beta.1"
3
3
  end
@@ -8,4 +8,5 @@
8
8
  @import 'layout/absolute';
9
9
  @import 'layout/relative';
10
10
  @import 'layout/move';
11
- @import 'layout/float-children';
11
+ @import 'layout/float-children';
12
+ @import 'layout/spacing';
@@ -0,0 +1,35 @@
1
+ @mixin spacing-classes($base, $list: small normal medium large){
2
+
3
+ @for $i from 1 through length($list) {
4
+
5
+ .padding-#{nth(unquote($list), $i)} {
6
+ padding: ($base * $i);
7
+ }
8
+
9
+ .padding-vertical-#{nth(unquote($list), $i)} {
10
+ padding-top: ($base * $i);
11
+ padding-bottom: ($base * $i);
12
+ }
13
+
14
+ .padding-horizontal-#{nth(unquote($list), $i)} {
15
+ padding-right: ($base * $i);
16
+ padding-left: ($base * $i);
17
+ }
18
+
19
+ .margin-#{nth(unquote($list), $i)} {
20
+ margin: ($base * $i);
21
+ }
22
+
23
+ .margin-vertical-#{nth(unquote($list), $i)} {
24
+ margin-top: ($base * $i);
25
+ margin-bottom: ($base * $i);
26
+ }
27
+
28
+ .margin-horizontal-#{nth(unquote($list), $i)} {
29
+ margin-right: ($base * $i);
30
+ margin-left: ($base * $i);
31
+ }
32
+ }
33
+ }
34
+
35
+ //@include spacing-classes(20px, $list: "big" "bigger" "biggerer" "biggest" );
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
5
- prerelease:
4
+ version: 0.1.7.beta.1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Anthony Short
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-11 00:00:00.000000000Z
12
+ date: 2012-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
16
- requirement: &70288800969220 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 3.2.0.alpha
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70288800969220
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.0.alpha
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: compass
27
- requirement: &70288800968720 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70288800968720
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: A framework for Compass that provides mixins for common CSS patterns
37
47
  to minimize the amount of CSS writing we have to do and gives our stylesheets more
38
48
  meaning.
@@ -86,6 +96,7 @@ files:
86
96
  - stylesheets/stitch/patterns/layout/_pseudo-elements.scss
87
97
  - stylesheets/stitch/patterns/layout/_relative.scss
88
98
  - stylesheets/stitch/patterns/layout/_simple-gradient.scss
99
+ - stylesheets/stitch/patterns/layout/_spacing.scss
89
100
  - stylesheets/stitch/patterns/legacy/_hacks.scss
90
101
  - stylesheets/stitch/patterns/legacy/_has-layout.scss
91
102
  - stylesheets/stitch/patterns/legacy/_inline-block.scss
@@ -114,12 +125,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
125
  required_rubygems_version: !ruby/object:Gem::Requirement
115
126
  none: false
116
127
  requirements:
117
- - - ! '>='
128
+ - - ! '>'
118
129
  - !ruby/object:Gem::Version
119
- version: '0'
130
+ version: 1.3.1
120
131
  requirements: []
121
132
  rubyforge_project: stitch
122
- rubygems_version: 1.8.10
133
+ rubygems_version: 1.8.24
123
134
  signing_key:
124
135
  specification_version: 3
125
136
  summary: A CSS pattern framework for Compass