@@ -59,43 +59,18 @@ const VideoMeetingControl: React.FC<VideoMeetingControlProps> = () => {
59
59
bottom : 5 ,
60
60
left : '50%' ,
61
61
right : 0 ,
62
- zIndex : 9999
62
+ zIndex : 9999 ,
63
+ width : '270px' ,
64
+ border : '1px solid #31343A' ,
65
+ borderRadius : '15px' ,
66
+ backgroundColor : '#1B1B1B' ,
67
+ padding : '5px'
63
68
} }
64
69
>
65
- { /* Call End Button */ }
66
- < div
67
- style = { {
68
- backgroundColor : callEndHovered ? '#dddddd' : 'transparent' ,
69
- transition : 'background-color 0.3s' ,
70
- borderRadius : '5px' ,
71
- padding : '5px'
72
- } }
73
- onMouseEnter = { ( ) => handleButtonHover ( ButtonType . CALL_END , true ) }
74
- onMouseLeave = { ( ) => handleButtonHover ( ButtonType . CALL_END , false ) }
75
- >
76
- < button
77
- style = { {
78
- backgroundColor : 'transparent' ,
79
- border : 'none' ,
80
- cursor : 'pointer' ,
81
- padding : 0 ,
82
- margin : 0 ,
83
- outline : 'none'
84
- } }
85
- onClick = { ( ) => {
86
- leave ( ) ;
87
- handleButtonHover ( ButtonType . CALL_END , false ) ;
88
- } }
89
- >
90
- < CallEndIcon
91
- style = { { fontSize : 36 , color : 'red' , margin : '0 15px' } }
92
- />
93
- </ button >
94
- </ div >
95
70
{ /* Mic Button */ }
96
71
< div
97
72
style = { {
98
- backgroundColor : micHovered ? '#dddddd' : 'transparent' ,
73
+ // backgroundColor: micHovered ? '#dddddd' : 'transparent',
99
74
transition : 'background-color 0.3s' ,
100
75
borderRadius : '5px' ,
101
76
padding : '5px'
@@ -120,19 +95,19 @@ const VideoMeetingControl: React.FC<VideoMeetingControlProps> = () => {
120
95
>
121
96
{ useMic ? (
122
97
< MicIcon
123
- style = { { fontSize : 36 , color : ' #0671E3', margin : '0 15px' } }
98
+ style = { { fontSize : 36 , color : micHovered ? 'white' : ' #0671E3' , transition : 'color 0.3s ', margin : '0 15px' } }
124
99
/>
125
100
) : (
126
101
< MicOffIcon
127
- style = { { fontSize : 36 , color : '#0671E3 ', margin : '0 15px' } }
102
+ style = { { fontSize : 36 , color : micHovered ? 'white' : '#9C9D9F' , transition : 'color 0.3s ', margin : '0 15px' } }
128
103
/>
129
104
) }
130
105
</ button >
131
106
</ div >
132
107
{ /* Webcam Button */ }
133
108
< div
134
109
style = { {
135
- backgroundColor : webcamHovered ? '#dddddd' : 'transparent' ,
110
+ // backgroundColor: webcamHovered ? '#dddddd' : 'transparent',
136
111
transition : 'background-color 0.3s' ,
137
112
borderRadius : '5px' ,
138
113
padding : '5px'
@@ -157,15 +132,45 @@ const VideoMeetingControl: React.FC<VideoMeetingControlProps> = () => {
157
132
>
158
133
{ useWebcam ? (
159
134
< VideocamIcon
160
- style = { { fontSize : 36 , color : ' #0671E3', margin : '0 15px' } }
135
+ style = { { fontSize : 36 , color : webcamHovered ? 'white' : ' #0671E3' , transition : 'color 0.3s ', margin : '0 15px' } }
161
136
/>
162
137
) : (
163
138
< VideocamOffIcon
164
- style = { { fontSize : 36 , color : '#0671E3 ', margin : '0 15px' } }
139
+ style = { { fontSize : 36 , color : webcamHovered ? 'white' : '#9C9D9F' , transition : 'color 0.3s ', margin : '0 15px' } }
165
140
/>
166
141
) }
167
142
</ button >
168
143
</ div >
144
+ { /* Call End Button */ }
145
+ < div
146
+ style = { {
147
+ // backgroundColor: callEndHovered ? '#dddddd' : 'transparent',
148
+ transition : 'background-color 0.3s' ,
149
+ borderRadius : '5px' ,
150
+ padding : '5px'
151
+ } }
152
+ onMouseEnter = { ( ) => handleButtonHover ( ButtonType . CALL_END , true ) }
153
+ onMouseLeave = { ( ) => handleButtonHover ( ButtonType . CALL_END , false ) }
154
+ >
155
+ < button
156
+ style = { {
157
+ backgroundColor : 'transparent' ,
158
+ border : 'none' ,
159
+ cursor : 'pointer' ,
160
+ padding : 0 ,
161
+ margin : 0 ,
162
+ outline : 'none'
163
+ } }
164
+ onClick = { ( ) => {
165
+ leave ( ) ;
166
+ handleButtonHover ( ButtonType . CALL_END , false ) ;
167
+ } }
168
+ >
169
+ < CallEndIcon
170
+ style = { { fontSize : 36 , color : callEndHovered ? 'white' : '#E12D39' , transition : 'color 0.3s' , margin : '0 15px' } }
171
+ />
172
+ </ button >
173
+ </ div >
169
174
</ div >
170
175
)
171
176
) ;
0 commit comments