mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(demos): add social card examples
This commit is contained in:
@ -238,5 +238,11 @@ body.ios img#ios-only {
|
|||||||
content: '•';
|
content: '•';
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
p.time-ago {
|
||||||
|
color: #bbbbbb;
|
||||||
|
margin-left: 4px !important;
|
||||||
|
margin-right: 0px !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,20 +22,48 @@
|
|||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
|
|
||||||
<ion-item actions class="demo-card">
|
<ion-item actions class="demo-card">
|
||||||
<button clear primary item-left>
|
<button primary clear item-left>
|
||||||
<icon thumbs-up></icon>
|
<icon thumbs-up></icon>
|
||||||
<div style="color: #4b4b4b">12 Likes</div>
|
<div style="color: #4b4b4b">12 Likes</div>
|
||||||
</button>
|
</button>
|
||||||
<button dark clear item-left>
|
<button primary clear item-left>
|
||||||
<icon text></icon>
|
<icon text></icon>
|
||||||
4 Comments
|
<div style="color: #4b4b4b">4 Comments</div>
|
||||||
</button>
|
|
||||||
<button clear light item-left>
|
|
||||||
<icon dark text></icon>
|
|
||||||
11h ago
|
|
||||||
</button>
|
</button>
|
||||||
|
<p item-left class="time-ago">
|
||||||
|
11h ago
|
||||||
|
</p>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
|
</ion-card>
|
||||||
|
|
||||||
|
<ion-card>
|
||||||
|
|
||||||
|
<ion-item>
|
||||||
|
<ion-avatar item-left>
|
||||||
|
<img src="img/ian-avatar.png">
|
||||||
|
</ion-avatar>
|
||||||
|
<h2>Dr. Ian Malcolm</h2>
|
||||||
|
<p>June 28, 1990</p>
|
||||||
|
</ion-item>
|
||||||
|
|
||||||
|
<img src="img/advance-card-jp.jpg">
|
||||||
|
|
||||||
|
<ion-card-content>
|
||||||
|
<p>Your scientists were so preoccupied with whether or not they could, that they didn't stop to think if they should.</p>
|
||||||
|
</ion-card-content>
|
||||||
|
|
||||||
|
<ion-item actions class="demo-card">
|
||||||
|
<button primary clear item-left>
|
||||||
|
<icon thumbs-up></icon>
|
||||||
|
<div style="color: #4b4b4b">46 Likes</div>
|
||||||
|
</button>
|
||||||
|
<button primary clear item-left>
|
||||||
|
<icon text></icon>
|
||||||
|
<div style="color: #4b4b4b">66 Comments</div>
|
||||||
|
</button>
|
||||||
|
<p item-left class="time-ago">2d ago</p>
|
||||||
|
</ion-item>
|
||||||
|
|
||||||
</ion-card>
|
</ion-card>
|
||||||
|
|
||||||
|
BIN
demos/component-docs/img/advance-card-jp.jpg
Normal file
BIN
demos/component-docs/img/advance-card-jp.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 157 KiB |
BIN
demos/component-docs/img/advance-card-tmntr.jpg
Normal file
BIN
demos/component-docs/img/advance-card-tmntr.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 125 KiB |
BIN
demos/component-docs/img/ian-avatar.png
Normal file
BIN
demos/component-docs/img/ian-avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
demos/component-docs/img/sarah-avatar.png.jpeg
Normal file
BIN
demos/component-docs/img/sarah-avatar.png.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
Reference in New Issue
Block a user