-
Notifications
You must be signed in to change notification settings - Fork 88
/
settings.html
97 lines (81 loc) · 2.29 KB
/
settings.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
font-size: 16px;
font-family: Arial, sans-serif;
width: 300px;
background-color: #08B0D5;
}
.kofi-icon {
position: absolute;
right: 10px;
cursor: pointer;
}
.fancy-checkbox {
position: relative;
padding-left: 30px;
cursor: pointer;
}
.hidden-checkbox {
position: absolute;
opacity: 0;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 3px;
}
.checkbox-text {
vertical-align: bottom;
}
/* Checked state */
.hidden-checkbox:checked+.checkmark:after {
content: "";
position: absolute;
display: block;
left: 6px;
top: 2px;
width: 6px;
height: 12px;
border: solid #333;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
</style>
</head>
<body>
<div class="popup-container">
<h1 id="extension-title">TITLE Options</h1>
<!-- Fancy Checkbox with Custom Styles -->
<label class="fancy-checkbox">
<input type="checkbox" id="disableExtension" class="hidden-checkbox">
<span class="checkmark"></span>
<span class="checkbox-text">Extension Enabled</span>
</label>
<br><br>
<!-- Appear Chance Input -->
<label>
Appear Chance (%):
<input type="number" id="appearChance" min="0" max="100" step="5" />
</label>
<br><br>
<!-- Flip Chance Input -->
<label>
Flip Chance (%):
<input type="number" id="flipChance" min="0" max="100" step="5" />
</label>
<a href="https://ko-fi.com/magicjinn" target="_blank" class="kofi-icon">
<img src="https://ko-fi.com/favicon.ico" width="24" height="24">
</a>
</div>
<script src="settings.js"></script>
</body>
</html>