feat: add sidebar, landing page, orphanages map, and API service with styles
This commit is contained in:
109
web/src/styles/orphanages.css
Normal file
109
web/src/styles/orphanages.css
Normal file
@@ -0,0 +1,109 @@
|
||||
#page-map {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#page-map aside {
|
||||
width: 440px;
|
||||
background: linear-gradient(329.54deg, #29b6d1 0%, #00c7c7 100%);
|
||||
|
||||
padding: 80px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#page-map aside h1 {
|
||||
font-weight: 800;
|
||||
font-size: 40px;
|
||||
line-height: 42px;
|
||||
margin-top: 64px;
|
||||
}
|
||||
|
||||
#page-map aside p {
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
#page-map aside footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#page-map aside footer {
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#page-map aside footer strong {
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
#page-map .create-orphanage {
|
||||
z-index: 10;
|
||||
position: absolute;
|
||||
bottom: 40px;
|
||||
right: 40px;
|
||||
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background-color: #15C3D6;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0px 4px 10px rgba(23, 142, 166, 0.4); /* Shadow added */
|
||||
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
#page-map .create-orphanage:hover {
|
||||
background-color: #17d6eb;
|
||||
}
|
||||
|
||||
/* --- NEW STYLING FOR GOOGLE MAPS INFO WINDOW --- */
|
||||
.map-popup {
|
||||
color: #0089a5;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.map-popup a {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background: #15c3d6;
|
||||
box-shadow: 17.2868px 27.6589px 41.4884px rgba(23, 142, 166, 0.16);
|
||||
border-radius: 12px;
|
||||
margin-left: 12px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* This targets the default close button on the Google InfoWindow */
|
||||
.gm-ui-hover-effect {
|
||||
top: 4px !important;
|
||||
right: 4px !important;
|
||||
}
|
||||
|
||||
/* This targets the default white background and arrow of the Google InfoWindow */
|
||||
.gm-style-iw-c {
|
||||
padding: 12px !important;
|
||||
border-radius: 20px !important;
|
||||
}
|
||||
.gm-style-iw-d {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
Reference in New Issue
Block a user