-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
95 lines (92 loc) · 2.33 KB
/
Copy pathpopup.html
File metadata and controls
95 lines (92 loc) · 2.33 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html>
<head>
<title>Adjust Transition Settings</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 10px;
width: 250px;
background-color: #f0f4f8;
color: #333;
}
h1 {
font-size: 20px;
color: #0094FF;
margin-bottom: 15px;
display: flex;
align-items: center;
}
.logo {
margin-left: 10px;
width: 48px;
height: auto;
}
label {
display: block;
margin-bottom: 5px;
color: #0094FF;
}
input[type="number"], select {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #000000;
border-radius: 4px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #0094FF;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
box-sizing: border-box;
}
button:hover {
background-color: #65befe;
}
button:active {
background-color: #002244;
}
.hidden {
display: none;
}
.unsupported-message {
font-size: 15px;
}
.unsupported-message a {
color: #0094FF;
text-decoration: none;
}
.unsupported-message a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Adjust Settings for SmoothType <img src="icons/icon128.png" alt="App Logo" class="logo"></h1>
<div id="settings" class="hidden">
<label for="delay">Transition Delay (ms):</label>
<input type="number" id="delay" min="0" step="10" value="80">
<label for="easing">Animation Type:</label>
<select id="easing">
<option value="ease">Ease</option>
<option value="linear">Linear</option>
<option value="ease-in">Ease-in</option>
<option value="ease-out">Ease-out</option>
<option value="ease-in-out">Ease-in-out</option>
</select>
<button id="save">Save</button>
</div>
<div id="unsupported" class="unsupported-message hidden">
<p>Uh oh! This website isn't supported.<br>
If it's supposed to be, try reloading the page.</p>
<p>To request a new website, <a href="https://github.com/jsz-05/jsz-SmoothType" target="_blank">open an issue here</a>, or leave a review with your request.</p>
</div>
<script src="popup.js"></script>
</body>
</html>