refactor(list): changing no-borders to no-lines b/c Ben hated it

Added line for headers on Android. Added some more tests for cards with
lists. Removed unused CSS. References #387
This commit is contained in:
Brandy Carney
2015-10-30 17:47:08 -04:00
parent 17f1474527
commit 04c795ec0e
7 changed files with 73 additions and 16 deletions

View File

@@ -88,8 +88,8 @@ $list-ios-header-color: #333 !default;
margin-top: 0;
}
&.hairlines .list[no-borders],
.list[no-borders] {
&.hairlines .list[no-lines],
.list[no-lines] {
ion-header:after,
.item:before,
.item:after {

View File

@@ -67,8 +67,11 @@ $list-md-header-color: #858585 !default;
margin-top: 0;
}
.list[no-borders] {
ion-header:after,
.list[no-lines] {
ion-header + .item:before {
border-width: 1px;
}
.item:before,
.item:after {
border-width: 0;

View File

@@ -1,7 +1,7 @@
<ion-toolbar><ion-title>List No Borders</ion-title></ion-toolbar>
<ion-toolbar><ion-title>List No Lines</ion-title></ion-toolbar>
<ion-content class="outer-content">
<ion-list no-borders>
<ion-list no-lines>
<ion-header>
List Header
</ion-header>