Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fancy CSS progress bars for Compass
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
.gitignore
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
demo.png
fancy-progress-bars.gemspec

README.md

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.

Something went wrong with that request. Please try again.