first
This commit is contained in:
37
node_modules/vant/lib/tabbar-item/index.less
generated
vendored
Normal file
37
node_modules/vant/lib/tabbar-item/index.less
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
@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;
|
||||
cursor: pointer;
|
||||
|
||||
&__icon {
|
||||
position: relative;
|
||||
margin-bottom: @tabbar-item-margin-bottom;
|
||||
font-size: @tabbar-item-icon-size;
|
||||
|
||||
.van-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
&--active {
|
||||
color: @tabbar-item-active-color;
|
||||
background-color: @tabbar-item-active-background-color;
|
||||
}
|
||||
|
||||
.van-info {
|
||||
margin-top: @padding-base;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user