mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
80 lines
1.4 KiB
CSS
80 lines
1.4 KiB
CSS
.lightbox {
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1100; /* Sit on top */
|
|
left: 0;
|
|
top: 0;
|
|
width: 0; /* Full width */
|
|
height: 0; /* Full height */
|
|
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;
|
|
}
|
|
|
|
|
|
|
|
.navigation-arrow {
|
|
width: 30%;
|
|
height: 100%;
|
|
position: static;
|
|
display: inline-block;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.navigation-arrow span {
|
|
top: 43%;
|
|
}
|
|
|
|
#controllers-container {
|
|
z-index: 1100;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
position: fixed;;
|
|
color: white;
|
|
font-size: x-large;
|
|
}
|
|
|
|
#rightArrow {
|
|
float: right;
|
|
text-align: right;
|
|
}
|
|
|
|
#controls {
|
|
top: 0;
|
|
height: initial;
|
|
text-align: right;
|
|
width: 100%;
|
|
padding: 5px;
|
|
}
|
|
|
|
#controls span {
|
|
margin-left: 2px;
|
|
margin-right: 2px;
|
|
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;
|
|
} |