JuiceUI/Libraries/css/themekit/_modal.scss
2020-03-03 14:17:21 -05:00

69 lines
1.1 KiB
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: $background;
padding: 20px;
border: 1px solid lighten($background, 10%);
width: 80%;
height: 80%;
height: auto;
border-radius: 8px;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
img {
display: block;
margin: auto;
width: 80%;
height: auto;
}
.container {
width: 80%;
height: 80%;
display: block;
margin: auto;
}
.header {
text-align: center;
margin-block-start: 0;
padding-bottom: 1rem;
border-bottom: 1px solid lighten($background, 10%);
}
.content {
overflow: auto;
}
/* The Close Button */
.close {
color: #eeeeee;
float: right;
font-size: 28px;
font-weight: bold;
&:hover,
&:focus {
color: #ffffff;
text-decoration: none;
cursor: pointer;
}
}
}