Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radio buttons #20

Closed
roomfive opened this issue Oct 19, 2016 · 0 comments
Closed

Radio buttons #20

roomfive opened this issue Oct 19, 2016 · 0 comments

Comments

@roomfive
Copy link
Contributor

roomfive commented Oct 19, 2016

Preview:

screen shot 2016-10-19 at 18 06 28


CSS (limited):

Regular:

/* Input & label */
margin: 3px 0;

/* Input */
width: 16px;
height: 16px;
border-radius: 100%;
background: $white;
border: 1px solid $gray300;

/* Label (normal) */
margin-left: 10px;
font: $regular2;
color: $weworkblack;

/* Checked (dot) */
height: 8px;
width: 8px;
border-radius: 100%;
background-color: $weworkblack;
top: 3px;
left: 3px;
transition: background 0.2s linear;

/* Hover (input) */
border-color: $gray200;

/* Hover (label) */
opacity: 0.7;

/* Focus (input) */
border-color: $gray200;
box-shadow: 0 0 4px 1px $gray300;

/* Focus (label) */
opacity: 0.4;

/* Error (input) */
border-color: $warningred;

/* Error (text below fieldset) */
font: $bold6;
color: $warningred;

Large:

/* Input & label */
margin: 6px 0;

/* Label (normal) */
font: $regular1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants