MyCrypto/common/sass/mixins.scss
William O'Beirne ccd946a08d Reusable modal component (#50)
* README proposal.

* First pass at implementation of proposal on Footer and Header. Footer could use some work.

* Cleanup, and readme additions

* First pass at basic modal

* Modal open / close

* Modal close on esc key.

* Freeze body scrolling when modal is open.

* Use the index bestowed upon me.

* No close on shade click

* Only render children if modal is open. Also, dont show cursor on shade

* Use flexbox for simpler content height / scroll behavior.

* type modal, fix body scroll when mounted opened

* Modal width is sized by content, not hard coded sizes.

* Remove size from flow prop types.
2017-07-15 01:26:43 -05:00

15 lines
256 B
SCSS

@import "./variables";
@mixin bg-gradient {
background: $ether-navy;
background: linear-gradient(149deg, #132a45, #143a56, #21a4ce, #19b4ad);
}
@mixin reset-button {
margin: 0;
padding: 0;
background: none;
border: none;
cursor: pointer;
}