2023-07-01 13:05:59 +00:00
|
|
|
.allTracks {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playerHeader {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.playerTitle {
|
|
|
|
max-width: 50%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.playerControls {
|
|
|
|
display: flex;
|
|
|
|
min-width: 160px;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
& > button {
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
.playButton {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-07-01 13:05:59 +00:00
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
background: #141414;
|
2023-07-01 13:05:59 +00:00
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
& img {
|
|
|
|
width: 14px;
|
|
|
|
height: auto;
|
|
|
|
}
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.playButtonInvertPause img {
|
|
|
|
filter: invert(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.playButtonInvertPlay img {
|
|
|
|
filter: brightness(130%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.controlsButton {
|
|
|
|
margin-left: 19px;
|
|
|
|
|
|
|
|
& img {
|
|
|
|
width: 15px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.controlsButtonNext {
|
|
|
|
margin-left: 26px;
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.volumeButton {
|
|
|
|
margin-left: 23px;
|
|
|
|
|
|
|
|
& img {
|
|
|
|
width: 18px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 28px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
border-bottom: 2px solid #cccccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressFilled {
|
|
|
|
position: absolute;
|
2023-07-14 13:06:21 +00:00
|
|
|
top: -1px;
|
|
|
|
left: 0;
|
2023-07-01 13:05:59 +00:00
|
|
|
z-index: 2;
|
|
|
|
box-sizing: border-box;
|
2023-07-14 13:06:21 +00:00
|
|
|
border-bottom: 4px solid var(--default-color);
|
|
|
|
transition: width 0.3s linear;
|
2023-07-01 13:05:59 +00:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2023-07-14 13:06:21 +00:00
|
|
|
bottom: -10px;
|
2023-07-01 13:05:59 +00:00
|
|
|
right: -8px;
|
|
|
|
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
border-radius: 50%;
|
2023-07-14 13:06:21 +00:00
|
|
|
border: 4px solid var(--default-color);
|
|
|
|
background-color: var(--background-color);
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressTiming {
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 14px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 16px;
|
|
|
|
letter-spacing: 0.003em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.volumeContainer {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-07-18 11:26:32 +00:00
|
|
|
$vendors-track: ('::-webkit-slider-runnable-track', '::-moz-range-track', '::-ms-track');
|
|
|
|
$vendors-thumb: ('::-webkit-slider-thumb', '::-moz-moz-range-thumb', '::-ms-thumb');
|
2023-07-01 13:05:59 +00:00
|
|
|
|
2023-07-18 11:26:32 +00:00
|
|
|
.volume {
|
2023-07-01 13:05:59 +00:00
|
|
|
-webkit-appearance: none;
|
2023-07-18 11:26:32 +00:00
|
|
|
height: 19px;
|
|
|
|
float: left;
|
|
|
|
outline: none;
|
|
|
|
border: 2px solid black;
|
|
|
|
padding: 16px 8px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 60px;
|
|
|
|
left: -21px;
|
|
|
|
width: 100px;
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
background: var(--background-color);
|
|
|
|
|
|
|
|
@each $vendor in $vendors-track {
|
|
|
|
&#{$vendor} {
|
|
|
|
width: 100%;
|
|
|
|
height: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
background: var(--background-color-invert);
|
|
|
|
}
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
|
2023-07-18 11:26:32 +00:00
|
|
|
@each $vendor in $vendors-thumb {
|
|
|
|
&#{$vendor} {
|
|
|
|
position: relative;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
box-sizing: content-box;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 4px solid var(--default-color);
|
|
|
|
background-color: var(--background-color);
|
|
|
|
cursor: pointer;
|
|
|
|
margin: -7px 0 0 0;
|
|
|
|
}
|
|
|
|
&:active#{$vendor} {
|
|
|
|
transform: scale(1.2);
|
|
|
|
background: var(--background-color);
|
|
|
|
}
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
|
2023-07-18 11:26:32 +00:00
|
|
|
&::-moz-range-progress {
|
|
|
|
background-color: var(--background-color);
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
2023-07-18 11:26:32 +00:00
|
|
|
&::-moz-focus-outer {
|
|
|
|
border: 0;
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.playlist {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
list-style-type: none;
|
2023-07-14 13:06:21 +00:00
|
|
|
margin: 32px 0 16px;
|
2023-07-01 13:05:59 +00:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
& > li {
|
|
|
|
border-top: 1px solid #e9e9ee;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.playlistItem {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
min-height: 56px;
|
|
|
|
padding: 16px 0;
|
|
|
|
}
|
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
.description {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-07-01 13:05:59 +00:00
|
|
|
.playlistItemPlayButton {
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 14px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
.playlistItemText {
|
|
|
|
@include font-size(1.6rem);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex: 1;
|
2023-07-01 13:05:59 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2023-07-14 13:06:21 +00:00
|
|
|
margin: 0 16px;
|
|
|
|
gap: 16px;
|
|
|
|
color: var(--default-color);
|
|
|
|
|
|
|
|
.artist,
|
|
|
|
.title {
|
|
|
|
@include font-size(1.6rem);
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: calc(50% - 16px);
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
2023-07-01 13:05:59 +00:00
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--secondary-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.playlistItemControls {
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playlistItemDuration {
|
|
|
|
margin-left: 22px;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 22px;
|
|
|
|
letter-spacing: -0.01em;
|
2023-07-14 13:06:21 +00:00
|
|
|
color: var(--default-color);
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.timelinePlaceholder {
|
|
|
|
width: 100%;
|
|
|
|
height: 67px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playerHeaderPlaceholder {
|
|
|
|
width: 100%;
|
|
|
|
height: 67px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playlistPlaceholder {
|
|
|
|
width: 100%;
|
|
|
|
height: 67px;
|
|
|
|
}
|
|
|
|
|
2023-07-14 13:06:21 +00:00
|
|
|
.actions {
|
2023-07-01 13:05:59 +00:00
|
|
|
margin-left: auto;
|
2023-07-14 13:06:21 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.descriptionBlock {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 16px;
|
|
|
|
padding: 8px 0 24px 0;
|
|
|
|
|
|
|
|
.description,
|
|
|
|
.lyrics {
|
|
|
|
@include font-size(1.4rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
& > textarea::placeholder {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
2023-07-01 13:05:59 +00:00
|
|
|
}
|