Files
lingji-work-fe/src/styles/components/ant-modal.scss
rd bf7963234e feat: 优化原料库上传功能和标签管理
- 在 `AddRawMaterialDrawer` 组件中添加 `onUpdate` 事件以刷新数据
- 更新 `constants.ts` 中操作列的宽度
- 增加 Ant Select 和 Modal 的样式
- 新增批量添加、修改和详情的 API 函数
- 优化 `add-raw-material-drawer` 组件,增加标签输入和删除确认模态框
- 更新 `ant-select.scss` 和 `ant-modal.scss` 样式文件
2025-09-17 15:57:19 +08:00

68 lines
1.4 KiB
SCSS

.ant-modal {
.ant-modal-content {
padding: 0;
.ant-modal-header {
border-bottom: 1px solid var(--Border-1, #d7d7d9);
height: 56px;
padding: 0 20px;
margin-bottom: 0;
color: inherit;
display: flex;
flex-shrink: 0;
align-items: center;
box-sizing: border-box;
width: 100%;
.ant-modal-title {
font-family: $font-family-medium;
color: #211f24;
font-size: 16px;
font-style: normal;
font-weight: 500;
justify-content: flex-start;
}
}
.ant-modal-body {
padding: 20px 24px;
}
.ant-modal-footer {
margin-top: 0;
display: flex;
height: 64px;
padding: 0px 20px;
justify-content: flex-end;
align-items: center;
border-top: 1px solid var(--Border-1, #d7d7d9);
.ant-btn {
&:not(:nth-child(1)) {
margin-left: 8px;
}
}
}
.ant-modal-confirm-body-wrapper {
.ant-modal-confirm-title {
.anticon {
font-size: 24px;
}
}
.ant-modal-confirm-content {
margin-top: 8px;
color: var(--Text-2, #55585F);
font-family: $font-family-regular;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
}
.ant-modal-confirm-btns {
display: flex;
justify-content: end;
margin-top: 24px;
}
}
}
}