mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Improvement] Tab: update card style (#1364)
This commit is contained in:
parent
fb085de430
commit
35a28df51f
@ -56,12 +56,12 @@ $van-tabs-card-height: 30px;
|
|||||||
margin: 0 15px;
|
margin: 0 15px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
border: 1px solid $red;
|
||||||
height: $van-tabs-card-height;
|
height: $van-tabs-card-height;
|
||||||
border: 1px solid $gray-darker;
|
|
||||||
|
|
||||||
.van-tab {
|
.van-tab {
|
||||||
color: $gray-darker;
|
color: $red;
|
||||||
border-right: 1px solid $gray-darker;
|
border-right: 1px solid $red;
|
||||||
line-height: calc($van-tabs-card-height - 2px);
|
line-height: calc($van-tabs-card-height - 2px);
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
@ -70,7 +70,7 @@ $van-tabs-card-height: 30px;
|
|||||||
|
|
||||||
&.van-tab--active {
|
&.van-tab--active {
|
||||||
color: $white;
|
color: $white;
|
||||||
background-color: $gray-darker;
|
background-color: $red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user