fancy-buttons 0.3.9 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/fancy-buttons.gemspec +5 -5
- data/lib/sass/_fancy_gradient.sass +4 -4
- data/lib/templates/project/manifest.rb +2 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ begin
|
|
8
8
|
gemspec.homepage = "http://github.com/imathis/fancy-buttons"
|
9
9
|
gemspec.author = "Brandon Mathis"
|
10
10
|
gemspec.add_dependency('haml', '>= 2.2.14')
|
11
|
-
gemspec.add_dependency('compass', '>= 0.10.0.
|
11
|
+
gemspec.add_dependency('compass', '>= 0.10.0.pre8')
|
12
12
|
gemspec.add_dependency('compass-colors', '>= 0.3.1')
|
13
13
|
gemspec.files = []
|
14
14
|
gemspec.files << "fancy-buttons.gemspec"
|
data/fancy-buttons.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fancy-buttons}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brandon Mathis"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-02-23}
|
13
13
|
s.description = %q{Easily style buttons with beautiful CSS3 features like gradients, rounded corners, etc. Don't worry the buttons also degrade nicely for browsers with no support. This requires the Compass stylesheet authoring framework.}
|
14
14
|
s.email = %q{brandon@imathis.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,16 +40,16 @@ Gem::Specification.new do |s|
|
|
40
40
|
|
41
41
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
42
42
|
s.add_runtime_dependency(%q<haml>, [">= 2.2.14"])
|
43
|
-
s.add_runtime_dependency(%q<compass>, [">= 0.10.0.
|
43
|
+
s.add_runtime_dependency(%q<compass>, [">= 0.10.0.pre8"])
|
44
44
|
s.add_runtime_dependency(%q<compass-colors>, [">= 0.3.1"])
|
45
45
|
else
|
46
46
|
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
47
|
-
s.add_dependency(%q<compass>, [">= 0.10.0.
|
47
|
+
s.add_dependency(%q<compass>, [">= 0.10.0.pre8"])
|
48
48
|
s.add_dependency(%q<compass-colors>, [">= 0.3.1"])
|
49
49
|
end
|
50
50
|
else
|
51
51
|
s.add_dependency(%q<haml>, [">= 2.2.14"])
|
52
|
-
s.add_dependency(%q<compass>, [">= 0.10.0.
|
52
|
+
s.add_dependency(%q<compass>, [">= 0.10.0.pre8"])
|
53
53
|
s.add_dependency(%q<compass-colors>, [">= 0.3.1"])
|
54
54
|
end
|
55
55
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
!top_middle = !color1
|
5
5
|
!middle = lighten(!color2, 3)
|
6
6
|
!bottom_middle = !color2
|
7
|
-
+
|
7
|
+
+linear-gradient(color_stops(!top_shine, !top_middle 10%, !middle 50%, !bottom_middle 50%, !bottom_glow))
|
8
8
|
|
9
9
|
=invert-fancy-gradient(!color1, !color2)
|
10
10
|
!top = lighten(!color2, 6)
|
@@ -12,16 +12,16 @@
|
|
12
12
|
!top_middle = lighten(!color2, 8)
|
13
13
|
!middle = lighten(!color2, 4)
|
14
14
|
!bottom_middle = lighten(!color2, 1)
|
15
|
-
+
|
15
|
+
+linear-gradient(color_stops(!top, !top_middle 30%, !middle 50%, !bottom_middle 50%, !bottom))
|
16
16
|
|
17
17
|
=fancy-matte-gradient(!color1, !color2)
|
18
|
-
+
|
18
|
+
+linear-gradient(color_stops(!color1, !color2))
|
19
19
|
|
20
20
|
=invert-fancy-matte-gradient(!color1, !color2)
|
21
21
|
!top = lighten(!color2, 5)
|
22
22
|
!bottom = lighten(!color2, 15)
|
23
23
|
!middle = lighten(!color2, 8)
|
24
|
-
+
|
24
|
+
+linear-gradient(color_stops(!top, !middle 40%, !middle 85%, !bottom))
|
25
25
|
|
26
26
|
/* incase an inverted custom gradient isn't specified */
|
27
27
|
=invert-custom-fancy-gradient(!color1, !color2)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fancy-buttons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-23 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.10.0.
|
33
|
+
version: 0.10.0.pre8
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: compass-colors
|