-
Notifications
You must be signed in to change notification settings - Fork 6
/
liveaddress.css
67 lines (60 loc) · 1001 Bytes
/
liveaddress.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
62
63
64
65
66
67
body {
background: #f9f9f9;
font-family: sans-serif;
}
.main {
background: #fff;
width: 400px;
padding: 20px;
margin: 50px auto 0;
box-shadow: 0px 1px 1px rgba(0,0,0,0.2), 0 0 10px rgba(0,0,0,0.1);
}
h1, h2 {
font-family: inherit;
font-weight: normal;
}
h1 {
margin: 0 0 30px;
}
h2 {
margin: 15px 0;
}
.inputbox {
width: 100%;
box-sizing: border-box;
border: 1px solid #ccc;
padding: 8px;
margin: 0;
font: inherit;
outline: 0;
position: relative;
z-index: 2;
}
.inputbox:focus {
border-color: #888;
}
.liveaddress {
position: relative;
}
.liveaddress .suggestions {
margin: 0;
padding: 8px;
list-style: none;
position: absolute;
left: 0;
right: 0;
background: #fff;
box-shadow: 0px 1px 1px rgba(0,0,0,0.2), 0 0 10px rgba(0,0,0,0.1);
}
.suggestions li {
padding: 2px 0;
}
.suggestions li:first-child {
padding-top: 0;
}
.suggestions li:last-child {
padding-bottom: 0;
}
.suggestions .current {
text-decoration: underline;
}