164 lines
2.2 KiB
CSS
164 lines
2.2 KiB
CSS
|
|
* {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.container {
|
||
|
|
width: 100%;
|
||
|
|
height: 100vh;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
header {
|
||
|
|
background-color: #003e7e;
|
||
|
|
color: white;
|
||
|
|
padding: 1rem;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
#map-container {
|
||
|
|
width: 100%;
|
||
|
|
height: calc(100vh - 200px);
|
||
|
|
}
|
||
|
|
|
||
|
|
#branch-info {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
background: white;
|
||
|
|
padding-top: 20px;
|
||
|
|
padding-left: 15px;
|
||
|
|
padding-right: 10px;
|
||
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
||
|
|
transform: translateY(100%);
|
||
|
|
transition: transform 0.3s ease-out;
|
||
|
|
z-index: 9999;
|
||
|
|
pointer-events: auto;
|
||
|
|
height: 225px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#branch-info.active {
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
#branch-info.hidden {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-content {
|
||
|
|
max-width: 600px;
|
||
|
|
margin: 0 auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
h2 {
|
||
|
|
color: #000;
|
||
|
|
margin-bottom: 6%;
|
||
|
|
margin-top: 7%;
|
||
|
|
font-size: 21px;
|
||
|
|
}
|
||
|
|
|
||
|
|
p {
|
||
|
|
margin-bottom: 12px;
|
||
|
|
color: #333;
|
||
|
|
font-size: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
button {
|
||
|
|
padding: 10px 20px;
|
||
|
|
margin: 10px 5px;
|
||
|
|
border: none;
|
||
|
|
border-radius: 5px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#navigate-btn {
|
||
|
|
background-color: #003e7e;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
#close-btn {
|
||
|
|
background-color: #f0f0f0;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
button:hover {
|
||
|
|
opacity: 0.9;
|
||
|
|
}
|
||
|
|
|
||
|
|
#navigate-btn {
|
||
|
|
background-color: #0c2d5d;
|
||
|
|
/* 深蓝色背景 */
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
width: 60px;
|
||
|
|
height: 60px;
|
||
|
|
position: fixed;
|
||
|
|
bottom: 145px;
|
||
|
|
right: 5px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||
|
|
cursor: pointer;
|
||
|
|
z-index: 99999;
|
||
|
|
}
|
||
|
|
|
||
|
|
#navigate-btn img {
|
||
|
|
width: 50px;
|
||
|
|
height: 50px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.navigate-btn-span {
|
||
|
|
color: #003e7e;
|
||
|
|
position: fixed;
|
||
|
|
bottom: 133px;
|
||
|
|
right: 25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#logo-box {
|
||
|
|
position: absolute;
|
||
|
|
bottom: 200px;
|
||
|
|
left: 15px;
|
||
|
|
background: white;
|
||
|
|
padding: 6px 10px;
|
||
|
|
border-radius: 10px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||
|
|
z-index: 99999;
|
||
|
|
}
|
||
|
|
|
||
|
|
#logo-box img {
|
||
|
|
width: 50px;
|
||
|
|
height: 50px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-trim {
|
||
|
|
width: 25px;
|
||
|
|
height: 25px;
|
||
|
|
margin-right: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-trim2 {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
margin-right: 14px;
|
||
|
|
margin-top: 1px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#branch-phone a {
|
||
|
|
color: #1c447b;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
#branch-address {
|
||
|
|
margin-bottom: 5%;
|
||
|
|
}
|