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

Modal #25

Open
roomfive opened this issue Oct 20, 2016 · 0 comments
Open

Modal #25

roomfive opened this issue Oct 20, 2016 · 0 comments
Assignees

Comments

@roomfive
Copy link
Contributor

roomfive commented Oct 20, 2016

Preview:

modal-preview


Animation:

Perhaps we could play with a subtle animation on load of the modal (also upon exiting it)... Maybe the purple overlay fades in quick, then after a very short delay the modal loads (zoomIn). Done a quick demo here: https://codepen.io/roomfive/pen/WGLdBP


CSS:

/* Modal (outer container) */
min-width: 500px;
border-radius: 10px;
background-color: $white;
box-shadow: 0 0 50px 0 rgba(0,0,0,0.1);
padding: 40px 40px 0 40px;

/* Header (above frame) */
font: $bold3;
margin-bottom: 30px;

/* Frame (inner container) */
border: 1px dashed $gray300;
border-radius: 2px;
padding: 30px;

/* Buttons (below frame) */
margin: 30px 0;

/* Fullscreen overlay */
opacity: 0.94;
Background-color: $purple100;

Spec:

screen shot 2016-10-21 at 11 03 58


Also see related issue: 'Tabs in a modal' #41

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