Files
gofly-platform-services/zlt-web/react-web-next/src/pages/device/ThreeDModel/components/ModelUploadModal.less
T

110 lines
1.8 KiB
Plaintext
Raw Normal View History

2025-12-09 17:13:20 +08:00
.uploadContainer {
min-height: 300px;
.selectArea {
.folderSelector {
border: 2px dashed #d9d9d9;
border-radius: 8px;
padding: 40px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
&:hover {
border-color: #1890ff;
background: #f0f7ff;
}
.folderLabel {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
cursor: pointer;
.labelText {
display: flex;
flex-direction: column;
gap: 4px;
}
}
}
}
.statsBar {
background: #fafafa;
padding: 12px 16px;
border-radius: 4px;
margin-bottom: 16px;
}
.fileList {
border: 1px solid #f0f0f0;
border-radius: 4px;
overflow: hidden;
:global {
.ant-list-item {
padding: 8px 12px;
border-bottom: 1px solid #f0f0f0;
&:last-child {
border-bottom: none;
}
}
}
.fileItem {
display: flex;
justify-content: space-between;
align-items: center;
&.pending {
background: #fff;
}
&.uploading {
background: #e6f7ff;
}
&.success {
background: #f6ffed;
}
&.error {
background: #fff2f0;
}
.fileInfo {
display: flex;
justify-content: space-between;
align-items: center;
flex: 1;
margin-right: 16px;
min-width: 0;
}
}
}
}
// 自定义滚动条
.fileList :global(.ant-list) {
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: #f0f0f0;
border-radius: 3px;
}
&::-webkit-scrollbar-thumb {
background: #d9d9d9;
border-radius: 3px;
&:hover {
background: #bfbfbf;
}
}
}