Add office location map dialogs
This commit is contained in:
@@ -1579,6 +1579,39 @@ code {
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.office-location {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 40px;
|
||||
gap: 18px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.office-map-button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
color: var(--text);
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, .05);
|
||||
cursor: pointer;
|
||||
transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
|
||||
}
|
||||
|
||||
.office-map-button img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.office-map-button:hover,
|
||||
.office-map-button:focus-visible {
|
||||
border-color: var(--accent);
|
||||
background: rgba(158, 233, 255, .12);
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.office-list h2 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@@ -1948,6 +1981,50 @@ html.has-site-dialog,
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.location-dialog {
|
||||
width: min(960px, calc(100% - 32px));
|
||||
}
|
||||
|
||||
.location-map-content {
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.location-map-frame {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: min(58dvh, 560px);
|
||||
min-height: 360px;
|
||||
border: 0;
|
||||
background: #0b1013;
|
||||
}
|
||||
|
||||
.location-map-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 16px 24px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.location-map-meta p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.location-map-meta a {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.location-map-meta img {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.sitemap-groups {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
@@ -1977,6 +2054,22 @@ html.has-site-dialog,
|
||||
.site-dialog-content {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.location-map-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.location-map-frame {
|
||||
height: 52dvh;
|
||||
min-height: 280px;
|
||||
}
|
||||
|
||||
.location-map-meta {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 14px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.contact-body button:disabled {
|
||||
|
||||
Reference in New Issue
Block a user