Files
Webklar.com/.next/static/css/app/page.css
ANDJ 76791391d8 Prototyp fur die Navigationsleiste
Kleine anpassuungen Handy Ansicht
2025-12-14 17:27:12 +01:00

497 lines
12 KiB
CSS

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/GlassSurface.css ***!
\*************************************************************************************************************************************************************************************************************************************************************************/
.glass-surface {
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
transition: opacity 0.26s ease-out;
}
.glass-surface[style*="height: auto"] {
height: auto;
}
.glass-surface__filter {
width: 100%;
height: 100%;
pointer-events: none;
position: absolute;
inset: 0;
opacity: 0;
z-index: -1;
}
.glass-surface__content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
border-radius: inherit;
position: relative;
z-index: 1;
}
.glass-surface--svg {
background: light-dark(hsl(0 0% 100% / var(--glass-frost, 0)), hsl(0 0% 0% / var(--glass-frost, 0)));
-webkit-backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1));
backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1));
box-shadow:
0 0 2px 1px light-dark(color-mix(in oklch, black, transparent 85%), color-mix(in oklch, white, transparent 65%))
inset,
0 0 10px 4px light-dark(color-mix(in oklch, black, transparent 90%), color-mix(in oklch, white, transparent 85%))
inset,
0px 4px 16px rgba(17, 17, 26, 0.05),
0px 8px 24px rgba(17, 17, 26, 0.05),
0px 16px 56px rgba(17, 17, 26, 0.05),
0px 4px 16px rgba(17, 17, 26, 0.05) inset,
0px 8px 24px rgba(17, 17, 26, 0.05) inset,
0px 16px 56px rgba(17, 17, 26, 0.05) inset;
}
.glass-surface--fallback {
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
-webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.1);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow:
0 8px 32px 0 rgba(31, 38, 135, 0.2),
0 2px 16px 0 rgba(31, 38, 135, 0.1),
inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.2);
}
@media (prefers-color-scheme: dark) {
.glass-surface--fallback {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(12px) saturate(1.8) brightness(1.2);
-webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.2);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
}
}
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
.glass-surface--fallback {
background: rgba(255, 255, 255, 0.4);
box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.3);
}
.glass-surface--fallback::before {
content: '';
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.15);
border-radius: inherit;
z-index: -1;
}
@media (prefers-color-scheme: dark) {
.glass-surface--fallback {
background: rgba(0, 0, 0, 0.4);
}
.glass-surface--fallback::before {
background: rgba(255, 255, 255, 0.05);
}
}
}
.glass-surface:focus-visible {
outline: 2px solid light-dark(#007aff, #0a84ff);
outline-offset: 2px;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/LogoLoop.css ***!
\*********************************************************************************************************************************************************************************************************************************************************************/
.logoloop {
position: relative;
overflow-x: hidden;
--logoloop-gap: 32px;
--logoloop-logoHeight: 28px;
--logoloop-fadeColorAuto: #ffffff;
}
.logoloop--scale-hover {
padding-top: calc(var(--logoloop-logoHeight) * 0.1);
padding-bottom: calc(var(--logoloop-logoHeight) * 0.1);
}
@media (prefers-color-scheme: dark) {
.logoloop {
--logoloop-fadeColorAuto: #0b0b0b;
}
}
.logoloop__track {
display: flex;
width: -moz-max-content;
width: max-content;
will-change: transform;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.logoloop__list {
display: flex;
align-items: center;
}
.logoloop__item {
flex: 0 0 auto;
margin-right: var(--logoloop-gap);
font-size: var(--logoloop-logoHeight);
line-height: 1;
}
.logoloop__item:last-child {
margin-right: var(--logoloop-gap);
}
.logoloop__node {
display: inline-flex;
align-items: center;
}
.logoloop__item img {
height: var(--logoloop-logoHeight);
width: auto;
display: block;
-o-object-fit: contain;
object-fit: contain;
image-rendering: -webkit-optimize-contrast;
-webkit-user-drag: none;
pointer-events: none;
/* Links handle interaction */
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logoloop--scale-hover .logoloop__item {
overflow: visible;
}
.logoloop--scale-hover .logoloop__item:hover img,
.logoloop--scale-hover .logoloop__item:hover .logoloop__node {
transform: scale(1.2);
transform-origin: center center;
}
.logoloop--scale-hover .logoloop__node {
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logoloop__link {
display: inline-flex;
align-items: center;
text-decoration: none;
border-radius: 4px;
transition: opacity 0.2s ease;
}
.logoloop__link:hover {
opacity: 0.8;
}
.logoloop__link:focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
}
.logoloop--fade::before,
.logoloop--fade::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: clamp(24px, 8%, 120px);
pointer-events: none;
z-index: 1;
}
.logoloop--fade::before {
left: 0;
background: linear-gradient(
to right,
var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
transparent 100%
);
}
.logoloop--fade::after {
right: 0;
background: linear-gradient(
to left,
var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
transparent 100%
);
}
@media (prefers-reduced-motion: reduce) {
.logoloop__track {
transform: translate3d(0, 0, 0) !important;
}
.logoloop__item img,
.logoloop__node {
transition: none !important;
}
}
/*!********************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./components/PillNav.css ***!
\********************************************************************************************************************************************************************************************************************************************************************/
.pill-nav-container {
position: relative;
z-index: 99;
width: -moz-max-content;
width: max-content;
max-width: 100%;
}
@media (max-width: 768px) {
.pill-nav-container {
width: 100%;
left: 0;
}
}
.pill-nav {
--nav-h: 42px;
--logo: 36px;
--pill-pad-x: 18px;
--pill-gap: 3px;
width: -moz-max-content;
width: max-content;
display: flex;
align-items: center;
box-sizing: border-box;
}
@media (max-width: 768px) {
.pill-nav {
width: 100%;
justify-content: space-between;
padding: 0 1rem;
background: transparent;
}
}
.pill-nav-items {
position: relative;
display: flex;
align-items: center;
height: var(--nav-h);
background: var(--base, #000);
border-radius: 9999px;
}
.pill-logo {
width: var(--nav-h);
height: var(--nav-h);
border-radius: 50%;
background: var(--base, #000);
padding: 8px;
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.pill-logo img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
display: block;
}
.pill-list {
list-style: none;
display: flex;
align-items: stretch;
gap: var(--pill-gap);
margin: 0;
padding: 3px;
height: 100%;
}
.pill-list > li {
display: flex;
height: 100%;
}
.pill {
display: inline-flex;
align-items: center;
justify-content: center;
height: 100%;
padding: 0 var(--pill-pad-x);
background: var(--pill-bg, #fff);
color: var(--pill-text, var(--base, #000));
text-decoration: none;
border-radius: 9999px;
box-sizing: border-box;
font-weight: 600;
font-size: 16px;
line-height: 0;
text-transform: uppercase;
letter-spacing: 0.2px;
white-space: nowrap;
cursor: pointer;
position: relative;
overflow: hidden;
}
.pill .hover-circle {
position: absolute;
left: 50%;
bottom: 0;
border-radius: 50%;
background: var(--base, #000);
z-index: 1;
display: block;
pointer-events: none;
will-change: transform;
}
.pill .label-stack {
position: relative;
display: inline-block;
line-height: 1;
z-index: 2;
}
.pill .pill-label {
position: relative;
z-index: 2;
display: inline-block;
line-height: 1;
will-change: transform;
}
.pill .pill-label-hover {
position: absolute;
left: 0;
top: 0;
color: var(--hover-text, #fff);
z-index: 3;
display: inline-block;
will-change: transform, opacity;
}
.pill.is-active::after {
content: '';
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
width: 12px;
height: 12px;
background: var(--base, #000);
border-radius: 50px;
z-index: 4;
}
.desktop-only {
display: block;
}
.mobile-only {
display: none;
}
@media (max-width: 768px) {
.desktop-only {
display: none;
}
.mobile-only {
display: block;
}
}
.mobile-menu-button {
width: var(--nav-h);
height: var(--nav-h);
border-radius: 50%;
background: var(--base, #000);
border: none;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
cursor: pointer;
padding: 0;
position: relative;
}
@media (max-width: 768px) {
.mobile-menu-button {
display: flex;
}
}
.hamburger-line {
width: 16px;
height: 2px;
background: var(--pill-bg, #fff);
border-radius: 1px;
transition: all 0.01s ease;
transform-origin: center;
}
.mobile-menu-popover {
position: absolute;
top: 3em;
left: 1rem;
right: 1rem;
background: var(--base, #f0f0f0);
border-radius: 27px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
z-index: 998;
opacity: 0;
transform-origin: top center;
visibility: hidden;
}
.mobile-menu-list {
list-style: none;
margin: 0;
padding: 3px;
display: flex;
flex-direction: column;
gap: 3px;
}
.mobile-menu-popover .mobile-menu-link {
display: block;
padding: 12px 16px;
color: var(--pill-text, #fff);
background-color: var(--pill-bg, #fff);
text-decoration: none;
font-size: 16px;
font-weight: 500;
border-radius: 50px;
transition: all 0.2s ease;
}
.mobile-menu-popover .mobile-menu-link:hover {
cursor: pointer;
background-color: var(--base);
color: var(--hover-text, #fff);
}