cyp/app/css/player.less
Ondrej Zara 82d1d1a78a volume
2019-04-09 16:08:09 +02:00

52 lines
809 B
Plaintext

#player {
.flex-row;
&: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 {
@size: 96px;
height: @size;
img, .icon {
width: @size;
}
}
h2 {
font-size: 125%;
margin-top: 0;
}
.info {
flex-grow: 1;
overflow: hidden;
}
.title, .subtitle { .long-line; }
.controls {
@icon-margin: 8px;
@icon-size: 32px;
white-space: nowrap;
text-align: center;
.icon {
width: @icon-size;
margin: @icon-margin;
}
[type=range] {
width: 3 * (@icon-size + 2*@icon-margin);
margin: 0;
}
}
.misc {
display: flex;
flex-direction: column;
align-self: stretch;
justify-content: space-around;
.icon { width: 32px; }
}
}