62 lines
1.3 KiB
SCSS
62 lines
1.3 KiB
SCSS
|
|
.modal {
|
|
display: none; /* Hidden by default */
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1; /* Sit on top */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%; /* Full width */
|
|
height: 100%; /* Full height */
|
|
overflow: auto; /* Enable scroll if needed */
|
|
background-color: rgb(0,0,0); /* Fallback color */
|
|
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
|
backdrop-filter: blur(6px);
|
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
}
|
|
|
|
/* Modal Content */
|
|
.modal-content {
|
|
background-color: #E0E0E0;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 2px solid #888;
|
|
width: 700px;
|
|
min-width: 400px;
|
|
top: -50px;
|
|
height: 80%;
|
|
border-radius: 6px;
|
|
overflow: auto;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.modal-content::-webkit-scrollbar {
|
|
width: 12px;
|
|
}
|
|
.modal-content::-webkit-scrollbar-track {
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.modal-content::-webkit-scrollbar-thumb {
|
|
border-radius: 10px;
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
/* The Close Button */
|
|
.close {
|
|
color: #aaa;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.close:hover, .close:focus {
|
|
color: #000;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modal-content > center > img {
|
|
width: 100%;
|
|
}
|