UNPKG

choerodon-ui

Version:

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

91 lines (90 loc) 2.27 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 */ .c7n-pro-picture-viewer { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; height: 100%; } .c7n-pro-picture-viewer-header { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; color: #ffffff; } .c7n-pro-picture-viewer-modal .c7n-pro-modal-header { background-color: #000; } .c7n-pro-picture-viewer-modal .c7n-pro-modal-title, .c7n-pro-picture-viewer-modal .c7n-pro-modal-header-button { color: inherit; } .c7n-pro-picture-viewer-modal .c7n-pro-modal-content { background-color: rgba(0, 0, 0, 0.75); } .c7n-pro-picture-viewer-btn { color: #ffffff !important; } .c7n-pro-picture-viewer-picture { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; height: 100%; margin: 0 auto; } .c7n-pro-picture-viewer-picture .c7n-pro-picture { width: 100%; height: 100%; } .c7n-pro-picture { position: relative; display: inline-block; } .c7n-pro-picture-block { display: block; -webkit-box-sizing: content-box; box-sizing: content-box; } .c7n-pro-picture-block img { display: block; width: 100%; height: 100%; } .c7n-pro-picture-border { border: 0.01rem solid #e0e0e0; } .c7n-pro-picture-icon { position: absolute; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; width: 100%; height: 100%; color: rgba(0, 0, 0, 0.25); } .c7n-pro-picture-icon .icon { font-size: 0.26rem; } .c7n-pro-picture-preview { cursor: pointer; }