-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
84 lines (72 loc) · 1.5 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Shopify Tools Options</title>
<style>
body {
padding: 0 1rem 5rem 1rem;
font-size: 0.9rem;
font-family: sans-serif;
}
.option {
margin-bottom: 10px;
}
#Save {
position: absolute;
right: 10px;
bottom: 10px;
cursor: pointer;
font-size: 1.1rem;
}
#Status {
position: fixed;
left: 10%;
right: 10%;
bottom: -50%;
font-size: 1.3rem;
color: white;
background: rgba(0, 0, 0, 0.8);
border-radius: 4px;
padding: 10px;
transition: all 350ms ease-in-out;
z-index: 100;
}
#Status.shown {
bottom: 20%;
}
.status-text {
text-align: center;
display: block;
}
label {
display: flex;
}
label input[type="checkbox"] {
background: white;
transform: scale(1.4);
zoom: 1.5;
padding-left: 1px;
margin-top: 0.3rem;
margin-right: 8px;
image-rendering: auto;
}
</style>
</head>
<body>
<div class="option">
<label>
<input type="checkbox" id="ChangeSidebarColor">
<span>Change left sidebar color to white</span>
</label>
</div>
<div class="option">
<label>
<input type="checkbox" id="ShowThemeInfo">
<span>Add theme details to theme page</span>
</label>
</div>
<div id="Status"><span class="status-text"></span></div>
<button id="Save">Save</button>
<script src="/js/options.js"></script>
</body>
</html>