jensmemes3-web/scss/_modal.scss
2021-04-10 01:56:56 +02:00

110 lines
No EOL
2.3 KiB
SCSS

/* The Modal (background) */
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.loginmodal{
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
/* Modal Content */
.modal-content {
position: relative;
margin: auto;
padding: 0;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
.loginmodal-content {
position: relative;
margin: auto;
padding: 0;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
/* The Close Button */
.close {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}
.loginclose {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus{
color: #000;
text-decoration: none;
cursor: pointer;
}
.loginclose:hover,.loginclose:focus{
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 2px 16px;
color: white;
}
.loginmodal-header {
padding: 2px 16px;
color: white;
}
.loginmodal-body {padding: 2px 16px;}
.modal-body {padding: 2px 16px;}
#openInfo{
background: url(https://cdn.a-hoefler.eu/apps/sd7w4ksoja/info.png)no-repeat;
background-size: contain;
background-position: center;
color:white;
background-color: transparent;
height:40px;
width: 40px;
padding: 10px;
border: none;
}