File tree Expand file tree Collapse file tree 1 file changed +28
-27
lines changed
Expand file tree Collapse file tree 1 file changed +28
-27
lines changed Original file line number Diff line number Diff line change 77 @mouseout =" $emit('hover-audio-progress', false)"
88 >
99 <div class =" vac-player-progress" >
10- <div ref = " line " class =" vac-line-container" >
10+ <div class =" vac-line-container" >
1111 <div class =" vac-line-progress" :style =" { width: `${percentage}%` }" />
1212 <div
1313 class =" vac-line-dot"
@@ -69,38 +69,39 @@ export default {
6969 display : flex ;
7070 align-items : center ;
7171 max-width : calc (100% - 18px );
72+ margin-right : 7px ;
73+ margin-left : 20px ;
7274
7375 .vac-player-progress {
74- width : 200px ;
75- margin : 0 4px 0 14px ;
76- }
77- }
76+ width : 190px ;
7877
79- .vac-line-container {
80- position : relative ;
81- height : 4px ;
82- border-radius : 5px ;
83- background-color : var (--chat-message-bg-color-audio-line );
78+ .vac-line-container {
79+ position : relative ;
80+ height : 4px ;
81+ border-radius : 5px ;
82+ background-color : var (--chat-message-bg-color-audio-line );
8483
85- .vac-line-progress {
86- position : absolute ;
87- height : inherit ;
88- background-color : var (--chat-message-bg-color-audio-progress );
89- border-radius : inherit ;
90- }
84+ .vac-line-progress {
85+ position : absolute ;
86+ height : inherit ;
87+ background-color : var (--chat-message-bg-color-audio-progress );
88+ border-radius : inherit ;
89+ }
9190
92- .vac-line-dot {
93- position : absolute ;
94- top : -6px ;
95- margin-left : -15 px ;
96- height : 15px ;
97- width : 15px ;
98- border-radius : 50% ;
99- background-color : var (--chat-message-bg-color-audio-progress-selector );
100- transition : transform 0.25s ;
91+ .vac-line-dot {
92+ position : absolute ;
93+ top : -6px ;
94+ margin-left : -8 px ;
95+ height : 15px ;
96+ width : 15px ;
97+ border-radius : 50% ;
98+ background-color : var (--chat-message-bg-color-audio-progress-selector );
99+ transition : transform 0.25s ;
101100
102- & __active {
103- transform : scale (1.2 );
101+ & __active {
102+ transform : scale (1.2 );
103+ }
104+ }
104105 }
105106 }
106107}
You can’t perform that action at this time.
0 commit comments