Merge remote-tracking branch 'origin/develop' into feature/shop-aufraeumen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
6160e95d57
8 files changed
+115
-17
No files matched your search
@@ -149,6 +149,49 @@ .lf-features--right .lf-features__item { text-align: right; }
|
||||
.lf-features--right .lf-features__symbol { align-self: flex-end; }
|
||||
.lf-features--right .lf-features__text { margin-inline-start: auto; }
|
||||
|
||||
/*
|
||||
* Lage des Symbols (Einstellung „Lage des Symbols“): Vorgabe über dem Text. Links oder rechts steht das Symbol neben Titel,
|
||||
* Satz und Link (Klassen nur bei Abweichung). Die Zeichnung sitzt oben, bündig mit der Oberkante des Titels, egal wie die
|
||||
* Texte ausgerichtet sind. Neben dem Text braucht ein Merkmal mehr Breite, sonst bliebe für große Symbole kaum Zeile übrig.
|
||||
*/
|
||||
.lf-features__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2);
|
||||
min-inline-size: 0;
|
||||
}
|
||||
|
||||
.lf-features--symbol-left,
|
||||
.lf-features--symbol-right {
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
||||
}
|
||||
|
||||
.lf-features--symbol-left.lf-features--1,
|
||||
.lf-features--symbol-right.lf-features--1 {
|
||||
grid-template-columns: minmax(0, 28rem);
|
||||
}
|
||||
|
||||
.lf-features--symbol-left .lf-features__item,
|
||||
.lf-features--symbol-right .lf-features__item {
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.lf-features--symbol-right .lf-features__item { flex-direction: row-reverse; }
|
||||
|
||||
.lf-features--symbol-left .lf-features__symbol,
|
||||
.lf-features--symbol-right .lf-features__symbol { align-self: flex-start; }
|
||||
|
||||
.lf-features--symbol-left .lf-features__body,
|
||||
.lf-features--symbol-right .lf-features__body { flex: 1 1 0; }
|
||||
|
||||
/* Auf schmalen Fenstern steht „Sehr groß“ neben dem Text eine Stufe kleiner, damit für Titel und Satz genug Zeile bleibt. */
|
||||
@media (max-width: 30rem) {
|
||||
.lf-features--symbol-left.lf-features--size-xlarge .lf-features__symbol,
|
||||
.lf-features--symbol-right.lf-features--size-xlarge .lf-features__symbol { --sym-s: var(--lf-symbol-large); }
|
||||
}
|
||||
|
||||
/* Größe der Symbole (Einstellung „Größe der Symbole“): Kantenlänge des Quadrats, in das die Zeichnung passt. */
|
||||
.lf-features--size-small .lf-features__symbol { --sym-s: var(--lf-symbol-small); }
|
||||
.lf-features--size-large .lf-features__symbol { --sym-s: var(--lf-symbol-large); }
|
||||
|
||||
Reference in new issue
Block a user