-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
323 lines (302 loc) · 9.25 KB
/
popup.html
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SoMeity</title>
<script src="jquery-3.1.0.min.js"></script>
<link rel="stylesheet" href="popup.css" />
</head>
<body>
<div class="header">
<img src="/icon.png" />
<h1>Someity</h1>
</div>
<!-- Actions -->
<div class="font-header">
<img src="/images/actions.png" />
<p>Actions</p>
</div>
<div class="actions-wrapper">
<div class="actions">
<input
type="image"
id="assistant_start"
class="activation-button"
src="images/microphone-off.png"
alt="Submit Form"
/>
</div>
</div>
<!-- Font Type -->
<div class="font-header">
<img src="/images/font.png" />
<p>Font</p>
</div>
<div class="font-type-wrapper">
<div class="font-type-select-wrapper">
<p class="font-type-select-header">Font Type</p>
<div class="select-wrapper">
<select id="fontTypeDropDown" class="select">
<option value="open-dyslexic-regular">Open Dyslexic</option>
<option value="lexend-regular">Lexend</option>
<option value="sign-language">Sign Language</option>
<option value="arial-regular">Arial</option>
<option value="verdana-regular">Verdana</option>
<option value="impact-regular">Impact</option>
<option value="comic-sans-ms-regular">Comic Sans MS</option>
</select>
</div>
</div>
<div class="font-type-switch-wrapper">
<p id="font-type-switch-header" class="font-type-switch-header">Off</p>
<label class="switch">
<input type="checkbox" id="fontTypeButton" />
<span class="slider round"></span>
</label>
</div>
</div>
<!-- Focus Mode -->
<div class="font-header">
<img src="/images/focus.png" />
<p>Focus Mode</p>
</div>
<div class="focus-mode-wrapper">
<div class="focus-mode">
<div class="focus-mode-header">
<p>Image Veil</p>
<p style="font-size: 15px">Enable to focus on text better.</p>
</div>
<div>
<label class="switch">
<input type="checkbox" id="imageVeilButton" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
<div class="focus-mode-wrapper">
<div class="focus-mode">
<div class="focus-mode-header">
<p>Highlight Words</p>
<p style="font-size: 15px">Highlight words as you read.</p>
</div>
<div>
<label class="switch">
<input type="checkbox" id="highlightWordsButton" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
<!-- Font Color -->
<div class="font-header">
<img src="/images/color.png" />
<p>Font Color</p>
</div>
<div class="font-type-wrapper">
<div class="font-type-select-wrapper">
<p class="font-type-select-header">Font Color</p>
<div class="color-picker"></div>
</div>
<div class="font-type-switch-wrapper">
<p id="font-color-switch-header" class="font-type-switch-header">Off</p>
<label class="switch">
<input type="checkbox" id="fontColorButton" />
<span class="slider round"></span>
</label>
</div>
</div>
<!-- Magnifier -->
<div class="font-header">
<img src="/images/magnifier.png" />
<p>Magnifier</p>
</div>
<div class="focus-mode-wrapper">
<div class="focus-mode">
<div class="focus-mode-header">
<p>Magnifier</p>
<p style="font-size: 15px">Hover to magnify images.</p>
</div>
<div>
<label class="switch">
<input type="checkbox" id="magnifierButton" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
<div class="font-type-wrapper">
<div
class="font-type-select-wrapper"
style="margin-right: 20px; padding-right: 5px"
>
<p class="font-type-select-header">Magnifier Size</p>
<form id="magnifierSize">
<input
type="range"
id="magnifierSizeSlider"
min="20"
max="100"
step="10"
value="50"
/>
<span style="color: white" id="magnifierSizeSlider_value">50</span>
</form>
</div>
<div class="font-type-select-wrapper" style="padding-right: 0px">
<p class="font-type-select-header">Magnification</p>
<form id="magnification">
<input
type="range"
id="magnificationSlider"
min="1"
max="5"
value="3"
/>
<span style="color: white" id="magnificationSlider_value">3</span>
</form>
</div>
</div>
<!-- Font Size -->
<div class="font-header">
<img src="/images/font.png" />
<p>Font Size</p>
</div>
<div class="font-type-wrapper">
<div class="font-type-select-wrapper">
<p class="font-type-select-header">Font Size</p>
<form id="fontSize">
<input
type="range"
id="fontSizeSlider"
min="1"
max="100"
value="50"
/>
<span style="color: white" id="fontSizeSlider_value">50</span>
</form>
</div>
<div class="font-type-switch-wrapper">
<p id="font-size-switch-header" class="font-type-switch-header">Off</p>
<label class="switch">
<input type="checkbox" id="fontSizeButton" />
<span class="slider round"></span>
</label>
</div>
</div>
<!-- Color Blindness -->
<div class="font-header">
<img src="/images/colorblind.png" />
<p>Color Blind</p>
</div>
<div class="focus-mode-wrapper">
<div class="focus-mode">
<div class="focus-mode-header">
<p>Emphasize Links</p>
<p style="font-size: 15px">
Add multi-color underline to hyperlinks.
</p>
</div>
<div>
<label class="switch">
<input type="checkbox" id="emphasizeLinksButton" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
<div class="font-type-wrapper">
<div class="font-type-select-wrapper">
<p class="font-type-select-header">Text Stroke Color</p>
<div class="ts-color-picker"></div>
</div>
<div class="color-blindness">
<div class="focus-mode-header">
<p>Text Stroke</p>
</div>
<div>
<label class="switch">
<input type="checkbox" id="textStrokeButton" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
<!-- Cursor -->
<div class="font-header">
<img src="/images/cursor.png" />
<p>Cursor</p>
</div>
<div class="font-type-wrapper">
<div class="font-type-select-wrapper">
<p class="font-type-select-header">Cursor Type</p>
<div class="select-wrapper">
<select id="cursorTypeDropDown" class="select">
<option value="arrow.png">Arrow Pointer</option>
<option value="black.cur">Black Mouse Pointer</option>
<option value="pencil.png">Pencil Pointer</option>
</select>
</div>
</div>
<div class="font-type-switch-wrapper">
<p id="cursor-type-switch-header" class="font-type-switch-header">
Off
</p>
<label class="switch">
<input type="checkbox" id="cursorTypeButton" />
<span class="slider round"></span>
</label>
</div>
</div>
<div class="font-header">
<img src="/images/printer.png" />
<p>Print Screen</p>
</div>
<div class="focus-mode-wrapper">
<div class="focus-mode">
<div class="focus-mode-header">
<p>Print</p>
<p style="font-size: 15px">Print the current page.</p>
</div>
<div style="margin-right: 20px">
<label class="button-switch">
<input
type="button"
class="printButton"
id="printjob"
value="Print"
/>
</label>
</div>
</div>
</div>
<div class="font-header">
<img src="/images/camera.png" />
<p>Screenshot</p>
</div>
<div class="focus-mode-wrapper">
<div class="focus-mode">
<div class="focus-mode-header">
<p>Screenshot</p>
<p style="font-size: 15px">Take a screenshot of the current page.</p>
</div>
<div style="margin-right: 48px">
<label class="button-switch">
<input
type="button"
class="screenshotButton"
id="screenshotClick"
value="Capture"
/>
</label>
</div>
</div>
</div>
<div id="snackbar">
To enable Voice Recognition right click on Someity and click on Options
</div>
</body>
<script src="popup.js"></script>
</html>