0.0
No commit activity in last 3 years
No release in over 3 years
Awesome CSS buttons using compass and sass
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 0.12.2
 Project Readme

Compass CSS Sass Buttons

This gem is build for developer who use sass compass in rails and donot like to use bootstrap.

Sass-buttons depends on the Buttons

I only make the gem used 'Buttons'

Maintained by Lester Zhao

Installation

(See Rails notes below)

Install gem from the command line:

(sudo) gem install sass-buttons

Installing Sass Buttons:

# Edit the project configuration file and add:
require 'sass-buttons'

# From the command line:
compass install sass-buttons

#import sass buttons partial into your sass/scss file
@import "sass-buttons"

Installing Sass Buttons on Rails 4.0.x

# Edit your project Gemfile and add the following line
gem 'sass-buttons'

# Edit your application.css(.sass|.scss) file in the assets/stylesheets folder and add
@import "sass-buttons"

# Bundle your gems to get the sass-buttons plugin to compass
$ bundle install

Using Sass Buttons

This gem hasn't include any mixin.

You can use sass-buttons only as below:

<a href="#" class="button button-rounded button-flat">press me</a>
<a href="#" class="button button-rounded button-flat-primary">press me</a>
<a href="#" class="button button-rounded button-flat-action">press me</a>
<a href="#" class="button button-rounded button-flat-highlight">press me</a>
<a href="#" class="button button-rounded button-flat-caution">press me</a>
<a href="#" class="button button-rounded button-flat-royal">press me</a>

you can use input or button tags to replace the a tag in the codes.

for more document please click Buttons