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

Tabs in a modal #41

Closed
roomfive opened this issue Nov 14, 2016 · 1 comment
Closed

Tabs in a modal #41

roomfive opened this issue Nov 14, 2016 · 1 comment
Assignees

Comments

@roomfive
Copy link
Contributor

roomfive commented Nov 14, 2016

Related to modal issue #25


modal-tabs-preview-1

modal-tabs-preview-2


CSS:

/* Tabs */
padding: 14px 0 0 14px; /* so first tab aligns with labels */
border-bottom: 1px solid $gray300;

/* Tab */
height: 38px;
padding: 0 15px;
font: $regular2;
color: $weworkblack;
background-color: rgba(255,207,113,0.05); /* $weworkyellow @ 5% opacity) */
border: 1px solid $gray300;

border-radius: 2px 2px 0 0; /* first tab */
border-radius: 0; /* middle tab(s) */
border-radius: 0 2px 0 0; /* last tab */

/* Active tab */
background-color: $white;
border-bottom: 1px solid $white;

/* Hover (non-active tab) */
background-color: rgba(0, 0, 0, 0.02);

/* Focus (non-active tab) */
background-color: rgba(0, 0, 0, 0.05);

Spec:

screen shot 2017-04-10 at 15 58 24

@kangax
Copy link
Contributor

kangax commented May 4, 2017

Closing via #85

@kangax kangax closed this as completed May 4, 2017
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

3 participants