feat: antd组件库相关样式
This commit is contained in:
42
src/styles/components/ant-modal.scss
Normal file
42
src/styles/components/ant-modal.scss
Normal file
@ -0,0 +1,42 @@
|
||||
.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: 400;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
.ant-modal-body {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user