-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (66 loc) · 1.28 KB
/
style.css
File metadata and controls
76 lines (66 loc) · 1.28 KB
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
/**
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_data_session] */
/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
*/
gmp-map {
height: 100%;
}
/*
* Optional: Makes the sample page fill the window.
*/
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
.place-button {
height: 3rem;
width: 100%;
background-color: transparent;
text-align: left;
border: none;
cursor: pointer;
}
.place-button:focus-visible {
outline: 2px solid #0056b3;
border-radius: 2px;
}
.input {
width: 300px;
font-size: small;
margin-bottom: 1rem;
}
/* Styles for the floating panel */
.controls {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
font-family: sans-serif;
font-size: small;
margin: 12px;
padding: 1rem;
}
.title {
font-weight: bold;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
.results {
list-style-type: none;
margin: 0;
padding: 0;
}
.results li:not(:last-child) {
border-bottom: 1px solid #ddd;
}
.results li:hover {
background-color: #eee;
}
/* [END maps_place_autocomplete_data_session] */