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

190 lines
3.2 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 */
overflow: hidden;
cursor: pointer;
2016-12-30 18:58:04 +08:00
}
2018-05-04 07:17:08 +08:00
app-gallery-lightbox-photo {
overflow: hidden;
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;
transition: all 0.3s ease-in-out;
2018-05-14 04:59:57 +08:00
-o-transition: all 0.3s ease-in-out;
2018-05-16 09:30:41 +08:00
-ms-transition: all 0.3s ease-in-out;
2018-05-14 04:59:57 +08:00
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
2016-05-01 00:33:07 +08:00
}
2016-05-13 05:00:38 +08:00
.navigation-arrow {
2018-11-12 02:22:46 +08:00
width: 20%;
min-width: 60px;
height: 50%;
margin-top: 22vh;
position: static;
display: inline-block;
padding: 15px;
cursor: pointer;
font-size: xx-large;
2016-05-13 05:00:38 +08:00
}
.navigation-arrow span {
top: 43%;
2016-05-13 05:00:38 +08:00
}
2016-05-13 20:27:00 +08: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;
2018-05-14 04:59:57 +08:00
-webkit-transition: width 0.3s ease-in-out, opacity 1s;
-o-transition: width 0.3s ease-in-out, opacity 1s;
2018-05-16 09:30:41 +08:00
-ms-transition: width 0.3s ease-in-out, opacity 1s;
2018-05-14 04:59:57 +08:00
-moz-transition: width 0.3s ease-in-out, opacity 1s;
}
#controllers-container.dim-controls {
opacity: 0.1;
2016-05-13 05:00:38 +08:00
}
2016-05-01 03:36:24 +08:00
2018-11-18 03:15:48 +08:00
#controllers-container.dim-controls-video {
opacity: 0;
}
2018-11-12 02:22:46 +08:00
#swipeable-container{
height: 100%;
}
2016-05-13 05:00:38 +08:00
#rightArrow {
float: right;
text-align: right;
2016-05-13 20:27:00 +08:00
}
.controls {
height: initial;
text-align: right;
width: 100%;
padding: 5px;
font-size: large;
2016-05-13 20:27:00 +08:00
}
.controls .control-button {
2018-05-14 10:10:56 +08:00
margin-left: 0.2em;
margin-right: 0.2em;
display: inline-block;
padding: 0 0.5rem;
font-size: 1.5rem;
color: white;
cursor: pointer;
2016-05-13 20:27:00 +08:00
}
.controls .button-disabled {
color: #888;
}
.controls-top {
top: 0;
}
2018-11-12 02:22:46 +08:00
.controls-playback {
padding-right: 15px;
bottom: 0;
position: absolute;
}
2018-11-12 02:22:46 +08:00
.controls-video {
padding-right: 15px;
bottom: 0;
position: absolute;
}
.controls-video .oi,
.controls-video input{
color: white;
cursor: pointer;
}
.controls-big-play span{
font-size: 20vh;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.controls-video input[type=range]{
padding: 0;
margin-top: 6px;
}
.controls-video .oi{
text-align: center;
max-width: 45px;
margin-left: 10px;
}
2016-05-13 20:27:00 +08: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;
2018-05-16 09:30:41 +08:00
-ms-transition: opacity .2s ease-out;
2016-05-13 20:27:00 +08: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;
}
2018-05-04 07:17:08 +08:00
app-info-panel {
z-index: 1100; /* Sit on top */
position: fixed;
height: 100vh;
2018-05-14 10:10:56 +08:00
max-width: 100vw;
right: 0;
2017-07-11 04:00:22 +08:00
top: 0;
transition: all 0.3s ease-in-out;
2018-05-14 04:59:57 +08:00
-o-transition: all 0.3s ease-in-out;
2018-05-16 09:30:41 +08:00
-ms-transition: all 0.3s ease-in-out;
2018-05-14 04:59:57 +08:00
-moz-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
}