fancy-buttons 0.5.3 → 0.5.4
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/fancy-buttons.gemspec +2 -2
- data/lib/templates/project/buttons.sass +9 -10
- metadata +3 -3
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.5.
|
|
8
|
+
s.version = "0.5.4"
|
|
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-05-
|
|
12
|
+
s.date = %q{2010-05-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 = [
|
|
@@ -5,7 +5,7 @@ body
|
|
|
5
5
|
padding-top: 10px
|
|
6
6
|
h1, h2, h3
|
|
7
7
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
|
|
8
|
-
color: #
|
|
8
|
+
color: #333
|
|
9
9
|
letter-spacing: -1px
|
|
10
10
|
h1
|
|
11
11
|
font-size: 50px
|
|
@@ -13,25 +13,25 @@ h2
|
|
|
13
13
|
font-size: 30px
|
|
14
14
|
div
|
|
15
15
|
margin-top: 15px
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
$green: darken(#57b42c, 8)
|
|
18
18
|
$blue: adjust_hue($green, 110)
|
|
19
19
|
$red: adjust_hue($green, -100)
|
|
20
20
|
$heart_button: saturate(lighten($red, 2), 20)
|
|
21
21
|
|
|
22
|
-
=custom-fancy-gradient($color1, $color2)
|
|
23
|
-
+radial-gradient("50% 10%, 10, 50% 10%, 30", $color1, darken($color2, 5))
|
|
24
22
|
|
|
23
|
+
=custom-fancy-gradient($color1, $color2)
|
|
24
|
+
+radial-gradient(color_stops($color1, darken($color2, 5) 30px), "50% 10%")
|
|
25
25
|
=invert-custom-fancy-gradient($color1, $color2)
|
|
26
26
|
+custom-fancy-gradient(lighten($color2, 10), lighten($color2, 25))
|
|
27
|
-
|
|
28
|
-
a.button, button
|
|
27
|
+
|
|
28
|
+
a.button, button
|
|
29
29
|
+fancy-button-structure
|
|
30
30
|
+fancy-button-colors
|
|
31
31
|
margin: 0 2px
|
|
32
32
|
vertical-align: middle
|
|
33
33
|
&.light
|
|
34
|
-
+fancy-button-colors-matte(#
|
|
34
|
+
+fancy-button-colors-matte(#ddd)
|
|
35
35
|
&.matte-blue
|
|
36
36
|
+fancy-button-colors-matte($blue)
|
|
37
37
|
&.green
|
|
@@ -50,9 +50,8 @@ a.button, button
|
|
|
50
50
|
+fancy-button-colors-custom($heart_button)
|
|
51
51
|
&.arrow
|
|
52
52
|
+fancy-button-size(30px, 30px)
|
|
53
|
-
+fancy-button-colors-custom(#
|
|
53
|
+
+fancy-button-colors-custom(#ddd)
|
|
54
54
|
+fancy-button-padding(2px, 6px, 2px)
|
|
55
55
|
&.spade
|
|
56
56
|
+fancy-button-colors-custom($blue)
|
|
57
|
-
+fancy-button-padding(2px, 8px, 2px)
|
|
58
|
-
//color: #333 !important
|
|
57
|
+
+fancy-button-padding(2px, 8px, 2px)
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 5
|
|
8
|
-
-
|
|
9
|
-
version: 0.5.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.5.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Brandon Mathis
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-05-
|
|
17
|
+
date: 2010-05-23 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|