[breaking change] rebuild style struct (#2021)
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-tabbar-item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
line-height: 1;
|
||||
font-size: 12px;
|
||||
color: @gray-darker;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
&__icon {
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
margin-bottom: 5px;
|
||||
|
||||
.van-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&--dot {
|
||||
&::after {
|
||||
top: 0;
|
||||
right: -8px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
border-radius: 100%;
|
||||
background-color: @red;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
height: 18px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&--active {
|
||||
color: @blue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user