UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

238 lines (237 loc) 5.73 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; } .ant-alert { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.85); font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; -webkit-font-feature-settings: 'tnum'; font-feature-settings: 'tnum'; position: relative; padding: 8px 15px 8px 37px; word-wrap: break-word; border-radius: 2px; } .ant-alert.ant-alert-no-icon { padding: 8px 15px; } .ant-alert.ant-alert-no-icon .ant-alert-close-icon { top: 12.0005px; } .ant-alert.ant-alert-closable { padding-right: 30px; } .ant-alert-icon { position: absolute; top: 12.0005px; left: 16px; } .ant-alert-description { display: none; font-size: 14px; line-height: 22px; } .ant-alert-success { background-color: #f6ffed; border: 1px solid #b7eb8f; } .ant-alert-success .ant-alert-icon { color: #52c41a; } .ant-alert-info { background-color: #e6f7ff; border: 1px solid #91d5ff; } .ant-alert-info .ant-alert-icon { color: #1890ff; } .ant-alert-warning { background-color: #fffbe6; border: 1px solid #ffe58f; } .ant-alert-warning .ant-alert-icon { color: #faad14; } .ant-alert-error { background-color: #fff2f0; border: 1px solid #ffccc7; } .ant-alert-error .ant-alert-icon { color: #ff4d4f; } .ant-alert-error .ant-alert-description > pre { margin: 0; padding: 0; } .ant-alert-close-icon { position: absolute; top: 12.0005px; right: 16px; padding: 0; overflow: hidden; font-size: 12px; line-height: 12px; background-color: transparent; border: none; outline: none; cursor: pointer; } .ant-alert-close-icon .anticon-close { color: rgba(0, 0, 0, 0.45); -webkit-transition: color 0.3s; transition: color 0.3s; } .ant-alert-close-icon .anticon-close:hover { color: rgba(0, 0, 0, 0.75); } .ant-alert-close-text { color: rgba(0, 0, 0, 0.45); -webkit-transition: color 0.3s; transition: color 0.3s; } .ant-alert-close-text:hover { color: rgba(0, 0, 0, 0.75); } .ant-alert-with-description { position: relative; padding: 15px 15px 15px 63px; color: rgba(0, 0, 0, 0.85); line-height: 1.5715; border-radius: 2px; } .ant-alert-with-description.ant-alert-no-icon { padding: 15px 15px; } .ant-alert-with-description .ant-alert-icon { position: absolute; top: 15px; left: 24px; font-size: 24px; } .ant-alert-with-description .ant-alert-close-icon { position: absolute; top: 16px; right: 16px; font-size: 14px; cursor: pointer; } .ant-alert-with-description .ant-alert-message { display: block; margin-bottom: 4px; color: rgba(0, 0, 0, 0.85); font-size: 16px; } .ant-alert-message { color: rgba(0, 0, 0, 0.85); } .ant-alert-with-description .ant-alert-description { display: block; } .ant-alert.ant-alert-motion-leave { overflow: hidden; opacity: 1; -webkit-transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); } .ant-alert.ant-alert-motion-leave-active { max-height: 0; margin-bottom: 0 !important; padding-top: 0; padding-bottom: 0; opacity: 0; } .ant-alert-banner { margin-bottom: 0; border: 0; border-radius: 0; } .ant-alert.ant-alert-rtl { padding: 8px 37px 8px 15px; direction: rtl; } .ant-alert-rtl.ant-alert.ant-alert-no-icon { padding: 8px 15px; } .ant-alert.ant-alert-rtl.ant-alert.ant-alert-closable { padding-right: 37px; padding-left: 30px; } .ant-alert.ant-alert-rtl.ant-alert.ant-alert-no-icon.ant-alert-closable { padding-right: 15px; padding-left: 30px; } .ant-alert-rtl .ant-alert-icon { right: 16px; left: auto; } .ant-alert-rtl .ant-alert-close-icon { right: auto; left: 16px; } .ant-alert.ant-alert-rtl.ant-alert-with-description, .ant-alert.ant-alert-rtl.ant-alert-with-description.ant-alert-closable { padding: 15px 63px 15px 15px; } .ant-alert.ant-alert-rtl.ant-alert-with-description.ant-alert-no-icon { padding: 15px; } .ant-alert-rtl.ant-alert-with-description .ant-alert-icon { right: 24px; left: auto; } .ant-alert-rtl.ant-alert-with-description .ant-alert-close-icon { right: auto; left: 16px; }