Files
homeproz/wp-content/themes/homeproz/template-parts/content/content-contact.scss
T
Hanson.xyz Dev cbeca7c6d8 UI/UX improvements: gallery autoplay, clickable cards, footer legal section
Property details page:
- Move address to header above gallery
- Add property type badges (blue residential, red commercial)
- Gallery autoplay with play/pause button, 5-second interval
- Fade transitions for autoplay, slide transitions for swipe
- Thumbnail navigation with sync
- Swipe support in gallery and lightbox
- Widget titles: 18px Times New Roman bold
- Remove breadcrumbs

Layout and styling:
- Container width: 1400px
- Contact page map 50% taller (375px)
- Contact info labels: Times New Roman 16px
- Agent photo backgrounds solid black
- CTA accent button hover: black text

Clickable components:
- Service cards fully clickable with stretched links
- Resource cards fully clickable with stretched links
- Addresses link to Google Maps (contact page, footer)

Footer updates:
- Add Send Us a Message link with paper airplane icon
- Replace credentials with legal section
- Privacy Policy, Fair Housing, MLS Disclaimer, Brokerage Disclosure links
- Credits: Web Design by HansonXyz

Other:
- Install Classic Editor plugin

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 00:24:34 -06:00

228 lines
4.9 KiB
SCSS
Executable File

/**
* Contact Page Styles
*
* @package HomeProz
*/
.Contact_Page {
.contact-page-main {
padding: 0;
}
// Contact Section
.contact-section {
padding: 4rem 0;
background-color: var(--color-bg-dark);
@media (max-width: 768px) {
padding: 3rem 0;
}
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
@media (max-width: 1024px) {
grid-template-columns: 1fr;
gap: 2rem;
}
}
// Contact Form
.contact-form-wrapper {
background-color: var(--color-bg-card);
padding: 2rem;
border-radius: 0.5rem;
}
.contact-form-title {
font-family: var(--font-display);
font-size: 1.5rem;
color: var(--color-text);
margin-bottom: 1.5rem;
}
.contact-form-notice {
color: var(--color-text-muted);
font-style: italic;
margin-bottom: 1.5rem;
}
.contact-form {
.form-group {
margin-bottom: 1.25rem;
}
label {
display: block;
font-size: 0.875rem;
font-weight: 600;
color: var(--color-text);
margin-bottom: 0.5rem;
.required {
color: var(--color-accent);
}
}
input,
textarea {
width: 100%;
}
button[type="submit"] {
width: 100%;
margin-top: 0.5rem;
}
}
// Contact Form 7 Overrides
.wpcf7-form {
.form-group,
p {
margin-bottom: 1.25rem;
}
label {
display: block;
font-size: 0.875rem;
font-weight: 600;
color: var(--color-text);
margin-bottom: 0.5rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
width: 100%;
}
input[type="submit"] {
width: 100%;
margin-top: 0.5rem;
background-color: var(--color-accent);
color: white;
padding: 0.75rem 1.5rem;
font-weight: 600;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border-radius: 0.25rem;
border: none;
cursor: pointer;
&:hover {
background-color: var(--color-accent-hover);
}
}
.wpcf7-response-output {
margin: 1rem 0 0;
padding: 1rem;
border-radius: 0.25rem;
}
.wpcf7-mail-sent-ok {
background-color: var(--color-success);
color: white;
border: none;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
background-color: var(--color-accent);
color: white;
border: none;
}
}
// Contact Info
.contact-info-wrapper {
display: flex;
flex-direction: column;
}
.contact-info-title {
font-family: var(--font-display);
font-size: 1.5rem;
color: var(--color-text);
margin-bottom: 1.5rem;
}
.contact-info-list {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-bottom: 2rem;
}
.contact-info-item {
display: flex;
gap: 1rem;
}
.contact-info-icon {
flex-shrink: 0;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--color-bg-card);
border-radius: 0.5rem;
color: var(--color-accent);
}
.contact-info-content {
flex: 1;
}
.contact-info-label {
font-family: 'Times New Roman', Times, serif;
font-size: 1rem;
font-weight: 600;
color: var(--color-text);
margin-bottom: 0.25rem;
}
.contact-info-value {
font-size: 0.9375rem;
color: var(--color-text-muted);
margin-bottom: 0;
line-height: 1.5;
a {
color: var(--color-text-muted);
&:hover {
color: var(--color-accent-light);
}
}
}
// Map
.contact-map {
border-radius: 0.5rem;
overflow: hidden;
background-color: var(--color-bg-card);
iframe {
display: block;
}
}
// Additional Content
.contact-additional-content {
padding: 3rem 0;
background-color: var(--color-bg-card);
.entry-content {
max-width: 800px;
margin: 0 auto;
}
}
}