-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (108 loc) · 2.18 KB
/
style.css
File metadata and controls
124 lines (108 loc) · 2.18 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_ai_powered_summaries] */
/* Reuse existing map height */
gmp-map {
height: 100%;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
/* Existing Autocomplete Card Style */
.place-autocomplete-card {
background-color: #fff;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
margin: 10px;
padding: 2px;
font-family: Roboto, sans-serif;
font-size: 1rem;
}
gmp-place-autocomplete {
width: 330px;
}
/* New: Summary Panel Styles */
.summary-card {
background-color: #fff;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
margin: 10px;
padding: 0; /* Padding handled by children */
font-family: Roboto, sans-serif;
width: 350px;
max-height: 80vh; /* Prevent overflow on small screens */
overflow-y: auto;
display: flex;
flex-direction: column;
}
.hidden {
display: none;
}
#place-header {
padding: 15px;
background-color: #f8f9fa;
border-bottom: 1px solid #ddd;
}
#place-header h2 {
margin: 0 0 5px 0;
font-size: 1.2rem;
}
#place-address {
margin: 0;
color: #555;
font-size: 0.9rem;
}
/* Tab Navigation */
.tab-container {
display: flex;
border-bottom: 1px solid #ddd;
background-color: #fff;
}
.tab-button {
flex: 1;
background: none;
border: none;
padding: 10px;
cursor: pointer;
font-weight: 500;
color: #555;
border-bottom: 3px solid transparent;
}
.tab-button:hover {
background-color: #f1f1f1;
}
.tab-button.active {
font-weight: bold;
border-bottom: 3px solid #000000;
}
.tab-button.active:hover {
background-color: #ffffff;
cursor: default;
}
/* Content Area */
.content-area {
padding: 15px;
line-height: 1.5;
font-size: 0.95rem;
color: #333;
}
.disclosure-footer {
font-size: 0.75rem;
color: #666;
padding: 10px 15px;
border-top: 1px solid #eee;
font-style: italic;
}
.flag-content-link {
font-size: 0.75rem;
color: #666;
padding: 10px 15px;
border-top: 1px solid #eee;
}
/* [END maps_ai_powered_summaries] */