mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(card): box-shadow update
This commit is contained in:
@@ -56,7 +56,18 @@
|
||||
.card {
|
||||
padding-top: $item-border-width;
|
||||
padding-bottom: $item-border-width;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .10);
|
||||
box-shadow: $card-box-shadow;
|
||||
|
||||
.item {
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
.item:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
.item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.padding {
|
||||
|
||||
@@ -407,6 +407,7 @@ $card-border-width: 1px !default;
|
||||
|
||||
$card-border-color: #ccc !default;
|
||||
$card-border-radius: 2px !default;
|
||||
$card-box-shadow: 0 1px 3px rgba(0, 0, 0, .3) !default;
|
||||
|
||||
|
||||
// Forms
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<h1 class="title">Cards: Item Thumbnail</h1>
|
||||
</header>
|
||||
|
||||
<div class="content has-header">
|
||||
<ion-content class="content has-header">
|
||||
|
||||
<div class="list card">
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</ion-content>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user