[Improvement] Tab: update card style (#1364)

This commit is contained in:
neverland 2018-06-29 19:46:41 +08:00 committed by GitHub
parent fb085de430
commit 35a28df51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,12 +56,12 @@ $van-tabs-card-height: 30px;
margin: 0 15px;
border-radius: 2px;
box-sizing: border-box;
border: 1px solid $red;
height: $van-tabs-card-height;
border: 1px solid $gray-darker;
.van-tab {
color: $gray-darker;
border-right: 1px solid $gray-darker;
color: $red;
border-right: 1px solid $red;
line-height: calc($van-tabs-card-height - 2px);
&:last-child {
@ -70,7 +70,7 @@ $van-tabs-card-height: 30px;
&.van-tab--active {
color: $white;
background-color: $gray-darker;
background-color: $red;
}
}
}