fancy-buttons 0.3.7 → 0.3.8

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.
@@ -12,12 +12,12 @@ Without CSS gradient support:
12
12
 
13
13
  Install the plugin:
14
14
  sudo gem install compass --pre
15
+ sudo gem install compass-colors
15
16
  sudo gem install fancy-buttons
16
17
 
17
-
18
18
  To create a new project based on fancy-buttons:
19
19
 
20
- compass -r compass-colors -r fancy-buttons -f fancy-buttons project_directory
20
+ compass install -r fancy-buttons -r compass-colors fancy-buttons
21
21
 
22
22
  To add fancy-buttons to an existing compass project:
23
23
 
@@ -26,7 +26,7 @@ To add fancy-buttons to an existing compass project:
26
26
  require 'fancy-buttons'
27
27
 
28
28
  # Then run the following command:
29
- compass -r fancy-buttons -f fancy-buttons project_directory
29
+ compass install -r fancy-buttons fancy-buttons
30
30
 
31
31
  # Project Goals:
32
32
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fancy-buttons}
8
- s.version = "0.3.7"
8
+ s.version = "0.3.8"
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{2009-12-15}
12
+ s.date = %q{2010-01-22}
13
13
  s.description = %q{Make fancy buttons with the Compass stylesheet authoring framework.}
14
14
  s.email = %q{brandon@imathis.com}
15
15
  s.extra_rdoc_files = [
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
24
24
  "lib/sass/_fancy_gradient.sass",
25
25
  "lib/templates/project/button_bg.png",
26
26
  "lib/templates/project/buttons.sass",
27
+ "lib/templates/project/ie6.sass",
27
28
  "lib/templates/project/index.html",
28
29
  "lib/templates/project/manifest.rb"
29
30
  ]
@@ -11,6 +11,7 @@
11
11
  !fb_light_text ||= #fff
12
12
  !fb_dark_text ||= #222
13
13
  !fb_gradient ||= 1
14
+ !fb_image_path ||= image_url("button_bg.png")
14
15
 
15
16
  // Make a fancy button.
16
17
  =fancy-button(!color= !fb_color, !font_size= !fb_font_size, !radius= !fb_radius, !border_width= !fb_border_width)
@@ -149,7 +150,7 @@
149
150
  // Reset the button's important properties to make sure they behave correctly
150
151
  =fb-reset(!font_weight = !fb_font_weight)
151
152
  font-family: "Lucida Grande", Lucida, Arial, sans_serif
152
- background: #{image_url("button_bg.png")} repeat-x bottom left
153
+ background: #{!fb_bg_image} repeat-x bottom left
153
154
  margin: 0
154
155
  width: auto
155
156
  overflow: visible
@@ -0,0 +1,4 @@
1
+ a.button, form button
2
+ background-image: none !important
3
+ &:hover, &:active, &:focus
4
+ background-image: none !important
@@ -4,6 +4,9 @@
4
4
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5
5
  <title>Fancy Buttons - Demo</title>
6
6
  <link href="./stylesheets/buttons.css" media="screen, projection" rel="stylesheet" type="text/css" />
7
+ <!--[if lte IE 6]>
8
+ <link href='./stylesheets/ie6.css' rel='stylesheet' type='text/css' />
9
+ <![endif]-->
7
10
  </head>
8
11
  <body>
9
12
  <h1>Fancy Buttons</h1>
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.3.7
4
+ version: 0.3.8
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: 2009-12-15 00:00:00 -06:00
12
+ date: 2010-01-22 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -59,6 +59,7 @@ files:
59
59
  - lib/sass/_fancy_gradient.sass
60
60
  - lib/templates/project/button_bg.png
61
61
  - lib/templates/project/buttons.sass
62
+ - lib/templates/project/ie6.sass
62
63
  - lib/templates/project/index.html
63
64
  - lib/templates/project/manifest.rb
64
65
  has_rdoc: true