-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
78 lines (72 loc) · 2.53 KB
/
popup.html
File metadata and controls
78 lines (72 loc) · 2.53 KB
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
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Шрифты</title>
<link rel="stylesheet" href="popup.css" />
</head>
<body>
<div class="app">
<header class="header">
<div class="headerText">
<div id="title" class="title"></div>
<div id="subtitle" class="subtitle"></div>
</div>
<div class="langSwitch" role="group" aria-label="Language">
<button class="langButton" type="button" data-lang="en">EN</button>
<button class="langButton" type="button" data-lang="de">DE</button>
<button class="langButton" type="button" data-lang="ru">RU</button>
</div>
</header>
<section class="panel">
<label id="labelFont" class="label" for="fontSearch"></label>
<div id="webFontNotice" class="notice hidden"></div>
<div class="combo" id="fontCombo">
<input
id="fontSearch"
type="text"
autocomplete="off"
/>
</div>
<div id="fontList" class="list hidden" role="listbox"></div>
<div class="current">
<span id="currentLabel"></span> <span id="currentFont"></span>
</div>
</section>
<section class="panel">
<label id="labelSystemFont" class="label" for="systemFontSearch"></label>
<div class="combo systemRow" id="systemFontCombo">
<input
id="systemFontSearch"
type="text"
autocomplete="off"
/>
<button id="systemFontApply" class="scanButton" type="button"></button>
<button id="systemFontScan" class="scanButton" type="button"></button>
</div>
<div id="systemFontList" class="list hidden" role="listbox"></div>
<div id="systemFontHint" class="hint"></div>
</section>
<section class="panel">
<label id="labelSize" class="label" for="fontSize"></label>
<div class="sizeRow">
<input id="fontSize" type="range" min="10" max="36" step="1" />
<input
id="fontSizeNumber"
type="number"
min="10"
max="72"
step="1"
/>
<span class="unit">px</span>
</div>
</section>
<div class="actions">
<button id="resetButton" class="resetButton" type="button"></button>
</div>
<div id="status" class="status"></div>
</div>
<script src="dist/popup.js"></script>
</body>
</html>