jellyfin-web/dashboard-ui/css/nowplayingbar.css

273 lines
5.1 KiB
CSS
Raw Normal View History

2015-12-14 08:43:03 -07:00
.nowPlayingText {
display: inline-block;
position: relative;
top: -7px;
margin: 0 0 0 3px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
text-align: left;
max-width: 130px;
}
.mediaButton.infoButton {
width: 34px;
height: 34px;
}
.mediaButton.active {
color: #52B54B;
}
@media (min-width: 500px) {
.nowPlayingText {
max-width: 180px;
}
}
@media (min-width: 600px) {
.nowPlayingText {
max-width: 200px;
}
}
@media (min-width: 800px) {
.nowPlayingText {
margin-right: 30px;
}
}
.mediaButton img {
height: 24px;
}
.currentTime {
display: inline-block;
vertical-align: middle;
max-width: 110px;
margin-right: 2em;
font-weight: normal;
}
/* Now playing bar */
2015-06-27 12:53:36 -07:00
.nowPlayingBar {
2015-12-14 08:43:03 -07:00
position: fixed;
bottom: 0;
left: 0;
right: 0;
/* Above everything, except for the video player and popup overlays */
z-index: 1097;
color: #fff;
2016-07-23 11:10:22 -07:00
background-color: #1C1C1F;
2015-06-27 12:53:36 -07:00
text-align: center;
2015-12-14 08:43:03 -07:00
display: flex;
flex-direction: row;
align-items: center;
2016-06-16 06:16:50 -07:00
box-shadow: 0 -2px 2px 0 rgba(0,0,0,.14),-1px 5px 1px rgba(0,0,0,.12);
2015-06-27 12:53:36 -07:00
}
2015-06-27 16:18:09 -07:00
.hiddenNowPlayingBar .nowPlayingBar {
2015-07-26 14:02:23 -07:00
display: none !important;
2015-06-27 16:18:09 -07:00
}
2015-06-27 12:53:36 -07:00
.mediaButton, .nowPlayingBarUserDataButtons .btnUserItemRating {
vertical-align: middle;
color: #e8e8e8;
margin: 0;
text-align: center;
}
2016-06-14 20:12:32 -07:00
.mediaButton i {
height: 40px;
width: 40px;
font-size: 40px;
}
2015-07-26 14:02:23 -07:00
2016-06-14 20:12:32 -07:00
.mediaButton.remoteControlButton i, .mediaButton.muteButton i, .mediaButton.unmuteButton i, .mediaButton.castButton i, .mediaButton.infoButton i {
height: 28px;
width: 28px;
font-size: 28px;
2015-07-26 14:02:23 -07:00
}
2015-06-27 12:53:36 -07:00
.nowPlayingImage {
display: inline-block;
vertical-align: middle;
margin-right: 1em;
}
.nowPlayingImage img {
vertical-align: bottom;
}
.nowPlayingBar, .nowPlayingImage img {
2016-07-23 11:10:22 -07:00
height: 70px;
2015-06-27 12:53:36 -07:00
}
.nowPlayingBar .nowPlayingImage {
2016-07-23 11:10:22 -07:00
width: 70px;
height: 70px;
background-position: center center;
background-repeat: no-repeat;
2016-02-06 13:31:41 -07:00
background-size: contain;
}
2016-02-05 10:04:46 -07:00
2015-06-27 12:53:36 -07:00
.nowPlayingBarText {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
text-align: left;
max-width: 130px;
}
2015-07-26 14:02:23 -07:00
.repeatActive {
2015-09-27 18:50:11 -07:00
color: #52B54B;
2015-07-26 14:02:23 -07:00
}
2015-06-27 12:53:36 -07:00
@media (min-width: 500px) {
.nowPlayingBarText {
max-width: 180px;
}
}
@media (min-width: 600px) {
.nowPlayingBarText {
max-width: 200px;
}
}
@media (min-width: 700px) {
.nowPlayingBarText {
max-width: 240px;
}
}
@media (min-width: 800px) {
.nowPlayingBarText {
max-width: 300px;
2015-06-27 16:18:09 -07:00
margin-right: 30px;
2015-06-27 12:53:36 -07:00
}
}
2015-06-27 16:18:09 -07:00
@media (min-width: 900px) {
2015-06-27 12:53:36 -07:00
.nowPlayingBarText {
2015-06-27 16:18:09 -07:00
max-width: 400px;
2015-06-27 12:53:36 -07:00
}
}
.nowPlayingBarCenter {
vertical-align: middle;
text-align: center;
2016-07-23 11:10:22 -07:00
margin-top: 7px;
2015-09-14 21:31:12 -07:00
/* Need this to make sure it's on top of nowPlayingBarPositionContainer so that buttons are fully clickable */
z-index: 2;
2015-12-14 08:43:03 -07:00
position: absolute;
left: 200px;
right: 200px;
2015-12-14 08:43:03 -07:00
top: 0;
2015-06-27 12:53:36 -07:00
}
.nowPlayingBarPositionContainer {
2016-06-13 12:02:48 -07:00
position: absolute !important;
2016-07-23 11:10:22 -07:00
left: 70px;
2016-06-13 12:02:48 -07:00
top: -8px;
2015-06-27 12:53:36 -07:00
right: 0;
z-index: 1;
}
2016-07-23 11:10:22 -07:00
.nowPlayingBarPositionContainer .mdl-slider__background-upper {
background: #333;
}
2015-06-27 16:18:09 -07:00
.noMediaProgress .nowPlayingBarPositionContainer {
display: none;
}
2015-06-27 12:53:36 -07:00
.nowPlayingBarRight {
2015-12-14 08:43:03 -07:00
position: relative;
margin: 0 1em 0 auto;
2015-09-14 21:31:12 -07:00
/* Need this to make sure it's on top of nowPlayingBarPositionContainer so that buttons are fully clickable */
z-index: 2;
2016-06-14 20:12:32 -07:00
display: flex;
align-items: center;
2015-06-27 12:53:36 -07:00
}
.nowPlayingBarCurrentTime {
vertical-align: middle;
font-weight: normal;
text-align: center;
display: inline-block;
margin: 0 auto;
padding-left: 50px;
}
2016-06-13 12:02:48 -07:00
.nowPlayingBarVolumeSliderContainer {
2015-12-14 08:43:03 -07:00
margin-right: 2em;
2015-06-27 12:53:36 -07:00
}
.nowPlayingBarUserDataButtons {
display: inline-block;
margin-left: 2em;
margin-right: 2em;
}
2016-01-11 09:51:53 -07:00
@media all and (max-width: 1400px) {
2015-06-27 12:53:36 -07:00
.nowPlayingBarUserDataButtons {
display: none;
}
}
2016-01-11 09:51:53 -07:00
@media all and (max-width: 1100px) {
2015-06-27 12:53:36 -07:00
2016-06-13 12:02:48 -07:00
.nowPlayingBarVolumeSliderContainer, .nowPlayingBar .muteButton, .nowPlayingBar .unmuteButton {
2015-06-27 12:53:36 -07:00
display: none !important;
}
2016-01-11 09:51:53 -07:00
}
@media all and (max-width: 1000px) {
2015-06-27 12:53:36 -07:00
.nowPlayingBar .playlistButton {
display: none !important;
}
}
@media all and (max-width: 800px) {
.nowPlayingBarCurrentTime {
2015-07-01 08:47:41 -07:00
padding-left: 0;
2015-12-14 08:43:03 -07:00
top: 22px;
right: 140px;
2015-09-14 21:31:12 -07:00
position: absolute;
2015-06-27 12:53:36 -07:00
}
.nowPlayingBarCenter > *:not(.nowPlayingBarCurrentTime) {
display: none !important;
}
2015-07-26 14:02:23 -07:00
.toggleRepeatButton {
display: none;
}
2015-06-27 12:53:36 -07:00
}
@media all and (min-width: 800px) {
.nowPlayingBarRight .pauseButton {
display: none;
}
.nowPlayingBarRight .unpauseButton {
display: none;
}
}
2015-07-01 08:47:41 -07:00
@media all and (max-width: 600px) {
.nowPlayingBarCurrentTime {
display: none;
}
}