1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/lightbox/lightbox.gallery.component.css

81 lines
1.4 KiB
CSS
Raw Normal View History

2016-05-01 00:33:07 +08:00
.lightbox {
position: fixed; /* Stay in place */
z-index: 1100; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
2016-05-01 00:33:07 +08:00
overflow: hidden;
display: flex; /* add */
justify-content: center; /* add to align horizontal */
align-items: center; /* add to align vertical */
cursor: pointer;
}
2016-05-01 00:33:07 +08:00
.blackCanvas{
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-05-13 05:00:38 +08:00
2016-05-13 20:27:00 +08:00
2016-05-13 05:00:38 +08:00
.navigation-arrow {
2016-05-13 20:27:00 +08:00
width: 30%;
2016-05-13 05:00:38 +08:00
height: 100%;
position: static;
display: inline-block;
padding: 15px;
2016-05-13 20:27:00 +08:00
cursor: pointer;
font-size: x-large;
2016-05-13 05:00:38 +08:00
}
.navigation-arrow span {
2016-05-13 20:27:00 +08:00
top: 43%;
2016-05-13 05:00:38 +08:00
}
2016-05-13 20:27:00 +08:00
#controllers-container {
z-index: 1100;
2016-05-13 05:00:38 +08:00
width: 100%;
height: 100%;
left: 0;
position: fixed;;
2016-05-13 20:27:00 +08:00
color: white;
2016-05-13 05:00:38 +08:00
}
2016-05-01 03:36:24 +08:00
2016-05-13 05:00:38 +08:00
#rightArrow {
float: right;
text-align: right;
2016-05-13 20:27:00 +08:00
}
#controls {
top: 0;
height: initial;
text-align: right;
width: 100%;
padding: 5px;
font-size: large;
2016-05-13 20:27:00 +08:00
}
#controls span {
margin-left: 6px;
margin-right: 6px;
2016-05-13 20:27:00 +08:00
color: white;
cursor: pointer;
}
.highlight {
opacity: 0.4;
transition: opacity .2s ease-out;
-moz-transition: opacity .2s ease-out;
-webkit-transition: opacity .2s ease-out;
-o-transition: opacity .2s ease-out;
}
.highlight:hover {
opacity: 1.0;
2016-05-01 03:36:24 +08:00
}