New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sass-buttons

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-buttons

0.1.5
Rubygems
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 27 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts