feat(card): box-shadow update

This commit is contained in:
Adam Bradley
2014-11-24 18:32:17 -06:00
parent 7452d65025
commit a571c7abdf
3 changed files with 15 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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

View File

@@ -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>