mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
140 lines
2.3 KiB
CSS
140 lines
2.3 KiB
CSS
.lightbox {
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1100; /* Sit on top */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%; /* Full width */
|
|
height: 100%; /* Full height */
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
}
|
|
|
|
app-gallery-lightbox-photo {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.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;
|
|
transition: all 0.3s ease-in-out;
|
|
-o-transition: all 0.3s ease-in-out;
|
|
-webkit-transition: all 0.3s ease-in-out;
|
|
-moz-transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.navigation-arrow {
|
|
width: 30%;
|
|
height: calc(100% - 75px);
|
|
position: static;
|
|
display: inline-block;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
font-size: xx-large;
|
|
}
|
|
|
|
.navigation-arrow span {
|
|
top: 43%;
|
|
}
|
|
|
|
#controllers-container {
|
|
z-index: 1100;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
opacity: 1.0;
|
|
position: fixed;
|
|
color: white;
|
|
transition: width 0.3s ease-in-out, opacity 1s;
|
|
-webkit-transition: width 0.3s ease-in-out, opacity 1s;
|
|
-o-transition: width 0.3s ease-in-out, opacity 1s;
|
|
-moz-transition: width 0.3s ease-in-out, opacity 1s;
|
|
}
|
|
|
|
#controllers-container.dim-controls {
|
|
opacity: 0.1;
|
|
}
|
|
|
|
#rightArrow {
|
|
float: right;
|
|
text-align: right;
|
|
}
|
|
|
|
.controls {
|
|
height: initial;
|
|
text-align: right;
|
|
width: 100%;
|
|
padding: 5px;
|
|
font-size: large;
|
|
}
|
|
|
|
.controls .control-button {
|
|
margin-left: 6px;
|
|
margin-right: 6px;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.controls .button-disabled {
|
|
color: #888;
|
|
}
|
|
|
|
.controls-top {
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.controls-playback {
|
|
padding-right: 15px;
|
|
bottom: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.highlight {
|
|
opacity: 0.5;
|
|
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;
|
|
}
|
|
|
|
@-webkit-keyframes blink {
|
|
0% {
|
|
opacity: 0.5;
|
|
}
|
|
25% {
|
|
opacity: 1.0;
|
|
}
|
|
75% {
|
|
opacity: 1.0;
|
|
}
|
|
100% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.button-active {
|
|
animation: blink 3s ease-in-out infinite;
|
|
}
|
|
|
|
app-info-panel {
|
|
z-index: 1100; /* Sit on top */
|
|
position: fixed;
|
|
height: 100vh;
|
|
right: 0;
|
|
top: 0;
|
|
transition: all 0.3s ease-in-out;
|
|
-o-transition: all 0.3s ease-in-out;
|
|
-moz-transition: all 0.3s ease-in-out;
|
|
-webkit-transition: all 0.3s ease-in-out;
|
|
}
|