Startseite: DogTag haengt an der Reaction-Kachel (Kette, Oese, Marke, Karte)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -10074,17 +10074,17 @@ body[data-ton] .kopfleiste__rechts > *:hover {
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag:active { transform: scale(.98); }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag:focus-visible { outline: 2px solid #a9dcff; outline-offset: 2px; }
|
||||
|
||||
/* Kette, Ring und Marke */
|
||||
.kdt-haenger { position: relative; flex: none; width: 52px; height: 58px; display: grid; justify-items: center; }
|
||||
/* Kette, Ring und Marke — es schwingt der ganze Anhänger an seiner Kette. */
|
||||
.kdt-haenger {
|
||||
position: relative; flex: none; width: 52px; height: 58px; display: grid; justify-items: center; align-content: start;
|
||||
transform-origin: 50% 0;
|
||||
animation: kdt-schwingen 2.6s cubic-bezier(.3, .7, .3, 1) .35s 1 both;
|
||||
}
|
||||
.kdt-kette {
|
||||
width: 2px; height: 8px; border-radius: 1px;
|
||||
background: linear-gradient(#cfd8e2, #8d99a7);
|
||||
}
|
||||
.kdt-marke {
|
||||
position: relative; width: 50px; height: 50px; display: grid; place-items: center;
|
||||
transform-origin: 50% -6px;
|
||||
animation: kdt-schwingen 2.6s cubic-bezier(.3, .7, .3, 1) .35s 1 both;
|
||||
}
|
||||
.kdt-marke { position: relative; width: 50px; height: 50px; display: grid; place-items: center; }
|
||||
.kdt-marke > svg.dogtag-marke { position: relative; width: 32px; height: auto; display: block; margin-top: -5px; }
|
||||
.kdt-ring { position: absolute; inset: 0; width: 50px; height: 50px; transform: rotate(-90deg); }
|
||||
.kdt-ring__spur { fill: rgba(5, 11, 20, .55); stroke: rgba(169, 220, 255, .18); stroke-width: 3; }
|
||||
@@ -10103,7 +10103,7 @@ body[data-ton] .kopfleiste__rechts > *:hover {
|
||||
}
|
||||
|
||||
/* Text und Pfeil */
|
||||
.kdt-text { display: grid; gap: 1px; min-width: 0; }
|
||||
.kdt-text { position: relative; display: grid; gap: 1px; min-width: 0; overflow: hidden; }
|
||||
.kdt-titel { font-weight: 800; font-size: .92rem; color: #f3faff; letter-spacing: .01em; }
|
||||
.kdt-neben { font-size: .74rem; color: #a9dcff; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.kdt-zustand { font-size: .78rem; color: #c9dcee; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
@@ -10126,5 +10126,64 @@ body[data-ton] .kopfleiste__rechts > *:hover {
|
||||
.kdt-pfeil { margin-left: auto; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.kdt-marke, .kachel__dogtag[data-bereit="ja"] .kdt-glanz { animation: none; }
|
||||
.kdt-haenger, .kachel__dogtag[data-bereit="ja"] .kdt-glanz { animation: none; }
|
||||
}
|
||||
|
||||
/* ==== AN DER KACHEL HÄNGEND (breite Kachel) ===========================
|
||||
Filipe: „es soll besser in der kachel positioniert sein, besser krasser
|
||||
geiler integriert“. Ist die Kachel breit genug (gemessen wird die
|
||||
KACHEL, nicht der Bildschirm — Container-Abfrage), hängt der DogTag
|
||||
wirklich an ihr: Die Kette kommt von der oberen Kachelkante, die Marke
|
||||
baumelt rechts vor dem großen Wasserzeichen, die Karte hängt seitlich
|
||||
daran wie ein Anhänger. Die Kachel wird dafür nicht höher. Schmale
|
||||
Kacheln (Handy) behalten die Reihe darunter. */
|
||||
.kachel[data-sendung="ja"] { container-type: inline-size; }
|
||||
@container (min-width: 700px) {
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag {
|
||||
position: absolute; top: 0; right: 44px; margin: 0; padding: 0;
|
||||
min-height: 0; max-width: none; gap: 0; align-items: flex-start;
|
||||
border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
|
||||
}
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag[data-bereit="ja"] { box-shadow: none; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag:active { transform: none; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-haenger { order: 3; width: 84px; height: 116px; }
|
||||
/* Die Öse: Hier ist die Kette an der Kachel festgemacht. */
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-haenger::before {
|
||||
content: ""; position: absolute; top: -1px; left: 50%; width: 16px; height: 7px;
|
||||
transform: translateX(-50%); border-radius: 0 0 8px 8px;
|
||||
background: linear-gradient(#eef4fa, #8a96a4); box-shadow: 0 2px 4px rgba(0, 0, 0, .45);
|
||||
}
|
||||
/* Ein leiser Schein hinter der Marke, damit sie sich vom Wasserzeichen löst. */
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-marke::before {
|
||||
content: ""; position: absolute; inset: -14px; border-radius: 50%; pointer-events: none;
|
||||
background: radial-gradient(circle, rgba(108, 196, 255, .22), rgba(108, 196, 255, 0) 68%);
|
||||
}
|
||||
/* Die Kette: Glieder statt Strich, von der Kachelkante an. */
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-kette {
|
||||
width: 4px; height: 34px; border-radius: 2px;
|
||||
background: repeating-linear-gradient(to bottom, #d7dfe8 0 5px, #7d8896 5px 7px);
|
||||
}
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-marke {
|
||||
width: 78px; height: 78px; margin-top: -2px;
|
||||
filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
|
||||
}
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-ring { width: 78px; height: 78px; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-marke > svg.dogtag-marke { width: 50px; margin-top: -8px; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-punkt { top: 38px; right: 6px; width: 11px; height: 11px; }
|
||||
/* Die Karte hängt links an der Marke. */
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-text {
|
||||
order: 1; margin: 46px -10px 0 0; padding: 10px 26px 11px 16px;
|
||||
border-radius: 14px; border: 1px solid rgba(169, 220, 255, .3);
|
||||
background:
|
||||
radial-gradient(120% 160% at 100% 50%, rgba(108, 196, 255, .22), rgba(108, 196, 255, 0) 60%),
|
||||
rgba(9, 22, 38, .92);
|
||||
box-shadow: 0 14px 30px -18px #000, inset 0 1px 0 rgba(243, 250, 255, .07);
|
||||
transition: border-color .25s ease;
|
||||
}
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag[data-bereit="ja"] .kdt-text { border-color: rgba(243, 250, 255, .55); }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag:hover .kdt-text,
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag:focus-visible .kdt-text { border-color: #a9dcff; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-titel { font-size: 1rem; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-titel::after { content: " ›"; color: #a9dcff; }
|
||||
.kachel[data-sendung="ja"] > .kachel__dogtag .kdt-pfeil { display: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user