cyp/app/css/elements/song.less
Ondrej Zara 0e2a9da895
cleanup
2020-03-17 22:11:55 +01:00

46 lines
714 B
Text

cyp-song {
.item;
.multiline {
.flex-column;
min-width: 0; // bez tohoto se odmita zmensit
.subtitle { .ellipsis; }
}
cyp-queue & {
> .icon {
width: 32px;
margin-right: 8px;
}
.track { display: none; }
&:not(.playing) > .icon-play, &.playing > .icon-music {
display: none;
}
&.playing {
> .icon { color: var(--primary) }
&::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
background-color: var(--primary);
width: calc(100% * var(--progress, 0));
height: var(--border-width);
}
}
}
cyp-library & {
padding-left: 0;
padding-top: 0;
padding-bottom: 0;
> .icon { width: 64px;}
> .icon-play { display: none; }
}
}