Added popup support

This commit is contained in:
Antonio de la Rosa 2020-11-15 17:40:21 +01:00
parent fc5fff5703
commit a7d1b6225e
2 changed files with 298 additions and 0 deletions

48
css/popup.css Normal file
View file

@ -0,0 +1,48 @@
#layer_popup {
z-index:50000;
background-color:rgba(0,0,0,0.4);
/*opacity:0.5;*/
position:absolute;
width:100%;
height:100%;
overflow:auto;
}
#container_popup {
z-index:50001;
overflow:auto;
/* border: solid #fbfbfb 4px;*/
position:absolute;
overflow:visible;
width:100%;
height:100%;
display: flex;
align-items: center;
justify-content: center;
}
.content_popup {
/*position:absolute;
top: 0;
left: 50%;
transform: translate(-50%, 0%);*/
/* position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);*/
z-index:50005;
margin-top:0px;
box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing: border-box;
opacity:1;
-webkit-box-shadow: 0px 0px 160px 0px rgba(80,80,80,1);
-moz-box-shadow: 0px 0px 160px 0px rgba(80,80,80,1);
box-shadow: 0px 0px 160px 0px rgba(80,80,80,1);
}