zanui css build

This commit is contained in:
cookfront
2017-02-24 17:46:56 +08:00
parent 3ba60907b7
commit f524d6ccd2
26 changed files with 71 additions and 30 deletions
+54
View File
@@ -0,0 +1,54 @@
@import "./common/var.pcss";
@import "./mixins/border_retina.pcss";
@component-namespace z {
@b field {
width: 100%;
overflow: hidden;
@when textarea {
.z-field__control {
min-height: 60px;
}
}
@when nolabel {
.z-cell__title {
display: none;
}
.z-cell__value {
width: 100%;
padding-left: 0;
}
}
.z-cell__title,
.z-cell__value {
float: none;
box-sizing: border-box;
}
.z-cell__title {
width: 90px;
position: absolute;
top: 10px;
left: 0;
}
.z-cell__value {
width: 100%;
padding-left: 90px;
}
@e control {
border: 0;
font-size: 14px;
line-height: 22px;
display: block;
width: 100%;
resize: none;
outline: 0;
}
}
}