You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
576 B
32 lines
576 B
4 years ago
|
@import 'box';
|
||
|
|
||
|
.modal-mask() {
|
||
|
pointer-events: none;
|
||
|
|
||
|
&.zoom-enter,
|
||
|
&.zoom-appear {
|
||
|
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
|
||
|
}
|
||
|
|
||
|
&-mask {
|
||
|
.box(fixed);
|
||
|
z-index: @zindex-modal-mask;
|
||
|
height: 100%;
|
||
|
background-color: @modal-mask-bg;
|
||
|
|
||
|
&-hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-wrap {
|
||
|
.box(fixed);
|
||
|
overflow: auto;
|
||
|
outline: 0;
|
||
|
-webkit-overflow-scrolling: touch;
|
||
|
}
|
||
|
}
|