audio-vis/raw/scss/_playlist.scss

82 lines
1.3 KiB
SCSS
Raw Normal View History

2020-08-01 21:51:54 +02:00
playlist {
display: flex;
flex-direction: column;
div {
padding: unset;
position: unset;
}
2020-08-07 19:31:30 +02:00
.playlist-content {
h1 {
padding: 0 1em;
}
}
2020-08-01 21:51:54 +02:00
.pagination {
display: flex;
justify-content: flex-end;
font-size: 1.5em;
padding: 5px;
.current {
font-size: .9em;
}
2020-08-01 21:51:54 +02:00
.item {
cursor: pointer;
user-select: none;
border-radius: 5px;
margin: 0 3px;
display: flex;
align-items: center;
2020-08-01 21:51:54 +02:00
&.inactive {
color: #aaa;
pointer-events: none;
cursor: not-allowed;
}
&:hover {
color: $primary;
2020-08-01 21:51:54 +02:00
}
}
}
.playlist-item {
display: flex;
padding: 5px;
box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, .08);
2020-08-01 21:51:54 +02:00
cursor: pointer;
transition: .5s;
&.active {
background-color: rgba(0, 0, 0, .2);
.playlist-item-title {
&:before {
content: '🔊 ';
padding-right: 5px;
}
}
}
2020-08-01 21:51:54 +02:00
&-title {
margin-left: 10px;
padding: 5px;
display: flex;
align-items: center;
}
&-number {
padding: 5px 10px 5px 5px;
width: 50px;
2020-08-06 23:44:37 +02:00
display: flex;
align-items: center;
2020-08-01 21:51:54 +02:00
}
&:hover {
background-color: rgba(0, 0, 0, .4);
}
}
}