-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (78 loc) · 2.92 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Style Your Button</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css">
<link rel="stylesheet" href="stylesheet.css">
</head>
<body>
<div class="toggle-container">
<label class="switch">
<input type="checkbox" id="toggle-btn">
<span class="slider"></span>
</label>
</div>
<div class="container">
<h1 class="text-center my-4">Button Styler</h1>
<form id="styleForm" class="p-4 border rounded shadow-sm bg-white">
<div class="mb-3">
<label for="backgroundColor" class="form-label">Background Color</label>
<input type="color" id="backgroundColor" class="form-control" value="#007bff">
</div>
<div class="mb-3">
<label for="fontColor" class="form-label">Font Color</label>
<input type="color" id="fontColor" class="form-control" value="#ffffff">
</div>
<div class="mb-3">
<label for="buttonSize" class="form-label">Button Size</label>
<select id="buttonSize" class="form-select">
<option value="small">Small</option>
<option value="medium" selected>Medium</option>
<option value="large">Large</option>
</select>
</div>
<div class="text-center">
<button type="button" id="applyStyles" class="btn btn-primary">Apply Styles</button>
</div>
</form>
<div class="text-center preview-button">
<button id="previewButton" class="btn btn-primary">Preview Button</button>
</div>
<h1 class="text-center my-4">Page Styler</h1>
<form id="pageStyleForm" class="p-4 border rounded shadow-sm bg-white">
<div class="mb-3">
<label for="pageBackgroundColor" class="form-label">Background Color</label>
<input type="color" id="pageBackgroundColor" class="form-control" value="#007bff">
</div>
<div class="mb-3">
<label for="pageFontColor" class="form-label">Font Color</label>
<input type="color" id="pageFontColor" class="form-control" value="#ffffff">
</div>
<div class="mb-3">
<label for="pageSize" class="form-label">Page Size</label>
<select id="pageSize" class="form-select">
<option value="small">Small</option>
<option value="medium" selected>Medium</option>
<option value="large">Large</option>
</select>
</div>
<div class="text-center">
<button type="button" id="pageApplyStyles" class="btn btn-primary">Apply Styles</button>
</div>
</form>
<h1 class="text-center my-4">Screen Reader</h1>
<div class="toggle-container">
<label class="switch">
<input type="checkbox" id="toggle-screen-reader">
<span class="slider"></span>
</label>
</div>
</div>
<br><br><br>
<script src="Scripts/popup.js"></script>
<script src="Scripts/chatBot.js"></script>
<script src="Scripts/btnStyle.js"></script>
</body>
</html>