cyp/app/css/player.less

11 lines
300 B
Text
Raw Normal View History

2019-03-21 17:32:58 +08:00
#player {
2019-03-22 23:17:10 +08:00
display: flex;
flex-direction: row;
2019-03-21 17:32:58 +08:00
2019-03-22 23:17:10 +08:00
.art img { vertical-align: top; }
.info { flex-grow: 1; }
2019-03-22 22:35:04 +08:00
2019-03-22 23:17:10 +08:00
&:not([data-state=play]) .pause { display: none; }
&[data-state=play] .play { display: none; }
2019-03-22 22:35:04 +08:00
&:not([data-flags~=random]) .random, &:not([data-flags~=repeat]) .repeat { opacity: 0.5; }
2019-03-21 17:32:58 +08:00
}