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

243 lines
3.9 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-12-19 03:12:51 +08:00
width: 30px;
2018-11-12 02:22:46 +08:00
min-width: 60px;
2018-12-19 03:12:51 +08:00
height: 100px;
position: absolute;
top: calc(50% - 50px);
display: inline-block;
padding: 15px;
cursor: pointer;
font-size: xx-large;
2018-12-19 03:12:51 +08:00
left: 0;
2016-05-13 05:00:38 +08:00
}
.navigation-arrow span {
2018-12-19 03:12:51 +08:00
top: 20px;
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-12-06 02:15:24 +08:00
#swipeable-container {
2018-11-12 02:22:46 +08:00
height: 100%;
}
2016-05-13 05:00:38 +08:00
#rightArrow {
2018-12-19 03:12:51 +08:00
right: 0;
left: auto;
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-12-06 02:15:24 +08:00
.controls-caption {
opacity: 0.5;
top: 0;
position: absolute;
height: initial;
text-align: left;
width: 75%;
padding: 5px 13px;
font-size: 1.5rem;
}
2018-11-12 02:22:46 +08:00
.controls-playback {
padding-right: 15px;
bottom: 0;
position: absolute;
}
2018-12-06 02:15:24 +08:00
2018-11-12 02:22:46 +08:00
.controls-video {
padding-right: 15px;
bottom: 0;
position: absolute;
}
.controls-video .oi,
2018-12-06 02:15:24 +08:00
.controls-video input {
2018-11-12 02:22:46 +08:00
color: white;
cursor: pointer;
}
2018-12-06 02:15:24 +08:00
.controls-big-play span {
2018-11-12 02:22:46 +08:00
font-size: 20vh;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
2018-12-06 02:15:24 +08:00
.controls-video input[type=range] {
2018-11-12 02:22:46 +08:00
padding: 0;
margin-top: 6px;
}
2018-12-06 02:15:24 +08:00
.controls-video .oi {
2018-11-12 02:22:46 +08:00
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;
}
2018-12-19 03:12:51 +08:00
.controls-zoom {
bottom: 0;
position: absolute;
margin-bottom: 10px;
2018-12-20 04:41:01 +08:00
margin-right: 0;
margin-left: 0;
2018-12-19 03:12:51 +08:00
}
.zoom-progress-wrapper {
2018-12-20 04:41:01 +08:00
margin-top: 3px;
2018-12-19 03:12:51 +08:00
height: 11px;
border: 1px solid white;
padding: 0;
}
2018-12-20 04:41:01 +08:00
input[type="range"].zoom-progress {
height: 11px;
margin-top: 3px;
border: 1px solid white;
background: transparent;
padding: 0;
}
input[type="range"].zoom-progress::-webkit-slider-runnable-track {
background: transparent;
}
input[type="range"].zoom-progress::-moz-range-track {
background: transparent;
}
.controls-zoom .oi {
cursor: pointer;
2018-12-19 03:12:51 +08:00
}