-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputautofillsuggest.css
61 lines (54 loc) · 1.21 KB
/
inputautofillsuggest.css
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
.inputAutoSuggAutoBox input {
font-size: 14px;
padding: 8px 10px;
border: 1px solid lightgrey;
outline: none;
border-radius: 6px;
box-shadow: 0px 1px 2px rgb(235, 235, 235);
transition: box-shadow 0.2s;
}
.inputAutoSuggAutoBox input:hover {
box-shadow: 0px 1px 4px rgb(220, 220, 220);
}
.inputAutoSuggAutoBox input:focus {
box-shadow: 0px 1px 6px rgb(220, 220, 220);
}
.inputAutoSuggAutoBox {
position: relative;
}
.inputAutoSuggAutoBox ul {
position: absolute;
background: rgb(255, 255, 255);
width: 260px;
margin-top: 0;
border: 1px solid lightgrey;
border-radius: 6px;
box-shadow: 0px 1px 6px rgb(220, 220, 220);
margin-left: 2px;
padding: 4px 0;
max-height: 200px;
overflow-y: scroll;
opacity: 0;
transition: opacity 0.4s, transform 0.4s, top 0.4s, left 0.4s;
transform: scale(0);
top: -85px;
left: -45px;
z-index: 0;
}
.inputAutoSuggAutoBox ul.inputAutoSuggAutoBox-visible {
top: 42px;
left: 0;
transform: scale(1);
opacity: 1;
z-index: 1;
}
.inputAutoSuggAutoBox ul li {
list-style-type: none;
padding: 4px 10px;
font-family: sans-serif;
font-size: 14px;
cursor: pointer;
}
.inputAutoSuggAutoBox ul li:hover {
background-color: rgb(245, 245, 245);
}