1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/assets/css/videoosd.css

289 lines
5.4 KiB
CSS
Raw Normal View History

2018-10-23 01:13:23 +03:00
.chapterThumbTextContainer,
.videoOsdBottom {
user-select: none;
2020-01-09 19:35:19 +01:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none
2018-10-23 01:13:23 +03:00
}
.osdPoster img,
.pageContainer,
.videoOsdBottom {
bottom: 0;
left: 0;
right: 0;
2018-10-23 01:13:23 +03:00
}
.osdHeader {
2020-01-09 19:35:19 +01:00
-webkit-transition: opacity .3s ease-out;
-o-transition: opacity .3s ease-out;
2018-10-23 01:13:23 +03:00
transition: opacity .3s ease-out;
position: relative;
z-index: 1;
2019-09-25 00:20:32 -04:00
background: rgba(0, 0, 0, 0.7) !important;
2020-01-09 19:35:19 +01:00
-webkit-backdrop-filter: none !important;
2018-10-23 01:13:23 +03:00
backdrop-filter: none !important;
2019-09-25 00:20:32 -04:00
color: #eee !important;
2018-10-23 01:13:23 +03:00
}
.osdHeader-hidden {
opacity: 0;
2018-10-23 01:13:23 +03:00
}
.osdHeader .headerButton:not(.headerBackButton):not(.headerCastButton) {
display: none;
2018-10-23 01:13:23 +03:00
}
.chapterThumbContainer {
2020-01-09 19:35:19 +01:00
-webkit-box-shadow: 0 0 1.9vh #000;
2018-10-23 01:13:23 +03:00
box-shadow: 0 0 1.9vh #000;
2020-01-09 19:35:19 +01:00
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
2018-10-23 01:13:23 +03:00
flex-grow: 1;
position: relative;
2018-10-23 01:13:23 +03:00
}
.chapterThumb {
background-position: center center;
2020-01-09 19:35:19 +01:00
-webkit-background-size: contain;
2018-10-23 01:13:23 +03:00
background-size: contain;
background-repeat: no-repeat;
border: 0;
height: 20vh;
min-width: 20vh;
2018-10-23 01:13:23 +03:00
}
@media all and (orientation: portrait) {
2018-10-23 01:13:23 +03:00
.chapterThumb {
height: 30vw;
min-width: 30vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 50em) and (orientation: landscape) {
2018-10-23 01:13:23 +03:00
.chapterThumb {
height: 30vh;
min-width: 30vh;
2018-10-23 01:13:23 +03:00
}
}
.chapterThumbTextContainer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
2020-01-19 15:00:37 +01:00
background: rgba(0, 0, 0, 0.7);
padding: 0.25em 0.5em;
user-select: none;
2018-10-23 01:13:23 +03:00
}
.chapterThumbText {
2020-01-19 15:00:37 +01:00
padding: 0.25em 0;
2018-10-23 01:13:23 +03:00
margin: 0;
opacity: 1;
2018-10-23 01:13:23 +03:00
}
.chapterThumbText-dim {
2020-01-19 15:00:37 +01:00
opacity: 0.6;
2018-10-23 01:13:23 +03:00
}
.videoOsdBottom {
position: fixed;
2019-05-20 00:27:09 -07:00
background-color: rgba(0, 0, 0, 0.7);
2018-10-23 01:13:23 +03:00
padding: 1%;
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
2018-10-23 01:13:23 +03:00
flex-direction: row;
will-change: opacity;
2020-01-09 19:35:19 +01:00
-webkit-transition: opacity 0.3s ease-out;
-o-transition: opacity 0.3s ease-out;
2019-05-20 00:27:09 -07:00
transition: opacity 0.3s ease-out;
2018-10-23 01:13:23 +03:00
color: #fff;
2020-01-09 19:35:19 +01:00
user-select: none;
-webkit-touch-callout: none;
2018-10-23 01:13:23 +03:00
}
.videoOsdBottom-hidden {
opacity: 0;
2018-10-23 01:13:23 +03:00
}
.osdControls {
2020-01-09 19:35:19 +01:00
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
flex-grow: 1;
2018-10-23 01:13:23 +03:00
}
.videoOsdBottom .buttons {
padding: .25em 0 0;
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-flex-wrap: wrap;
2018-10-23 01:13:23 +03:00
flex-wrap: wrap;
2020-01-09 19:35:19 +01:00
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.osdVolumeSliderContainer {
width: 9em;
2020-01-09 19:35:19 +01:00
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
flex-grow: 1;
2018-10-23 01:13:23 +03:00
}
.osdMediaInfo,
.volumeButtons {
display: flex;
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
align-items: center;
2020-01-09 19:35:19 +01:00
-webkit-box-align: center
2018-10-23 01:13:23 +03:00
}
.volumeButtons {
2020-01-19 15:00:37 +01:00
margin: 0 0.5em 0 auto;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-align-items: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.osdTimeText {
margin-left: 1em;
2020-01-09 19:35:19 +01:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2018-10-23 01:13:23 +03:00
}
.osdPoster {
width: 10%;
position: relative;
2020-01-19 15:00:37 +01:00
margin-right: 0.5em;
2018-10-23 01:13:23 +03:00
}
.osdPoster img {
position: absolute;
height: auto;
width: 100%;
2020-01-09 19:35:19 +01:00
-webkit-box-shadow: 0 0 1.9vh #000;
2018-10-23 01:13:23 +03:00
box-shadow: 0 0 1.9vh #000;
2020-01-19 15:00:37 +01:00
border: 0.08em solid #222;
2018-10-23 01:13:23 +03:00
user-drag: none;
2020-01-09 19:35:19 +01:00
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
2018-10-23 01:13:23 +03:00
}
.osdTitle,
.osdTitleSmall {
margin: 0 1em 0 0;
2018-10-23 01:13:23 +03:00
}
.osdMediaInfo {
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-align-items: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.osdSecondaryMediaInfo {
2020-01-19 15:00:37 +01:00
padding-left: 0.6em !important;
2018-10-23 01:13:23 +03:00
}
.osdTextContainer {
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-box-align: center;
-webkit-align-items: center;
2018-10-23 01:13:23 +03:00
align-items: center;
2020-01-09 19:35:19 +01:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
2018-10-23 01:13:23 +03:00
user-select: none;
2020-01-19 15:00:37 +01:00
margin-bottom: 0.7em;
padding-left: 0.5em;
2018-10-23 01:13:23 +03:00
}
.osdMainTextContainer {
2020-01-09 19:35:19 +01:00
-webkit-box-align: baseline;
-webkit-align-items: baseline;
align-items: baseline;
2018-10-23 01:13:23 +03:00
}
2019-09-12 21:24:16 +02:00
.osdMediaStatus {
margin-left: auto;
}
@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
transform:rotate(360deg);
}
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform:rotate(360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform:rotate(360deg);
}
}
2019-09-12 21:24:16 +02:00
.osdMediaStatus .animate {
2020-01-09 19:35:19 +01:00
-webkit-animation:spin 4s linear infinite;
-moz-animation:spin 4s linear infinite;
2019-09-12 21:24:16 +02:00
animation:spin 4s linear infinite;
}
2018-10-23 01:13:23 +03:00
.pageContainer {
top: 0;
position: fixed;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 30em) {
2018-10-23 01:13:23 +03:00
.btnFastForward,
.btnRewind,
.osdMediaInfo,
.osdPoster {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 33.75em) {
2018-10-23 01:13:23 +03:00
.videoOsdBottom .paper-icon-button-light {
margin: 0;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 43em) {
2019-09-12 21:24:16 +02:00
.videoOsdBottom .volumeButtons,
.osdMediaStatus span {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
2020-01-19 13:32:59 +01:00
@media all and (max-width: 50em) {
.videoOsdBottom .btnFastForward, .videoOsdBottom .btnRewind {
display: none !important;
}
}
2018-10-23 01:13:23 +03:00
@media all and (max-width: 75em) {
2018-10-23 01:13:23 +03:00
.videoOsdBottom .endsAtText {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}