Match VSF list-card form structure 1:1 with form-sections pattern
This commit is contained in:
+55
-47
@@ -20,55 +20,63 @@
|
|||||||
<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">
|
||||||
<form class="sg-form-sections-card" action="#" method="post" aria-label="Neue Liste anlegen Formular">
|
<div class="sg-form-sections-card-wrapper" data-pattern="form-sections" aria-label="Formular mit Abschnitten">
|
||||||
<div class="sg-form-sections-card__field-group">
|
<form class="sg-form-sections-card" action="#" method="post" aria-label="Neue Liste anlegen Formular">
|
||||||
<label class="sg-labeled-input-row">
|
<div class="sg-form-sections-card__body" data-pattern-part="form-body">
|
||||||
<span class="sg-label">Listentyp</span>
|
<section class="sg-form-sections-card__chapter" aria-labelledby="vsf-list-card-neue-liste-anlegen">
|
||||||
<div class="sg-pulldown-demo" data-open="false" data-align="left" data-selection-mode="single" data-component="pulldown" data-component-context="form" data-component-state="inactive-selectable">
|
<h2 id="vsf-list-card-neue-liste-anlegen" class="sg-strong sg-form-sections-card__chapter-title">Neue Liste</h2>
|
||||||
<button class="sg-interaction-element sg-pulldown sg-pulldown--inactive-selectable sg-form-inactive-selectable sg-pulldown-demo__trigger" type="button" aria-expanded="false" aria-label="Pulldown ohne aktive Auswahl" data-component-part="pulldown-trigger" data-label-base="Listentyp">
|
|
||||||
Listentyp
|
<div class="sg-form-sections-card__field-group">
|
||||||
</button>
|
<label class="sg-labeled-input-row">
|
||||||
<div class="sg-pulldown-panel" aria-label="Geoeffnetes Pulldown Listentyp" data-component-part="pulldown-panel">
|
<span class="sg-label">Listentyp</span>
|
||||||
<ul class="sg-pulldown-option-list" aria-label="Listentyp Optionen">
|
<div class="sg-pulldown-demo" data-open="false" data-align="left" data-selection-mode="single" data-component="pulldown" data-component-context="form" data-component-state="inactive-selectable">
|
||||||
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Watchlist</span></li>
|
<button class="sg-interaction-element sg-pulldown sg-pulldown--inactive-selectable sg-form-inactive-selectable sg-pulldown-demo__trigger" type="button" aria-expanded="false" aria-label="Pulldown ohne aktive Auswahl" data-component-part="pulldown-trigger" data-label-base="Listentyp">
|
||||||
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Portfolio</span></li>
|
Listentyp
|
||||||
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Screening</span></li>
|
</button>
|
||||||
</ul>
|
<div class="sg-pulldown-panel" aria-label="Geoeffnetes Pulldown Listentyp" data-component-part="pulldown-panel">
|
||||||
|
<ul class="sg-pulldown-option-list" aria-label="Listentyp Optionen">
|
||||||
|
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Watchlist</span></li>
|
||||||
|
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Portfolio</span></li>
|
||||||
|
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Screening</span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="sg-labeled-input-row">
|
||||||
|
<span class="sg-label">Name</span>
|
||||||
|
<input
|
||||||
|
class="sg-interaction-element sg-input-single-line sg-input-single-line--inactive-selectable sg-form-inactive-selectable"
|
||||||
|
type="text"
|
||||||
|
placeholder="Name eingeben"
|
||||||
|
aria-label="Name"
|
||||||
|
maxlength="80"
|
||||||
|
>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<label class="sg-labeled-input-row">
|
||||||
|
<span class="sg-label">Beschreibung</span>
|
||||||
|
<textarea
|
||||||
|
class="sg-input-multi-line sg-form-inactive-selectable"
|
||||||
|
rows="4"
|
||||||
|
placeholder="Beschreibung eingeben"
|
||||||
|
aria-label="Beschreibung"
|
||||||
|
maxlength="350"
|
||||||
|
></textarea>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="sg-labeled-input-row">
|
|
||||||
<span class="sg-label">Name</span>
|
|
||||||
<input
|
|
||||||
class="sg-interaction-element sg-input-single-line sg-input-single-line--inactive-selectable sg-form-inactive-selectable"
|
|
||||||
type="text"
|
|
||||||
placeholder="Name eingeben"
|
|
||||||
aria-label="Name"
|
|
||||||
maxlength="80"
|
|
||||||
>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<label class="sg-labeled-input-row">
|
|
||||||
<span class="sg-label">Beschreibung</span>
|
|
||||||
<textarea
|
|
||||||
class="sg-input-multi-line sg-form-inactive-selectable"
|
|
||||||
rows="4"
|
|
||||||
placeholder="Beschreibung eingeben"
|
|
||||||
aria-label="Beschreibung"
|
|
||||||
maxlength="350"
|
|
||||||
></textarea>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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">
|
|
||||||
<button class="sg-interaction-element sg-button sg-button--active sg-form-sections-card__action" type="button">Abbrechen</button>
|
|
||||||
<button class="sg-interaction-element sg-button sg-button--process sg-button--process-inactive sg-form-sections-card__action" type="submit" disabled aria-disabled="true">Prozess Button</button>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
|
||||||
</form>
|
<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">
|
||||||
|
<button class="sg-interaction-element sg-button sg-button--active sg-form-sections-card__action" type="button">Abbrechen</button>
|
||||||
|
<button class="sg-interaction-element sg-button sg-button--process sg-button--process-inactive sg-form-sections-card__action" type="submit" disabled aria-disabled="true">Prozess Button</button>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user