-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpopup.html
77 lines (72 loc) · 3.2 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="pure-min.css">
<style>
body {
width: 150px;
height: 120px;
padding-left: 25px;
}
.color-box {
display: inline-block;
width: 10px;
height: 10px;
}
input {
margin-right: 5px;
}
</style>
</head>
<body>
<div class="pure-g">
<div class="pure-u-5-5">
<h3>Choose color scheme</h3>
<form class="pure-form">
<label for="zero" class="pure-radio">
<input id="zero" type="radio" name="color" value="0">
<div class="color-box" style="background-color: #1e6823;"></div>
<div class="color-box" style="background-color: #44a340;"></div>
<div class="color-box" style="background-color: #8cc665;"></div>
<div class="color-box" style="background-color: #d6e685;"></div>
<div class="color-box" style="background-color: #eee;"></div>
</label>
<label for="one" class="pure-radio">
<input id="one" type="radio" name="color" value="1">
<div class="color-box" style="background-color: #ff5675;"></div>
<div class="color-box" style="background-color: #ff6a89;"></div>
<div class="color-box" style="background-color: #ff88a7;"></div>
<div class="color-box" style="background-color: #ffb0cf;"></div>
<div class="color-box" style="background-color: #eee;"></div>
</label>
<label for="two" class="pure-radio">
<input id="two" type="radio" name="color" value="2">
<div class="color-box" style="background-color: #0048cc;"></div>
<div class="color-box" style="background-color: #148cff;"></div>
<div class="color-box" style="background-color: #3cb4ff;"></div>
<div class="color-box" style="background-color: #5adeff;"></div>
<div class="color-box" style="background-color: #eee;"></div>
</label>
<label for="three" class="pure-radio">
<input id="three" type="radio" name="color" value="3">
<div class="color-box" style="background-color: #9932cc;"></div>
<div class="color-box" style="background-color: #ad46e0;"></div>
<div class="color-box" style="background-color: #c15af4;"></div>
<div class="color-box" style="background-color: #ff9dff;"></div>
<div class="color-box" style="background-color: #eee;"></div>
</label>
<label for="four" class="pure-radio">
<input id="four" type="radio" name="color" value="4">
<div class="color-box" style="background-color: #03001c;"></div>
<div class="color-box" style="background-color: #fe9600;"></div>
<div class="color-box" style="background-color: #ffc501;"></div>
<div class="color-box" style="background-color: #ffee4a;"></div>
<div class="color-box" style="background-color: #eee;"></div>
</label>
</form>
</div>
</div>
<script src="jquery.min.js"></script>
<script src="popup.js"></script>
</body>
</html>