jellyfin-web/dashboard-ui/css/mediaplayer-video.css

375 lines
6.8 KiB
CSS
Raw Normal View History

2014-06-28 12:35:30 -07:00
.videoBackdrop {
/* Allows popups to be closed, because their z-index is 1099 */
z-index: 1098;
position: fixed;
background-color: transparent;
background-color: rgba(0, 0, 0, 0.6);
top: 0;
right: 0;
bottom: 0;
left: 0;
}
#videoPlayer {
z-index: 99997;
position: fixed;
2014-06-28 12:35:30 -07:00
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #222;
}
.itemVideo {
background-color: #000;
2014-06-28 12:35:30 -07:00
width: 100%;
height: auto;
}
2014-10-22 21:26:01 -07:00
.videoCanvas {
background-color: #000;
position: fixed;
top: 200px;
bottom: 200px;
left: 200px;
right: 200px;
}
2014-06-28 12:35:30 -07:00
.videoControls {
2015-05-05 08:24:47 -07:00
padding: .5em .5em;
2015-05-13 13:55:08 -07:00
background-color: rgba(0, 0, 0, .7);
2014-06-28 12:35:30 -07:00
position: fixed;
left: 0;
2014-06-28 12:35:30 -07:00
bottom: 0;
right: 0;
z-index: 99998;
text-align: center;
}
2014-06-28 12:35:30 -07:00
.videoTopControls {
2015-05-04 21:17:38 -07:00
padding: 1em;
2014-06-28 12:35:30 -07:00
background-color: rgba(0, 0, 0, .5);
2014-06-30 21:06:28 -07:00
position: absolute;
2014-06-28 12:35:30 -07:00
left: 0;
top: 0;
right: 0;
z-index: 99998;
}
2014-06-28 12:35:30 -07:00
.videoAdvancedControls {
text-align: right;
vertical-align: top;
}
#slider-tooltip {
z-index: 99999;
position: absolute;
top: -30px;
left: 0;
background-color: #eee;
border: 1px solid #333;
color: #333;
border-radius: 3px;
padding: 5px;
}
2014-06-28 12:35:30 -07:00
.nowPlayingInfo {
2015-05-13 20:24:25 -07:00
text-align: center;
padding: 1em 1em 2em 1em;
2014-06-28 12:35:30 -07:00
}
2015-05-05 08:24:47 -07:00
#videoPlayer .nowPlayingImage img {
2014-06-28 12:35:30 -07:00
height: auto !important;
max-width: 100px;
max-height: 200px;
}
2015-05-13 20:24:25 -07:00
#videoPlayer .nowPlayingTabs {
margin: 0 0 0 1em;
overflow: hidden;
white-space: normal;
text-overflow: ellipsis;
text-align: left;
vertical-align: top;
color: #eee;
display: inline-block;
2015-05-14 10:16:29 -07:00
width: 70%;
2015-05-13 20:24:25 -07:00
font-weight: normal;
2015-05-14 10:16:29 -07:00
font-size: 14px;
2015-05-13 20:24:25 -07:00
}
@media all and (max-width: 1200px) {
#videoPlayer .nowPlayingTabs {
font-size: 13px;
}
}
.nowPlayingTabButtons {
margin-bottom: 1.25em;
}
.nowPlayingTabButton {
display: inline-block;
font-size: 18px;
text-transform: uppercase;
color: #ddd !important;
2015-05-14 10:16:29 -07:00
font-weight: 400 !important;
2015-05-13 20:24:25 -07:00
text-decoration: none;
}
.nowPlayingTabButton + .nowPlayingTabButton {
padding-left: 1.5em;
}
.nowPlayingTabButton:not(.selectedNowPlayingTabButton):hover {
color: white !important;
}
.selectedNowPlayingTabButton {
color: #2ad !important;
}
.nowPlayingTab {
overflow-y: hidden;
overflow-x: auto;
}
2014-06-28 12:35:30 -07:00
#videoPlayer .nowPlayingText {
font-weight: normal;
2015-05-13 10:53:26 -07:00
margin: 0 0 0 1em;
max-width: initial;
2014-06-28 12:35:30 -07:00
overflow: hidden;
2015-05-13 10:53:26 -07:00
white-space: normal;
2014-06-28 12:35:30 -07:00
text-overflow: ellipsis;
text-align: left;
2015-05-13 10:53:26 -07:00
vertical-align: top;
2014-06-28 12:35:30 -07:00
position: static;
2015-05-13 10:53:26 -07:00
color: #eee;
}
.videoNowPlayingName {
2015-06-11 10:57:59 -07:00
font-size: 18px;
2015-05-13 10:53:26 -07:00
}
.videoNowPlayingOverview, .videoNowPlayingRating {
margin: 1em 0;
2014-06-28 12:35:30 -07:00
}
.videoTopControlsLogo {
float: left;
}
.videoTopControlsLogo img {
2014-06-28 19:30:20 -07:00
max-height: 42px;
2014-06-28 12:35:30 -07:00
max-width: 200px;
}
/* Fullscreen
***************************************/
#videoPlayer, .itemVideo {
position: fixed !important;
top: 0 !important;
bottom: 0 !important;
right: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
border: 0 !important;
margin: 0 !important;
max-width: 100%;
max-height: 100%;
}
2014-07-02 11:34:08 -07:00
/* Hack for safari because it doesn't allow clickable content over the video surface. */
2015-04-24 13:06:37 -07:00
/*.itemVideo { (;top: 9%!important;height: 91% !important;); }
.itemVideo { [;top: 9%!important;height: 91% !important;]; }*/
2014-07-02 11:34:08 -07:00
2014-04-30 08:07:02 -07:00
#mediaPlayer .ui-slider-track, .nowPlayingBar .ui-slider-track, .nowPlayingPage .ui-slider-track {
2014-04-03 15:50:04 -07:00
border-color: #2ad !important;
2015-05-04 21:17:38 -07:00
height: 2px !important;
}
#videoPlayer .inactive {
2015-05-04 21:17:38 -07:00
display: none !important;
}
2014-10-09 15:22:04 -07:00
.idlePlayer video {
cursor: none;
}
2014-06-28 12:35:30 -07:00
#mediaPlayer .sliderContainer {
2014-04-13 11:25:22 -07:00
position: relative;
top: 5px;
2015-05-04 21:17:38 -07:00
vertical-align: middle;
2014-04-13 11:25:22 -07:00
}
/****************************************/
@media all and (max-width: 1200px), all and (max-height: 720px) {
2014-06-28 12:35:30 -07:00
.videoControls .currentTime {
margin-right: 0;
min-width: 120px;
}
}
@media all and (max-width: 800px), all and (max-height: 460px) {
2014-06-28 12:35:30 -07:00
#mediaPlayer .sliderContainer {
margin-top: 8px;
}
2014-06-28 12:35:30 -07:00
}
2015-06-11 10:57:59 -07:00
@media all and (max-width: 1400px), all and (max-height: 800px) {
2014-04-15 17:02:05 -07:00
2015-05-13 20:24:25 -07:00
#mediaPlayer .nowPlayingInfo {
display: none !important;
2014-04-15 17:02:05 -07:00
}
}
@media all and (max-width: 555px) {
#mediaPlayer .videoControls .previousTrackButton, #mediaPlayer .videoControls .nextTrackButton {
2015-05-04 21:17:38 -07:00
display: none !important;
}
2015-05-04 21:17:38 -07:00
2014-06-28 12:35:30 -07:00
.videoTopControlsLogo {
2015-05-04 21:17:38 -07:00
display: none !important;
2014-06-28 12:35:30 -07:00
}
}
2014-06-28 12:35:30 -07:00
@media all and (min-width: 800px) {
.videoControls .positionSliderContainer {
width: 300px;
}
}
@media all and (min-width: 1300px) {
2015-05-13 20:24:25 -07:00
.nowPlayingInfo {
padding-bottom: 0;
}
2015-05-05 08:24:47 -07:00
#videoPlayer .nowPlayingImage img {
2014-06-28 12:35:30 -07:00
height: auto !important;
2015-05-13 13:55:08 -07:00
max-width: 400px;
2015-06-11 10:57:59 -07:00
max-height: 240px;
}
}
/****************************************/
.status {
position: absolute;
top: 50%;
left: 50%;
margin-top: -75px;
margin-left: -75px;
width: 150px;
height: 150px;
z-index: 99999;
}
#play {
background-image: url(images/media/play.png);
opacity: 0;
display: none;
}
#pause {
background-image: url(images/media/pause.png);
opacity: 0;
display: none;
}
.fadeOut {
animation-name: fadeOut;
-webkit-animation-name: fadeOut;
animation-duration: .25s;
-webkit-animation-duration: .25s;
animation-timing-function: ease-in-out;
-webkit-animation-timing-function: ease-in-out;
visibility: visible !important;
}
@keyframes fadeOut {
0% {
transform: scale(.25);
opacity: 0.7;
}
60% {
transform: scale(.5);
opacity: 0.5;
}
80% {
transform: scale(.75);
opacity: 0.3;
}
100% {
transform: scale(1);
opacity: 0;
}
}
@-webkit-keyframes fadeOut {
0% {
-webkit-transform: scale(.25);
opacity: 0.7;
}
60% {
-webkit-transform: scale(.5);
opacity: 0.5;
}
80% {
-webkit-transform: scale(.75);
opacity: 0.3;
}
100% {
-webkit-transform: scale(1);
opacity: 0;
}
}
2014-06-28 12:35:30 -07:00
.videoPlayerPopupContent {
width: 200px;
}
2014-06-28 12:35:30 -07:00
.videoChaptersPopup .videoPlayerPopupContent {
width: 300px;
}
2014-06-28 12:35:30 -07:00
.videoChapterPopupImage {
position: absolute;
top: 0;
left: 0;
width: 80px;
height: 80px;
background-repeat: no-repeat;
2014-06-28 12:35:30 -07:00
background-size: cover;
background-position: center center;
}
2014-06-28 12:35:30 -07:00
.videoPlayerPopupScroller {
overflow-y: auto;
overflow-x: hidden;
max-height: 180px;
}
2014-06-28 12:35:30 -07:00
@media all and (min-height: 500px) {
.videoPlayerPopupScroller {
max-height: 300px;
}
}
2014-06-28 12:35:30 -07:00
@media all and (min-height: 600px) {
.videoPlayerPopupScroller {
max-height: 400px;
}
}