.modal-resize-handle {
|
position: absolute;
|
right: 0;
|
bottom: 0;
|
z-index: 10;
|
width: 20px;
|
height: 20px;
|
cursor: nwse-resize;
|
background-image: url("data:image/svg+xml,%3Csvg t='1778738173282' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='20655' width='200' height='200' fill='%23666666'%3E%3Cpath d='M861.390505 510.00353m-95.832625 0a93.65 93.65 0 1 0 191.665251 0 93.65 93.65 0 1 0-191.665251 0Z' p-id='20656'%3E%3C/path%3E%3Cpath d='M861.390505 821.460074m-95.832625 0a93.65 93.65 0 1 0 191.665251 0 93.65 93.65 0 1 0-191.665251 0Z' p-id='20657'%3E%3C/path%3E%3Cpath d='M517.989411 821.460074m-95.832625 0a93.65 93.65 0 1 0 191.665251 0 93.65 93.65 0 1 0-191.665251 0Z' p-id='20658'%3E%3C/path%3E%3Cpath d='M517.989411 510.00353m-95.832625 0a93.65 93.65 0 1 0 191.665251 0 93.65 93.65 0 1 0-191.665251 0Z' p-id='20659'%3E%3C/path%3E%3Cpath d='M861.390505 202.539926m-95.832625 0a93.65 93.65 0 1 0 191.665251 0 93.65 93.65 0 1 0-191.665251 0Z' p-id='20660'%3E%3C/path%3E%3Cpath d='M162.609495 821.460074m-95.832625 0a93.65 93.65 0 1 0 191.665251 0 93.65 93.65 0 1 0-191.665251 0Z' p-id='20661'%3E%3C/path%3E%3C/svg%3E");
|
background-repeat: no-repeat;
|
background-position: center;
|
background-size: 17px 17px;
|
}
|
|
.fullscreen-modal .modal-resize-handle {
|
display: none;
|
}
|
|
.fullscreen-modal {
|
overflow: hidden;
|
|
.ant-modal .ant-modal-header,
|
.ant-modal .ant-modal-header .base-title {
|
cursor: default !important;
|
}
|
|
.ant-modal {
|
inset: 0 !important;
|
width: 100% !important;
|
max-width: 100%;
|
height: 100%;
|
|
&.ant-modal .ant-modal-content {
|
display: flex;
|
flex-direction: column;
|
height: 100vh;
|
border-radius: 0;
|
|
.ant-modal-body {
|
flex: 1;
|
}
|
|
.ant-modal-header,
|
.ant-modal-footer {
|
flex-shrink: 0;
|
}
|
}
|
}
|
}
|
|
.ant-modal {
|
width: 800px;
|
padding-bottom: 0;
|
|
.ant-modal-body > .scrollbar {
|
padding: 20px 50px 0;
|
|
&:has(.word-form) {
|
padding-bottom: 20px;
|
}
|
|
& > .scrollbar__wrap {
|
margin-bottom: 0 !important;
|
|
.ant-form:not(.jnpf-basic-form) {
|
padding-bottom: 0.1px;
|
}
|
}
|
}
|
|
&-title {
|
font-size: 16px;
|
|
.base-title {
|
cursor: move !important;
|
}
|
}
|
|
.ant-modal-body {
|
padding: 0;
|
|
> .scrollbar > .scrollbar__bar.is-horizontal {
|
display: none;
|
}
|
}
|
|
&-large {
|
top: 60px;
|
|
&--mini {
|
top: 16px;
|
}
|
}
|
|
& &-header {
|
display: flex;
|
align-items: center;
|
height: 60px;
|
padding: 16px 24px;
|
margin-bottom: 0;
|
background-color: var(--app-content-background);
|
|
.ant-modal-title {
|
width: 100%;
|
}
|
}
|
|
& &-content {
|
position: relative;
|
padding: 0;
|
overflow: hidden;
|
border-radius: 6px;
|
box-shadow:
|
0 4px 8px 0 rgb(0 0 0 / 20%),
|
0 6px 20px 0 rgb(0 0 0 / 19%);
|
|
&.is-modal-resized {
|
display: flex;
|
flex-direction: column;
|
|
.ant-modal-body {
|
flex: 1;
|
min-height: 0;
|
overflow: auto;
|
}
|
|
.ant-modal-header,
|
.ant-modal-footer {
|
flex-shrink: 0;
|
}
|
}
|
}
|
|
& &-footer {
|
padding: 12px 16px;
|
margin-top: 0;
|
text-align: center;
|
border-top: 1px solid var(--border-color-base1);
|
|
button + button {
|
margin-left: 10px;
|
}
|
}
|
|
& &-close {
|
top: 0;
|
right: 0;
|
width: auto;
|
height: auto;
|
font-weight: normal;
|
outline: none;
|
|
&:hover {
|
color: rgb(0 0 0 / 45%);
|
text-decoration: none;
|
background-color: transparent;
|
}
|
}
|
|
&-close-x {
|
display: inline-block;
|
width: 96px !important;
|
height: 60px !important;
|
line-height: 60px !important;
|
}
|
|
&-confirm-body {
|
.ant-modal-confirm-content {
|
// color: #fff;
|
|
> * {
|
color: var(--text-color-help-dark);
|
}
|
}
|
}
|
|
&-confirm-confirm.error .ant-modal-confirm-body > .anticon {
|
color: var(--error-color);
|
}
|
|
&-confirm-btns {
|
.ant-btn:last-child {
|
margin-right: 0;
|
}
|
}
|
|
&-confirm-info {
|
.ant-modal-confirm-body > .anticon {
|
color: var(--warning-color);
|
}
|
}
|
|
&-confirm-confirm.success {
|
.ant-modal-confirm-body > .anticon {
|
color: var(--success-color);
|
}
|
}
|
}
|
|
.ant-modal-confirm .ant-modal-body {
|
padding: 24px !important;
|
}
|
|
@media screen and (max-height: 600px) {
|
.ant-modal {
|
top: 60px;
|
}
|
}
|
|
@media screen and (max-height: 540px) {
|
.ant-modal {
|
top: 30px;
|
}
|
}
|
|
@media screen and (max-height: 480px) {
|
.ant-modal {
|
top: 10px;
|
}
|
}
|
|
.dark,
|
.dark[data-theme='custom'],
|
.dark[data-theme='default'] {
|
.ant-modal {
|
.ant-modal-header {
|
background-color: var(--app-content-background);
|
border-bottom: 1px solid var(--border-color-base1);
|
}
|
|
.ant-modal-content {
|
background-color: var(--app-content-background);
|
}
|
}
|
}
|