[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
+1 -1
View File
@@ -120,7 +120,7 @@ export default {
};
</script>
<style lang="postcss">
<style lang="less">
.demo-tab {
margin-bottom: 300px;
+27
View File
@@ -0,0 +1,27 @@
@import '../style/var';
.van-tab {
flex: 1;
cursor: pointer;
padding: 0 5px;
font-size: 14px;
position: relative;
color: @text-color;
line-height: @van-tabs-line-height;
text-align: center;
box-sizing: border-box;
background-color: @white;
min-width: 0; /* hack for flex ellipsis */
span {
display: block;
}
&--active {
color: @red;
}
&--disabled {
color: @gray;
}
}