UNPKG

maycur-business

Version:

maycur business react components of web

369 lines (368 loc) 6.86 kB
/* base variables */ /* text-color */ /* pin */ /* 字体大小 */ /* tab-bar */ /* 提示颜色 */ /* fee type color 引用自主版本 */ /* table相关 */ /* mix-in class */ #mixin-ios-scroll { overflow-y: scroll; -webkit-overflow-scrolling: touch; } #mixin-pick-bar { display: flex; background: #fff; font-weight: normal; font-size: 16px; } #mixin-pick-bar > div { flex: 1; text-align: center; color: #3296FA; line-height: 50px; } #mktable-filter-dropdown { border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); border-radius: 0; } .mkbs-viewer { opacity: 0; } .mkbs-viewer-inline { position: relative; width: 100%; height: 100%; } .mkbs-viewer ul { margin: 0; padding: 0; } .mkbs-viewer li { list-style: none; } .mkbs-viewer-mask { position: fixed; top: 0; right: 0; left: 0; bottom: 0; height: 100%; filter: alpha(opacity=50); z-index: 1000; } .mkbs-viewer-btn { text-align: center; } .mkbs-viewer-close { position: absolute; top: 0px; right: 0px; overflow: hidden; width: 26px; height: 26px; margin: 9px 9px 0 0; cursor: pointer; z-index: 1020; display: flex; justify-content: center; align-items: center; } .mkbs-viewer-close:hover { background: #555; } .mkbs-viewer-close > i { color: #fff; display: inline-block; } .mkbs-viewer-image { display: flex; justify-content: center; align-items: center; } .mkbs-viewer-image img { height: 100%; } .mkbs-viewer-canvas { position: fixed; top: 0; right: 0; left: 0; bottom: 0; overflow: hidden; z-index: 1005; background: rgba(55, 55, 55, 0.6); } .mkbs-viewer-canvas > img { display: block; width: auto; height: auto; user-select: none; } .mkbs-viewer-canvas > img.drag { cursor: move; } .mkbs-viewer-header { width: 100%; height: 44px; line-height: 44px; background: rgba(51, 51, 51, 0.8); position: absolute; text-align: left; display: flex; justify-content: center; overflow: hidden; z-index: 1010; font-size: 12px; } .mkbs-viewer-header .fm { font-size: 17px; color: #fff; } .mkbs-viewer-header .proven-true { position: relative; color: #5BD200; } .mkbs-viewer-header .proven-true:before { content: ""; position: absolute; top: 17px; left: 5px; color: #5bd200; width: 8px; height: 8px; background: #fff; } .mkbs-viewer-header .proven-true .fm { color: #5BD200 !important; position: relative; z-index: 10; } .mkbs-viewer-header .verify-true { color: #fff; cursor: pointer; } .mkbs-viewer-header .ant-divider-vertical { height: 16px; margin: 13px 22px 0 8px; } .mkbs-viewer-footer { height: 88px; background-color: rgba(51, 51, 51, 0.8); position: fixed; right: 0; bottom: 0; left: 0; overflow: hidden; text-align: center; z-index: 1005; } .mkbs-viewer-inline > .mkbs-viewer-close, .mkbs-viewer-inline > .mkbs-viewer-canvas, .mkbs-viewer-inline > .mkbs-viewer-footer { position: absolute; } .mkbs-viewer-attribute { margin: 0; margin-bottom: 6px; opacity: 0.8; color: #ccc; font-size: 15px; } .mkbs-viewer-toolbar { overflow: hidden; line-height: 44px; width: 40%; display: flex; justify-content: space-around; } .mkbs-viewer-toolbar li { display: inline-block; width: 28px; height: 28px; border-radius: 28px; cursor: pointer; } .mkbs-viewer li.empty { background-color: transparent; cursor: default; } .mkbs-viewer-image { position: relative; } .mkbs-viewer-loading-wrap { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; } .mkbs-viewer-navbar p { font-family: MicrosoftYaHei; font-size: 10px; color: #fff; line-height: 32px; } .mkbs-viewer-navbar-switch { display: flex; padding: 0 24px; } .mkbs-viewer-navbar-switch .fm-angle-right, .mkbs-viewer-navbar-switch .fm-angle-left { display: inline-block; width: 40px; height: 40px; color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; } .mkbs-viewer-navbar-switch .fm-angle-right:hover, .mkbs-viewer-navbar-switch .fm-angle-left:hover { background: #555; } .mkbs-viewer-navbar .empty { background: #fff; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .mkbs-viewer-navbar .empty .fm-receipt1 { color: #ddd; font-size: 24px; } .mkbs-viewer-list-switch { overflow: hidden; width: calc(100% - 88px); display: flex; justify-content: center; flex: 1; } .mkbs-viewer-list-release { overflow: hidden; } .mkbs-viewer-list { height: 40px; padding: 1px; text-align: left; display: flex; } .mkbs-viewer-list > li { display: inline-block; position: relative; width: 40px; height: 40px; cursor: pointer; overflow: hidden; flex-shrink: 0; margin-right: 1px; margin-right: 6px; border: 1px solid transparent; } .mkbs-viewer-list > li.proven-true:after { content: ""; position: absolute; top: 7px; right: 8px; color: #5BD200; width: 8px; height: 8px; background: #fff; } .mkbs-viewer-list > li .fm-proven-true { position: absolute; top: 0; right: 4px; font-size: 16px; color: #5BD200; width: 16px; height: 16px; z-index: 10; } .mkbs-viewer-list > li img { width: 70px; height: 40px; margin-left: -15px; opacity: 0.5; } .mkbs-viewer-list > li .react-pdf__Document { opacity: 0.5; } .mkbs-viewer-list > li.active { border-color: #fff; } .mkbs-viewer-list > li.active img { opacity: 1; } .mkbs-viewer-list > li.active .react-pdf__Document { opacity: 1; } .mkbs-viewer-icon { font-family: 'icomoon' !important; display: inline-block; font-style: normal; vertical-align: baseline; text-align: center; text-transform: none; text-rendering: auto; line-height: 1; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #fff; font-size: 13px; } .mkbs-viewer-icon-zoomIn:before { content: '\ea0a'; } .mkbs-viewer-icon-zoomOut:before { content: '\ea0b'; } .mkbs-viewer-icon-prev:before { content: '\ea38'; } .mkbs-viewer-icon-next:before { content: '\ea34'; } .mkbs-viewer-icon-close:before { content: '\ea0f'; } .mkbs-viewer-icon-rotateLeft:before { content: '\e967'; } .mkbs-viewer-icon-rotateRight:before { content: '\e968'; } .mkbs-viewer-icon-reset:before { content: '\e984'; } .mkbs-viewer-icon-scaleX:before { content: '\ea60'; } .mkbs-viewer-icon-scaleY:before { content: '\ea5f'; } .mkbs-viewer-icon-download:before { content: '\e9c7'; } .circle-loading { box-sizing: border-box; width: 80px; height: 80px; border-radius: 100%; border: 10px solid rgba(255, 255, 255, 0.2); border-top-color: #FFF; animation: spin 1s infinite linear; margin-top: -44px; } @keyframes spin { 100% { transform: rotate(360deg); } }