mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
5913cf9c5c
* feat: 🆕 image组件 - 添加样式 * feat: 🆕 增加 AImage 组件 * feat: 🆕 参考 ant-design 增加 相关 Image 组件的less定义 * feat: 🆕 Image placeholder 的修改 * fix: 🐞 去除 onPreviewClose 相关 * test: 🧪 image width/height 以及相关测试 * fix: 🐞 fix lint no-setup-props-destructure * test: 🧪 image test snap file * refactor: 💡 去掉多加了的文件,重构文件以使逻辑清晰 * feat: 🆕 rc-image 相关内容 列入 vc-image 文件夹中 * feat: 🆕 antd 4.9.1 增加 image-preview-group * feat: 🆕 add ImagePropsType * feat: udpate image components * feat: update image * feat: update image Co-authored-by: tanjinzhou <415800467@qq.com>
32 lines
576 B
Plaintext
32 lines
576 B
Plaintext
@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;
|
|
}
|
|
}
|