jellyfin-web/dashboard-ui/css/mediaplayer.css
2014-01-15 17:19:45 -05:00

319 lines
5.5 KiB
CSS

/* Now playing bar */
.nowPlayingBar {
padding: 6px 0 24px 0;
border-top: 2px solid green;
}
.nowPlayingBar .highPosition {
z-index: 99999;
position: relative;
opacity: 0.5;
}
.nowPlayingBar .highPosition:hover:not(.barBackground ) {
opacity: 0.9;
}
.nowPlayingBar .barBackground {
border-top: 2px solid green;
position: absolute;
margin: -8px -0.5em -26px !important;
width: 100%;
height: 100%;
}
.nowPlayingBar > *:not(#mediaElement):not(.mediaFlyoutContainer):not(.barBackground ) {
position: relative;
}
.nowPlayingBarImage {
vertical-align: bottom;
}
.mediaButton {
vertical-align: top;
}
#mediaElement {
display: inline-block;
position: relative;
}
.nowPlayingMediaInfo div {
display: inline-block;
}
.nowPlayingMediaInfo a {
margin-right: .25em;
}
.nowPlayingMediaInfo {
display: inline-block;
}
.nowPlayingText {
position: relative;
top: -3px;
margin-left: 3px;
margin-right: 2em;
font-weight: normal;
}
@media all and (max-width: 650px) {
.nowPlayingMediaInfo {
display: none;
}
}
.mediaButton img {
height: 24px;
}
.itemVideo {
position: absolute;
z-index: 99998;
height: auto;
width: 270px;
bottom: 45px;
border: 1px solid #444;
background: #000;
}
.fullscreenVideo {
position: fixed;
top: 0 !important;
bottom: 0 !important;
right: 0 !important;
left: 0 !important;
width: 100%;
height: 100%;
border: 0;
z-index: 99996;
}
.currentTime {
display: inline-block;
position: relative;
top: -10px;
max-width: 110px;
margin-right: 2em;
font-size: 14px;
font-weight: normal;
}
.mediaSlider {
position: relative;
top: -10px;
width: 50px;
cursor: pointer;
}
.sliderContainer {
display: inline-block;
}
.positionSliderContainer {
width: 130px;
}
.volumeSliderContainer {
width: 90px;
}
.sliderContainer .ui-slider {
margin: 0 !important;
}
.sliderContainer .ui-slider-track {
margin-left: 15px !important;
}
.highPosition .ui-slider-track {
z-index: 100000;
}
.volumeSliderContainer .ui-slider-track {
margin-left: 5px !important;
}
.volumeButton {
margin-right: .5em!important;
}
::-ms-thumb {
background-image: linear-gradient(#fefefe,#dddddd);
width: 15px;
}
::-ms-track {
padding: 0;
border: 0;
color: #777;
}
input[type="range"]::-ms-fill-lower {
background-color: #777;
}
input[type="range"]::-ms-fill-upper {
background-color: #777;
}
::-ms-tooltip {
display: none; /* display and visibility only */
}
@media all and (max-width: 800px) {
.volumeButton, .volumeSliderContainer, .muteButton, .unmuteButton, .nowPlayingMediaInfo {
display: none!important;
}
}
@media all and (max-width: 600px) {
.chaptersButton, .audioTracksButton, .sendMediaButton {
display: none!important;
}
.positionSliderContainer, .currentTime {
top: 0!important;
position: relative!important;
}
}
@media all and (max-width: 500px) {
.positionSliderContainer {
width: 80px;
}
.previousTrackButton, .nextTrackButton {
display: none!important;
}
}
@media all and (max-width: 400px) {
.playlistButton {
display: none!important;
}
}
.mediaFlyoutContainer {
display: inline-block;
}
.mediaPlayerFlyout {
width: 200px;
color: #000;
background-color: #fff;
border: 1px solid #999;
position: absolute;
z-index: 99999;
bottom: 78px;
margin-left: -50px;
max-height: 300px;
overflow-y: auto;
font-size: 13px;
}
.chaptersFlyout {
width: 250px;
}
.audioTracksFlyout {
width: 250px;
}
.mediaFlyoutOption {
display: block;
text-decoration: none;
color: #000;
border-bottom: 1px solid #eee;
cursor: pointer;
}
.mediaFlyoutOption:hover, .mediaFlyoutOption:focus {
background-color: #eee;
}
.selectedMediaFlyoutOption {
background-color: #d9F4FF;
background-image: url(images/media/selected.png);
background-repeat: no-repeat;
background-position: right top;
background-size: 16px 16px;
}
.mediaFlyoutOptionImage {
display: inline-block;
width: 15%;
vertical-align: middle;
}
.mediaFlyoutOptionImage + .mediaFlyoutOptionContent {
vertical-align: top;
display: inline-block;
width: 85%;
}
.chaptersFlyout .mediaFlyoutOptionImage {
width: 40%;
}
.chaptersFlyout .mediaFlyoutOptionImage + .mediaFlyoutOptionContent {
width: 60%;
}
.mediaFlyoutOptionName {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding-left: 5px;
font-size: 13px;
font-weight: normal;
}
.mediaFlyoutOptionSecondaryText {
font-size: 13px;
color: #333;
font-weight: normal;
margin-top: 3px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding-left: 5px;
}
@media (min-width: 750px) {
.itemVideo:not(.fullscreenVideo) {
width: 320px;
}
}
@media (min-width: 1200px) {
.itemVideo:not(.fullscreenVideo) {
width: 320px;
}
}
@media (min-width: 1440px) {
.itemVideo:not(.fullscreenVideo) {
width: 400px;
}
.positionSliderContainer {
width: 300px;
}
}
@media (min-width: 1700px) {
.itemVideo:not(.fullscreenVideo) {
width: 500px;
}
}
@media (min-width: 2400px) {
.itemVideo:not(.fullscreenVideo) {
width: 550px;
}
}