sass-tools 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/stylesheets/sass-tools/_images.scss +13 -10
- data/sass-tools.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
@@ -37,27 +37,30 @@
|
|
37
37
|
@var $inline boolean embed via data.
|
38
38
|
*/
|
39
39
|
@mixin image-background($image, $inline:false) {
|
40
|
-
@
|
41
|
-
@include inline-background(transparent, $image, no-repeat, top, left);
|
42
|
-
} @else {
|
43
|
-
background: transparent image-url($image) no-repeat top left;
|
44
|
-
}
|
40
|
+
@include background(transparent, $image, no-repeat, top, left, $inline);
|
45
41
|
width: image-width($image);
|
46
42
|
height: image-height($image);
|
47
43
|
}
|
48
44
|
|
49
45
|
/*
|
50
|
-
Add a background
|
51
|
-
|
46
|
+
Add a background by passing the exact same parameters as a normal one. With
|
47
|
+
one more parameter $inline. Which will use inline-image and add backward
|
48
|
+
compatibility to IE7 via *background.
|
49
|
+
|
52
50
|
@var $transparency
|
53
51
|
@var $image
|
54
52
|
@var $horizontal
|
55
53
|
@var $vertical
|
56
54
|
@var $repeat
|
55
|
+
@var $inline
|
57
56
|
*/
|
58
|
-
@mixin
|
59
|
-
|
60
|
-
|
57
|
+
@mixin background($transparency, $image, $horizontal, $vertical, $repeat, $inline: false) {
|
58
|
+
@if $inline == true {
|
59
|
+
background : $transparency inline-image($image) $horizontal $vertical $repeat;
|
60
|
+
*background : $transparency image-url($image) $horizontal $vertical $repeat;
|
61
|
+
} @else {
|
62
|
+
background: $transparency image-url($image) $horizontal $vertical $repeat;
|
63
|
+
}
|
61
64
|
}
|
62
65
|
|
63
66
|
/*
|
data/sass-tools.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sass-tools}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mario 'Kuroir' Ricalde"]
|
12
|
-
s.date = %q{2010-09-
|
12
|
+
s.date = %q{2010-09-10}
|
13
13
|
s.description = %q{}
|
14
14
|
s.email = %q{mario@destructoid.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mario 'Kuroir' Ricalde
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-10 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|