-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpopup.html
68 lines (65 loc) · 1.01 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
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="popup.js"></script>
<style>
body {
margin: 0;
min-width: 442px;
}
input { margin: 1em; }
p {
cursor: pointer;
padding: 1em;
margin: 0;
border: solid 2px #fff;
overflow: hidden;
}
p:nth-child(2n) {
background-color: #eee;
}
p.selected {
background-color: #ffd;
border-color: #ddf;
}
p:hover {
border-color: #ddf;
background-color: #ddf;
}
p.selected:before {
content: 'Enter';
float: right;
padding: 0.3em 0.8em;
font-size: 0.7em;
border: solid 1px #ddd;
border-width: 1px 2px 2px 1px;
border-radius: 2px;
color: #aaa;
}
p img {
float: left;
width: 1em;
margin-top: 0.2em;
}
p span {
display: block;
line-height: 22px;
}
p .text {
margin-left: 2em;
margin-right: 4em;
}
p .url {
word-break: break-all;
}
p small {
display: block;
font-size: 0.8em;
line-height: normal;
margin-top: 0.2em;
}
</style>
</head>
<body>
<input id="input" type=text>
<div id="tabs"></div>
</body>