-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(styles): quick view styles & examples [ci visual] (#4685)
* fix(styles): added margin bot to improve clarity * chore: moved margin to separate div element [ci visual]
- Loading branch information
Showing
2 changed files
with
89 additions
and
83 deletions.
There are no files selected for viewing
61 changes: 32 additions & 29 deletions
61
packages/styles/stories/Components/quick-view/no-header.example.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
<div class="fd-popover"> | ||
<div class="fd-popover__body" aria-hidden="false" id="popoverA1"> | ||
<div class="fd-quick-view"> | ||
<div class="fd-quick-view__content"> | ||
<div class="fd-bar fd-bar--header-with-subheader"> | ||
<div class="fd-bar__left"> | ||
<span class="fd-avatar fd-avatar--s" role="presentation"> | ||
<i role="presentation" class="fd-avatar__icon sap-icon--camera"></i> | ||
</span> | ||
|
||
<div class="fd-quick-view__subheader-text"> | ||
<h5 class="fd-title fd-title--h5">Company B</h5> | ||
|
||
<div class="fd-quick-view__subtitle"> | ||
Michael Adams | ||
<div style="margin-bottom: 300px;"> | ||
<div class="fd-popover" > | ||
<div class="fd-popover__body" aria-hidden="false" id="popoverA1"> | ||
<div class="fd-quick-view"> | ||
<div class="fd-quick-view__content"> | ||
<div class="fd-bar fd-bar--header-with-subheader"> | ||
<div class="fd-bar__left"> | ||
<span class="fd-avatar fd-avatar--s" role="presentation"> | ||
<i role="presentation" class="fd-avatar__icon sap-icon--camera"></i> | ||
</span> | ||
|
||
<div class="fd-quick-view__subheader-text"> | ||
<h5 class="fd-title fd-title--h5">Company B</h5> | ||
|
||
<div class="fd-quick-view__subtitle"> | ||
Michael Adams | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="fd-form-group" role="group"> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Start Date:</label> | ||
<span class="fd-text">01/01/2015</span> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">End Date:</label> | ||
<span class="fd-text">31/12/2015</span> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Occurrence:</label> | ||
<span class="fd-text">Weekly</span> | ||
|
||
<div class="fd-form-group" role="group"> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Start Date:</label> | ||
<span class="fd-text">01/01/2015</span> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">End Date:</label> | ||
<span class="fd-text">31/12/2015</span> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Occurrence:</label> | ||
<span class="fd-text">Weekly</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
111 changes: 57 additions & 54 deletions
111
packages/styles/stories/Components/quick-view/popover.example.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,68 @@ | ||
<div class="fd-popover"> | ||
<div class="fd-popover__body" aria-hidden="false" id="popoverA1"> | ||
<div class="fd-quick-view"> | ||
<div class="fd-bar fd-bar--header"> | ||
<div class="fd-bar__middle"> | ||
<div class="fd-bar__element">Company</div> | ||
<div style="margin-bottom: 500px;"> | ||
<div class="fd-popover" > | ||
<div class="fd-popover__body" aria-hidden="false" id="popoverA1"> | ||
<div class="fd-quick-view"> | ||
<div class="fd-bar fd-bar--header"> | ||
<div class="fd-bar__middle"> | ||
<div class="fd-bar__element">Company</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="fd-quick-view__content"> | ||
<div class="fd-bar fd-bar--header-with-subheader"> | ||
<div class="fd-bar__left"> | ||
<span class="fd-avatar fd-avatar--s" role="presentation"> | ||
<i role="presentation" class="fd-avatar__icon sap-icon--building"></i> | ||
</span> | ||
|
||
<div class="fd-quick-view__subheader-text"> | ||
<h5 class="fd-title fd-title--h5">Company B</h5> | ||
|
||
<div class="fd-quick-view__subtitle"> | ||
Michael Adams | ||
|
||
<div class="fd-quick-view__content"> | ||
<div class="fd-bar fd-bar--header-with-subheader"> | ||
<div class="fd-bar__left"> | ||
<span class="fd-avatar fd-avatar--s" role="presentation"> | ||
<i role="presentation" class="fd-avatar__icon sap-icon--building"></i> | ||
</span> | ||
|
||
<div class="fd-quick-view__subheader-text"> | ||
<h5 class="fd-title fd-title--h5">Company B</h5> | ||
|
||
<div class="fd-quick-view__subtitle"> | ||
Michael Adams | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="fd-form-group" role="group"> | ||
<div class="fd-form-group__header" aria-labelledby="contactDetails"> | ||
<h1 class="fd-form-group__header-text" id="contactDetails">Contact Details</h1> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Phone</label> | ||
<a class="fd-link" href="tel:+1 605 555 5555"><span class="fd-link__content">+1 605 555 5555</span></a> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Address</label> | ||
<span class="fd-text"> | ||
781 Main Street <br> | ||
Anytown, SD 57401, USA | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<div class="fd-form-group" role="group"> | ||
<div class="fd-form-group__header" aria-labelledby="mainContact"> | ||
<h1 class="fd-form-group__header-text" id="mainContact">Main Contact</h1> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Name</label> | ||
<span class="fd-text">Michael Adams</span> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Mobile</label> | ||
<a class="fd-link" href="tel:+1 605 555 5555"><span class="fd-link__content">+1 605 555 5555</span></a> | ||
|
||
|
||
<div class="fd-form-group" role="group"> | ||
<div class="fd-form-group__header" aria-labelledby="contactDetails"> | ||
<h1 class="fd-form-group__header-text" id="contactDetails">Contact Details</h1> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Phone</label> | ||
<a class="fd-link" href="tel:+1 605 555 5555"><span class="fd-link__content">+1 605 555 5555</span></a> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Address</label> | ||
<span class="fd-text"> | ||
781 Main Street <br> | ||
Anytown, SD 57401, USA | ||
</span> | ||
</div> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Mobile</label> | ||
<a class="fd-link" href="tel:+1 605 555 5555"><span class="fd-link__content">+1 605 555 5555</span></a> | ||
|
||
<div class="fd-form-group" role="group"> | ||
<div class="fd-form-group__header" aria-labelledby="mainContact"> | ||
<h1 class="fd-form-group__header-text" id="mainContact">Main Contact</h1> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Name</label> | ||
<span class="fd-text">Michael Adams</span> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Mobile</label> | ||
<a class="fd-link" href="tel:+1 605 555 5555"><span class="fd-link__content">+1 605 555 5555</span></a> | ||
</div> | ||
<div class="fd-form-item"> | ||
<label class="fd-form-label">Mobile</label> | ||
<a class="fd-link" href="tel:+1 605 555 5555"><span class="fd-link__content">+1 605 555 5555</span></a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> |