jellyfin-web/dashboard-ui/videoosd.html

275 lines
8.4 KiB
HTML
Raw Normal View History

2017-01-02 23:51:36 -07:00
<div id="videoOsdPage" data-role="page" class="page libraryPage" data-backbutton="true">
<style>
.osdHeader {
padding-bottom: 3vh;
transition: transform 300ms ease-out, opacity 300ms ease-out;
will-change: transform;
position: relative;
z-index: 1;
}
2017-01-03 01:10:50 -07:00
.osdHeader .viewMenuBar {
background-color: rgba(0, 0, 0, .3);
background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}
2017-01-02 23:51:36 -07:00
.osdHeader-hidden {
transform: translate3d(0,-100%,0);
opacity: 0;
}
.osdHeader .headerButton:not(.headerBackButton) {
display: none;
}
.osdHeader-hidden {
transform: translate3d(0,-100%,0);
opacity: 0;
}
2017-01-11 01:00:03 -07:00
.chapterThumbContainer {
-moz-box-shadow: 0 0 1.9vh #000;
-webkit-box-shadow: 0 0 1.9vh #000;
box-shadow: 0 0 1.9vh #000;
flex-grow: 1;
position: relative;
2017-01-02 23:51:36 -07:00
}
.chapterThumb {
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
2017-01-11 01:00:03 -07:00
border: 0;
height: 20vh;
2017-01-11 10:52:22 -07:00
min-width: 20vh;
}
@media all and (orientation: portrait) {
.chapterThumb {
height: 30vw;
min-width: 30vw;
}
}
@media all and (max-height: 800px) and (orientation: landscape) {
.chapterThumb {
height: 30vh;
min-width: 30vh;
}
2017-01-02 23:51:36 -07:00
}
2017-01-11 01:00:03 -07:00
.chapterThumbTextContainer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
padding: .25em .5em;
}
.chapterThumbText {
padding: .25em 0;
margin: 0;
opacity: 1;
}
.chapterThumbText-dim {
opacity: .6;
}
2017-01-02 23:51:36 -07:00
.videoOsdBottom {
position: fixed;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, .7);
color: #fff;
padding: 1%;
display: flex;
flex-direction: row;
will-change: transform;
transition: transform 300ms ease-out, opacity 300ms ease-out;
}
.videoOsdBottom-hidden {
transform: translate3d(0,100%,0);
opacity: 0;
}
.osdControls {
flex-grow: 1;
}
.videoOsdBottom .buttons {
padding: .25em 0 0;
display: flex;
2017-01-07 22:52:51 -07:00
flex-wrap: wrap;
2017-01-02 23:51:36 -07:00
align-items: center;
}
.osdVolumeSliderContainer {
width: 6.5em;
flex-grow: 1;
}
.volumeButtons {
margin: 0 .5em 0 auto;
display: flex;
align-items: center;
}
.osdTimeText {
margin-left: 1em;
}
.mouseIdle .videoOsdBottom .volumeButtons {
display: none;
}
.osdPoster {
width: 10%;
position: relative;
margin-right: .5em;
}
.osdPoster img {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: auto;
width: 100%;
-moz-box-shadow: 0 0 1.9vh #000;
-webkit-box-shadow: 0 0 1.9vh #000;
box-shadow: 0 0 1.9vh #000;
border: solid 1px #222;
user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.osdTitle {
margin: 0;
padding-left: .4em;
}
.osdMediaInfo {
margin-left: 1em;
color: #eee;
display: flex;
align-items: flex-end;
}
.osdTextContainer {
display: flex;
align-items: baseline;
}
2017-01-03 01:10:50 -07:00
.pageContainer {
top: 0;
bottom: 0;
left: 0;
right: 0;
position: fixed;
}
2017-01-07 22:52:51 -07:00
2017-01-08 16:56:34 -07:00
@media all and (max-width:480px) {
2017-01-15 14:29:00 -07:00
.osdPoster, .btnRewind, .btnFastForward {
2017-01-07 22:52:51 -07:00
display: none !important;
}
2017-01-08 16:56:34 -07:00
}
2017-01-07 22:52:51 -07:00
2017-01-08 16:56:34 -07:00
@media all and (max-width:540px) {
2017-01-07 22:52:51 -07:00
.videoOsdBottom .paper-icon-button-light {
margin: 0;
}
2017-01-08 16:56:34 -07:00
}
2017-01-07 22:52:51 -07:00
2017-01-08 16:56:34 -07:00
@media all and (max-width:600px) {
2017-01-07 22:52:51 -07:00
.videoOsdBottom .volumeButtons {
display: none !important;
}
}
@media all and (max-width: 1200px) {
.videoOsdBottom .endsAtText {
display: none !important;
}
}
2017-01-02 23:51:36 -07:00
</style>
2017-01-02 23:39:59 -07:00
<div class="pageContainer flex">
</div>
<div class="videoOsdBottom">
<div class="osdPoster">
</div>
<div class="osdControls">
<div class="osdTextContainer">
<h2 class="osdTitle"></h2>
<div class="osdMediaInfo"></div>
</div>
<div class="sliderContainer" style="margin: .25em .5em;">
2017-01-04 22:22:32 -07:00
<input type="range" step=".01" min="0" max="100" value="0" is="emby-slider" class="osdPositionSlider" />
2017-01-02 23:39:59 -07:00
</div>
<div class="buttons">
<button is="paper-icon-button-light" class="btnPreviousTrack autoSize hide">
<i class="xlargePaperIconButton md-icon">&#xE045;</i>
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnRewind" title="${Rewind}">
2017-01-02 23:39:59 -07:00
<i class="xlargePaperIconButton md-icon">&#xE020;</i>
</button>
<button is="paper-icon-button-light" class="btnPause autoSize" autofocus>
<i class="xlargePaperIconButton md-icon">&#xE034;</i>
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnFastForward" title="${FastForward}">
2017-01-02 23:39:59 -07:00
<i class="xlargePaperIconButton md-icon">&#xE01F;</i>
</button>
<button is="paper-icon-button-light" class="btnNextTrack autoSize hide">
<i class="xlargePaperIconButton md-icon">&#xE044;</i>
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnAudio hide autoSize" title="${Audio}">
2017-01-02 23:39:59 -07:00
<i class="xlargePaperIconButton md-icon">&#xE3A1;</i>
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnSubtitles hide autoSize" title="${Subtitles}">
2017-01-02 23:39:59 -07:00
<i class="xlargePaperIconButton md-icon">&#xE01C;</i>
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnCast hide autoSize" title="${PlayOnAnotherDevice}">
2017-01-03 12:37:10 -07:00
<i class="xlargePaperIconButton md-icon">&#xE307;</i>
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnSettings hide autoSize" title="${Settings}">
2017-01-04 01:02:08 -07:00
<i class="largePaperIconButton md-icon">&#xE8B8;</i>
2017-01-03 14:57:29 -07:00
</button>
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="btnFullscreen hide autoSize" title="${Fullscreen}">
2017-01-04 14:25:15 -07:00
<i class="xlargePaperIconButton md-icon">&#xE5D0;</i>
</button>
2017-01-10 13:17:29 -07:00
<button is="paper-icon-button-light" class="btnPip hide autoSize" title="${PictureInPicture}">
<i class="xlargePaperIconButton md-icon">&#xE911;</i>
</button>
2017-01-02 23:39:59 -07:00
<div class="osdTimeText"><span class="osdPositionText"></span><span class="osdDurationText"></span><span class="endsAtText"></span></div>
<div class="volumeButtons">
2017-01-06 14:47:47 -07:00
<button is="paper-icon-button-light" class="buttonMute autoSize" title="${Mute}">
2017-01-02 23:39:59 -07:00
<i class="xlargePaperIconButton md-icon">&#xE050;</i>
</button>
<div class="sliderContainer osdVolumeSliderContainer">
<input is="emby-slider" type="range" step="1" min="0" max="100" value="0" class="osdVolumeSlider" />
</div>
</div>
</div>
</div>
</div>
</div>