1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/components/slideshow/style.scss

143 lines
2.4 KiB
SCSS
Raw Normal View History

.slideshowDialog {
/* Themes may use non-black backgrounds for dialogs, so override that here */
background: #000;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.slideshowSwiperContainer,
2020-01-25 11:42:43 +01:00
.swiper-wrapper,
.swiper-slide {
background: #000;
}
2020-01-22 21:40:45 +01:00
.slideshowImage,
2020-01-25 11:42:43 +01:00
.slideshowSwiperContainer {
2018-10-23 01:13:23 +03:00
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;
2018-10-23 01:13:23 +03:00
}
.slideshowImage-cover {
background-size: cover;
2018-10-23 01:13:23 +03:00
}
.slideshowImageText {
position: fixed;
2020-01-19 15:00:37 +01:00
bottom: 0.25em;
right: 0.5em;
2018-10-23 01:13:23 +03:00
color: #fff;
z-index: 1002;
font-weight: normal;
2020-01-22 21:40:45 +01:00
/* 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;
2018-10-23 01:13:23 +03:00
}
.slideshowButtonIcon {
color: #fff;
2020-01-19 15:00:37 +01:00
opacity: 0.7;
2018-10-23 01:13:23 +03:00
}
.btnSlideshowPrevious {
2020-01-19 15:00:37 +01:00
left: 0.5vh;
top: 45vh;
z-index: 1002;
position: absolute;
2018-10-23 01:13:23 +03:00
}
.btnSlideshowNext {
2020-01-19 15:00:37 +01:00
right: 0.5vh;
top: 45vh;
z-index: 1002;
position: absolute;
2018-10-23 01:13:23 +03:00
}
.topActionButtons {
2020-01-19 15:00:37 +01:00
right: 0.5vh;
top: 0.5vh;
2018-10-23 01:13:23 +03:00
z-index: 1002;
position: absolute;
2018-10-23 01:13:23 +03:00
}
.slideshowBottomBar {
2018-10-23 01:13:23 +03:00
position: fixed;
left: 0;
bottom: 0;
right: 0;
2020-01-19 15:00:37 +01:00
background-color: rgba(0, 0, 0, 0.7);
2018-10-23 01:13:23 +03:00
color: #fff;
2020-01-19 15:00:37 +01:00
padding: 0.5%;
2018-10-23 01:13:23 +03:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
2018-10-23 01:13:23 +03:00
}
.slideshowTopBar {
position: fixed;
left: 0;
2018-10-23 01:13:23 +03:00
top: 0;
right: 0;
2020-01-19 15:00:37 +01:00
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
2020-01-19 15:00:37 +01:00
padding: 0.5%;
2018-10-23 01:13:23 +03:00
display: flex;
flex-direction: row;
align-items: center;
text-align: right;
justify-content: flex-end;
2018-10-23 01:13:23 +03:00
}
.slideshowExtraButtons {
margin-left: auto;
text-align: right;
2018-10-23 01:13:23 +03:00
}
.slideText {
position: absolute;
left: 0;
right: 0;
bottom: 10vh;
text-align: center;
2018-10-23 01:13:23 +03:00
}
.slideTextInner {
margin: 0 auto;
max-width: 60%;
2020-01-19 15:00:37 +01:00
background: rgba(0, 0, 0, 0.8);
2018-10-23 01:13:23 +03:00
display: inline-block;
2020-01-19 15:00:37 +01:00
padding: 0.5em 1em;
border-radius: 0.25em;
2018-10-23 01:13:23 +03:00
}
.slideTitle {
2020-01-19 15:00:37 +01:00
margin: 0 0 0.25em;
2018-10-23 01:13:23 +03:00
}
.slideSubtitle {
color: #ccc;
}
2020-05-07 23:11:19 +03:00
.swiper-zoom-fakeimg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: contain;
z-index: 1;
pointer-events: none;
}
.swiper-zoom-fakeimg-hidden {
display: none;
}