mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update remotecontrol.css
This commit is contained in:
parent
b1af60a0c3
commit
d3d34eec73
1 changed files with 240 additions and 36 deletions
|
@ -36,8 +36,32 @@
|
||||||
margin: 0 0 0.5em 0.5em;
|
margin: 0 0 0.5em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nowPlayingAlbum a {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingArtist a {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingButtonsContainer {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingInfoContainerMedia {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingPositionSlider {
|
||||||
|
width: -moz-available; /* Mozilla-based browsers will ignore this. */
|
||||||
|
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
|
||||||
|
width: fill-available;
|
||||||
|
}
|
||||||
|
|
||||||
.nowPlayingPositionSliderContainer {
|
.nowPlayingPositionSliderContainer {
|
||||||
margin: 0.7em 0 0.7em 1em;
|
margin: 0.2em 1em 0.2em 1em;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingInfoButtons {
|
.nowPlayingInfoButtons {
|
||||||
|
@ -60,16 +84,43 @@
|
||||||
|
|
||||||
.nowPlayingPageImageContainer {
|
.nowPlayingPageImageContainer {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
margin-right: 0.25em;
|
margin-right: 1em;
|
||||||
position: relative;
|
position: relative;
|
||||||
-webkit-flex-shrink: 0;
|
-webkit-flex-shrink: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 50em) {
|
.nowPlayingPageImageContainerNoAlbum {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
background-color: #5ccea9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingPageImageContainerNoAlbum:after {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
padding-bottom: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnPlayPause {
|
||||||
|
font-size: xx-large;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 27em) {
|
||||||
.nowPlayingPageImageContainer {
|
.nowPlayingPageImageContainer {
|
||||||
width: 16%;
|
width: 16%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nowPlayingPageUserDataButtonsTitle {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingPageImage {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingInfoControls {
|
.nowPlayingInfoControls {
|
||||||
|
@ -87,10 +138,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingPageImage {
|
.nowPlayingPageImage {
|
||||||
|
display: block;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 100%;
|
/* width: 100%; */
|
||||||
-webkit-box-shadow: 0 0 1.9vh #000;
|
-webkit-box-shadow: 0 0 1.9vh #000;
|
||||||
box-shadow: 0 0 1.9vh #000;
|
box-shadow: 0 0 1.9vh #000;
|
||||||
border: 0.1em solid #222;
|
border: 0.1em solid #222;
|
||||||
|
@ -102,7 +154,24 @@
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (orientation: portrait) and (max-width: 50em) {
|
.contextMenuList {
|
||||||
|
padding: 1.5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contextMenuList i.listItemIcon {
|
||||||
|
font-size: x-large;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (orientation: portrait) and (max-width: 47em) {
|
||||||
|
|
||||||
|
.remoteControlContent {
|
||||||
|
padding-left: 7.3% !important;
|
||||||
|
padding-right: 7.3% !important;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.nowPlayingInfoContainer {
|
.nowPlayingInfoContainer {
|
||||||
-webkit-box-orient: vertical !important;
|
-webkit-box-orient: vertical !important;
|
||||||
-webkit-box-direction: normal !important;
|
-webkit-box-direction: normal !important;
|
||||||
|
@ -111,43 +180,182 @@
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
flex-flow: column;
|
||||||
|
height: calc(100% - 4.2em);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingPageTitle {
|
.nowPlayingPageTitle {
|
||||||
text-align: center;
|
/* text-align: center; */
|
||||||
margin: 0.5em 0 0.75em;
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingInfoContainerMedia {
|
||||||
|
text-align: left !important;
|
||||||
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingPositionSliderContainer {
|
.nowPlayingPositionSliderContainer {
|
||||||
margin: 0.7em 1em;
|
margin: 0.2em 1em 0.2em 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingInfoButtons {
|
.nowPlayingInfoButtons {
|
||||||
|
/* margin: 1.5em 0 0 0; */
|
||||||
-webkit-box-pack: center;
|
-webkit-box-pack: center;
|
||||||
-webkit-justify-content: center;
|
-webkit-justify-content: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
font-size: x-large;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingPageImageContainer {
|
.nowPlayingPageImageContainer {
|
||||||
width: auto;
|
width: 100%;
|
||||||
margin-right: 0;
|
margin: auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nowPlayingPageImageContainerNoAlbum .cardImageContainer .cardImageIcon {
|
||||||
|
font-size: 15em;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.nowPlayingInfoControls {
|
.nowPlayingInfoControls {
|
||||||
margin-top: 1em;
|
margin: 1em 0 1em 0;
|
||||||
max-width: 100%;
|
width: 100%;
|
||||||
|
-webkit-box-pack: start !important;
|
||||||
|
-webkit-justify-content: start !important;
|
||||||
|
justify-content: start !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingSecondaryButtons {
|
||||||
|
/* margin: 1em 0 1em 0; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingInfoControls .nowPlayingPageUserDataButtonsTitle {
|
||||||
|
width: 20%;
|
||||||
|
font-size: large;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingInfoControls .nowPlayingPageUserDataButtonsTitle button {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
float: right;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingInfoButtons .btnRewind {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
padding-left: 7.3%;
|
||||||
|
font-size: smaller
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingInfoButtons .btnFastForward {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
padding-right: 7.3%;
|
||||||
|
font-size: smaller
|
||||||
|
}
|
||||||
|
|
||||||
|
.paper-icon-button-light:hover {
|
||||||
|
color: #fff !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnPlayPause:hover {
|
||||||
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingPageImage {
|
.nowPlayingPageImage {
|
||||||
width: auto;
|
/* width: inherit; */
|
||||||
height: 36vh;
|
overflow-y: hidden;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
.nowPlayingPageImage.nowPlayingPageImageAudio {
|
||||||
@media all and (orientation: portrait) and (max-width: 40em) {
|
width: 100%;
|
||||||
.nowPlayingPageImage {
|
|
||||||
height: 30vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nowPlayingPageImageContainer.nowPlayingPageImagePoster {
|
||||||
|
height: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nowPlayingPageImageContainer.nowPlayingPageImagePoster img{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nowPlayingPage .playlistSection {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#nowPlayingPage .playlistSection .playlist,
|
||||||
|
#nowPlayingPage .playlistSection .contextMenu {
|
||||||
|
position: absolute;
|
||||||
|
top: 12.2em;
|
||||||
|
bottom: 4.2em;
|
||||||
|
overflow: scroll;
|
||||||
|
padding: 0 1em;
|
||||||
|
display: inline-block;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
background: #202020;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playlistSectionButton {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 4.2em;
|
||||||
|
right: 0;
|
||||||
|
padding-left: 7.3%;
|
||||||
|
padding-right: 7.3%;
|
||||||
|
background-color: #101010;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnPlayPause {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playlistSectionButton .btnTooglePlaylist {
|
||||||
|
font-size: larger;
|
||||||
|
margin: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playlistSectionButton .btnSavePlaylist {
|
||||||
|
margin: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-webkit-flex-grow: 1;
|
||||||
|
flex-grow: 1;
|
||||||
|
-webkit-box-pack: end;
|
||||||
|
-webkit-justify-content: flex-end;
|
||||||
|
justify-content: flex-end;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.playlistSectionButton .btnToogleContextMenu {
|
||||||
|
font-size: larger;
|
||||||
|
margin: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-webkit-flex-grow: 1;
|
||||||
|
flex-grow: 1;
|
||||||
|
-webkit-box-pack: end;
|
||||||
|
-webkit-justify-content: flex-end;
|
||||||
|
justify-content: flex-end;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.remoteControlSection {
|
||||||
|
margin: 4.2em 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nowPlayingTime {
|
.nowPlayingTime {
|
||||||
|
@ -172,7 +380,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 50em) {
|
@media all and (min-width: 47em) {
|
||||||
.nowPlayingSecondaryButtons {
|
.nowPlayingSecondaryButtons {
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
-webkit-flex-grow: 1;
|
-webkit-flex-grow: 1;
|
||||||
|
@ -181,6 +389,7 @@
|
||||||
-webkit-justify-content: flex-end;
|
-webkit-justify-content: flex-end;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 80em) {
|
@media all and (min-width: 80em) {
|
||||||
|
@ -214,26 +423,21 @@
|
||||||
width: 9em;
|
width: 9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 50em) {
|
@media all and (max-width: 47em) {
|
||||||
.nowPlayingInfoButtons .nowPlayingPageUserDataButtons {
|
.nowPlayingSecondaryButtons .nowPlayingPageUserDataButtons,
|
||||||
|
.nowPlayingSecondaryButtons .repeatToggleButton,
|
||||||
|
.nowPlayingInfoButtons .playlist .listItemMediaInfo,
|
||||||
|
.nowPlayingInfoButtons .btnStop {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigationSection .collapseContent i {
|
.navigationSection .collapseContent i {
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
.nowPlayingButtonsContainer {
|
||||||
@media all and (max-width: 47em) {
|
display: block;
|
||||||
.nowPlayingInfoButtons .repeatToggleButton {
|
height: 100%;
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (max-width: 34em) {
|
|
||||||
.nowPlayingInfoButtons .btnNowPlayingFastForward,
|
|
||||||
.nowPlayingInfoButtons .btnNowPlayingRewind,
|
|
||||||
.nowPlayingInfoButtons .playlist .listItemMediaInfo {
|
|
||||||
display: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue