2020-08-23 16:06:08 +08:00
|
|
|
@import 'box';
|
|
|
|
|
|
|
|
.modal-mask() {
|
2020-12-01 11:02:28 +08:00
|
|
|
pointer-events: none;
|
2020-08-23 16:06:08 +08:00
|
|
|
|
2020-12-01 11:02:28 +08:00
|
|
|
&.zoom-enter,
|
|
|
|
&.zoom-appear {
|
2020-08-23 16:06:08 +08:00
|
|
|
transform: none; // reset scale avoid mousePosition bug
|
|
|
|
opacity: 0;
|
|
|
|
animation-duration: @animation-duration-slow;
|
|
|
|
user-select: none; // https://github.com/ant-design/ant-design/issues/11777
|
|
|
|
}
|
|
|
|
|
2020-12-01 11:02:28 +08:00
|
|
|
&-mask {
|
2020-08-23 16:06:08 +08:00
|
|
|
.box(fixed);
|
|
|
|
z-index: @zindex-modal-mask;
|
|
|
|
height: 100%;
|
|
|
|
background-color: @modal-mask-bg;
|
|
|
|
|
|
|
|
&-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-01 11:02:28 +08:00
|
|
|
&-wrap {
|
2020-08-23 16:06:08 +08:00
|
|
|
.box(fixed);
|
|
|
|
overflow: auto;
|
|
|
|
outline: 0;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
}
|