speaker-calibration 2.2.218 → 2.2.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,37 +41,46 @@ hr {
41
41
 
42
42
  .phrases {
43
43
  transform: rotate(180deg);
44
- /* margin-top: 100vh; */
45
- position: absolute;
46
- bottom: 0;
47
- right: 10px;
48
- overflow-y: scroll;
49
- max-height: 70vh;
50
- z-index: 1000;
44
+ width: 100%;
45
+ text-align: left;
46
+ position: fixed;
47
+ bottom: 20px; /* Will appear at top after rotation */
48
+ left: 20px;
49
+ padding: 20px;
51
50
  }
52
51
 
53
- .updateDisplay {
54
- transform: rotate(180deg);
55
- /* position: absolute;
56
- bottom: 20vh;
57
- right: 10px; */
58
- overflow-y: scroll;
59
- overflow-x: hidden;
60
- z-index: 1;
52
+ .phrases h1 {
53
+ margin: 0;
54
+ font-size: 24px;
55
+ margin-bottom: 15px;
56
+ }
57
+
58
+ .phrases .lead {
59
+ margin-bottom: 10px;
60
+ }
61
+
62
+ .phrases #calibrationBeginButton {
63
+ margin-top: 20px;
64
+ margin-left: 0;
61
65
  }
62
66
 
63
67
  .turnMeToReadBelow {
64
- position: absolute;
68
+ position: fixed;
65
69
  top: 20px;
66
- /* font-size: larger; */
67
- /* max-height: 25vh; */
68
- overflow-y: scroll;
70
+ left: 20px;
69
71
  line-height: 1.2rem;
72
+ text-align: left;
70
73
  }
71
74
 
72
- #calibrationBeginButton {
73
- margin-top: 2vh;
74
- margin-bottom: 2vh;
75
+ .updateDisplay {
76
+ position: absolute;
77
+ top: 50%;
78
+ left: 50%;
79
+ transform: translate(-50%, -50%) rotate(180deg);
80
+ width: 100%;
81
+ text-align: center;
82
+ background: white;
83
+ -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
75
84
  }
76
85
 
77
86
  .container {
@@ -97,3 +106,47 @@ hr {
97
106
  margin-top: 10px;
98
107
  margin-bottom: 10px;
99
108
  }
109
+
110
+ #headerContainer {
111
+ border-top: 1px solid #eee;
112
+ box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
113
+ }
114
+
115
+ /* Ensure content doesn't get hidden under fixed elements */
116
+ #display {
117
+ width: 100%;
118
+ margin: 0 auto;
119
+ text-align: center;
120
+ padding-bottom: 20px;
121
+ }
122
+
123
+ @media (max-width: 768px) {
124
+ #listenerContainer {
125
+ padding: 0;
126
+ position: relative;
127
+ height: 100vh;
128
+ overflow: hidden;
129
+ }
130
+
131
+ #headerContainer h1 {
132
+ font-size: 20px;
133
+ }
134
+
135
+ #recordingInProgress {
136
+ font-size: 16px;
137
+ }
138
+
139
+ .phrases {
140
+ margin-bottom: 1rem;
141
+ }
142
+
143
+ #recordingInProgress {
144
+ margin: 0;
145
+ padding: 0.5rem;
146
+ }
147
+
148
+ #allowMicrophone {
149
+ margin: 0;
150
+ padding: 0.5rem;
151
+ }
152
+ }