yoyo-ng-modulewindy
Version:
服务于52ABP模板的前端开源的相关组件内容。整合了ng-alain和你NG ZORRO的内容
86 lines (85 loc) • 1.58 kB
text/less
.sf {
display: block;
// mode
&-search + .ad-st {
margin-top: @layout-gutter * 2;
}
.optional {
color: rgba(0, 0, 0, 0.45);
}
// 固定 label
.sf-fixed {
display: flex;
nz-form-control,
.ant-form-item-control-wrapper {
flex: 1;
}
}
.sf-array-container {
nz-card {
margin: 0 16px 0 0;
.remove {
display: none;
position: absolute;
right: -16px;
top: -16px;
font-size: 20px;
text-align: center;
height: 32px;
line-height: 32px;
width: 32px;
background: rgba(0, 0, 0, 0.26);
border-radius: 50%;
cursor: pointer;
i {
color: #fff;
}
}
&:hover {
.remove {
display: block;
}
}
}
}
sf-array {
.add {
margin-right: 16px;
}
}
.checkbox-grid-list {
width: 100%;
display: block;
@media (min-width: 575px) {
nz-col {
margin-top: 8px;
}
}
// https://github.com/NG-ZORRO/ng-zorro-antd/issues/1358
.ant-checkbox-group {
display: block;
}
}
// upload
.ant-upload-select-picture-card i {
font-size: 32px;
color: #999;
}
.ant-upload.ant-upload-drag {
height: 180px;
}
// transfer
.ant-transfer {
&-list {
background: #fff;
&-header {
label {
position: unset;
}
}
}
.ant-btn + .ant-btn {
margin-left: 0;
}
}
}