platypush/platypush/backend/http/webapp/src/components/panels/Music/track.scss

85 lines
1.1 KiB
SCSS

.track {
display: flex;
justify-content: center;
padding: .75em .25em .25em .25em;
box-shadow: 0 2.5px 2px -1px $default-shadow-color;
cursor: pointer;
&:hover {
background: $hover-bg;
}
&.active {
background: $active-bg;
}
&.selected {
background: $selected-bg;
}
&.dragover {
border-top: 2px solid $default-hover-fg;
}
&::selection {
background: rgba(0, 0, 0, 0) !important;
}
.title {
font-size: 1em;
font-weight: normal;
margin: 0;
}
.artist, .album {
display: inline-flex;
font-size: .9em;
}
.artist {
opacity: 0.85;
}
.album {
opacity: 0.7;
}
.artist {
margin-right: .25em;
font-weight: bold;
}
.album {
@include until($tablet) {
display: none;
}
&::before {
content: "\2022";
margin-right: .25em;
}
}
.right-side {
display: flex;
justify-content: flex-end;
}
.duration,
.actions {
display: inline-flex;
align-items: center;
}
.duration {
font-size: .85em;
opacity: .7;
}
.actions {
:deep(button) {
opacity: .7;
}
}
}