420 lines
5.8 KiB
SCSS
Executable File
420 lines
5.8 KiB
SCSS
Executable File
|
|
.list {
|
|
.list-item {
|
|
@include clearfix;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
|
|
display: block;
|
|
position: relative;
|
|
margin: 0 -10px -1px -10px;
|
|
padding: 14px 30px 13px 10px;
|
|
border-radius: 3px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
border-top: 1px solid rgba(255,255,255,0.05);
|
|
|
|
&.selected {
|
|
background: rgba(255,255,255,0.08) !important;
|
|
|
|
.select-zone {
|
|
&::after {
|
|
background: $blue;
|
|
border-color: $blue !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.playing {
|
|
color: $turquoise;
|
|
}
|
|
|
|
.select-zone,
|
|
.drag-zone {
|
|
display: none;
|
|
|
|
* {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.context-menu-trigger {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
font-size: 14px;
|
|
z-index: 2;
|
|
|
|
&:before {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.icon.source {
|
|
color: $mid_grey;
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 36px;
|
|
}
|
|
|
|
:root .notouch:not(.dragging) &:not(.header):not(.no-click).hover {
|
|
background: rgba(255,255,255,0.03);
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.header {
|
|
font-size: 10px;
|
|
color: $grey;
|
|
text-transform: uppercase;
|
|
border-top: 0;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
&.field {
|
|
padding: 0 !important;
|
|
|
|
& > label {
|
|
display: block;
|
|
position: relative;
|
|
padding: 12px 10px 12px 20px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.uri-placeholder {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
|
|
&.track-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
|
|
.col {
|
|
&.name {
|
|
width: 40%;
|
|
}
|
|
&.artists,
|
|
&.album {
|
|
width: 25%;
|
|
}
|
|
&.duration {
|
|
width: 5%;
|
|
}
|
|
}
|
|
|
|
:root .dragging &.hover,
|
|
&.touch-drag-hover {
|
|
border-top: 3px solid $blue;
|
|
margin-top: -3px;
|
|
background: transparent;
|
|
}
|
|
|
|
&.has-touch-drag-zone {
|
|
padding-left: 45px;
|
|
|
|
.drag-zone {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 34px;
|
|
font-size: 14px;
|
|
display: block;
|
|
color: $mid_grey;
|
|
|
|
.icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 10px;
|
|
margin-top: -8px;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.playlist-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
|
|
.col {
|
|
&.name {
|
|
width: 50%;
|
|
}
|
|
&.owner {
|
|
width: 20%
|
|
}
|
|
&.source,
|
|
&.can_edit,
|
|
&.tracks_total,
|
|
&.popularity {
|
|
width: 10%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.album-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
|
|
.col {
|
|
&.name,
|
|
&.artists {
|
|
width: 30%;
|
|
}
|
|
&.added_at,
|
|
&.release_date {
|
|
width: 15%;
|
|
}
|
|
&.tracks_total {
|
|
width: 10%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.library-local-album-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
|
|
.col {
|
|
&.name,
|
|
&.artists {
|
|
width: 45%;
|
|
}
|
|
&.tracks_total {
|
|
width: 10%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.artist-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
|
|
.col {
|
|
&.name {
|
|
width: 70%;
|
|
}
|
|
&.followers_total,
|
|
&.popularity {
|
|
width: 15%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.queue-track-list {
|
|
cursor: pointer;
|
|
|
|
.list-item {
|
|
padding-right: 60px;
|
|
.col {
|
|
&.name,
|
|
&.artists,
|
|
&.album {
|
|
width: 25%;
|
|
}
|
|
&.added {
|
|
width: 20%;
|
|
|
|
.by {
|
|
padding-right: 0.25em;
|
|
}
|
|
|
|
.from {
|
|
&:before {
|
|
content: '(';
|
|
display: inline-block;
|
|
}
|
|
&:after {
|
|
content: ')';
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.queue-history-track-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
|
|
.col {
|
|
&.name,
|
|
&.artists,
|
|
&.album {
|
|
width: 25%;
|
|
}
|
|
&.played_at {
|
|
width: 15%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.related-artist-list {
|
|
padding-bottom: 20px;
|
|
cursor: pointer;
|
|
|
|
.artist {
|
|
display: block;
|
|
border: 0;
|
|
margin: 10px 0;
|
|
@include clearfix;
|
|
|
|
.thumbnail {
|
|
@include animate();
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
margin-right: 15px;
|
|
float: left;
|
|
border: 3px solid transparent;
|
|
}
|
|
|
|
.name {
|
|
display: block;
|
|
padding-top: 20px;
|
|
}
|
|
}
|
|
|
|
a.artist:hover {
|
|
.thumbnail {
|
|
border-color: $turquoise;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.library-local-view,
|
|
&.library-local-directory-list {
|
|
.list-item {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
@include responsive($bp_medium){
|
|
|
|
.list-item {
|
|
padding: 12px !important;
|
|
|
|
.source {
|
|
position: static;
|
|
float: none;
|
|
}
|
|
|
|
.context-zone {
|
|
top: 14px;
|
|
}
|
|
|
|
.col {
|
|
&.name {
|
|
width: auto !important;
|
|
padding-right: 10%;
|
|
display: block;
|
|
float: none;
|
|
}
|
|
|
|
&.duration {
|
|
width: auto !important;
|
|
position: absolute;
|
|
right: 10px;
|
|
text-align: right;
|
|
z-index: 1;
|
|
}
|
|
|
|
&:not(.name):not(.duration):not(.album):not(.added){
|
|
color: $mid_grey;
|
|
display: inline;
|
|
width: auto !important;
|
|
float: none !important;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
&.followers_total:after {
|
|
content: ' followers';
|
|
}
|
|
|
|
&.tracks_total:after {
|
|
content: ' tracks';
|
|
}
|
|
|
|
&.popularity:after {
|
|
content: '% popularity';
|
|
}
|
|
|
|
&.album,
|
|
&.can_edit,
|
|
&.release_date {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&.header {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&.queue-track-list {
|
|
.list-item {
|
|
.artists {
|
|
padding-left: 0 !important;
|
|
|
|
&:before {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.source {
|
|
display: none !important;
|
|
}
|
|
|
|
.added {
|
|
width: auto !important;
|
|
float: none !important;
|
|
padding-left: 0.25em;
|
|
|
|
.by,
|
|
.empty {
|
|
display: none;
|
|
}
|
|
|
|
.from {
|
|
@include bullet();
|
|
text-transform: capitalize;
|
|
|
|
&:after {
|
|
display: none !important;
|
|
}
|
|
|
|
.label {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.queue-history-track-list {
|
|
.list-item {
|
|
.source {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.track-list {
|
|
.list-item.can-sort {
|
|
padding-left: 40px !important;
|
|
}
|
|
}
|
|
}
|
|
} |