bourbon 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/assets/stylesheets/css3/_animation.scss +15 -5
- data/readme.md +15 -3
- metadata +5 -5
@@ -153,9 +153,19 @@
|
|
153
153
|
}
|
154
154
|
}
|
155
155
|
|
156
|
-
// Official animation shorthand property.
|
157
|
-
@mixin animation ($
|
158
|
-
-
|
159
|
-
|
160
|
-
|
156
|
+
// Official animation shorthand property.
|
157
|
+
@mixin animation ($animation-1,
|
158
|
+
$animation-2: false, $animation-3: false,
|
159
|
+
$animation-4: false, $animation-5: false,
|
160
|
+
$animation-6: false, $animation-7: false,
|
161
|
+
$animation-8: false, $animation-9: false)
|
162
|
+
{
|
163
|
+
$full: compact($animation-1, $animation-2, $animation-3, $animation-4,
|
164
|
+
$animation-5, $animation-6, $animation-7, $animation-8, $animation-9);
|
165
|
+
|
166
|
+
-webkit-animation: $full;
|
167
|
+
-moz-animation: $full;
|
168
|
+
-ms-animation: $full;
|
169
|
+
-o-animation: $full;
|
170
|
+
animation: $full;
|
161
171
|
}
|
data/readme.md
CHANGED
@@ -110,13 +110,25 @@ The background-size mixin supports multiple background-sizes for use with multip
|
|
110
110
|
The background-image mixin is helpful for chaining multiple comma delimited background images and/or linear-gradients into one background-image property. background-image supports up to 10 background-images.
|
111
111
|
|
112
112
|
# Multiple image assets
|
113
|
-
@include background-image(url("/images/a.png"), url("images/b.png"));
|
113
|
+
@include background-image( url("/images/a.png"), url("images/b.png") );
|
114
114
|
|
115
115
|
# Image asset with a linear-gradient
|
116
|
-
@include background-image(url("/images/a.png"), linear-gradient(white 0, yellow 50%, transparent 50%));
|
116
|
+
@include background-image( url("/images/a.png"), linear-gradient(white 0, yellow 50%, transparent 50%) );
|
117
117
|
|
118
118
|
# Multiple linear-gradients;
|
119
|
-
@include background-image(linear-gradient(hsla(0, 100%, 100%, 0.25) 0%, hsla(0, 100%, 100%, 0.08) 50%, transparent 50%), linear-gradient(#4e7ba3, darken(#4e7ba4, 10%)) );
|
119
|
+
@include background-image( linear-gradient(hsla(0, 100%, 100%, 0.25) 0%, hsla(0, 100%, 100%, 0.08) 50%, transparent 50%), linear-gradient(#4e7ba3, darken(#4e7ba4, 10%)) );
|
120
|
+
|
121
|
+
# NOT SUPPORTED - Multiple image assets with shorthand notation
|
122
|
+
@include background-image( url("/images/a.png") center no-repeat, url("images/b.png") left repeat );
|
123
|
+
|
124
|
+
#### Note about shorthand notation
|
125
|
+
|
126
|
+
All CSS background properties support comma delimited values.
|
127
|
+
For multiple background images you can specify the background properties like position, repeat, etc. for each image. For example:
|
128
|
+
|
129
|
+
@include background-image( url("/images/a.png"), url("images/b.png") );
|
130
|
+
background-position: center top, center;
|
131
|
+
background-repeat: no-repeat, repeat-x;
|
120
132
|
|
121
133
|
|
122
134
|
### Border-image
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bourbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -19,11 +19,11 @@ authors:
|
|
19
19
|
autorequire:
|
20
20
|
bindir: bin
|
21
21
|
cert_chain: []
|
22
|
-
date:
|
22
|
+
date: 2012-01-10 00:00:00.000000000 Z
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: sass
|
26
|
-
requirement: &
|
26
|
+
requirement: &70286637279820 !ruby/object:Gem::Requirement
|
27
27
|
none: false
|
28
28
|
requirements:
|
29
29
|
- - ! '>='
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
version: '3.1'
|
32
32
|
type: :runtime
|
33
33
|
prerelease: false
|
34
|
-
version_requirements: *
|
34
|
+
version_requirements: *70286637279820
|
35
35
|
description: ! 'The purpose of Bourbon Vanilla Sass Mixins is to provide a comprehensive
|
36
36
|
framework of
|
37
37
|
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project: bourbon
|
116
|
-
rubygems_version: 1.8.
|
116
|
+
rubygems_version: 1.8.10
|
117
117
|
signing_key:
|
118
118
|
specification_version: 3
|
119
119
|
summary: Bourbon Sass Mixins using SCSS syntax.
|