stitch 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stitch (0.1.4)
4
+ stitch (0.2.0)
5
5
  compass
6
+ sass (~> 3.2.0.alpha)
6
7
 
7
8
  GEM
8
9
  remote: http://rubygems.org/
@@ -13,7 +14,7 @@ GEM
13
14
  fssm (>= 0.2.7)
14
15
  sass (~> 3.1)
15
16
  fssm (0.2.7)
16
- sass (3.1.4)
17
+ sass (3.2.0.alpha.104)
17
18
 
18
19
  PLATFORMS
19
20
  ruby
@@ -1,3 +1,3 @@
1
1
  module Stitch
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
-
21
+
22
+ s.add_runtime_dependency "sass", "~>3.2.0.alpha"
22
23
  s.add_runtime_dependency "compass"
23
24
  #s.add_runtime_dependency "sass-globbing"
24
25
  end
@@ -1,2 +1 @@
1
- @import 'stitch/patterns';
2
- @import 'stitch/reset';
1
+ @import 'stitch/patterns';
@@ -1,7 +1,6 @@
1
1
  @import 'utilities';
2
2
  @import 'patterns/accessibility';
3
3
  @import 'patterns/animation';
4
- //@import 'patterns/css3';
5
4
  @import 'patterns/color';
6
5
  @import 'patterns/forms';
7
6
  @import 'patterns/images';
@@ -11,3 +10,6 @@
11
10
  @import 'patterns/print';
12
11
  @import 'patterns/text';
13
12
  @import 'patterns/responsive';
13
+
14
+ // Disabled by default. Need to opt in to use them
15
+ // @import 'patterns/vendor-prefixes';
@@ -1,3 +1,3 @@
1
1
  @import 'animation/hardware-acceleration';
2
2
  @import 'animation/timing-functions';
3
- //@import 'animation/keyframes';
3
+ @import 'animation/keyframes';
@@ -1,3 +1,3 @@
1
1
  @import 'legacy/has-layout';
2
2
  @import 'legacy/inline-block';
3
- //@import 'legacy/hacks';
3
+ @import 'legacy/hacks';
@@ -3,4 +3,4 @@
3
3
  @import 'text/hyphens';
4
4
  @import 'text/rem';
5
5
  @import 'text/justify';
6
- //@import 'text/selection';
6
+ @import 'text/selection';
@@ -17,15 +17,15 @@ $default-prefixes-background-clip: -webkit, -moz;
17
17
  $v: unquote($v);
18
18
 
19
19
  // This is for older browser support
20
- @if $v === padding-box {
20
+ @if $v == padding-box {
21
21
  @include prefix(background-clip,padding,$default-prefixes-background-origin);
22
22
  }
23
23
 
24
- @if $v === border-box {
24
+ @if $v == border-box {
25
25
  @include prefix(background-clip,border,$default-prefixes-background-origin);
26
26
  }
27
27
 
28
- @if $v === content-box {
28
+ @if $v == content-box {
29
29
  @include prefix(background-clip,content,$default-prefixes-background-origin);
30
30
  }
31
31
 
@@ -42,15 +42,15 @@ $default-prefixes-background-origin: -webkit, -moz;
42
42
  $v: unquote($v);
43
43
 
44
44
  // This is for older browser support
45
- @if $v === padding-box {
45
+ @if $v == padding-box {
46
46
  @include prefix(background-origin,padding,$default-prefixes-background-origin);
47
47
  }
48
48
 
49
- @if $v === border-box {
49
+ @if $v == border-box {
50
50
  @include prefix(background-origin,border,$default-prefixes-background-origin);
51
51
  }
52
52
 
53
- @if $v === content-box {
53
+ @if $v == content-box {
54
54
  @include prefix(background-origin,content,$default-prefixes-background-origin);
55
55
  }
56
56
 
@@ -191,7 +191,7 @@ $default-prefixes-columns: -webkit, -moz;
191
191
  // Transforms
192
192
  // ----------------------------------------
193
193
 
194
- $default-prefixes-transform: -webkit, -moz;
194
+ $default-prefixes-transform: -webkit, -moz, -o;
195
195
 
196
196
  // @see http://www.w3.org/TR/css3-2d-transforms/#transform-property
197
197
  @mixin transform($v, $prefixes:$default-prefixes-transform) {
@@ -227,7 +227,7 @@ $default-prefixes-transform: -webkit, -moz;
227
227
  // ----------------------------------------
228
228
  // @see http://www.w3.org/TR/css3-transitions/
229
229
 
230
- $default-prefixes-transition: -webkit, -moz;
230
+ $default-prefixes-transition: -webkit, -moz, -o;
231
231
 
232
232
  @mixin transition-property($v, $prefixes:$default-prefixes-transform) {
233
233
  @include prefix(transition-property,$v,$prefixes);
@@ -257,7 +257,7 @@ $default-prefixes-transition: -webkit, -moz;
257
257
  // Animation
258
258
  // ----------------------------------------
259
259
 
260
- $default-prefixes-animation: -webkit, -moz;
260
+ $default-prefixes-animation: -webkit, -moz, -o;
261
261
 
262
262
  @mixin animation($v, $prefixes:$default-prefixes-animation) {
263
263
  @include prefix(animation,$v,$prefixes);
@@ -297,4 +297,4 @@ $default-prefixes-animation: -webkit, -moz;
297
297
  @mixin animation-delay($v, $prefixes:$default-prefixes-animation) {
298
298
  @include prefix(animation-name,$v,$prefixes);
299
299
  animation-delay:$v;
300
- }
300
+ }
@@ -1,5 +1,6 @@
1
- @mixin keyframes {
2
- @-webkit-keyframes { @content; }
3
- @-moz-keyframes { @content; }
4
- @keyframes { @content; }
5
- }
1
+ @mixin keyframes($name) {
2
+ @-webkit-keyframes #{$name} { @content; }
3
+ @-moz-keyframes #{$name} { @content; }
4
+ @-o-keyframes #{$name} { @content; }
5
+ @keyframes #{$name} { @content; }
6
+ }
@@ -1,17 +1,17 @@
1
1
  //
2
2
  // Removes any text from an element and replaces it with an image
3
3
  //
4
- .__image-replace {
4
+ %stitch-image-replace {
5
5
  display : block;
6
6
  text-indent : -9999em;
7
7
  overflow : hidden;
8
- background-repeat : no-repeat;
8
+ background-repeat : no-repeat;
9
9
  text-align : left;
10
10
  direction : ltr;
11
11
  }
12
12
 
13
13
  @mixin image-replace($img) {
14
- @extend .__image-replace;
14
+ @extend %stitch-image-replace;
15
15
  height:image-height($img);
16
16
  width:image-width($img);
17
17
  background-image:image-url($img);
@@ -4,7 +4,7 @@
4
4
  // Normally the parent will have no height.
5
5
  // @see http://nicolasgallagher.com/micro-clearfix-hack/
6
6
  //
7
- .__clearfix {
7
+ %stitch-clearfix {
8
8
  &:before,
9
9
  &:after {
10
10
  content:"";
@@ -17,5 +17,5 @@
17
17
  }
18
18
 
19
19
  @mixin clear-floats {
20
- @extend .__clearfix;
20
+ @extend %stitch-clearfix;
21
21
  }
@@ -1,7 +1,7 @@
1
1
  @mixin ie6-hack {
2
- * html { @content }
2
+ * html & { @content }
3
3
  }
4
4
 
5
5
  @mixin ie7-hack {
6
- *+html { @content }
6
+ *+html & { @content }
7
7
  }
@@ -2,7 +2,7 @@
2
2
  // Cross-browser inline-block.
3
3
  // @see http://www.quirksmode.org/css/display.html
4
4
  //
5
- .__inline-block {
5
+ %stitch-inline-block {
6
6
  display:inline-block;
7
7
 
8
8
  // IE7 fix
@@ -11,5 +11,5 @@
11
11
  }
12
12
 
13
13
  @mixin inline-block {
14
- @extend .__inline-block;
14
+ @extend %stitch-inline-block;
15
15
  }
metadata CHANGED
@@ -1,47 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: stitch
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.5
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 4
10
- version: 0.1.4
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Anthony Short
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-24 00:00:00 +10:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-05-11 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sass
16
+ requirement: &70217715835060 !ruby/object:Gem::Requirement
23
17
  none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 0
30
- version: "0"
31
- requirement: *id001
32
- name: compass
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.0.alpha
22
+ type: :runtime
33
23
  prerelease: false
24
+ version_requirements: *70217715835060
25
+ - !ruby/object:Gem::Dependency
26
+ name: compass
27
+ requirement: &70217715833100 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
34
33
  type: :runtime
35
- description: A framework for Compass that provides mixins for common CSS patterns to minimize the amount of CSS writing we have to do and gives our stylesheets more meaning.
36
- email:
34
+ prerelease: false
35
+ version_requirements: *70217715833100
36
+ description: A framework for Compass that provides mixins for common CSS patterns
37
+ to minimize the amount of CSS writing we have to do and gives our stylesheets more
38
+ meaning.
39
+ email:
37
40
  - antshort@gmail.com
38
41
  executables: []
39
-
40
42
  extensions: []
41
-
42
43
  extra_rdoc_files: []
43
-
44
- files:
44
+ files:
45
45
  - .gitignore
46
46
  - Gemfile
47
47
  - Gemfile.lock
@@ -57,7 +57,6 @@ files:
57
57
  - stylesheets/stitch/patterns/_accessibility.scss
58
58
  - stylesheets/stitch/patterns/_animation.scss
59
59
  - stylesheets/stitch/patterns/_color.scss
60
- - stylesheets/stitch/patterns/_css3.scss
61
60
  - stylesheets/stitch/patterns/_forms.scss
62
61
  - stylesheets/stitch/patterns/_images.scss
63
62
  - stylesheets/stitch/patterns/_layout.scss
@@ -66,6 +65,7 @@ files:
66
65
  - stylesheets/stitch/patterns/_print.scss
67
66
  - stylesheets/stitch/patterns/_responsive.scss
68
67
  - stylesheets/stitch/patterns/_text.scss
68
+ - stylesheets/stitch/patterns/_vendor-prefixes.scss
69
69
  - stylesheets/stitch/patterns/accessibility/_hide-content.scss
70
70
  - stylesheets/stitch/patterns/animation/_hardware-acceleration.scss
71
71
  - stylesheets/stitch/patterns/animation/_keyframes.scss
@@ -93,46 +93,34 @@ files:
93
93
  - stylesheets/stitch/patterns/print/_append-content.scss
94
94
  - stylesheets/stitch/patterns/print/_text.scss
95
95
  - stylesheets/stitch/patterns/responsive/_media.scss
96
- - stylesheets/stitch/patterns/text/.sass-cache/920421d458a84b7a73054dd233bdbe8adead02f9/_rem.scssc
97
96
  - stylesheets/stitch/patterns/text/_font-stacks.scss
98
97
  - stylesheets/stitch/patterns/text/_hyphens.scss
99
98
  - stylesheets/stitch/patterns/text/_justify.scss
100
99
  - stylesheets/stitch/patterns/text/_rem.scss
101
100
  - stylesheets/stitch/patterns/text/_selection.scss
102
101
  - stylesheets/stitch/patterns/text/_text-rendering.scss
103
- has_rdoc: true
104
102
  homepage: https://github.com/anthonyshort/stitch-css
105
103
  licenses: []
106
-
107
104
  post_install_message:
108
105
  rdoc_options: []
109
-
110
- require_paths:
106
+ require_paths:
111
107
  - lib
112
- required_ruby_version: !ruby/object:Gem::Requirement
108
+ required_ruby_version: !ruby/object:Gem::Requirement
113
109
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- hash: 3
118
- segments:
119
- - 0
120
- version: "0"
121
- required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ! '>='
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
115
  none: false
123
- requirements:
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- hash: 3
127
- segments:
128
- - 0
129
- version: "0"
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
130
120
  requirements: []
131
-
132
121
  rubyforge_project: stitch
133
- rubygems_version: 1.6.2
122
+ rubygems_version: 1.8.10
134
123
  signing_key:
135
124
  specification_version: 3
136
125
  summary: A CSS pattern framework for Compass
137
126
  test_files: []
138
-