mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
feat: fix play button, and text mobile
This commit is contained in:
parent
d619e695c0
commit
d65292b22f
@ -48,6 +48,13 @@ const stylesheet = `
|
|||||||
color: #c231ab;
|
color: #c231ab;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 767px) {
|
||||||
|
.react-jinke-music-player-main svg {
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@keyframes gradientFlow {
|
@keyframes gradientFlow {
|
||||||
0% { background-position: 0% 50%; }
|
0% { background-position: 0% 50%; }
|
||||||
50% { background-position: 100% 50%; }
|
50% { background-position: 100% 50%; }
|
||||||
@ -62,6 +69,7 @@ a[aria-current="page"] {
|
|||||||
color: #c231ab !important;
|
color: #c231ab !important;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
a[aria-current="page"] .MuiListItemIcon-root {
|
a[aria-current="page"] .MuiListItemIcon-root {
|
||||||
color: #c231ab !important;
|
color: #c231ab !important;
|
||||||
}
|
}
|
||||||
@ -91,6 +99,18 @@ a[aria-current="page"] .MuiListItemIcon-root {
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes backgroundFlow {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
background-position: 100% 50%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Vertical movement, equalizer type */
|
/* Vertical movement, equalizer type */
|
||||||
@keyframes equalizer {
|
@keyframes equalizer {
|
||||||
0%, 100% {
|
0%, 100% {
|
||||||
|
|||||||
@ -55,23 +55,23 @@ const musicListActions = {
|
|||||||
},
|
},
|
||||||
'button:first-child:not(:only-child)': {
|
'button:first-child:not(:only-child)': {
|
||||||
'@media screen and (max-width: 720px)': {
|
'@media screen and (max-width: 720px)': {
|
||||||
transform: 'scale(1.5)',
|
transform: 'scale(1.3)',
|
||||||
margin: '1em',
|
margin: '1em',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
transform: 'scale(1.6) !important',
|
transform: 'scale(1.2) !important',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
transform: 'scale(1.5)',
|
transform: 'scale(1.3)',
|
||||||
margin: '1em',
|
margin: '1em',
|
||||||
minWidth: 0,
|
minWidth: 0,
|
||||||
padding: 5,
|
padding: 5,
|
||||||
transition: 'transform .3s ease',
|
transition: 'transform .3s ease',
|
||||||
background: colors.pink[500],
|
background: colors.pink[500],
|
||||||
color: colors.black,
|
color: `${colors.black} !important`,
|
||||||
borderRadius: 500,
|
borderRadius: 500,
|
||||||
border: 0,
|
border: 0,
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
transform: 'scale(1.6)',
|
transform: 'scale(1.2)',
|
||||||
backgroundColor: `${colors.pink[500]} !important`,
|
backgroundColor: `${colors.pink[500]} !important`,
|
||||||
border: 0,
|
border: 0,
|
||||||
},
|
},
|
||||||
@ -81,6 +81,7 @@ const musicListActions = {
|
|||||||
},
|
},
|
||||||
'button:first-child>span:first-child': {
|
'button:first-child>span:first-child': {
|
||||||
padding: 0,
|
padding: 0,
|
||||||
|
color: `${colors.black} !important`,
|
||||||
},
|
},
|
||||||
'button:first-child>span:first-child>span': {
|
'button:first-child>span:first-child>span': {
|
||||||
display: 'none',
|
display: 'none',
|
||||||
@ -169,14 +170,14 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
color: '#fff',
|
color: colors.white,
|
||||||
paddingRight: '1rem',
|
paddingRight: '1rem',
|
||||||
paddingLeft: '0.7rem',
|
paddingLeft: '0.7rem',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
MuiCardMedia: {
|
MuiCardMedia: {
|
||||||
root: {
|
root: {
|
||||||
boxShadow: '0 2px 32px rgba(0,0,0,0.6), 0px 1px 5px rgba(0,0,0,0.4)',
|
boxShadow: `0 2px 32px rgba(0,0,0,0.5), 0px 1px 5px rgba(0,0,0,0.1)`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
MuiDivider: {
|
MuiDivider: {
|
||||||
@ -244,7 +245,7 @@ export default {
|
|||||||
RaFilter: {
|
RaFilter: {
|
||||||
form: {
|
form: {
|
||||||
'& .MuiOutlinedInput-input:-webkit-autofill': {
|
'& .MuiOutlinedInput-input:-webkit-autofill': {
|
||||||
'-webkit-box-shadow': `0 0 0 100px #28282b inset`,
|
'-webkit-box-shadow': `0 0 0 100px ${colors.gray[50]} inset`,
|
||||||
'-webkit-text-fill-color': colors.white,
|
'-webkit-text-fill-color': colors.white,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -361,7 +362,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
cardContents: {
|
cardContents: {
|
||||||
alignItems: 'center',
|
alignItems: 'flex-start',
|
||||||
},
|
},
|
||||||
coverParent: {
|
coverParent: {
|
||||||
zIndex: '99999',
|
zIndex: '99999',
|
||||||
@ -381,6 +382,10 @@ export default {
|
|||||||
fontSize: '.875rem',
|
fontSize: '.875rem',
|
||||||
color: `rgba(${colors.white}, 0.8)`,
|
color: `rgba(${colors.white}, 0.8)`,
|
||||||
},
|
},
|
||||||
|
content: {
|
||||||
|
paddingBottom: '0px !important',
|
||||||
|
paddingTop: '0px'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
NDAlbumGridView: {
|
NDAlbumGridView: {
|
||||||
albumName: {
|
albumName: {
|
||||||
@ -463,6 +468,7 @@ export default {
|
|||||||
},
|
},
|
||||||
'button:first-child>span:first-child': {
|
'button:first-child>span:first-child': {
|
||||||
padding: 0,
|
padding: 0,
|
||||||
|
color: `${colors.black} !important`,
|
||||||
},
|
},
|
||||||
'button>span:first-child>span, button:not(:first-child)>span:first-child>svg':
|
'button>span:first-child>span, button:not(:first-child)>span:first-child>svg':
|
||||||
{
|
{
|
||||||
@ -477,13 +483,16 @@ export default {
|
|||||||
NDAudioPlayer: {
|
NDAudioPlayer: {
|
||||||
audioTitle: {
|
audioTitle: {
|
||||||
color: colors.white,
|
color: colors.white,
|
||||||
fontSize: '0.875rem',
|
fontSize: '1.5rem',
|
||||||
|
'& span:nth-child(3)': {
|
||||||
|
fontSize: '0.8rem',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
songTitle: {
|
songTitle: {
|
||||||
fontWeight: 400,
|
fontWeight: 900,
|
||||||
},
|
},
|
||||||
songInfo: {
|
songInfo: {
|
||||||
fontSize: '0.675rem',
|
fontSize: '0.9rem',
|
||||||
color: colors.gray[100],
|
color: colors.gray[100],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -495,7 +504,7 @@ export default {
|
|||||||
},
|
},
|
||||||
NDLogin: {
|
NDLogin: {
|
||||||
main: {
|
main: {
|
||||||
boxShadow: 'inset 0 0 0 2000px rgba(0, 0, 0, .75)',
|
boxShadow: `inset 0 0 0 2000px rgba(${colors.black}, .75)`,
|
||||||
},
|
},
|
||||||
systemNameLink: {
|
systemNameLink: {
|
||||||
color: colors.white,
|
color: colors.white,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user