add design to queue
This commit is contained in:
17
src/assets/scss/5-modules/queue.scss
Normal file
17
src/assets/scss/5-modules/queue.scss
Normal file
@ -0,0 +1,17 @@
|
||||
/* ----------------------------------------------------------- */
|
||||
/* == track queue module */
|
||||
/* ----------------------------------------------------------- */
|
||||
|
||||
.queue__section {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.queue__sectionTitle {
|
||||
margin: 0;
|
||||
margin-bottom: 1rem;
|
||||
color: rgba($color-primary, .8);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .03rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.2em;
|
||||
}
|
63
src/assets/scss/5-modules/track.scss
Normal file
63
src/assets/scss/5-modules/track.scss
Normal file
@ -0,0 +1,63 @@
|
||||
/* ----------------------------------------------------------- */
|
||||
/* == track module */
|
||||
/* ----------------------------------------------------------- */
|
||||
|
||||
.track {
|
||||
position: relative;
|
||||
display: flex;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.track--active::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: calc(50% - .5rem);
|
||||
left: -2.1rem;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
background: no-repeat url("/assets/img/playbar.svg");
|
||||
background-position: left center;
|
||||
background-size: 1rem 1rem;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.track__main {
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.track__title {
|
||||
overflow: hidden;
|
||||
color: $color-secondary;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 14px;
|
||||
line-height: 1.14em;
|
||||
}
|
||||
|
||||
.track--active .track__title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.track__subtitle {
|
||||
margin-top: .2rem;
|
||||
color: $color-grey-1;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.track__menu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
margin-right: -1rem;
|
||||
margin-left: 1rem;
|
||||
padding: 1rem;
|
||||
border: none;
|
||||
background: none;
|
||||
color: $color-primary;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.track__menu svg {
|
||||
width: 2rem;
|
||||
}
|
Reference in New Issue
Block a user