update video player osd

This commit is contained in:
Luke Pulverenti 2015-05-13 23:24:25 -04:00
parent 547493024a
commit af129fb92d
7 changed files with 251 additions and 44 deletions

View file

@ -74,9 +74,8 @@
}
.nowPlayingInfo {
text-align: center;
padding: 1em 1em 0 1em;
text-align: center;
padding: 1em 1em 2em 1em;
}
#videoPlayer .nowPlayingImage img {
@ -85,6 +84,56 @@
max-height: 200px;
}
#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;
width: 80%;
font-weight: normal;
font-size: 15px;
}
@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;
font-weight: 500 !important;
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;
}
#videoPlayer .nowPlayingText {
font-weight: normal;
margin: 0 0 0 1em;
@ -96,7 +145,6 @@
vertical-align: top;
position: static;
color: #eee;
max-width: 80%;
}
.videoNowPlayingName {
@ -173,10 +221,10 @@
}
}
@media all and (max-width: 1000px), all and (max-height: 600px) {
@media all and (max-width: 800px), all and (max-height: 600px) {
#mediaPlayer .nowPlayingImage, #mediaPlayer .nowPlayingText {
display: none;
#mediaPlayer .nowPlayingInfo {
display: none !important;
}
}
@ -197,10 +245,14 @@
}
@media all and (min-width: 1300px) {
.nowPlayingInfo {
padding-bottom: 0;
}
#videoPlayer .nowPlayingImage img {
height: auto !important;
max-width: 400px;
max-height: 250px;
max-height: 280px;
}
}