Popularity component

This commit is contained in:
James Barnsley
2018-06-15 19:58:17 +12:00
parent b72c77f4f8
commit 801b132f48
11 changed files with 211 additions and 20 deletions

View File

@ -57,7 +57,7 @@
color: $mid_grey;
position: absolute;
top: 16px;
right: 36px;
right: 40px;
}
:root .notouch:not(.dragging) &:not(.header):not(.no-click).hover {
@ -95,7 +95,7 @@
.col {
&.name {
width: 40%;
width: 38%;
}
&.artists,
&.album {
@ -104,6 +104,9 @@
&.duration {
width: 5%;
}
&.popularity {
width: 3%;
}
}
:root .dragging &.hover,

View File

@ -0,0 +1,19 @@
.popularity-diagram {
display: block;
margin: 0.15em -2px;
text-align: center;
.bar {
display: inline-block;
width: 2px;
height: 0.5em;
margin: 0.25em 1px;
background: $white;
opacity: 0.25;
&.filled {
opacity: 1;
}
}
}