UNPKG

acud

Version:

acg react 组件库

220 lines (219 loc) • 4.13 kB
/* color */ /* 默认颜色 */ /* 通用-icon */ /* 标签 */ /* 默认颜色 */ /* 其他颜色 */ /* 通用 */ /* 水平 */ /* 垂直 */ /* 序号水平 */ /* 序号垂直 */ .acud-modal { margin: 0; padding: 0; pointer-events: none; position: relative; left: auto; top: auto; transform: translate(0); width: auto; max-width: calc(100vw - 32px); } .acud-modal.zoom-enter, .acud-modal.zoom-appear { transform: none; opacity: 0; animation-duration: 0.3s; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .acud-modal-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; height: 100%; background-color: rgba(7, 12, 20, 0.5); } .acud-modal-mask-hidden { display: none; } .acud-modal-wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: auto; outline: 0; display: flex; justify-content: center; align-items: center; -webkit-overflow-scrolling: touch; z-index: 1000; } .acud-modal-sm { width: 520px; min-height: 240px; max-height: 560px; } .acud-modal-sm > .acud-modal-content { width: 100%; min-height: 240px; max-height: 560px; } .acud-modal-md { width: 800px; min-height: 400px; max-height: 560px; } .acud-modal-md > .acud-modal-content { width: 100%; min-height: 400px; max-height: 560px; } .acud-modal-lg { width: 1120px; min-height: 480px; max-height: 560px; } .acud-modal-lg > .acud-modal-content { width: 100%; min-height: 480px; max-height: 560px; } .acud-modal-xl { width: 1200px; min-height: 480px; max-height: 560px; } .acud-modal-xl > .acud-modal-content { width: 100%; min-height: 480px; max-height: 560px; } .acud-modal-content { position: relative; background-color: #FFFFFF; background-clip: padding-box; border: 0; border-radius: 0px; box-shadow: 0px 4px 12px 1px rgba(7, 12, 20, 0.12); pointer-events: auto; border-radius: 6px; overflow: hidden; height: 100%; display: flex; flex-direction: column; } .acud-modal-header { padding: 24px 24px 0; color: #151B26; font-weight: 500; flex: none; } .acud-modal-close { position: absolute; top: 0; right: 24px; color: #84868C; line-height: 1; text-decoration: none; background: transparent; border: 0; outline: 0; cursor: pointer; transition: color 0.3s; } .acud-modal-close-x { display: block; margin-top: 27px; font-size: 16px; text-align: center; text-transform: none; text-rendering: auto; font-weight: 700; } .acud-modal-close:focus, .acud-modal-close:hover { color: #303540; text-decoration: none; font-weight: 900; } .acud-modal-title { font-size: 16px; line-height: 22px; padding-right: 12px; word-wrap: break-word; } .acud-modal-body { margin: 16px 24px 24px; font-size: 12px; font-weight: 400; line-height: 20px; word-wrap: break-word; color: #151B26; flex: 1; overflow-y: auto; } .acud-modal-footer { padding: 0 24px 24px; background: #FFFFFF; text-align: right; flex: none; display: flex; align-items: center; justify-content: flex-end; } .acud-modal-footer .acud-btn { margin: 0; } .acud-modal-footer .acud-btn + .acud-btn { margin-left: 12px; } .acud-modal-dialogbox { width: 400px; height: auto; min-height: 184px; } .acud-modal-dialogbox-icon { height: 100%; margin-right: 12px; float: left; display: flex; align-items: center; padding-top: 2px; } .acud-modal-dialogbox-title { overflow: hidden; padding-right: 12px; } .acud-modal-dialogbox-content { width: 100%; padding-left: 32px; } .acud-modal-dialogbox .acud-modal-title .acudicon { font-size: 20px; } .acud-modal-dialogbox > .acud-modal-content { min-height: 184px; } .acud-modal-dialogbox-warning .acud-modal-dialogbox-icon { color: #FF9326; } .acud-modal-dialogbox-info .acud-modal-dialogbox-icon { color: #2468F2; } .acud-modal-dialogbox-success .acud-modal-dialogbox-icon { color: #30BF13; } .acud-modal-dialogbox-error .acud-modal-dialogbox-icon { color: #F33E3E; } .acud-modal-dialogbox-confirm .acud-modal-dialogbox-icon { color: #FF9326; }