p5.js-web-editor/client/styles/components/_overlay.scss
Laksh Singla 24302b56de Added softwrap preference for users. (#970)
* Client and server side code added for Linewrap option

* Linked linewrap prop with the Editor.jsx property

* linewrap defaults to true

* Renamed 'LineWrap' to 'WordWrap'
2019-03-26 15:37:44 -04:00

43 lines
692 B
SCSS

.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
background-color: rgba(0, 0, 0, 0.5);
overflow-y: hidden;
}
.overlay__content {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.overlay__body {
@extend %modal;
display: flex;
flex-wrap: wrap;
flex-flow: column;
max-height: 88%;
max-width: 65%;
}
.overlay__header {
display: flex;
justify-content: space-between;
padding: #{20 / $base-font-size}rem;
flex: 1 0 auto;
}
.overlay__title {
font-size: #{21 / $base-font-size}rem;
}
.overlay__close-button {
@include icon();
padding: #{3 / $base-font-size}rem 0;
}