Giter VIP home page Giter VIP logo

buttons's Introduction

Buttons

A CSS fully customizable button library built using Sass and Compass

Your view code examples on the Button Website

Example of Buttons

There is also a Ruby Gem Friendly Version

General Options

In order to edit your options simple option the _options.scss file. After you make your edits run compass watch in the root of the button directory and the updates should take place. You can use index.html to view your changes.

  • $namespace: Desired CSS namespace for your buttons (default .button)
  • $glow_namespace: Desired CSS namespace for your glow effect (default .glow)
  • $glow_color: Default glow color (#2c9adb, light blue)
  • $bgcolor: Default button background color (#EEE, light gray)
  • *** $height:* Default height, also used to calculate padding on the sides (32px)
  • $font-color: Default font color (#666, gray)
  • $font-size: Default font size (14px)
  • $font-weight: Default font weight (300)
  • $font-family: Default font family ("HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif)

Advanced Options

The only option you should adjust here is the button actions. When you need to add/remove/edit another button color simple add/remove/edit on of the items in the list. There is not limit to the number of items in your list. Each item will create a new button.

  • $button_actions: Edit this to add new buttons ('name' background-color font-color) example: ('highlight' #F18D05 #FFF) ('caution' #E54028 #FFF)
  • $button_styles: Correspond to the styles avaialble ('rounded' 'pill' 'circle')
  • $button_sizes: Correspond to the sizes avaialble ('large' 'small' 'tiny')
  • $circle-size: Radius for circle buttons, circles only have one size (120px)

buttons's People

Contributors

alexwolfe avatar rajahafify avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.