Match VSF list-card form structure 1:1 with form-sections pattern

This commit is contained in:
2026-05-27 16:52:12 +02:00
parent 61a5360563
commit d94fd4e530
2 changed files with 55 additions and 51 deletions
+9 -1
View File
@@ -20,8 +20,13 @@
<header class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue sg-object-card__header" data-pattern-part="object-group-card-header"> <header class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue sg-object-card__header" data-pattern-part="object-group-card-header">
<div class="sg-strong">Neue Liste anlegen</div> <div class="sg-strong">Neue Liste anlegen</div>
</header> </header>
<div class="sg-card-segment sg-card-segment--body sg-card-segment--lightgrey sg-object-card__content" data-pattern-part="object-group-card-content"> <div class="sg-card-segment sg-card-segment--gray sg-object-card__content" data-pattern-part="object-group-card-content">
<div class="sg-form-sections-card-wrapper" data-pattern="form-sections" aria-label="Formular mit Abschnitten">
<form class="sg-form-sections-card" action="#" method="post" aria-label="Neue Liste anlegen Formular"> <form class="sg-form-sections-card" action="#" method="post" aria-label="Neue Liste anlegen Formular">
<div class="sg-form-sections-card__body" data-pattern-part="form-body">
<section class="sg-form-sections-card__chapter" aria-labelledby="vsf-list-card-neue-liste-anlegen">
<h2 id="vsf-list-card-neue-liste-anlegen" class="sg-strong sg-form-sections-card__chapter-title">Neue Liste</h2>
<div class="sg-form-sections-card__field-group"> <div class="sg-form-sections-card__field-group">
<label class="sg-labeled-input-row"> <label class="sg-labeled-input-row">
<span class="sg-label">Listentyp</span> <span class="sg-label">Listentyp</span>
@@ -61,6 +66,8 @@
></textarea> ></textarea>
</label> </label>
</div> </div>
</section>
</div>
<footer class="sg-form-sections-card__actions-segment" data-pattern-part="form-actions-segment"> <footer class="sg-form-sections-card__actions-segment" data-pattern-part="form-actions-segment">
<div class="sg-form-sections-card__actions" data-pattern-part="form-actions"> <div class="sg-form-sections-card__actions" data-pattern-part="form-actions">
@@ -70,6 +77,7 @@
</footer> </footer>
</form> </form>
</div> </div>
</div>
</article> </article>
</div> </div>
</section> </section>
-4
View File
@@ -1,7 +1,3 @@
/* ========================================================= */ /* ========================================================= */
/* Patterns: VSF List Card */ /* Patterns: VSF List Card */
/* ========================================================= */ /* ========================================================= */
#layout-vsf-list-card .sg-object-card[data-pattern="object-group-card"] .sg-object-card__content.sg-card-segment--lightgrey {
background: var(--surface-card-segment-neutral);
}