UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

50 lines (49 loc) 1.16 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ .ant-modal, .ant-image-preview { pointer-events: none; } .ant-modal.zoom-enter, .ant-modal.zoom-appear, .ant-image-preview.zoom-enter, .ant-image-preview.zoom-appear { -webkit-transform: none; transform: none; opacity: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .ant-modal-mask, .ant-image-preview-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; height: 100%; background-color: rgba(0, 0, 0, 0.45); filter: alpha(opacity=50); } .ant-modal-mask-hidden, .ant-image-preview-mask-hidden { display: none; } .ant-modal-wrap, .ant-image-preview-wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: auto; outline: 0; -webkit-overflow-scrolling: touch; }