mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[improvement] Tabbar: add less vars (#3124)
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
.van-tabbar-item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
line-height: 1;
|
||||
font-size: 12px;
|
||||
color: @gray-darker;
|
||||
color: @tabbar-item-text-color;
|
||||
font-size: @tabbar-item-font-size;
|
||||
line-height: @tabbar-item-line-height;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
&__icon {
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
margin-bottom: 5px;
|
||||
font-size: @tabbar-item-icon-size;
|
||||
margin-bottom: @tabbar-item-margin-bottom;
|
||||
|
||||
.van-icon {
|
||||
display: block;
|
||||
@@ -34,13 +34,13 @@
|
||||
}
|
||||
|
||||
img {
|
||||
height: 18px;
|
||||
display: block;
|
||||
height: @tabbar-item-icon-size;
|
||||
}
|
||||
}
|
||||
|
||||
&--active {
|
||||
color: @blue;
|
||||
color: @tabbar-item-active-color;
|
||||
}
|
||||
|
||||
.van-info {
|
||||
|
Reference in New Issue
Block a user