1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-14 11:23:17 +02:00
pigallery2/frontend/app/gallery/lightbox/lightbox.gallery.component.css

32 lines
772 B
CSS
Raw Normal View History

2016-04-30 18:33:07 +02:00
.lightbox {
position: fixed; /* Stay in place */
z-index: 1100; /* Sit on top */
left: 0;
top: 0;
2016-05-05 18:19:45 +02:00
width: 0; /* Full width */
height: 0; /* Full height */
2016-04-30 18:33:07 +02:00
overflow: hidden;
display: flex; /* add */
justify-content: center; /* add to align horizontal */
align-items: center; /* add to align vertical */
cursor: pointer;
}
.blackCanvas{
display: none;
position: fixed; /* Stay in place */
z-index: 1099; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
background-color: black;
}
2016-04-30 21:36:24 +02:00
img {
width: 100%;
height: 100%;
}
.imgContainer{
justify-content: center; /* add to align horizontal */
align-items: center; /* add to align vertical */
}