No commit activity in last 3 years
No release in over 3 years
Fancy Progress Bars helps you easily style progress bars with beautiful CSS3 features without any images. This requires the Compass stylesheet authoring framework.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.10

Runtime

~> 0.11.beta.7
 Project Readme

Install

Install the plugin: (should automatically install latest dependencies for Compass, and Haml)

gem install fancy-progress-bars

To create a new project based on fancy-progress-bars:

compass install -r fancy-progress-bars -f fancy-progress-bars

To add fancy-progress-bars to an existing compass project:

# Add the following lines to your compass configuration file:
require 'fancy-progress-bars'

# Then run the following command:
compass install -r fancy-progress-bars -f fancy-progress-bars

Demo

screenshot

Basic usage

In order to work correctly fancy-progress-bars assume the following html (the class name is - of course - arbitrary):

<div class="progress">
    <div><span></span></div>
</div>

fancy-progress-bars are added by simply including the progress-bar mixin:

@import "fancy-progress-bars";

.progress {
    @include progress-bar;
}

Various options are available (check examples for more details).

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit, do not mess with rakefile, gemspec, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

License

(The MIT License)

Copyright © 2011 Stefan Huber

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.