joermd commited on
Commit
27c9ee2
·
verified ·
1 Parent(s): 491c4ca

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +12 -9
index.html CHANGED
@@ -55,19 +55,22 @@
55
  background: rgba(40, 167, 69, 0.2);
56
  animation: pulse 2s infinite;
57
  }
58
-
59
- /* New recording indicator styles */
60
- .recording-indicator {
61
  width: 40%;
62
  height: 40%;
63
  background: #28a745;
64
- border-radius: 0; /* Square by default */
65
- display: none; /* Hidden by default */
66
  transition: all 0.3s ease;
 
67
  }
68
-
69
- .record-button.recording .recording-indicator {
70
- display: block; /* Show when recording */
 
 
 
 
 
71
  }
72
 
73
  .wave-container {
@@ -189,7 +192,7 @@
189
 
190
  <div class="record-button-container">
191
  <button class="record-button" id="recordButton">
192
- <div class="recording-indicator"></div>
193
  </button>
194
  <div class="wave-container">
195
  <div class="wave"></div>
 
55
  background: rgba(40, 167, 69, 0.2);
56
  animation: pulse 2s infinite;
57
  }
58
+ /* Modified inner shape styles */
59
+ .inner-shape {
 
60
  width: 40%;
61
  height: 40%;
62
  background: #28a745;
 
 
63
  transition: all 0.3s ease;
64
+ box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
65
  }
66
+ /* Circle state (default) */
67
+ .inner-shape {
68
+ border-radius: 50%;
69
+ }
70
+ /* Square state (recording) */
71
+ .record-button.recording .inner-shape {
72
+ border-radius: 15%;
73
+ transform: scale(0.8);
74
  }
75
 
76
  .wave-container {
 
192
 
193
  <div class="record-button-container">
194
  <button class="record-button" id="recordButton">
195
+ <div class="inner-shape"></div>
196
  </button>
197
  <div class="wave-container">
198
  <div class="wave"></div>