JuiceUI/Libraries/css/themekit/_modal.scss
2020-03-02 23:22:36 -05:00

46 lines
807 B
SCSS

.modal {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
position: fixed;
z-index: 2048;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
overflow: auto;
background-color: $background;
background-color: rgba(0, 0, 0, 0.75);
}
/* Modal Content */
.modal-content {
background-color: lighten($background, 15%);
padding: 20px;
border: 1px solid lighten($background, 10%);
width: 80%;
border-radius: 8px;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
.container {
width: 100%;
height: 100%;
}
/* The Close Button */
.close {
color: #eeeeee;
float: right;
font-size: 28px;
font-weight: bold;
&:hover,
&:focus {
color: #ffffff;
text-decoration: none;
cursor: pointer;
}
}
}