mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
163 lines
3.0 KiB
CSS
163 lines
3.0 KiB
CSS
.slideshowSwiperContainer, .swiper-wrapper, .swiper-slide {
|
|
background: #000;
|
|
}
|
|
|
|
.slideshowImage, .slideshowSwiperContainer {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-position: center center;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
margin: 0 !important;
|
|
color: #fff;
|
|
line-height: normal;
|
|
}
|
|
|
|
.slideshowImage.cover {
|
|
background-size: cover;
|
|
}
|
|
|
|
.slideshowImageText {
|
|
position: fixed;
|
|
bottom: .25em;
|
|
right: .5em;
|
|
color: #fff;
|
|
z-index: 1002;
|
|
font-weight: 400;
|
|
/* Add an outline */
|
|
text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
|
}
|
|
|
|
.swiper-slide img {
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
-ms-transform: translate(-50%, -50%);
|
|
-webkit-transform: translate(-50%, -50%);
|
|
-moz-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
}
|
|
|
|
.slideshowDialog .slideshowButton {
|
|
width: 5.2vh;
|
|
height: 5.2vh;
|
|
color: #fff;
|
|
opacity: .7;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.layout-tv .slideshowDialog .slideshowButtonn {
|
|
width: 7vh;
|
|
height: 7vh;
|
|
}
|
|
|
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 120dpi) {
|
|
.slideshowDialog paper-icon-button {
|
|
width: 11vmin;
|
|
height: 11vmin;
|
|
}
|
|
}
|
|
|
|
.btnSlideshowPrevious {
|
|
left: .5vh;
|
|
top: 45vh;
|
|
z-index: 1002;
|
|
position: absolute;
|
|
}
|
|
|
|
.btnSlideshowNext {
|
|
right: .5vh;
|
|
top: 45vh;
|
|
z-index: 1002;
|
|
position: absolute;
|
|
}
|
|
|
|
.topActionButtons {
|
|
right: .5vh;
|
|
top: .5vh;
|
|
z-index: 1002;
|
|
position: absolute;
|
|
}
|
|
|
|
.slideshowBottomBar {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-color: rgba(0, 0, 0, .7);
|
|
color: #fff;
|
|
padding: .5%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.slideshowTopBar {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
background-color: rgba(0, 0, 0, .7);
|
|
color: #fff;
|
|
padding: .5%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
text-align: right;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.mouseIdle .btnSlideshowPrevious, .mouseIdle .btnSlideshowNext, .mouseIdle .btnSlideshowExit {
|
|
display: none;
|
|
}
|
|
|
|
.slideshowExtraButtons {
|
|
margin-left: auto;
|
|
text-align: right;
|
|
}
|
|
|
|
.slideText {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 10vh;
|
|
text-align: center;
|
|
}
|
|
|
|
.slideTextInner {
|
|
margin: 0 auto;
|
|
max-width: 60%;
|
|
background: rgba(0,0,0,.8);
|
|
display: inline-block;
|
|
padding: .5em 1em;
|
|
border-radius: .25em;
|
|
}
|
|
|
|
.slideTitle {
|
|
font-size: 180%;
|
|
}
|
|
|
|
.slideSubtitle {
|
|
color: #ccc;
|
|
}
|
|
|
|
.swiper-slide paper-spinner {
|
|
width: 10vh;
|
|
height: 10vh;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin-left: -5vh;
|
|
margin-top: -5vh;
|
|
z-index: 1003;
|
|
}
|