Ekapp/skolehjem/resources/sass/admin/modal/modal.scss

44 lines
1013 B
SCSS
Raw Normal View History

.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
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;
2021-04-10 11:43:06 +00:00
width: 700px;
min-width: 400px;
border-radius: 6px;
overflow: auto;
padding-bottom: 120px;
}
/* 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;
}