Add tarjouspyynto page with price calculator, update contact info and nav links
- New tarjouspyynto.html with real-time price calculator sidebar - Updated company info: Web1 Oy, Latokarinkatu 3, 20200 Turku - Nav links point to dedicated tarjouspyynto page across all pages - CTA buttons on yhteydet.html link to tarjouspyynto page - Calculator CSS for responsive two-column layout Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
182
style.css
182
style.css
@@ -1505,6 +1505,188 @@ a:hover {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* === Calculator Layout === */
|
||||
.calculator-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 360px;
|
||||
gap: 40px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.calculator-form {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calculator-form .form-section-title {
|
||||
border-top: 1px solid var(--color-border);
|
||||
padding-top: 20px;
|
||||
margin-top: 24px;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
.calculator-form .form-section-title:first-child {
|
||||
border-top: none;
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.calculator-form .form-group {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.calculator-form .form-group label {
|
||||
display: block;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 500;
|
||||
margin-bottom: 6px;
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
.calculator-form .checkbox-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.calculator-sidebar {
|
||||
position: sticky;
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
.price-calculator {
|
||||
background: var(--color-dark);
|
||||
color: var(--color-white);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 30px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.price-calculator h3 {
|
||||
font-size: 0.9rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
opacity: 0.7;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.calculator-total {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 4px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.calculator-amount {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-primary);
|
||||
font-family: 'Space Grotesk', sans-serif;
|
||||
}
|
||||
|
||||
.calculator-period {
|
||||
font-size: 1.1rem;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.calculator-vat {
|
||||
font-size: 0.8rem;
|
||||
opacity: 0.5;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.calculator-breakdown {
|
||||
border-top: 1px solid rgba(255,255,255,0.1);
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.calculator-empty {
|
||||
font-size: 0.88rem;
|
||||
opacity: 0.5;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.calc-line {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 0.88rem;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.05);
|
||||
}
|
||||
|
||||
.calc-line span:first-child {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.calc-line span:last-child {
|
||||
font-weight: 600;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.calculator-note {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
margin-top: 16px;
|
||||
padding: 12px;
|
||||
background: rgba(240,112,96,0.1);
|
||||
border-radius: var(--radius);
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.calculator-note svg {
|
||||
flex-shrink: 0;
|
||||
margin-top: 1px;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.calculator-contact {
|
||||
background: var(--color-white);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.calculator-contact h4 {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 8px;
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
.calculator-contact p {
|
||||
font-size: 0.88rem;
|
||||
color: var(--color-text-muted);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.calculator-email {
|
||||
display: block;
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.calculator-address {
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-text-muted);
|
||||
line-height: 1.6;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.calculator-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.calculator-sidebar {
|
||||
position: static;
|
||||
order: -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* === Animations === */
|
||||
.fade-in {
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user