Files
lingji-work-fe/src/styles/components/ant-modal.scss

74 lines
1.6 KiB
SCSS
Raw Normal View History

2025-09-08 09:16:10 +08:00
.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;
2025-09-11 18:16:05 +08:00
font-weight: 500;
2025-09-08 09:16:10 +08:00
justify-content: flex-start;
}
}
.ant-modal-body {
padding: 20px 24px;
2025-09-08 09:16:10 +08:00
}
.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 {
font-family: $font-family-medium;
font-weight: 500;
color: #211F24;
font-size: 16px;
font-style: normal;
line-height: 24px;
.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;
}
}
2025-09-08 09:16:10 +08:00
}
}