mon-entreprise/source/components/Overlay.css

33 lines
496 B
CSS
Raw Normal View History

#overlayWrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.86);
z-index: 1;
}
#overlayContent {
background: white;
2018-05-03 13:44:34 +00:00
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: 1em;
2018-05-09 13:44:52 +00:00
padding: 1em;
border-radius: 0.3em;
2018-05-03 13:44:34 +00:00
border: 2px solid #333350;
position: fixed;
min-height: 6em;
}
@media (min-width: 600px) {
#overlayContent {
width: 70%;
transform: translateX(-50%) translateY(-50%);
top: 50%;
left: 50%;
max-width: 40em;
}
}