Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
high qualit indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
trazyn committed Oct 14, 2017
1 parent 50ca8cd commit 60e610e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/js/components/Controller/classes.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,21 @@ export default theme => {
}
},

highquality: {
display: 'inline-block',
padding: '2px 6px',
marginRight: 30,
letterSpacing: 1,
textTransform: 'uppercase',
fontFamily: 'Roboto',
fontSize: 12,
color: colors.pallet.dribbble,
border: `thin solid ${colors.pallet.dribbble}`,
textShadow: `0 0 24px ${colors.pallet.dribbble}`,
transform: 'translateY(-3px)',
zoom: .8,
},

liked: { },

mode: {
Expand Down
10 changes: 10 additions & 0 deletions src/js/components/Controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ class Controller extends Component {
</div>

<div className={classes.action}>
{
(song.data && song.data.isFlac) && (
<span
className={classes.highquality}
title="High Quality Music">
SQ
</span>
)
}

{
hasLogin() && (
<i
Expand Down

0 comments on commit 60e610e

Please sign in to comment.