mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
ea2545fbc7
* fix: DatePicker/Select/Cascader/Select animation direction close #30889 * fix modal * fix message
32 lines
603 B
Plaintext
32 lines
603 B
Plaintext
@import 'box';
|
|
|
|
.modal-mask() {
|
|
pointer-events: none;
|
|
|
|
&.@{ant-prefix}-zoom-enter,
|
|
&.@{ant-prefix}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;
|
|
}
|
|
}
|