gallery-frontend/src/app/gallery/display-image/display-image.component.css
Danyi Dávid 04ba910717 * deploy fix
* style changes
* navigation fix
2018-07-08 17:50:35 +02:00

32 lines
631 B
CSS

.modal-container {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.75);
z-index: -1;
opacity: 0;
-webkit-transition: opacity 150ms ease-in;
-moz-transition: opacity 150ms ease-in;
transition: opacity 150ms ease-in;
height: 100%;
width: 100%;
padding: 15px;
overflow: hidden;
}
.modal-padding {
overflow: hidden;
max-height: calc(100% - 30px);
max-width: calc(100% - 30px);
}
.modal-container .image {
display: block;
margin-left: auto;
margin-right: auto;
max-height: calc(100% - 30px);
width: auto;
}