[improvement] Tab: update active style (#2120)

This commit is contained in:
neverland
2018-11-22 20:31:28 +08:00
committed by GitHub
parent 0efdd0865a
commit bef8d5eb73
5 changed files with 30 additions and 31 deletions
-27
View File
@@ -1,27 +0,0 @@
@import '../style/var';
.van-tab {
flex: 1;
cursor: pointer;
padding: 0 5px;
font-size: 14px;
position: relative;
color: @text-color;
line-height: @tabs-line-height;
text-align: center;
box-sizing: border-box;
background-color: @white;
min-width: 0; /* hack for flex ellipsis */
span {
display: block;
}
&--active {
color: @red;
}
&--disabled {
color: @gray;
}
}