fix tabs style (#588)

pull/590/head
baiyaaaaa 2016-10-22 16:21:58 +08:00 committed by cinwell.li
parent 7192d8603c
commit 031716c227
1 changed files with 12 additions and 3 deletions

View File

@ -120,13 +120,22 @@
.el-tabs__item { .el-tabs__item {
transition: all .3s cubic-bezier(.645,.045,.355,1); transition: all .3s cubic-bezier(.645,.045,.355,1);
border: 1px solid transparent; border: 1px solid transparent;
border-top: 0;
margin: * -1px;
&.is-active { &.is-active {
background-color: #fff; background-color: #fff;
border-right: 1px solid #d3dce6; border-right-color: #d3dce6;
border-left: 1px solid #d3dce6; border-left-color: #d3dce6;
margin: * -1px;
&:first-child {
border-left-color: #d3dce6;
}
&:last-child {
border-right-color: #d3dce6;
}
} }
} }
} }
} }