.fullscreen-modal {
|
overflow: hidden;
|
|
.ant-modal {
|
inset: 0 !important;
|
width: 100% !important;
|
max-width: 100%;
|
height: 100%;
|
|
&-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;
|
|
& > .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 {
|
padding: 0;
|
box-shadow:
|
0 4px 8px 0 rgb(0 0 0 / 20%),
|
0 6px 20px 0 rgb(0 0 0 / 19%);
|
}
|
|
& &-footer {
|
padding: 12px 16px;
|
margin-top: 0;
|
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);
|
}
|
}
|
}
|