[improvement] Tab: update active style (#2120)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user