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

134 lines
2.1 KiB
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;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: hidden;
display: flex; /* add */
justify-content: center; /* add to align horizontal */
align-items: center; /* add to align vertical */
cursor: pointer;
2016-12-30 12:58:04 +02:00
}
gallery-lightbox-photo {
overflow: hidden;
2016-04-30 18:33:07 +02: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;
transition: all 0.3s ease-in-out;
2016-04-30 18:33:07 +02:00
}
2016-05-12 23:00:38 +02:00
.navigation-arrow {
width: 30%;
height: calc(100% - 75px);
position: static;
display: inline-block;
padding: 15px;
cursor: pointer;
font-size: xx-large;
2016-05-12 23:00:38 +02:00
}
.navigation-arrow span {
top: 43%;
2016-05-12 23:00:38 +02:00
}
2016-05-13 14:27:00 +02:00
#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;
}
#controllers-container.dim-controls {
opacity: 0.1;
2016-05-12 23:00:38 +02:00
}
2016-04-30 21:36:24 +02:00
2016-05-12 23:00:38 +02:00
#rightArrow {
float: right;
text-align: right;
2016-05-13 14:27:00 +02:00
}
.controls {
height: initial;
text-align: right;
width: 100%;
padding: 5px;
font-size: large;
2016-05-13 14:27:00 +02:00
}
.controls .control-button {
margin-left: 6px;
margin-right: 6px;
color: white;
cursor: pointer;
2016-05-13 14:27:00 +02:00
}
.controls .button-disabled {
color: #888;
}
.controls-top {
top: 0;
}
.controls-playback {
padding-right: 15px;
bottom: 0;
position: absolute;
}
2016-05-13 14:27:00 +02:00
.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;
2016-05-13 14:27:00 +02:00
}
.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;
}
info-panel {
z-index: 1100; /* Sit on top */
position: fixed;
height: 100vh;
right: 0;
2017-07-10 22:00:22 +02:00
top: 0;
transition: all 0.3s ease-in-out;
}