mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
52 lines
923 B
Plaintext
52 lines
923 B
Plaintext
.@{dialog-prefix-cls} {
|
|
|
|
&-wrap-hidden > &-mask {
|
|
display: none;
|
|
}
|
|
|
|
&-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-color: #373737;
|
|
background-color: rgba(55, 55, 55, 0.6);
|
|
height: 100%;
|
|
z-index: 1000;
|
|
filter: alpha(opacity=50);
|
|
}
|
|
|
|
&-wrap-hidden > &-mask&-fade-enter,
|
|
&-wrap-hidden > &-mask&-fade-leave {
|
|
display: block;
|
|
}
|
|
|
|
.fade-effect() {
|
|
animation-duration: 0.3s;
|
|
animation-fill-mode: both;
|
|
animation-timing-function: @ease-in;
|
|
}
|
|
|
|
&-fade-enter {
|
|
opacity: 0;
|
|
.fade-effect();
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
&-fade-leave {
|
|
.fade-effect();
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
&-fade-enter&-fade-enter-active {
|
|
animation-name: antFadeIn;
|
|
animation-play-state: running;
|
|
}
|
|
|
|
&-fade-leave&-fade-leave-active {
|
|
animation-name: antFadeOut;
|
|
animation-play-state: running;
|
|
}
|
|
}
|