imathis / fancy-buttons
- Source
- Commits
- Network (4)
- Issues (1)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Nov 15 21:22:28 -0800 2009 | |
| |
CHANGELOG.markdown | Fri Dec 11 10:37:42 -0800 2009 | |
| |
README.markdown | Sat Dec 12 08:04:48 -0800 2009 | |
| |
Rakefile | Wed Dec 09 14:29:06 -0800 2009 | |
| |
VERSION.yml | Tue Dec 15 06:09:32 -0800 2009 | |
| |
example/ | Tue Dec 15 06:09:17 -0800 2009 | |
| |
fancy-buttons.gemspec | Tue Dec 15 06:09:32 -0800 2009 | |
| |
lib/ | Tue Dec 15 06:09:17 -0800 2009 |
README.markdown
Using fancy buttons on your site?
Add a link to the wiki
Demo

Without CSS gradient support:

Install
Install the plugin:
sudo gem install compass --pre
sudo gem install fancy-buttons
To create a new project based on fancy-buttons:
compass -r compass-colors -r fancy-buttons -f fancy-buttons project_directory
To add fancy-buttons to an existing compass project:
# Add the following lines to your compass configuration file:
require 'compass-colors'
require 'fancy-buttons'
# Then run the following command:
compass -r fancy-buttons -f fancy-buttons project_directory
Project Goals:
- Generate a color palette from the base color
- Discern sensible palette variations based on a base color (dark, medium, light)
- Allow button style types (subtle gradient, shiny gradient)
- Make it easy to override/modify styles
- Reduce weight of generated styles (define button base, add color through additional classes)
- Create good defaults
- Ensure approximate consistency for browsers that don't support CSS gradients
- Style the button element
- Provide a decent alternative styling for ie6
