Giter VIP home page Giter VIP logo

beautons's Introduction

Hi there ๐Ÿ‘‹

beautons's People

Contributors

csswizardry avatar jorenvanhee avatar patrickhlauke avatar rkrupinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beautons's Issues

Disabled button: use cursor: default

Wouldn't it be visually more consistent, when a disabled button has cursor: default? This way the cursor doesn't change at all, when it enters the button. Otherwise there is this slight hint of possible action, and be it only to mark the text of it.

.btn--natural.btn--disabled could remain with cursor: text, since this is most probably the cursor state around it.

Set pill-like button effect in `em`s, not pixels.

I'd like to see you set your .btn--soft border-radius in ems instead of pixels. That way, the border radii will always be larger than the button's font-size.

I know 200px is set to be an extreme, but someone may view your button on a ultra-wide television screen and the pill-like effect will be lost.

Feature: Button states

I'd like to see some hover, click, active and visited states. Something like the following that could add to the button without affecting the individual styles:

.btn{ /* drop shadow */
-webkit-box-shadow: rgba(0, 0, 0, 0.5) .2em .2em .2em;
-moz-box-shadow: rgba(0, 0, 0, 0.5) .2em .2em .2em;
box-shadow: rgba(0, 0, 0, 0.5) .2em .2em .2em;
}

.btn:focus
.btn:hover{ /* drop shadow with glow */
-webkit-box-shadow: rgba(0, 0, 0, 0.5) .2em .2em .2em, inset 0 0 1em rgba(255, 255, 255, 0.5);
-moz-box-shadow: rgba(0, 0, 0, 0.5) .2em .2em .2em, inset 0 0 1em rgba(255, 255, 255, 0.5);
box-shadow: rgba(0, 0, 0, 0.5) .2em .2em .2em, inset 0 0 1em rgba(255, 255, 255, 0.5);
}

.btn:active,{ /*no shadow */
margin-top:.1em;
-webkit-box-shadow: 0 0 0 transparent;
-moz-box-shadow: 0 0 0 transparent;
box-shadow: 0 0 0 transparent;
}

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.