cyp/app/css/player.less
Ondrej Zara f8442348ad icons
2019-03-28 22:52:57 +01:00

33 lines
602 B
Plaintext

#player {
display: flex;
flex-direction: row;
align-items: center;
&:not([data-state=play]) .pause { display: none; }
&[data-state=play] .play { display: none; }
&:not([data-flags~=random]) .random, &:not([data-flags~=repeat]) .repeat { opacity: 0.5; }
.art img { vertical-align: top; }
.info {
flex-grow: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.controls {
white-space: nowrap;
text-align: center;
.icon { width: 64px; }
}
.misc {
display: flex;
flex-direction: column;
@size: 96px / 2;
width: @size;
.icon { width: @size; }
}
}