bourbon 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +16 -0
- data/app/assets/stylesheets/_bourbon.scss +2 -1
- data/app/assets/stylesheets/addons/_timing-functions.scss +29 -0
- data/app/assets/stylesheets/css3/_transform.scss +11 -0
- data/generate-bourbon.sh +2 -2
- data/readme.md +15 -2
- metadata +39 -52
data/Gemfile.lock
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
// CSS cubic-bezier timing functions. Timing functions courtesy of jquery.easie (github.com/jaukia/easie)
|
2
|
+
// Timing functions are the same as demo'ed here: http://jqueryui.com/demos/effect/easing.html
|
3
|
+
|
4
|
+
// EASE IN
|
5
|
+
$ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530);
|
6
|
+
$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
7
|
+
$ease-in-quart: cubic-bezier(1.895, 0.030, 0.685, 0.220);
|
8
|
+
$ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
9
|
+
$ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715);
|
10
|
+
$ease-in-expo: cubic-bezier(0.950, 0.050, 0.795, 0.035);
|
11
|
+
$ease-in-circ: cubic-bezier(0.600, 0.040, 0.980, 0.335);
|
12
|
+
|
13
|
+
// EASE OUT
|
14
|
+
$ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
15
|
+
$ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
16
|
+
$ease-out-quart: cubic-bezier(0.165, 0.840, 0.440, 1.000);
|
17
|
+
$ease-out-quint: cubic-bezier(0.230, 1.000, 0.320, 1.000);
|
18
|
+
$ease-out-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000);
|
19
|
+
$ease-out-expo: cubic-bezier(0.190, 1.000, 0.220, 1.000);
|
20
|
+
$ease-out-circ: cubic-bezier(0.075, 0.820, 0.165, 1.000);
|
21
|
+
|
22
|
+
// EASE IN OUT
|
23
|
+
$ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955);
|
24
|
+
$ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
25
|
+
$ease-in-out-quart: cubic-bezier(0.770, 0.000, 0.175, 1.000);
|
26
|
+
$ease-in-out-quint: cubic-bezier(0.860, 0.000, 0.070, 1.000);
|
27
|
+
$ease-in-out-sine: cubic-bezier(0.445, 0.050, 0.550, 0.950);
|
28
|
+
$ease-in-out-expo: cubic-bezier(1.000, 0.000, 0.000, 1.000);
|
29
|
+
$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.150, 0.860);
|
@@ -6,3 +6,14 @@
|
|
6
6
|
-o-transform: $property;
|
7
7
|
transform: $property;
|
8
8
|
}
|
9
|
+
|
10
|
+
@mixin transform-origin($axes: 50%) {
|
11
|
+
// x-axis - left | center | right | length | %
|
12
|
+
// y-axis - top | center | bottom | length | %
|
13
|
+
// z-axis - length
|
14
|
+
-webkit-transform-origin: $axes;
|
15
|
+
-moz-transform-origin: $axes;
|
16
|
+
-ms-transform-origin: $axes;
|
17
|
+
-o-transform-origin: $axes;
|
18
|
+
transform-origin: $axes;
|
19
|
+
}
|
data/generate-bourbon.sh
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
# This will generate a bourbon directory and convert all .css.scss to .scss extensions.
|
5
5
|
# The bourbon directory is for 'sass --watch' use outside of rails.
|
6
6
|
# Step 1: Make install executable by changing permission
|
7
|
-
# chmod a+x generate-
|
7
|
+
# chmod a+x generate-bourbon.sh
|
8
8
|
|
9
9
|
# Step 2: Generate Files
|
10
|
-
# ./generate-
|
10
|
+
# ./generate-bourbon.sh
|
11
11
|
|
12
12
|
echo Creating directory...
|
13
13
|
mkdir -p $PWD/bourbon/lib
|
data/readme.md
CHANGED
@@ -24,7 +24,7 @@ Import the mixins at the beginning of your stylesheet
|
|
24
24
|
@import 'bourbon';
|
25
25
|
|
26
26
|
##Rails 3.0.9 and below
|
27
|
-
For Rails < 3.1 you must run the installation rake task.
|
27
|
+
For Rails < 3.1 you must run the installation rake task. Please note, you should run this task everytime a new version of Bourbon is released.
|
28
28
|
This will copy the Sass files into your project's public/stylesheets/sass directory.
|
29
29
|
|
30
30
|
rake bourbon:install
|
@@ -187,9 +187,10 @@ Takes up to 10 gradients. Position and shape are required.
|
|
187
187
|
@include radial-gradient(50% 50%, circle cover, #eee 10%, #1e5799 30%, #efefef);
|
188
188
|
|
189
189
|
|
190
|
-
###Transform
|
190
|
+
###Transform & Transform-origin
|
191
191
|
|
192
192
|
@include transform(translateY(50px));
|
193
|
+
@include transform-origin(center top);
|
193
194
|
|
194
195
|
|
195
196
|
###Transitions
|
@@ -308,6 +309,16 @@ Create beautiful buttons by defining a style and color argument; using a single
|
|
308
309
|
}
|
309
310
|
|
310
311
|
|
312
|
+
###Timing functions
|
313
|
+
These CSS cubic-bezier timing functions are variables that can be used with CSS3 animations. The provided timing functions are the same as the jQuery UI demo: [easing functions](http://jqueryui.com/demos/effect/easing.html).
|
314
|
+
|
315
|
+
Variables supported: $ease-in-*, $ease-out-*, $ease-in-out-*
|
316
|
+
* = [quad, cubic, quart, quint, sine, expo, circ]
|
317
|
+
|
318
|
+
@include animation-timing-function($ease-in-circ);
|
319
|
+
@include animation-basic(fade-in, 1s, $ease-in-quad);
|
320
|
+
|
321
|
+
|
311
322
|
#All Supported Functions, Mixins, and Addons
|
312
323
|
*@ denotes a mixin and must be prefaced with @include*
|
313
324
|
|
@@ -355,6 +366,7 @@ Create beautiful buttons by defining a style and color argument; using a single
|
|
355
366
|
@ linear-gradient(*args)
|
356
367
|
@ radial-gradient(*args)
|
357
368
|
@ transform(*args)
|
369
|
+
@ transform-origin(*args)
|
358
370
|
|
359
371
|
transition
|
360
372
|
@ transition(*args)
|
@@ -368,6 +380,7 @@ Create beautiful buttons by defining a style and color argument; using a single
|
|
368
380
|
animation-keyframes (fade-in, fade-out)
|
369
381
|
@ button(*args)
|
370
382
|
@ position(*args)
|
383
|
+
timing-functions ($fade-in-*, $fade-out-*, $fade-in-out-*)
|
371
384
|
|
372
385
|
|
373
386
|
##Help Out
|
metadata
CHANGED
@@ -1,63 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bourbon
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 4
|
9
|
-
version: 0.1.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.5
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Phil LaPier
|
13
9
|
- Chad Mazzola
|
14
10
|
- Mike Burns
|
15
11
|
autorequire:
|
16
12
|
bindir: bin
|
17
13
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2011-08-19 00:00:00.000000000Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
23
17
|
name: sass
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: &70215233728500 !ruby/object:Gem::Requirement
|
26
19
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
- 3
|
32
|
-
- 1
|
33
|
-
version: "3.1"
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '3.1'
|
34
24
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *70215233728500
|
27
|
+
description: ! 'The purpose of Bourbon Vanilla Sass Mixins is to provide a comprehensive
|
28
|
+
framework of
|
29
|
+
|
38
30
|
sass mixins that are designed to be as vanilla as possible. Meaning they
|
31
|
+
|
39
32
|
should not deter from the original CSS syntax. The mixins contain vendor
|
33
|
+
|
40
34
|
specific prefixes for all CSS3 properties for support amongst modern
|
35
|
+
|
41
36
|
browsers. The prefixes also ensure graceful degradation for older browsers
|
37
|
+
|
42
38
|
that support only CSS3 prefixed properties.
|
43
39
|
|
44
|
-
|
40
|
+
'
|
41
|
+
email:
|
45
42
|
- support@thoughtbot.com
|
46
43
|
executables: []
|
47
|
-
|
48
44
|
extensions: []
|
49
|
-
|
50
45
|
extra_rdoc_files: []
|
51
|
-
|
52
|
-
files:
|
46
|
+
files:
|
53
47
|
- .gitignore
|
54
48
|
- Gemfile
|
49
|
+
- Gemfile.lock
|
55
50
|
- LICENSE
|
56
51
|
- Rakefile
|
57
52
|
- app/assets/stylesheets/_bourbon.scss
|
58
53
|
- app/assets/stylesheets/addons/_animation-keyframes.scss
|
59
54
|
- app/assets/stylesheets/addons/_button.scss
|
60
55
|
- app/assets/stylesheets/addons/_position.scss
|
56
|
+
- app/assets/stylesheets/addons/_timing-functions.scss
|
61
57
|
- app/assets/stylesheets/css3/_animation.scss
|
62
58
|
- app/assets/stylesheets/css3/_background-image.scss
|
63
59
|
- app/assets/stylesheets/css3/_border-radius.scss
|
@@ -83,37 +79,28 @@ files:
|
|
83
79
|
- lib/bourbon/version.rb
|
84
80
|
- lib/tasks/install.rake
|
85
81
|
- readme.md
|
86
|
-
has_rdoc: true
|
87
82
|
homepage: https://github.com/thoughtbot/bourbon
|
88
83
|
licenses: []
|
89
|
-
|
90
84
|
post_install_message:
|
91
85
|
rdoc_options: []
|
92
|
-
|
93
|
-
require_paths:
|
86
|
+
require_paths:
|
94
87
|
- lib
|
95
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
89
|
none: false
|
97
|
-
requirements:
|
98
|
-
- -
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
|
101
|
-
|
102
|
-
version: "0"
|
103
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
95
|
none: false
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
|
109
|
-
- 0
|
110
|
-
version: "0"
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
111
100
|
requirements: []
|
112
|
-
|
113
101
|
rubyforge_project: bourbon
|
114
|
-
rubygems_version: 1.
|
102
|
+
rubygems_version: 1.8.6
|
115
103
|
signing_key:
|
116
104
|
specification_version: 3
|
117
105
|
summary: Bourbon Sass Mixins using SCSS syntax.
|
118
106
|
test_files: []
|
119
|
-
|