-
Notifications
You must be signed in to change notification settings - Fork 821
/
style.css
executable file
·85 lines (73 loc) · 1.14 KB
/
style.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* [START maps_place_search_pagination] */
/* Optional: Makes the sample page fill the window. */
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
#container {
height: 100%;
display: flex;
}
#sidebar {
flex-basis: 5rem;
flex-grow: 1;
padding: 1rem;
max-width: 30rem;
height: 100%;
box-sizing: border-box;
overflow: auto;
}
#map {
flex-basis: 0;
flex-grow: 4;
height: 100%;
}
#sidebar {
display: flex;
flex-direction: column;
}
h2 {
font-size: 1.5rem;
margin: 0 0 5px 0;
flex-grow: 0;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
overflow-y: scroll;
flex-grow: 1;
}
li {
background-color: #f1f1f1;
padding: 10px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-size: 1.25rem;
cursor: pointer;
}
li:nth-child(odd) {
background-color: #fcfcfc;
}
button {
width: 100%;
padding: 1rem;
flex-grow: 0;
cursor: pointer;
background: #1a73e8;
font-size: 1.5rem;
color: white;
border: none;
}
button:hover {
color: #c5d4f0;
}
button:disabled {
background-color: #9fc1ee;
color: #c5d4f0;
cursor: auto;
}
/* [END maps_place_search_pagination] */