File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 15
15
font-family : Arial, Helvetica, sans-serif;
16
16
-webkit-user-select : none;
17
17
user-select : none;
18
+ width : 100vw ;
19
+ height : 100vh ;
20
+ overflow : hidden;
18
21
}
19
22
20
23
.container {
26
29
justify-content : center;
27
30
background-color : # ffffff ;
28
31
aspect-ratio : 5 / 4 ; /* Aspect ratio 4:3 */
29
-
32
+ height : 100 % ;
30
33
}
31
34
32
35
/* vertical stacked: */
36
39
font-size : 2vw ;
37
40
text-align : center; /* Center text within each label */
38
41
font-weight : 300 ;
39
- position : relative;
40
- top : 2vw ;
41
42
display : flex;
42
43
43
44
}
44
45
.questionHeader {
45
46
/* height: 20vh; */
46
47
font-size : 4vw ;
47
- position : relative;
48
- top : 6vw ;
49
48
text-align : center; /* Center text within each label */
50
49
font-weight : 600 ;
51
50
margin : 0 5vw 0 5vw ;
104
103
# answer2 {
105
104
text-align : right;
106
105
}
106
+ # liveIndicator {
107
+ width : 32px ;
108
+ height : 32px ;
109
+ }
107
110
</ style >
108
111
</ head >
109
112
< body >
110
113
< div class ="container ">
111
114
< div class ="numberOfResults ">
112
115
LIVE ABSTIMMUNG
113
- < svg width =" 12.5% " height =" 12.5% " xmlns ="http://www.w3.org/2000/svg " overflow ="visible ">
116
+ < svg id =" liveIndicator " xmlns ="http://www.w3.org/2000/svg " overflow ="visible ">
114
117
< circle fill ="#24B9D6 " cx ="50% " cy ="50% " r ="22.5% ">
115
118
< animate
116
119
attributeName ="r "
147
150
< span id ="question "> </ span >
148
151
</ div >
149
152
< div class ="slider-container ">
150
- < svg id ="sliderSVG " viewBox ="0 0 300 150 " preserveAspectRatio ="xMidYMid meet " width =" 100% " height =" 100% " overflow ="visible ">
153
+ < svg id ="sliderSVG " viewBox ="0 0 300 150 " preserveAspectRatio ="xMidYMid meet " overflow ="visible ">
151
154
<!-- Curved slider path -->
152
155
< path id ="sliderPath " d ="M 50 150 A 100 100 0 0 1 250 150 " class ="slider "> </ path >
153
156
223
226
document . addEventListener ( 'pointermove' , onDrag ) ;
224
227
document . addEventListener ( 'pointerup' , endDrag ) ;
225
228
229
+
226
230
function startDrag ( e ) {
227
231
e . preventDefault ( ) ;
228
232
if ( typeof pollyMessageListener !== 'undefined' && pollyMessageListener !== null ) {
You can’t perform that action at this time.
0 commit comments