fix: rename css package

This commit is contained in:
niunai
2017-02-17 16:26:31 +08:00
parent 8f227dfcd6
commit a44cdf96f8
12 changed files with 0 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
@import "./common/var.pcss";
@import "./mixins/border_retina.pcss";
@component-namespace z {
@component 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;
}
@descendent control {
border: 0;
font-size: 14px;
line-height: 22px;
display: block;
width: 100%;
resize: none;
outline: 0;
}
}
}