File size: 1,194 Bytes
8f2f163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.voice-input-container {
  display: none !important;
  align-items: center;
  gap: 10px;
}

.voice-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #4a4af4;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.voice-button:focus {
  outline: none;
  box-shadow: none;
}

.voice-button:active {
  transform: scale(0.95);
}

.voice-button.recording {
  background-color: #ff4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.transcript-container {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  background: #f5f5f5;
}

.transcript {
  font-size: 14px;
  line-height: 1.4;
}

.word-with-suggestion {
  display: inline-flex;
  gap: 5px;
  margin: 0 5px;
}

.original-word {
  color: #ff4444;
  cursor: pointer;
  text-decoration: underline;
}

.suggested-word {
  color: #4CAF50;
  cursor: pointer;
  font-style: italic;
}