header:navbar e footer
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-19 13:07:16 +02:00
parent 3ca67a53c1
commit 14ad2f60c5
34 changed files with 1631 additions and 410 deletions
+289
View File
@@ -7,6 +7,295 @@
@custom-variant dark (&:is(.dark *));
/* Institutional shell adapted from Tempo; page content keeps its own theme. */
.tempo-header {
position: relative;
z-index: 40;
background: #090909;
color: #fff;
}
.tempo-logo-link {
display: inline-flex;
align-items: center;
border-radius: 0.25rem;
}
.tempo-nav-trigger {
display: flex;
min-height: 44px;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 0.75rem;
border-radius: 0.5rem;
font-size: 0.875rem;
font-weight: 600;
color: #eee;
transition:
color 0.2s,
background 0.2s;
}
.tempo-nav-trigger:hover,
.tempo-nav-trigger[data-state='open'] {
background: #ffffff0d;
color: #fff;
}
.tempo-nav-trigger[data-current-group] {
color: #fff;
box-shadow: inset 0 -2px #ed1c24;
}
.tempo-nav-trigger[data-state='open'] > svg {
transform: rotate(180deg);
}
@media (max-width: 640px) {
.tempo-nav-trigger {
gap: 0.25rem;
padding-inline: 0.25rem;
font-size: 0.75rem;
}
.tempo-nav-trigger > svg {
width: 12px;
height: 12px;
}
}
.tempo-utility-button {
display: flex;
min-height: 40px;
align-items: center;
gap: 0.4rem;
padding: 0.4rem;
border-radius: 0.5rem;
font-size: 0.75rem;
color: #e2e8f0;
}
.tempo-utility-button:hover {
background: #ffffff10;
}
.tempo-header-social {
display: flex;
width: 30px;
height: 40px;
align-items: center;
justify-content: center;
color: var(--social-color);
transition:
transform 0.2s,
opacity 0.2s;
border-radius: 0.4rem;
}
.tempo-header-social:hover {
transform: translateY(-2px);
opacity: 0.8;
}
.tempo-login-button {
display: inline-flex;
min-height: 40px;
align-items: center;
gap: 0.5rem;
border: 1px solid #ffffff50;
border-radius: 0.4rem;
padding: 0.5rem 0.85rem;
font-size: 0.8rem;
font-weight: 600;
color: #fff;
transition:
background 0.2s,
border-color 0.2s;
}
.tempo-login-button:hover {
background: #ed1c24;
border-color: #ed1c24;
}
.tempo-header-actions {
order: 2;
display: flex;
align-items: center;
gap: 0.5rem;
margin-left: auto;
}
.tempo-interest-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0.5rem 0.75rem;
border: 1px solid #ed1c24;
border-radius: 0.4rem;
background: #ed1c24;
color: white;
font-size: 0.75rem;
font-weight: 600;
white-space: nowrap;
transition: background 0.2s;
}
.tempo-interest-button:hover {
background: #c9151c;
}
.tempo-panel-summary {
order: 4;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
width: 100%;
min-height: 44px;
padding-block: 0.5rem;
border-top: 1px solid #ffffff1a;
font-size: 0.75rem;
}
.tempo-panel-summary a {
color: #fff;
text-underline-offset: 3px;
}
.tempo-panel-summary a:hover {
text-decoration: underline;
}
.tempo-panel-summary span {
color: #cbd5e1;
font-size: 0.6875rem;
white-space: nowrap;
}
@media (max-width: 480px) {
.tempo-header-actions {
flex-direction: column;
align-items: flex-end;
padding-block: 0.65rem;
}
}
@media (min-width: 1280px) {
.tempo-header-actions {
order: 6;
margin-left: 0;
}
.tempo-header-inner .tempo-nav-trigger {
padding-inline: 0.5rem;
font-size: 0.8125rem;
}
.tempo-panel-summary {
order: 0;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 0.1rem;
width: auto;
min-width: 102px;
border-top: 0;
border-left: 1px solid #ffffff1a;
padding-left: 0.75rem;
}
}
.tempo-header :is(a, button):focus-visible {
outline: 2px solid #fff;
outline-offset: 4px;
}
.tempo-dropdown {
z-index: 60;
border: 1px solid #e2e8f0;
border-radius: 0.8rem;
background: #fff;
color: #0f172a;
box-shadow: 0 18px 50px #00000026;
transform-origin: var(--radix-dropdown-menu-content-transform-origin);
animation-duration: 160ms;
}
.tempo-menu-item {
min-height: 42px;
gap: 0.5rem;
border-radius: 0.4rem;
padding: 0.6rem 0.7rem;
font-size: 0.8125rem;
white-space: normal;
line-height: 1.5;
}
.tempo-menu-item[data-highlighted],
.tempo-menu-item:focus,
.tempo-menu-item[aria-current='page'] {
background: #fef2f2;
color: #b91c1c;
outline: none;
}
.tempo-footer {
margin-top: 2rem;
background: #050505;
color: #fff;
}
.tempo-footer-heading {
margin-bottom: 1.4rem;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
}
.tempo-footer-link {
display: inline-flex;
align-items: baseline;
gap: 0.35rem;
font-size: 0.8125rem;
line-height: 1.5;
color: #e2e8f0;
transition:
color 0.2s,
transform 0.2s;
}
.tempo-footer-link > svg {
align-self: center;
color: #ed1c24;
flex-shrink: 0;
}
.tempo-footer-link:hover {
color: #fb7185;
transform: translateX(3px);
}
.tempo-contact-link {
display: flex;
align-items: center;
gap: 0.7rem;
transition: color 0.2s;
}
.tempo-contact-link:hover {
color: #fb7185;
}
.tempo-contact-icon {
display: flex;
width: 36px;
height: 36px;
flex-shrink: 0;
align-items: center;
justify-content: center;
border: 1px solid #ffffff12;
border-radius: 0.65rem;
background: #ffffff08;
}
.tempo-footer-social {
display: flex;
width: 40px;
height: 44px;
align-items: center;
justify-content: center;
border: 1px solid #ffffff15;
border-radius: 0.65rem;
color: #fff;
transition:
color 0.2s,
border-color 0.2s,
transform 0.2s;
}
.tempo-footer-social:hover {
color: var(--social-color);
border-color: var(--social-color);
transform: translateY(-3px);
}
.tempo-footer :is(a, button):focus-visible {
outline: 2px solid #fb7185;
outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
.tempo-header *,
.tempo-footer *,
.tempo-dropdown {
animation-duration: 0ms !important;
transition-duration: 0ms !important;
}
}
@theme {
--font-sans:
'Instrument Sans', ui-sans-serif, system-ui, sans-serif,