[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
+3 -3
View File
@@ -88,13 +88,13 @@ export default {
};
</script>
<style lang="postcss">
@import '../../vant-css/src/common/var.css';
<style lang="less">
@import '../../style/var';
.demo-steps {
.steps-success,
.van-icon-location {
color: $green;
color: @green;
}
.van-button {
+52
View File
@@ -0,0 +1,52 @@
@import '../style/var';
.van-steps {
overflow: hidden;
background-color: @white;
&--horizontal {
padding: 0 10px;
.van-steps__items {
display: flex;
margin: 0 0 10px;
overflow: hidden;
position: relative;
padding-bottom: 22px;
&.van-steps__items--alone {
padding-top: 10px;
}
}
}
&--vertical {
padding: 0 0 0 35px;
}
&__icon {
float: left;
margin-right: 10px;
}
.van-icon {
font-size: 40px;
}
&__message {
height: 40px;
margin: 15px 0;
}
&__title {
font-size: 14px;
color: @text-color;
padding-top: 4px;
}
&__desc {
font-size: 12px;
line-height: 1.5;
color: @gray-dark;
}
}