vue-ant-patterns
Version:
vue-ant-patterns
65 lines (61 loc) • 972 B
text/less
@import '../../style/themes/index.less';
@depot-prefix-cls: ~'@{depot-prefix}-modal';
//大弹框
.big-dialog {
.ant-modal-content {
height: 640px;
}
.ant-modal-body {
height: calc(100% - 98px);
overflow: auto;
}
}
//中弹框
.middle-dialog {
.ant-modal-content {
height: 440px;
}
}
.small-dialog {
.ant-modal-body {
max-height: 640px;
}
}
//全屏弹框
.fullscreen-dialog {
.ant-modal {
height: 100%;
}
.ant-modal-content {
height: 100%;
}
}
.d-modal-wrapper {
.ant-modal-header {
padding: 12px 24px 13px;
}
.ant-modal-footer {
padding: 8px 16px;
}
.ant-modal-close-x {
width: 48px;
height: 48px;
line-height: 48px;
}
.ant-modal {
padding-bottom: 0;
}
.ant-modal-body {
height: calc(100% - 98px);
overflow: auto;
}
}
.border-radius-class {
.ant-modal-content {
border-radius: 1px;
}
.ant-modal-header,
.ant-modal-footer {
border-radius: 0;
}
}