forked from fracek/AmazonAffiliateLinkGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
102 lines (90 loc) · 2.88 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<html>
<head>
<title>Options for Amazon Affiliate Link Generator</title>
<script src="jq.min.js"></script>
<script src="options.js"></script>
<style>
body {
font-family: 'Lucida Grande', sans-serif;
color: hsl(210, 16%, 22%);
}
#content {
width: 600px;
margin: 0px auto;
}
#status {
display: hidden;
margin: 20px 0px;
}
#status span {
display: block;
width: 590px;
border-radius: 5px;
padding: 8px 5px;
}
.success {
border: 1px solid hsl(81,91%,31%);
background-color: hsl(81,91%,91%);
}
.error {
border: 1px solid hsl(0,64%,50%);
background-color: hsl(0,64%,90%);
}
header {
font-size: 75%;
border-bottom: 1px solid #EEEEEE;
margin-bottom: 20px;
}
#options {
font-size: 75%;
}
input[type="text"] {
border: 1px solid hsl(0, 0%, 75%);
border-radius: 2px;
box-sizing: border-box;
font: inherit;
height: 2em;
margin: 0;
padding: 3px;
}
button {
margin-top: 14px;
background-color: silver;
height: 2em;
min-width: 8em;
-webkit-appearance: none;
-webkit-user-select: none;
background-image: -webkit-linear-gradient(
hsl(0, 0%, 93%),
hsl(0, 0%, 93%) 38%,
hsl(0, 0%, 87%));
border-radius: 2px;
border: 1px solid hsla(0, 0%, 0%, 0.25);
box-shadow: 0 1px 0 hsla(0, 0%, 0%, 0.08), inset 0 1px 2px hsla(0, 100%, 100%, 0.75);
color: hsl(0, 0%, 27%);
font: inherit;
text-shadow: 0 1px 0 hsl(0, 0%, 94%);
}
button:active {
background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7);
box-shadow: none;
text-shadow: none;
}
</style>
</head>
<body>
<div id="content">
<header>
<h1>Options for Amazon Affiliate Link Generator</h1>
</header>
<div id="status">
</div>
<div id="options">
<label for="tracking-id-text">Your tracking id:</label>
<input id="tracking-id-text" type="text" placeholder="homer-12" />
<br/>
<button id="saveButton">Save</button>
</div>
</div>
</body>
</html>