You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
874 B
39 lines
874 B
.voice-indicator-container {
|
|
position: relative;
|
|
width: 80px;
|
|
height: 80px;
|
|
margin-left: 16px; /* space to the left of the chat window */
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
/* Fade in means we make it visible, pointer events available */
|
|
.voice-indicator-container.fade-in {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.voice-indicator-inner {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* The microphone icon in the center of the circle */
|
|
.voice-indicator-icon-center {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 1.4rem;
|
|
color: #333; /* or any color you'd like for the icon */
|
|
}
|
|
|
|
/* Example responsive breakpoints to stack with the chat window */
|
|
@media (max-width: 768px) {
|
|
.voice-indicator-container {
|
|
margin-left: 0;
|
|
margin-top: 16px;
|
|
}
|
|
}
|
|
|