-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
61 lines (61 loc) · 1.57 KB
/
popup.html
File metadata and controls
61 lines (61 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="Angel Castillo">
<title>Sort by Number of Reviews: Amazon Sort</title>
<style>
body{
font-family: Arial, Helvetica, sans-serif;
font-size:15px;
line-height: 30px;
padding:0;
margin:10px;
background: white;
max-width: 300px;
}
#sortBtn{
width: 290px;
height: 50px;
background: #f4f4f4;
border: #a5a5a5 1px solid;
margin-top: 15px;
}
#sortBtn:hover{
background: #e0e0e0;
}
h3{
text-align: center;
border-bottom: #a5a5a5 1px solid;
}
[type="number"]{
width: 50px;
}
label {
float: left;
}
input {
float: right;
text-align: center;
width: 46px;
height: 15px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
</style>
</head>
<body>
<h3>Settings:</h3>
<div class="settings">
<input type="checkbox" id="autoSort" >Auto Filter/Sort:</input><br>
<input type="checkbox" id="sortReviews" >Sort by Reviews:</input><br>
<input type="number" id="minRating" placeholder="0">Minumum Stars:</input><br>
<input type="number" id="minReviews" placeholder="0">Minumum Reviews:</input><br>
</div>
<button id="sortBtn" type="button">FILTER / SORT</button>
<script src="popup.js" type="text/javascript"></script>
</body>
</html>