42 lines
694 B
SCSS
42 lines
694 B
SCSS
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1;
|
|
padding-top: 100px;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: $background;
|
|
background-color: rgba($background, 0.4);
|
|
}
|
|
|
|
/* Modal Content */
|
|
.modal-content {
|
|
background-color: lighten($background, 15%);
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid lighten($background, 10%);
|
|
width: 80%;
|
|
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* The Close Button */
|
|
.close {
|
|
color: #aaaaaa;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: #000;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|