refactor(list): combined hairline css together

references #387
This commit is contained in:
Brandy Carney
2015-10-30 17:47:53 -04:00
parent 04c795ec0e
commit 33452f5ce7

View File

@@ -238,29 +238,33 @@ ion-card {
}
}
&.hairlines .list ion-item-options {
&.hairlines .list {
ion-item-options {
button, [button] {
min-height: calc(100% - 1px);
height: calc(100% - 1px);
margin-top: 0.55px;
margin-bottom: 0.55px;
}
}
&.hairlines .list ion-item-sliding-content {
margin-top: 0.55px;
margin-bottom: 0.55px;
}
&.hairlines .list .item {
margin-top: -0.55px;
&:last-child {
margin-bottom: -0.55px;
}
&:before,
&:after {
border-top-width: 0.55px;
ion-item-sliding-content {
margin-top: 0.55px;
margin-bottom: 0.55px;
}
.item {
margin-top: -0.55px;
&:last-child {
margin-bottom: -0.55px;
}
&:before,
&:after {
border-top-width: 0.55px;
}
}
}