cyp/app/css/player.less
2019-04-10 14:37:02 +02:00

52 lines
741 B
Text

#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: 0;
}
.info {
flex-grow: 1;
align-self: stretch;
overflow: hidden;
.flex-column;
justify-content: space-evenly;
}
.title, .subtitle { .long-line; }
progress {
width: 100%;
}
.controls {
.flex-row;
.icon {
width: 32px;
margin: 8px;
}
}
.misc {
display: flex;
flex-direction: column;
align-self: stretch;
justify-content: space-around;
.icon { width: 32px; }
}
}