[breaking change] rebuild style struct (#2021)

This commit is contained in:
neverland
2018-11-03 21:08:06 +08:00
committed by GitHub
parent a5576762d8
commit 11ce2a602f
165 changed files with 1371 additions and 4729 deletions
+44
View File
@@ -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;
}
}