[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
@@ -64,7 +64,7 @@ export default {
};
</script>
<style lang="postcss">
<style lang="less">
.demo-tag {
.van-tag + .van-tag {
margin-left: 10px;
+40
View File
@@ -0,0 +1,40 @@
@import '../style/var';
.van-tag {
color: @white;
font-size: 10px;
padding: .2em .5em;
line-height: normal;
border-radius: .2em;
display: inline-block;
&::after {
border-color: currentColor;
border-radius: .4em;
}
&--mark {
padding-right: .6em;
border-radius: 0 .8em .8em 0;
&::after {
border-radius: 0 1.6em 1.6em 0;
}
}
&--round {
border-radius: .8em;
&::after {
border-radius: 1.6em;
}
}
&--medium {
font-size: 12px;
}
&--large {
font-size: 14px;
}
}