Voice recorder fixed
This commit is contained in:
parent
66f18a7df2
commit
4a762a3d8c
3 changed files with 43 additions and 34 deletions
30
src/assets/css/components/_voice-recorder.scss
Normal file
30
src/assets/css/components/_voice-recorder.scss
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
.grow-enter-active,
|
||||
.grow-leave-active {
|
||||
transition-timing-function: ease-out;
|
||||
transition: opacity 0.3s, border-radius 0.5s, transform 0.5s;
|
||||
}
|
||||
.grow-enter,
|
||||
.grow-leave-to {
|
||||
transform: translateX(var(--v-mic-button-initial-translate)) scaleX(var(--v-mic-button-initial-scale));
|
||||
opacity: 0;
|
||||
border-radius: 25px !important;
|
||||
}
|
||||
|
||||
.fade-enter-active,
|
||||
.fade-leave-active {
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
|
||||
opacity: 0;
|
||||
}
|
||||
.voice-recorder-btn {
|
||||
padding: 30px;
|
||||
background-color: $voice-recorder-color;
|
||||
|
||||
&.recording {
|
||||
background-color: $voice-recording-color;
|
||||
}
|
||||
&.recorded {
|
||||
background-color: $voice-recorded-color;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue