-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
181 lines (151 loc) · 3 KB
/
styles.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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* General Styles */
body {
font-family: Arial, sans-serif;
width: 600px;
margin: 0;
padding: 0;
background-color: #D5DBE0; /* Soft Gray */
color: #000000; /* Black text */
}
h1 {
font-size: 24px;
margin: 0;
padding: 15px;
text-align: center;
background-color: #75CFE3; /* Sky Blue */
color: #ffffff; /* White text */
}
#content {
padding: 15px;
}
/* Buttons */
button {
display: block;
width: calc(100% - 30px);
margin: 15px auto;
padding: 10px;
font-size: 16px;
background-color: #F5C242; /* Warm Yellow */
color: #000000; /* Black text */
border: none;
border-radius: 20px; /* Increased for more curvature */
cursor: pointer;
}
button:hover {
background-color: #F4A261; /* Pastel Orange */
color: #ffffff; /* White text */
}
/* Specific Buttons */
#getLocationButton {
background-color: #75CFE3; /* Sky Blue */
color: #ffffff; /* White text */
}
#getLocationButton:hover {
background-color: #5ABCD8; /* Slightly darker Sky Blue */
}
#findPlacesButton {
background-color: #F5C242; /* Warm Yellow */
}
#findPlacesButton:hover {
background-color: #F4A261; /* Pastel Orange */
}
#searchPlacesButton {
background-color: #F5C242; /* Warm Yellow */
}
#searchPlacesButton:hover {
background-color: #F4A261; /* Pastel Orange */
}
#logoutButton {
background-color: #f44336; /* Red for Sign Out */
color: #ffffff; /* White text */
border-radius: 20px; /* Curved button */
}
#logoutButton:hover {
background-color: #d32f2f;
}
/* Info Sections */
.info-section {
margin-bottom: 20px;
}
#location-info p,
#address p {
margin: 5px 0;
}
#location-info strong,
#address strong,
#places strong {
font-size: 18px;
color: #000000; /* Black text */
}
#map img {
max-width: 100%;
height: auto;
border: 1px solid #ccc;
border-radius: 10px; /* Slightly more curved */
}
/* Radius Slider */
#radius-section {
margin-top: 15px;
text-align: left;
}
#radius-section label {
display: block;
margin-bottom: 5px;
font-size: 16px;
color: #000000; /* Black text */
}
#radius-slider {
width: 100%;
}
/* Places List */
#places ul {
list-style-type: none;
padding: 0;
}
#places ul li {
padding: 0;
margin-bottom: 5px;
}
#places ul li a {
display: flex;
align-items: center;
background-color: #ffffff; /* White background */
padding: 10px;
border-radius: 15px; /* Increased curvature */
text-decoration: none;
color: #000000; /* Black text */
border: 1px solid #ccc;
}
#places ul li a:hover {
background-color: #F4A261; /* Pastel Orange */
color: #ffffff; /* White text */
}
#places ul li a img {
width: 60px;
height: 60px;
margin-right: 10px;
border-radius: 10px; /* More rounded images */
}
#places ul li a div {
flex: 1;
}
#places ul li a strong {
font-size: 16px;
}
#places ul li a p {
margin: 5px 0;
}
/* Error Messages */
.error {
color: red;
font-weight: bold;
}
/* Media Query for Responsiveness */
@media screen and (max-width: 600px) {
body {
width: 100%;
}
button {
width: calc(100% - 30px);
}
}