jensmemes3-web/sass/css/_modal.scss
Timo Ley 40338edec3
All checks were successful
continuous-integration/drone Build is passing
chore: use zola to build
2023-01-01 14:29:44 +01:00

110 lines
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;
}