Merge branch 'master' of gitlab.qima-inc.com:fe/oxygen

This commit is contained in:
niunai
2017-02-24 18:08:17 +08:00
37 changed files with 179 additions and 40 deletions
+36
View File
@@ -0,0 +1,36 @@
@define-mixin button-wrap {
display: inline-block;
box-sizing: border-box;
padding-right: 10px;
&::last-child {
padding-right: 0;
}
.z-button {
width: 100%;
}
}
@component-namespace z {
@b button-group {
font-size: 0;
> .z-button {
margin-right: 10px;
&::last-child {
margin-right: 0;
}
}
}
@b button-1 {
@mixin button-wrap;
width: 100%;
}
@b button-2 {
@mixin button-wrap;
width: 50%;
}
@b button-3 {
@mixin button-wrap;
width: 33.33%;
}
}