UNPKG

yqcloud-ui

Version:

An enterprise-class UI design language and React-based implementation

301 lines (300 loc) 6.82 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ .ant-modal { font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.5; color: #04173F; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; list-style: none; position: relative; width: auto; margin: 0 auto; top: 100px; padding-bottom: 24px; } .ant-modal-wrap { position: fixed; overflow: auto; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; -webkit-overflow-scrolling: touch; outline: 0; } .ant-modal-title { margin: 0; font-size: 20px; color: #04173F; font-weight: 400; letter-spacing: 0; line-height: 32px; } .ant-modal-content { position: relative; background-color: #fff; border: 0; border-radius: 4px; background-clip: padding-box; -webkit-box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); padding: 24px; } .ant-modal-close { cursor: pointer; border: 0; background: transparent; position: absolute; right: 0; top: 0; z-index: 10; font-weight: 700; line-height: 1; text-decoration: none; -webkit-transition: color .3s; transition: color .3s; color: rgba(0, 0, 0, 0.45); outline: 0; padding: 0; } .ant-modal-close-x { display: block; font-style: normal; vertical-align: baseline; text-align: center; text-transform: none; text-rendering: auto; width: 56px; height: 56px; line-height: 56px; } .ant-modal-close:focus, .ant-modal-close:hover { color: #444; text-decoration: none; } .ant-modal-header { background: #fff; color: #04173F; line-height: 56px; } .ant-modal-body { font-size: 12px; line-height: 1.5; word-wrap: break-word; } .ant-modal-footer { text-align: right; margin-bottom: -24px; padding: 12px 0; border-radius: 0 0 4px 4px; } .ant-modal-footer button + button { margin-left: 8px; margin-bottom: 0; } .ant-modal.zoom-enter, .ant-modal.zoom-appear { -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-transform: none; -ms-transform: none; transform: none; opacity: 0; } .ant-modal-mask { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background-color: #373737; background-color: rgba(0, 0, 0, 0.288); height: 100%; z-index: 1000; filter: alpha(opacity=50); } .ant-modal-mask-hidden { display: none; } .ant-modal-open { overflow: hidden; } @media (max-width: 768px) { .ant-modal { width: auto !important; margin: 10px; } .vertical-center-modal .ant-modal { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } } .ant-confirm .ant-modal-header { display: none; } .ant-confirm .ant-modal-close { display: none; } .ant-confirm .ant-modal-body { padding: 24px; } .ant-confirm .ant-modal-content { padding: 0; } .ant-confirm-body-wrapper { zoom: 1; } .ant-confirm-body-wrapper:before, .ant-confirm-body-wrapper:after { content: " "; display: table; } .ant-confirm-body-wrapper:after { clear: both; visibility: hidden; font-size: 0; height: 0; } .ant-confirm-body .ant-confirm-title { color: #04173F; font-weight: 400; font-size: 20px; line-height: 32px; display: block; overflow: auto; } .ant-confirm-body .ant-confirm-content { font-size: 12px; color: #04173F; margin-top: 8px; } .ant-confirm-body i + span + .ant-confirm-content { margin-left: 40px; } .ant-confirm-body > .icon { font-size: 24px; margin-right: 16px; float: left; line-height: 32px; } .ant-confirm .ant-confirm-btns { text-align: right; margin-bottom: -24px; padding: 12px 0; } .ant-confirm .ant-confirm-btns button + button { margin-left: 8px; margin-bottom: 0; } .ant-confirm-error .ant-confirm-body > .icon { color: #d50000; } .ant-confirm-warning .ant-confirm-body > .icon, .ant-confirm-confirm .ant-confirm-body > .icon { color: #faad14; } .ant-confirm-info .ant-confirm-body > .icon { color: #2196f3; } .ant-confirm-success .ant-confirm-body > .icon { color: #52c41a; } .ant-modal-sidebar { position: absolute; height: 100%; top: 0; bottom: 0; padding-bottom: 0; outline: 0; opacity: 0; width: 100%; -webkit-transform-origin: 100% 0% !important; -ms-transform-origin: 100% 0% !important; transform-origin: 100% 0% !important; } .ant-modal-sidebar.ant-modal-sidebar-open { opacity: 1; } .ant-modal-sidebar .ant-modal-content { left: 352px; position: absolute; height: 100%; padding: 0; width: calc(100% - 352px) !important; overflow: auto; } .ant-modal-sidebar .ant-modal-header { padding: 0 8px; height: 65px; min-height: 65px; border-bottom: 1px solid #CCD3D9; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; white-space: nowrap; } .ant-modal-sidebar .ant-modal-header .ant-modal-title { font-size: 18px; letter-spacing: .005em; line-height: 24px; margin: 0 56px 0 16px; } .ant-modal-sidebar .ant-modal-body { font-size: 100%; padding: 24px; position: relative; overflow: auto; max-height: calc(100% - 121px) !important; } .ant-modal-sidebar .ant-modal-footer { height: 56px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; white-space: nowrap; padding: 0 24px; border-top: 1px solid #CCD3D9; } .ant-modal-sidebar .ant-modal-footer button + button { margin-left: 12px; margin-bottom: 0; } .ant-modal-sidebar .ant-modal-footer button.cancel { color: #818999; } .ant-modal-sidebar .ant-modal-footer .ant-modal-btn-shanchux { color: #818999; }