1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

player bar appearance

This commit is contained in:
Fedor Katurov 2019-10-15 16:29:49 +07:00
parent 794318ed80
commit 87b9b5f514
6 changed files with 118 additions and 16 deletions

View file

@ -1,6 +1,6 @@
.place {
position: relative;
height: 54px;
height: 64px;
flex: 0 1 500px;
display: flex;
@ -13,29 +13,30 @@
.wrap {
display: flex;
border-radius: 27px;
border-radius: $radius $radius 0 0;
background: $green_gradient;
align-items: center;
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 5px, inset rgba(255, 255, 255, 0.3) 0 1px,
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 5px, inset rgba(255, 255, 255, 0.3) 1px 1px,
inset rgba(0, 0, 0, 0.3) 0 -1px;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 54px;
height: 64px;
flex-direction: column;
transform: translate(0, 0);
z-index: 3;
min-width: 0;
}
.status {
flex: 0 0 54px;
flex: 0 0 64px;
display: flex;
flex-direction: row;
width: 100%;
position: absolute;
z-index: 1;
height: 54px;
height: 64px;
}
.playpause,
@ -60,3 +61,50 @@
height: 24px;
}
}
.info {
display: flex;
min-width: 0;
align-items: center;
justify-content: center;
padding: 10px;
flex-direction: column;
}
.title {
color: #222222;
font: $font_14_semibold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}
.progress {
position: relative;
height: 20px;
width: 100%;
cursor: pointer;
&::after {
content: ' ';
top: 9px;
left: 0;
width: 100%;
height: 2px;
background: #222222;
position: absolute;
border-radius: 2px;
opacity: 0.5;
}
}
.bar {
top: 7px;
left: 0;
width: 100%;
height: 6px;
background: #222222;
position: absolute;
border-radius: 2px;
}