mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-12 01:58:58 +08:00
37 lines
630 B
Plaintext
37 lines
630 B
Plaintext
@import '../style/var';
|
|
|
|
.van-tabbar-item {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: @tabbar-item-text-color;
|
|
font-size: @tabbar-item-font-size;
|
|
line-height: @tabbar-item-line-height;
|
|
|
|
&__icon {
|
|
position: relative;
|
|
margin-bottom: @tabbar-item-margin-bottom;
|
|
font-size: @tabbar-item-icon-size;
|
|
|
|
.van-icon {
|
|
display: block;
|
|
min-width: 1em;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
height: @tabbar-item-icon-size;
|
|
}
|
|
}
|
|
|
|
&--active {
|
|
color: @tabbar-item-active-color;
|
|
}
|
|
|
|
.van-info {
|
|
margin-top: 2px;
|
|
}
|
|
}
|