-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathautocomplete.css
More file actions
50 lines (43 loc) · 800 Bytes
/
Copy pathautocomplete.css
File metadata and controls
50 lines (43 loc) · 800 Bytes
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
/* AUTOCOMPLETE */
.autocomplete{
width: 100%;
position: relative;
}
.autocomplete input{
font-size: 1em;
width: 100%;
padding:0.4em;
border-radius: 4px;
padding: 6px 12px;
border: 1px solid #ccc;
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.autocomplete ul{
position: absolute;
left: 0;
width: 100%;
border-left: 1px solid #888;
border-right: 1px solid #888;
border-bottom: 1px solid #888;
z-index: 1;
padding: 0px;
cursor: pointer;
}
.autocomplete li{
text-align: left;
list-style:none;
width: 100%;
padding:0.4em;
background-color: #fff;
}
.autocomplete li.active{
width: 100%;
background-color: #4bf;
}
.autocomplete .highlight {
background-color: #E2E2E2;
}
.autocomplete li.active .highlight {
background: #666;
color: #fff;
}