[improvement] Uploader: add less vars

This commit is contained in:
陈嘉涵
2019-06-04 15:56:54 +08:00
parent 47bb6fc7fa
commit 076eb1c601
2 changed files with 15 additions and 8 deletions
+8 -8
View File
@@ -31,27 +31,27 @@
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 80px;
height: 80px;
width: @uploader-size;
height: @uploader-size;
margin: 0 10px 10px 0;
background-color: @white;
border: 1px dashed @gray-light;
&-icon {
color: @gray-dark;
font-size: 24px;
color: @uploader-icon-color;
font-size: @uploader-icon-size;
}
&-text {
margin-top: 10px;
color: @gray-dark;
font-size: 12px;
color: @uploader-text-color;
font-size: @uploader-text-font-size;
}
}
&__preview {
width: 80px;
height: 80px;
width: @uploader-size;
height: @uploader-size;
margin: 0 10px 10px 0;
}
}