-
Notifications
You must be signed in to change notification settings - Fork 14
/
background.html
55 lines (46 loc) · 1001 Bytes
/
background.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
<style>
body {
color: #333;
}
input {
border: 1px solid #ccc;
width: 100%;
padding: 4px;
margin: 0 0 10px 0;
}
span {
font-family: "Lucida Grande", Tahoma, sans-serif;
font-size: 13px;
color: #666;
display: block;
white-space: nowrap;
padding: 2px 10px;
/*border-top: 1px solid #e0efef;*/
cursor: pointer;
-webkit-transition: background 0.1s ease-out;
}
span:hover + span:not(.create), .focus + span:not(.create) {
border-top-color: transparent;
}
span:hover, .focus {
color: #000;
border-radius: 5px;
background: #C5ECFC;
}
span:first-child {
border-top-color: transparent;
}
.create {
margin-top: 10px;
border-top: 1px solid #eee;
white-space: normal;
}
#wrapper {
min-width: 60px;
text-align: right;
}
</style>
<input id="search" placeholder="Filter..."></input>
<div id="wrapper"></div>
<script src="fuse.js"></script>
<script src="selectCategory.js"></script>