164 lines
2.9 KiB
SCSS
164 lines
2.9 KiB
SCSS
.ucap-sound-viewer-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.ucap-sound-viewer-header {
|
|
width: 100%;
|
|
height: 60px;
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
|
|
background-color: #333333;
|
|
|
|
.ucap-sound-viewer-icon {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.ucap-sound-viewer-title {
|
|
font-size: 16px;
|
|
}
|
|
.stroke-bar {
|
|
width: 1px;
|
|
height: 30px;
|
|
background-color: rgba(256, 256, 256, 0.3);
|
|
margin: 0 10px;
|
|
}
|
|
.ucap-sound-viewer-action {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-left: 10px;
|
|
&:hover {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ucap-sound-viewer-body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: calc(100% - 60px);
|
|
|
|
.circle-box {
|
|
position: relative;
|
|
display: flex;
|
|
width: 140px;
|
|
height: 140px;
|
|
border-radius: 50%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 2px solid #ffffff;
|
|
background-color: rgba(256, 256, 256, 0.7);
|
|
.mat-icon {
|
|
font-size: 100px;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
.sound-wave {
|
|
height: 80px;
|
|
left: 50%;
|
|
margin: -35px 0 0 -35px;
|
|
position: absolute;
|
|
bottom: 30px;
|
|
width: 70px;
|
|
}
|
|
}
|
|
|
|
.ucap-sound-viewer-sound-icon {
|
|
width: 100%;
|
|
height: calc(100% - 80px);
|
|
}
|
|
.viewer-bottom {
|
|
background-color: #212121;
|
|
color: #ffffff;
|
|
.ucap-sound-viewer-sound-time {
|
|
width: 100%;
|
|
height: 30px;
|
|
}
|
|
.ucap-sound-viewer-sound-controls {
|
|
width: 100%;
|
|
height: 50px;
|
|
|
|
.ucap-sound-viewer-sound-time-current {
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.ucap-sound-viewer-sound-time-total {
|
|
padding-right: 30px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.ucap-sound-viewer-spacer {
|
|
flex: 1 1 auto;
|
|
}
|
|
.ucap-sound-viewer-action {
|
|
.mat-icon {
|
|
font-size: 40px;
|
|
width: 100%;
|
|
height: 100%;
|
|
line-height: 50px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sound-bar {
|
|
bottom: 1px;
|
|
height: 10px;
|
|
position: absolute;
|
|
width: 5px;
|
|
animation: sound-play 0ms -800ms linear infinite alternate;
|
|
}
|
|
.sound-bar:nth-child(1) {
|
|
left: 0px;
|
|
animation-duration: 474ms;
|
|
}
|
|
.sound-bar:nth-child(2) {
|
|
left: 7px;
|
|
animation-duration: 433ms;
|
|
}
|
|
.sound-bar {
|
|
left: 14px;
|
|
animation-duration: 407ms;
|
|
}
|
|
.sound-bar:nth-child(4) {
|
|
left: 21px;
|
|
animation-duration: 458ms;
|
|
}
|
|
.sound-bar:nth-child(5) {
|
|
left: 28px;
|
|
animation-duration: 400ms;
|
|
}
|
|
.sound-bar:nth-child(6) {
|
|
left: 35px;
|
|
animation-duration: 427ms;
|
|
}
|
|
.sound-bar:nth-child(7) {
|
|
left: 42px;
|
|
animation-duration: 441ms;
|
|
}
|
|
.sound-bar:nth-child(8) {
|
|
left: 49px;
|
|
animation-duration: 419ms;
|
|
}
|
|
.sound-bar:nth-child(9) {
|
|
left: 56px;
|
|
animation-duration: 487ms;
|
|
}
|
|
.sound-bar:nth-child(10) {
|
|
left: 63px;
|
|
animation-duration: 442ms;
|
|
}
|
|
|
|
@keyframes sound-play {
|
|
0% {
|
|
opacity: 0.35;
|
|
height: 10px;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
height: 60px;
|
|
}
|
|
}
|
|
|
|
mat-slider {
|
|
width: 94%;
|
|
}
|