saffron 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/.gitignore +5 -0
  2. data/.travis.yml +5 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +43 -0
  5. data/MIT +21 -0
  6. data/README.md +63 -0
  7. data/Rakefile +16 -0
  8. data/app/assets/stylesheets/_variables.scss +18 -0
  9. data/app/assets/stylesheets/entrances/_drop-in.scss +19 -0
  10. data/app/assets/stylesheets/entrances/_fade-in-down.scss +13 -0
  11. data/app/assets/stylesheets/entrances/_fade-in-left.scss +13 -0
  12. data/app/assets/stylesheets/entrances/_fade-in-right.scss +13 -0
  13. data/app/assets/stylesheets/entrances/_fade-in-up.scss +13 -0
  14. data/app/assets/stylesheets/entrances/_fade-in-zoom-big.scss +20 -0
  15. data/app/assets/stylesheets/entrances/_fade-in-zoom.scss +14 -0
  16. data/app/assets/stylesheets/entrances/_fade-in.scss +13 -0
  17. data/app/assets/stylesheets/entrances/_newspaper.scss +14 -0
  18. data/app/assets/stylesheets/entrances/_pop-in.scss +14 -0
  19. data/app/assets/stylesheets/entrances/_rise-in.scss +13 -0
  20. data/app/assets/stylesheets/entrances/_slide-in.scss +35 -0
  21. data/app/assets/stylesheets/entrances/_stretch.scss +33 -0
  22. data/app/assets/stylesheets/entrances/_turn-in.scss +31 -0
  23. data/app/assets/stylesheets/exits/_compress.scss +25 -0
  24. data/app/assets/stylesheets/exits/_drop-out.scss +14 -0
  25. data/app/assets/stylesheets/exits/_explode.scss +14 -0
  26. data/app/assets/stylesheets/exits/_fade-out-down.scss +14 -0
  27. data/app/assets/stylesheets/exits/_fade-out-left.scss +13 -0
  28. data/app/assets/stylesheets/exits/_fade-out-right.scss +13 -0
  29. data/app/assets/stylesheets/exits/_fade-out-up.scss +14 -0
  30. data/app/assets/stylesheets/exits/_fade-out-zoom-big.scss +19 -0
  31. data/app/assets/stylesheets/exits/_fade-out-zoom.scss +14 -0
  32. data/app/assets/stylesheets/exits/_fade-out.scss +13 -0
  33. data/app/assets/stylesheets/exits/_poof.scss +17 -0
  34. data/app/assets/stylesheets/exits/_rise-out.scss +14 -0
  35. data/app/assets/stylesheets/exits/_slide-out.scss +29 -0
  36. data/app/assets/stylesheets/exits/_turn-out.scss +33 -0
  37. data/app/assets/stylesheets/helpers/_animation.scss +3 -0
  38. data/app/assets/stylesheets/helpers/_contains.scss +4 -0
  39. data/app/assets/stylesheets/helpers/_keyframes.scss +25 -0
  40. data/app/assets/stylesheets/helpers/_prefix.scss +39 -0
  41. data/app/assets/stylesheets/helpers/_transform.scss +9 -0
  42. data/app/assets/stylesheets/helpers/_transition.scss +7 -0
  43. data/app/assets/stylesheets/in-place/_around-the-world.scss +12 -0
  44. data/app/assets/stylesheets/in-place/_bounce.scss +24 -0
  45. data/app/assets/stylesheets/in-place/_colors.scss +23 -0
  46. data/app/assets/stylesheets/in-place/_contract.scss +7 -0
  47. data/app/assets/stylesheets/in-place/_cube-flip.scss +55 -0
  48. data/app/assets/stylesheets/in-place/_enlarge.scss +7 -0
  49. data/app/assets/stylesheets/in-place/_expand.scss +6 -0
  50. data/app/assets/stylesheets/in-place/_flip.scss +19 -0
  51. data/app/assets/stylesheets/in-place/_float.scss +17 -0
  52. data/app/assets/stylesheets/in-place/_ping.scss +13 -0
  53. data/app/assets/stylesheets/in-place/_pulsate.scss +14 -0
  54. data/app/assets/stylesheets/in-place/_quiver.scss +42 -0
  55. data/app/assets/stylesheets/in-place/_shake.scss +24 -0
  56. data/app/assets/stylesheets/in-place/_spin.scss +12 -0
  57. data/app/assets/stylesheets/in-place/_square-dance.scss +18 -0
  58. data/app/assets/stylesheets/in-place/_sunrise.scss +12 -0
  59. data/app/assets/stylesheets/in-place/_sway.scss +17 -0
  60. data/app/assets/stylesheets/in-place/_teeter.scss +29 -0
  61. data/app/assets/stylesheets/saffron.scss +62 -0
  62. data/bin/saffron +9 -0
  63. data/features/install.feature +28 -0
  64. data/features/step_definitions/saffron.rb +37 -0
  65. data/features/support/env.rb +1 -0
  66. data/features/update.feature +37 -0
  67. data/features/version.feature +10 -0
  68. data/lib/saffron.rb +13 -0
  69. data/lib/saffron/engine.rb +4 -0
  70. data/lib/saffron/installer.rb +55 -0
  71. data/lib/saffron/version.rb +3 -0
  72. data/saffron.gemspec +31 -0
  73. data/saffron/_variables.scss +18 -0
  74. data/saffron/entrances/_drop-in.scss +19 -0
  75. data/saffron/entrances/_fade-in-down.scss +13 -0
  76. data/saffron/entrances/_fade-in-left.scss +13 -0
  77. data/saffron/entrances/_fade-in-right.scss +13 -0
  78. data/saffron/entrances/_fade-in-up.scss +13 -0
  79. data/saffron/entrances/_fade-in-zoom-big.scss +20 -0
  80. data/saffron/entrances/_fade-in-zoom.scss +14 -0
  81. data/saffron/entrances/_fade-in.scss +13 -0
  82. data/saffron/entrances/_newspaper.scss +14 -0
  83. data/saffron/entrances/_pop-in.scss +14 -0
  84. data/saffron/entrances/_rise-in.scss +13 -0
  85. data/saffron/entrances/_slide-in.scss +35 -0
  86. data/saffron/entrances/_stretch.scss +33 -0
  87. data/saffron/entrances/_turn-in.scss +31 -0
  88. data/saffron/exits/_compress.scss +25 -0
  89. data/saffron/exits/_drop-out.scss +14 -0
  90. data/saffron/exits/_explode.scss +14 -0
  91. data/saffron/exits/_fade-out-down.scss +14 -0
  92. data/saffron/exits/_fade-out-left.scss +13 -0
  93. data/saffron/exits/_fade-out-right.scss +13 -0
  94. data/saffron/exits/_fade-out-up.scss +14 -0
  95. data/saffron/exits/_fade-out-zoom-big.scss +19 -0
  96. data/saffron/exits/_fade-out-zoom.scss +14 -0
  97. data/saffron/exits/_fade-out.scss +13 -0
  98. data/saffron/exits/_poof.scss +17 -0
  99. data/saffron/exits/_rise-out.scss +14 -0
  100. data/saffron/exits/_slide-out.scss +29 -0
  101. data/saffron/exits/_turn-out.scss +33 -0
  102. data/saffron/helpers/_animation.scss +3 -0
  103. data/saffron/helpers/_contains.scss +4 -0
  104. data/saffron/helpers/_keyframes.scss +25 -0
  105. data/saffron/helpers/_prefix.scss +39 -0
  106. data/saffron/helpers/_transform.scss +9 -0
  107. data/saffron/helpers/_transition.scss +7 -0
  108. data/saffron/in-place/_around-the-world.scss +12 -0
  109. data/saffron/in-place/_bounce.scss +24 -0
  110. data/saffron/in-place/_colors.scss +23 -0
  111. data/saffron/in-place/_contract.scss +7 -0
  112. data/saffron/in-place/_cube-flip.scss +55 -0
  113. data/saffron/in-place/_enlarge.scss +7 -0
  114. data/saffron/in-place/_expand.scss +6 -0
  115. data/saffron/in-place/_flip.scss +19 -0
  116. data/saffron/in-place/_float.scss +17 -0
  117. data/saffron/in-place/_ping.scss +13 -0
  118. data/saffron/in-place/_pulsate.scss +14 -0
  119. data/saffron/in-place/_quiver.scss +42 -0
  120. data/saffron/in-place/_shake.scss +24 -0
  121. data/saffron/in-place/_spin.scss +12 -0
  122. data/saffron/in-place/_square-dance.scss +18 -0
  123. data/saffron/in-place/_sunrise.scss +12 -0
  124. data/saffron/in-place/_sway.scss +17 -0
  125. data/saffron/in-place/_teeter.scss +29 -0
  126. data/saffron/saffron.scss +62 -0
  127. data/tasks/.csscomb.json +297 -0
  128. data/tasks/.csslintrc +19 -0
  129. data/tasks/Gruntfile.js +111 -0
  130. data/tasks/compiled/index.html +11 -0
  131. data/tasks/compiled/saffron.css +3049 -0
  132. data/tasks/compiled/test.css +3086 -0
  133. data/tasks/package.json +32 -0
  134. data/tasks/test.scss +13 -0
  135. metadata +278 -0
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "saffron",
3
+ "description": "A simple sass mixin library for animations and transitions.",
4
+ "version": "0.2.0",
5
+ "keywords": [
6
+ "sass",
7
+ "scss",
8
+ "animation"
9
+ ],
10
+ "author": {
11
+ "name": "JC",
12
+ "email": "j@colindres.com",
13
+ "url": "http://colindres.me"
14
+ },
15
+ "licenses": [
16
+ "MIT"
17
+ ],
18
+ "engines": {
19
+ "node": ">= 0.10.0"
20
+ },
21
+ "devDependencies": {
22
+ "grunt": "~0.4.2",
23
+ "grunt-contrib-watch": "~0.5.3",
24
+ "grunt-contrib-clean": "~0.5.0",
25
+ "grunt-csscomb": "~2.0.1",
26
+ "grunt-contrib-csslint": "~0.2.0",
27
+ "grunt-contrib-cssmin": "~0.7.0",
28
+ "grunt-contrib-connect": "~0.6.0",
29
+ "grunt-contrib-copy": "~0.5.0",
30
+ "grunt-sass": "~0.12.0"
31
+ }
32
+ }
@@ -0,0 +1,13 @@
1
+ @import "../saffron/saffron";
2
+
3
+ .box {
4
+ height: 100px;
5
+ width: 100px;
6
+ margin: 0 auto;
7
+ background: red;
8
+ text-align: center;
9
+ padding-left: 0;
10
+ @include flip();
11
+ &:hover {
12
+ }
13
+ }
metadata ADDED
@@ -0,0 +1,278 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: saffron
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - JC
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-04-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sass
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: thor
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.3'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: aruba
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '0.5'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '0.5'
94
+ description: ! 'Saffron is a collection of sass mixins and helpers that make adding
95
+ CSS3 animations and transitions much simpler.
96
+
97
+ Just include a mixin in your sass declaration, then set any configuration using
98
+ variables and mixin parameters.
99
+
100
+ '
101
+ email:
102
+ - j@colindres.me
103
+ executables:
104
+ - saffron
105
+ extensions: []
106
+ extra_rdoc_files: []
107
+ files:
108
+ - .gitignore
109
+ - .travis.yml
110
+ - Gemfile
111
+ - Gemfile.lock
112
+ - MIT
113
+ - README.md
114
+ - Rakefile
115
+ - app/assets/stylesheets/_variables.scss
116
+ - app/assets/stylesheets/entrances/_drop-in.scss
117
+ - app/assets/stylesheets/entrances/_fade-in-down.scss
118
+ - app/assets/stylesheets/entrances/_fade-in-left.scss
119
+ - app/assets/stylesheets/entrances/_fade-in-right.scss
120
+ - app/assets/stylesheets/entrances/_fade-in-up.scss
121
+ - app/assets/stylesheets/entrances/_fade-in-zoom-big.scss
122
+ - app/assets/stylesheets/entrances/_fade-in-zoom.scss
123
+ - app/assets/stylesheets/entrances/_fade-in.scss
124
+ - app/assets/stylesheets/entrances/_newspaper.scss
125
+ - app/assets/stylesheets/entrances/_pop-in.scss
126
+ - app/assets/stylesheets/entrances/_rise-in.scss
127
+ - app/assets/stylesheets/entrances/_slide-in.scss
128
+ - app/assets/stylesheets/entrances/_stretch.scss
129
+ - app/assets/stylesheets/entrances/_turn-in.scss
130
+ - app/assets/stylesheets/exits/_compress.scss
131
+ - app/assets/stylesheets/exits/_drop-out.scss
132
+ - app/assets/stylesheets/exits/_explode.scss
133
+ - app/assets/stylesheets/exits/_fade-out-down.scss
134
+ - app/assets/stylesheets/exits/_fade-out-left.scss
135
+ - app/assets/stylesheets/exits/_fade-out-right.scss
136
+ - app/assets/stylesheets/exits/_fade-out-up.scss
137
+ - app/assets/stylesheets/exits/_fade-out-zoom-big.scss
138
+ - app/assets/stylesheets/exits/_fade-out-zoom.scss
139
+ - app/assets/stylesheets/exits/_fade-out.scss
140
+ - app/assets/stylesheets/exits/_poof.scss
141
+ - app/assets/stylesheets/exits/_rise-out.scss
142
+ - app/assets/stylesheets/exits/_slide-out.scss
143
+ - app/assets/stylesheets/exits/_turn-out.scss
144
+ - app/assets/stylesheets/helpers/_animation.scss
145
+ - app/assets/stylesheets/helpers/_contains.scss
146
+ - app/assets/stylesheets/helpers/_keyframes.scss
147
+ - app/assets/stylesheets/helpers/_prefix.scss
148
+ - app/assets/stylesheets/helpers/_transform.scss
149
+ - app/assets/stylesheets/helpers/_transition.scss
150
+ - app/assets/stylesheets/in-place/_around-the-world.scss
151
+ - app/assets/stylesheets/in-place/_bounce.scss
152
+ - app/assets/stylesheets/in-place/_colors.scss
153
+ - app/assets/stylesheets/in-place/_contract.scss
154
+ - app/assets/stylesheets/in-place/_cube-flip.scss
155
+ - app/assets/stylesheets/in-place/_enlarge.scss
156
+ - app/assets/stylesheets/in-place/_expand.scss
157
+ - app/assets/stylesheets/in-place/_flip.scss
158
+ - app/assets/stylesheets/in-place/_float.scss
159
+ - app/assets/stylesheets/in-place/_ping.scss
160
+ - app/assets/stylesheets/in-place/_pulsate.scss
161
+ - app/assets/stylesheets/in-place/_quiver.scss
162
+ - app/assets/stylesheets/in-place/_shake.scss
163
+ - app/assets/stylesheets/in-place/_spin.scss
164
+ - app/assets/stylesheets/in-place/_square-dance.scss
165
+ - app/assets/stylesheets/in-place/_sunrise.scss
166
+ - app/assets/stylesheets/in-place/_sway.scss
167
+ - app/assets/stylesheets/in-place/_teeter.scss
168
+ - app/assets/stylesheets/saffron.scss
169
+ - bin/saffron
170
+ - features/install.feature
171
+ - features/step_definitions/saffron.rb
172
+ - features/support/env.rb
173
+ - features/update.feature
174
+ - features/version.feature
175
+ - lib/saffron.rb
176
+ - lib/saffron/engine.rb
177
+ - lib/saffron/installer.rb
178
+ - lib/saffron/version.rb
179
+ - saffron.gemspec
180
+ - saffron/_variables.scss
181
+ - saffron/entrances/_drop-in.scss
182
+ - saffron/entrances/_fade-in-down.scss
183
+ - saffron/entrances/_fade-in-left.scss
184
+ - saffron/entrances/_fade-in-right.scss
185
+ - saffron/entrances/_fade-in-up.scss
186
+ - saffron/entrances/_fade-in-zoom-big.scss
187
+ - saffron/entrances/_fade-in-zoom.scss
188
+ - saffron/entrances/_fade-in.scss
189
+ - saffron/entrances/_newspaper.scss
190
+ - saffron/entrances/_pop-in.scss
191
+ - saffron/entrances/_rise-in.scss
192
+ - saffron/entrances/_slide-in.scss
193
+ - saffron/entrances/_stretch.scss
194
+ - saffron/entrances/_turn-in.scss
195
+ - saffron/exits/_compress.scss
196
+ - saffron/exits/_drop-out.scss
197
+ - saffron/exits/_explode.scss
198
+ - saffron/exits/_fade-out-down.scss
199
+ - saffron/exits/_fade-out-left.scss
200
+ - saffron/exits/_fade-out-right.scss
201
+ - saffron/exits/_fade-out-up.scss
202
+ - saffron/exits/_fade-out-zoom-big.scss
203
+ - saffron/exits/_fade-out-zoom.scss
204
+ - saffron/exits/_fade-out.scss
205
+ - saffron/exits/_poof.scss
206
+ - saffron/exits/_rise-out.scss
207
+ - saffron/exits/_slide-out.scss
208
+ - saffron/exits/_turn-out.scss
209
+ - saffron/helpers/_animation.scss
210
+ - saffron/helpers/_contains.scss
211
+ - saffron/helpers/_keyframes.scss
212
+ - saffron/helpers/_prefix.scss
213
+ - saffron/helpers/_transform.scss
214
+ - saffron/helpers/_transition.scss
215
+ - saffron/in-place/_around-the-world.scss
216
+ - saffron/in-place/_bounce.scss
217
+ - saffron/in-place/_colors.scss
218
+ - saffron/in-place/_contract.scss
219
+ - saffron/in-place/_cube-flip.scss
220
+ - saffron/in-place/_enlarge.scss
221
+ - saffron/in-place/_expand.scss
222
+ - saffron/in-place/_flip.scss
223
+ - saffron/in-place/_float.scss
224
+ - saffron/in-place/_ping.scss
225
+ - saffron/in-place/_pulsate.scss
226
+ - saffron/in-place/_quiver.scss
227
+ - saffron/in-place/_shake.scss
228
+ - saffron/in-place/_spin.scss
229
+ - saffron/in-place/_square-dance.scss
230
+ - saffron/in-place/_sunrise.scss
231
+ - saffron/in-place/_sway.scss
232
+ - saffron/in-place/_teeter.scss
233
+ - saffron/saffron.scss
234
+ - tasks/.csscomb.json
235
+ - tasks/.csslintrc
236
+ - tasks/Gruntfile.js
237
+ - tasks/compiled/index.html
238
+ - tasks/compiled/saffron.css
239
+ - tasks/compiled/test.css
240
+ - tasks/package.json
241
+ - tasks/test.scss
242
+ homepage: https://github.com/corporadobob/saffron
243
+ licenses:
244
+ - MIT
245
+ post_install_message:
246
+ rdoc_options: []
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ segments:
256
+ - 0
257
+ hash: 1987956050966042496
258
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
+ none: false
260
+ requirements:
261
+ - - ! '>='
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ segments:
265
+ - 0
266
+ hash: 1987956050966042496
267
+ requirements: []
268
+ rubyforge_project:
269
+ rubygems_version: 1.8.23
270
+ signing_key:
271
+ specification_version: 3
272
+ summary: A simple sass mixin library for animations and transitions.
273
+ test_files:
274
+ - features/install.feature
275
+ - features/step_definitions/saffron.rb
276
+ - features/support/env.rb
277
+ - features/update.feature
278
+ - features/version.feature