Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zmbacker/sass-buttons

Repository files navigation

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

About

sass buttons for rails

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /