-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(material/card): Update card examples
- Loading branch information
Showing
17 changed files
with
44 additions
and
77 deletions.
There are no files selected for viewing
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
18 changes: 8 additions & 10 deletions
18
src/components-examples/material/card/card-actions/card-actions-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,21 +1,19 @@ | ||
<mat-card> | ||
<mat-card appearance="outlined"> | ||
<mat-card-header> | ||
<mat-card-title>Actions Buttons</mat-card-title> | ||
<mat-card-subtitle>Start</mat-card-subtitle> | ||
<mat-card-title> Australian Shepherd</mat-card-title> | ||
<mat-card-subtitle>Herding group</mat-card-subtitle> | ||
</mat-card-header> | ||
<mat-card-actions> | ||
<button mat-button>LIKE</button> | ||
<button mat-button>SHARE</button> | ||
<button mat-button>Learn More</button> | ||
</mat-card-actions> | ||
</mat-card> | ||
<br> | ||
<mat-card> | ||
<mat-card appearance="outlined"> | ||
<mat-card-header> | ||
<mat-card-title>Actions Buttons</mat-card-title> | ||
<mat-card-subtitle>End</mat-card-subtitle> | ||
<mat-card-title>Poodle</mat-card-title> | ||
<mat-card-subtitle>Non-sporting group</mat-card-subtitle> | ||
</mat-card-header> | ||
<mat-card-actions align="end"> | ||
<button mat-button>LIKE</button> | ||
<button mat-button>SHARE</button> | ||
<button mat-button>Learn More</button> | ||
</mat-card-actions> | ||
</mat-card> |
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
2 changes: 1 addition & 1 deletion
2
src/components-examples/material/card/card-fancy/card-fancy-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
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
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 |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
max-width: 400px; | ||
} | ||
|
||
.example-card-footer { | ||
padding: 16px; | ||
} |
21 changes: 9 additions & 12 deletions
21
src/components-examples/material/card/card-footer/card-footer-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,18 +1,15 @@ | ||
<mat-card class="example-card"> | ||
<mat-card class="example-card" appearance="outlined"> | ||
<mat-card-header> | ||
<mat-card-subtitle>Dog Breed</mat-card-subtitle> | ||
<mat-card-title>Shiba Inu</mat-card-title> | ||
<mat-card-title>Chihuahua</mat-card-title> | ||
</mat-card-header> | ||
<mat-card-content> | ||
<p>This card has divider and indeterminate progress as footer</p> | ||
<p>{{ longText }}</p> | ||
<mat-divider></mat-divider> | ||
<p>{{longText}}</p> | ||
</mat-card-content> | ||
<mat-card-actions> | ||
<button mat-button>LIKE</button> | ||
<button mat-button>SHARE</button> | ||
</mat-card-actions> | ||
<mat-card-footer> | ||
<mat-progress-bar mode="indeterminate"></mat-progress-bar> | ||
<mat-card-footer class="example-card-footer"> | ||
<mat-chip-set aria-label="Chihuahua traits"> | ||
<mat-chip>charming</mat-chip> | ||
<mat-chip>graceful</mat-chip> | ||
<mat-chip>sassy</mat-chip> | ||
</mat-chip-set> | ||
</mat-card-footer> | ||
</mat-card> |
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
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
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
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
2 changes: 1 addition & 1 deletion
2
src/components-examples/material/card/card-overview/card-overview-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,3 +1,3 @@ | ||
<mat-card> | ||
<mat-card appearance="outlined"> | ||
<mat-card-content>Simple card</mat-card-content> | ||
</mat-card> |
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
3 changes: 0 additions & 3 deletions
3
src/components-examples/material/card/card-subtitle/card-subtitle-example.css
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/components-examples/material/card/card-subtitle/card-subtitle-example.html
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
src/components-examples/material/card/card-subtitle/card-subtitle-example.ts
This file was deleted.
Oops, something went wrong.
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