mirror of https://github.com/ElemeFE/element
fix tabs style (#588)
parent
7192d8603c
commit
031716c227
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue