UNPKG

choerodon-ui

Version:

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

1,429 lines (1,428 loc) 41.9 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 */ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ @-webkit-keyframes antCheckboxEffect { 0% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.5; } 100% { -webkit-transform: scale(1.6); transform: scale(1.6); opacity: 0; } } @keyframes antCheckboxEffect { 0% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.5; } 100% { -webkit-transform: scale(1.6); transform: scale(1.6); opacity: 0; } } .c7n-pro-table { position: relative; color: #000000; font-size: 0.13rem; outline: none; border-top: 0.01rem solid #e0e0e0; border-bottom: 0.01rem solid #e0e0e0; /* 当前行和 hover 状态下行的可编辑框的背景色变化 */ } .c7n-pro-table-wrapper .c7n-spin-nested-loading > .c7n-spin .c7n-spin-dot .c7n-progress-inner { -webkit-animation: c7n-progress-rotate 1.2s linear infinite; animation: c7n-progress-rotate 1.2s linear infinite; } .c7n-pro-table-wrapper .c7n-spin-nested-loading > .c7n-spin .c7n-spin-dot .c7n-progress-inner circle { stroke-dasharray: 95px; -webkit-animation: none; animation: none; } .c7n-pro-table table { font-size: inherit; text-align: left; table-layout: fixed; border-collapse: separate; border-spacing: 0; } .c7n-pro-table-header { margin-bottom: 0.1rem; padding: 0.08rem; font-weight: 400; font-size: 0.16rem; border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-error-content { 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: 0.38rem; padding: 0 0.2rem; color: #d50000; font-weight: 500; background-color: #fcebeb; } .c7n-pro-table-error-content .icon-cancel { float: left; margin-right: 0.1rem; line-height: 0.18rem; } .c7n-pro-table-error-content .icon-close { cursor: pointer; } .c7n-pro-table-range-border { position: absolute; display: none; border: 0.01rem solid #3f51b5; pointer-events: none; } .c7n-pro-table-clipboard { margin-bottom: 0.1rem; } .c7n-pro-table-clipboard .c7n-alert-content { width: 100%; } .c7n-pro-table-clipboard-content { 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: 0.2rem; } .c7n-pro-table-clipboard-content-text { -webkit-box-flex: 5; -ms-flex: 5; flex: 5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .c7n-pro-table-clipboard-content-suffix { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } .c7n-pro-table-cell-choosed { background-color: rgb(241 243 255) !important; } .c7n-pro-table-sibling { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .c7n-pro-table-content { position: relative; overflow: hidden; } .c7n-pro-table-content-overflow { overflow-x: auto; } .c7n-pro-table-content-copy .c7n-pro-table-cell { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-pro-table-footer { padding: 0.08rem; text-align: left; } .c7n-pro-table-export-progress-footer { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } .c7n-pro-table-export-modal-footer { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } .c7n-pro-table-export-modal-footer-radio { display: -webkit-box; display: -ms-flexbox; display: flex; } .c7n-pro-table-export-modal-footer-radio label:first-child { margin-right: 0.24rem; } .c7n-pro-table-export-modal-footer-operation { margin-left: 0.4rem; } .c7n-pro-table:not(.c7n-pro-table-aggregation) .c7n-pro-table-thead .c7n-pro-table-cell-inner > * { vertical-align: middle; } .c7n-pro-table:not(.c7n-pro-table-aggregation) .c7n-pro-table-tbody .c7n-pro-table-cell-inner .c7n-pro-btn { max-height: 100%; vertical-align: 0.125em; } .c7n-pro-table:not(.c7n-pro-table-aggregation) .c7n-pro-table-tbody .c7n-pro-table-cell-inner .c7n-pro-btn-icon-only .icon { line-height: 1; vertical-align: -0.125em; } .c7n-pro-table-cell { margin: 0; padding: 0.01rem 0.01rem; font-weight: 400; -webkit-transition: all 0.3s; transition: all 0.3s; font-variant-numeric: tabular-nums; } .c7n-pro-table-cell-no-transition { -webkit-transition: none; transition: none; } .c7n-pro-table-cell-inner { position: relative; display: block; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; padding: 0.05rem 0.1rem; line-height: 1.5; border-radius: 0rem; } .c7n-pro-table-cell-inner .c7n-pro-input-secret { margin-top: -0.02rem; background-color: transparent; } .c7n-pro-table-cell-inner .c7n-pro-input-secret .c7n-pro-input { padding: 0; border: none; } .c7n-pro-table-cell-inner:focus { outline: none; } .c7n-pro-table-cell-inner:empty::before { display: inline-block; width: 0; content: ' '; } .c7n-pro-table-cell-inner-bordered { border: 0.01rem solid transparent; } .c7n-pro-table-cell-inner-edit { background-color: transparent; } .c7n-pro-table-cell-inner-edit input { font-weight: 700; border-color: transparent; } .c7n-pro-table-cell-inner-fixed-height { overflow: hidden; text-overflow: ellipsis; } .c7n-pro-table-cell-inner-auto-height { overflow: hidden; word-break: break-all; } .c7n-pro-table-cell-inner-row-height-fixed { padding: 0 0.1rem; overflow: hidden; line-height: inherit; white-space: nowrap; text-overflow: ellipsis; } .c7n-pro-table-cell-inner-row-height-fixed.c7n-pro-table-cell-inner-fixed-height { padding: 0.07rem 0.1rem; white-space: normal; overflow-wrap: break-word; } .c7n-pro-table-cell-inner-multi-value-invalid { color: #d50000; } .c7n-pro-table-cell-inner-multi-label-required::after { display: inline-block; width: 0.08rem; margin-left: 0.04rem; color: #d50000; font-family: SimSun, sans-serif; line-height: 1; vertical-align: middle; content: '*'; } .c7n-pro-table-cell-inner-row-height-fixed.c7n-pro-table-cell-inner-multi-label, .c7n-pro-table-cell-inner-row-height-fixed.c7n-pro-table-cell-inner-multi-value { overflow: hidden; line-height: inherit; white-space: nowrap; text-overflow: ellipsis; } .c7n-pro-table-cell-inner-row-height-fixed.c7n-pro-table-cell-inner-multi .c7n-pro-validation-message { padding-left: 0; font-size: inherit; } .c7n-pro-table-cell-inner-dirty::after { position: absolute; top: 0; left: 0; display: inline-block; width: 0; white-space: normal; border-top: 0.06rem solid #3f51b5; border-right: 0.06rem solid transparent; content: ' '; } .c7n-pro-table-cell-inner-invalid::after { border-top-color: #d50000; } .c7n-pro-table-cell-inner-pre { overflow-y: auto; white-space: pre; } .c7n-pro-table-cell-prefix { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; float: left; padding-right: 0.1rem; padding-left: 0.1rem; } .c7n-pro-table-cell-prefix > * { vertical-align: middle; } .c7n-pro-table-cell-prefix .c7n-pro-table-expand-icon { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .c7n-pro-table-cell-fix-left, .c7n-pro-table-cell-fix-right { position: sticky !important; z-index: 2; background-color: #fff; background-image: -webkit-gradient(linear, left top, right top, from(#fff), to(#fff)); background-image: linear-gradient(to right, #fff 0%, #fff 100%); background-blend-mode: multiply; } .c7n-pro-table-cell-multiple-block { display: inline-block; max-width: 99%; margin: 0 0.02rem; padding: 0 0.08rem; overflow: hidden; color: #ffffff; line-height: 1.5; white-space: nowrap; background-color: #3f51b5; border-radius: 0.02rem; } .c7n-pro-table-cell-multiple-block > div { height: 100%; display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: top; } .c7n-pro-table-cell-multiple-block > div:not(:last-child) { max-width: calc(100% - 0.24rem); } .c7n-pro-table-cell-multiple-block-invalid { background-color: #d50000; color: #ffffff; } .c7n-pro-table-cell-multiple-block-disabled { padding-right: 0.1rem; background-color: rgba(0, 0, 0, 0.25); color: #ffffff; cursor: not-allowed; } .c7n-pro-table-cell-aggregation .c7n-pro-select-box { display: -webkit-box; display: -ms-flexbox; display: flex; line-height: inherit; } .c7n-pro-table-cell-aggregation .c7n-pro-select-box-wrapper { display: block; } .c7n-pro-table-cell-multiple-block, .c7n-pro-table-cell:not(.c7n-pro-table-cell-aggregation) .c7n-pro-table-cell-inner > .c7n-pro-table-cell-multiple-block { vertical-align: text-top; } .c7n-pro-table-cell-tree-treenode { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 0 0 calc(0.08rem / 2) 0; outline: none; } .c7n-pro-table-cell-tree-treenode .c7n-pro-table-cell-inner:not(.c7n-pro-table-cell-inner-editable) { padding-right: 0; padding-left: 0; } .c7n-pro-table-cell-tree-node-content-wrapper { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: hidden; } .c7n-pro-table-cell-tree-switcher { -webkit-box-flex: 0; -ms-flex: none; flex: none; width: 0.18rem; margin: 0; line-height: 1; text-align: center; cursor: pointer; } .c7n-pro-table-cell-tree-switcher-noop { width: 0; cursor: default; } .c7n-pro-table-cell-tree-switcher_close .icon-arrow_drop_down { -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); } .c7n-pro-table-cell-tree-indent { -ms-flex-item-align: stretch; align-self: stretch; line-height: 1; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-pro-table-cell-tree-indent-unit { display: inline-block; width: 0.24rem; } .c7n-pro-table-cell-tree-title { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 0.12rem; line-height: 0.2rem; } .c7n-pro-table-cell-tree-title .c7n-pro-table-cell-inner-editable { line-height: 0.18rem; } .c7n-pro-table-cell-label:not(:empty) { margin-right: 0.04rem; color: rgba(0, 0, 0, 0.65); } .c7n-pro-table-cell-expand { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #3f51b5; } .c7n-pro-table-cell-expand-btn { padding: 0; background-color: transparent; border: none; cursor: pointer; } .c7n-pro-table-cell-expand-menu-btn { display: inline-block; margin-left: 0.05rem; padding: 0.03rem 0.04rem; cursor: pointer; } .c7n-pro-table-cell-expand-menu-btn:hover { background-color: rgba(140, 158, 255, 0.12); } .c7n-pro-table-cell-expand-menu-btn::before { display: block; border-right: 0.03rem solid transparent; border-bottom: 0.03rem solid currentColor; border-left: 0.03rem solid transparent; content: ''; } .c7n-pro-table-cell-expand-menu-btn::after { display: block; margin-top: 0.02rem; border-top: 0.03rem solid currentColor; border-right: 0.03rem solid transparent; border-left: 0.03rem solid transparent; content: ''; } .c7n-pro-table-thead .c7n-pro-table-cell, .c7n-pro-table-tfoot .c7n-pro-table-cell { position: relative; color: rgba(0, 0, 0, 0.85); font-weight: 700; background-color: rgba(0, 0, 0, 0.04); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-other, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-other { display: inline-block; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-help, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-help { max-width: calc(100% - 0.22rem); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-sort, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-sort { max-width: calc(100% - 0.22rem); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-filter, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-filter { max-width: calc(100% - 0.22rem); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-help.c7n-pro-table-cell-inner-right-has-sort, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-help.c7n-pro-table-cell-inner-right-has-sort { max-width: calc(100% - 0.44rem); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-filter.c7n-pro-table-cell-inner-right-has-sort, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-filter.c7n-pro-table-cell-inner-right-has-sort { max-width: calc(100% - 0.44rem); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-filter.c7n-pro-table-cell-inner-right-has-help, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-filter.c7n-pro-table-cell-inner-right-has-help { max-width: calc(100% - 0.44rem); } .c7n-pro-table-thead .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-help.c7n-pro-table-cell-inner-right-has-filter.c7n-pro-table-cell-inner-right-has-sort, .c7n-pro-table-tfoot .c7n-pro-table-cell .c7n-pro-table-cell-inner-row-height-fixed .c7n-pro-table-cell-inner-right-has-help.c7n-pro-table-cell-inner-right-has-filter.c7n-pro-table-cell-inner-right-has-sort { max-width: calc(100% - 0.66rem); } .c7n-pro-table-thead .c7n-pro-table-cell-inner, .c7n-pro-table-tfoot .c7n-pro-table-cell-inner { word-break: break-all; } .c7n-pro-table-cell { border-right: 0.01rem solid transparent; border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-tfoot .c7n-pro-table-cell { border-top: 0.01rem solid #e0e0e0; } .c7n-pro-table:not(.c7n-pro-table-bordered) .c7n-pro-table-tbody .c7n-pro-table-cell { border-bottom-color: #e0e0e0; } .c7n-pro-table-tfoot .c7n-pro-table-cell, .c7n-pro-table-thead .c7n-pro-table-cell[colspan] { border-bottom-color: transparent; } .c7n-pro-table-row:last-of-type:not(.c7n-pro-table-row-has-next) .c7n-pro-table-cell, .c7n-pro-table-row:not(.c7n-pro-table-row-has-next) + .c7n-pro-table-expanded-row:last-child .c7n-pro-table-cell, .c7n-pro-table-cell-last-group { border-bottom: 0.01rem solid transparent; } .c7n-pro-table-last-row-bordered .c7n-pro-table-cell-last-group { border-bottom-color: #e0e0e0; } .c7n-pro-table-last-row-bordered .c7n-pro-table-row:last-of-type .c7n-pro-table-cell, .c7n-pro-table-last-row-bordered .c7n-pro-table-row + .c7n-pro-table-expanded-row:last-child .c7n-pro-table-cell { border-bottom-color: #e0e0e0; } .c7n-pro-table-tfoot-bordered .c7n-pro-table-cell { border-bottom-color: #e0e0e0; } .c7n-pro-table:not(.c7n-pro-table-bordered) .c7n-pro-table-thead.c7n-pro-table-column-resizable:hover .c7n-pro-table-cell:not(.c7n-pro-table-cell-last), .c7n-pro-table:not(.c7n-pro-table-bordered) .c7n-pro-table-thead.c7n-pro-table-column-resizable.c7n-pro-table-thead-hover .c7n-pro-table-cell:not(.c7n-pro-table-cell-last) { border-right-color: #e0e0e0; } .c7n-pro-table-bordered { border-right: 0.01rem solid #e0e0e0; border-left: 0.01rem solid #e0e0e0; } .c7n-pro-table-bordered .c7n-pro-table-footer { padding-right: 0.1rem; padding-left: 0.1rem; border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-bordered .c7n-pro-table-thead .c7n-pro-table-cell-last, .c7n-pro-table-bordered .c7n-pro-table-tbody .c7n-pro-table-cell:last-child, .c7n-pro-table-bordered .c7n-pro-table-tfoot .c7n-pro-table-cell:last-child { border-right-color: transparent; } .c7n-pro-table-bordered .c7n-pro-table-cell, .c7n-pro-table-bordered .c7n-pro-table-body .c7n-pro-table-cell:last-child, .c7n-pro-table-bordered .c7n-pro-table-fixed-left .c7n-pro-table-tfoot .c7n-pro-table-cell:last-child { border-right-color: #e0e0e0; } .c7n-pro-table-bordered .c7n-pro-table-thead .c7n-pro-table-cell[colspan] { border-bottom-color: #e0e0e0; } .c7n-pro-table-bordered .c7n-pro-table-row.dragging-row > .c7n-pro-table-cell:first-child { border-left: 0.01rem solid #e0e0e0; } .c7n-pro-table-bordered .c7n-pro-table-row.dragging-row > .c7n-pro-table-cell:last-child { border-right: 0.01rem solid #e0e0e0; } .c7n-pro-table-bordered .c7n-pro-table-cached-group-check { margin: 0 0.06rem; } .c7n-pro-table-bordered .c7n-pro-table-page-all-select { margin-right: -0.17rem; } .c7n-pro-table-cell-command + .c7n-pro-table-cell-command { margin-left: 0.1rem; } .c7n-pro-table-aggregation-groups { display: -webkit-box; display: -ms-flexbox; display: flex; } .c7n-pro-table-aggregation-groups-tree { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .c7n-pro-table-aggregation-groups-tree:not(:first-child) { margin-left: 0.1rem; } .c7n-pro-table-aggregation .c7n-pro-table-cell { vertical-align: top; } .c7n-pro-table-aggregation .c7n-pro-table-cell-command { display: block; height: 0.2rem; margin-bottom: 0.04rem; margin-left: 0 !important; text-align: inherit; } .c7n-pro-table-selection-column, .c7n-pro-table-row-number-column, .c7n-pro-table-customized-column, .c7n-pro-table-selection-column .c7n-pro-table-cell-inner, .c7n-pro-table-row-number-column .c7n-pro-table-cell-inner, .c7n-pro-table-customized-column .c7n-pro-table-cell-inner { padding-right: 0 !important; padding-left: 0 !important; } .c7n-pro-table .c7n-pro-table-customized-column .c7n-pro-btn:not(:hover) { color: unset; } .c7n-pro-table-editor { position: absolute; top: 0; left: 0; z-index: 1; -webkit-transform: translateX(-1000rem); -ms-transform: translateX(-1000rem); transform: translateX(-1000rem); } .c7n-pro-table-editor-lock { z-index: 2; } .c7n-pro-table-editor > * { display: block !important; } .c7n-pro-table-editor .c7n-pro-table-multi-label { opacity: 0; } .c7n-pro-table-editor .c7n-pro-table-multi-value > * { width: calc(100% - 0.1rem); } .c7n-pro-table-body { position: relative; overflow: auto; -webkit-transition: all 0.3s; transition: all 0.3s; will-change: transform; } .c7n-pro-table-body-wrapper { overflow: hidden; -webkit-transition: all 0.3s; transition: all 0.3s; } .c7n-pro-table-head { overflow: hidden; -webkit-transition: all 0.3s; transition: all 0.3s; } .c7n-pro-table-foot { position: relative; overflow-x: auto; background-color: #fff; -webkit-transition: all 0.3s; transition: all 0.3s; } .c7n-pro-table-export-quantity { margin-top: 0.1rem; } .c7n-pro-table-export-quantity span { line-height: 0.3rem; } .c7n-pro-table-export-quantity .c7n-col-18 { text-align: right; } .c7n-pro-table-fixed-left, .c7n-pro-table-fixed-right { position: absolute; top: 0; z-index: 1; overflow: hidden; -webkit-box-shadow: none; box-shadow: none; } .c7n-pro-table-fixed-left .c7n-pro-table-head, .c7n-pro-table-fixed-right .c7n-pro-table-head, .c7n-pro-table-fixed-left .c7n-pro-table-body, .c7n-pro-table-fixed-right .c7n-pro-table-body { overflow-x: hidden; overflow-y: auto; } .c7n-pro-table-fixed-left .c7n-pro-table-body, .c7n-pro-table-fixed-right .c7n-pro-table-body { background-color: #fff; } .c7n-pro-table-fixed-left .c7n-pro-table-foot, .c7n-pro-table-fixed-right .c7n-pro-table-foot { overflow-x: hidden; } .c7n-pro-table-fixed-left table, .c7n-pro-table-fixed-right table { background-color: #fff; -webkit-transition: width 0.3s; transition: width 0.3s; } .c7n-pro-table-fixed-left { left: 0; } .c7n-pro-table-fixed-right { right: 0; } .c7n-pro-table-sticky-left.c7n-pro-table-fixed-left { -webkit-box-shadow: 0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); box-shadow: 0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); } .c7n-pro-table-sticky-right.c7n-pro-table-fixed-right { -webkit-box-shadow: -0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); box-shadow: -0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); } .c7n-pro-table-sticky-shadow, .c7n-pro-table-cell-sticky-shadow::after { position: absolute; top: 0; bottom: 0; width: 0.1rem; -webkit-transition: all 0.3s; transition: all 0.3s; pointer-events: none; } .c7n-pro-table-sticky-shadow-no-transition { -webkit-transition: none; transition: none; } .c7n-pro-table-sticky-shadow { z-index: 2; border-color: transparent; } .c7n-pro-table-sticky-left.c7n-pro-table-sticky-shadow { border-left: 0.01rem solid #e0e0e0; -webkit-box-shadow: inset 0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); box-shadow: inset 0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); } .c7n-pro-table-sticky-right.c7n-pro-table-sticky-shadow { border-right: 0.01rem solid #e0e0e0; } .c7n-pro-table-sticky-right.c7n-pro-table-sticky-shadow, .c7n-pro-table-cell-sticky-shadow::after { -webkit-box-shadow: inset -0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); box-shadow: inset -0.06rem 0 0.06rem -0.04rem rgba(0, 0, 0, 0.12); } .c7n-pro-table-cell-sticky-shadow::after { left: 0; -webkit-transform: translateX(-100%); -ms-transform: translateX(-100%); transform: translateX(-100%); content: ''; } .c7n-pro-table-resizer { position: absolute; top: 0; width: 0.05rem; height: 100%; cursor: col-resize; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-pro-table-resizer-left { left: calc(0.01rem / -2); } .c7n-pro-table-resizer-right { right: calc(0.01rem / -2); } .c7n-pro-table-split-line { position: absolute; top: 0; bottom: 0; z-index: 3; display: none; width: 0.01rem; background-color: #3f51b5; pointer-events: none; } .c7n-pro-table-empty-row .c7n-pro-table-empty-text-wrapper { display: inline-block; line-height: 0.3rem; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); } .c7n-pro-table-parity-row .c7n-pro-table-row:nth-of-type(even) > .c7n-pro-table-cell { background-color: rgba(0, 0, 0, 0.02); } .c7n-pro-table-expanded-row > .c7n-pro-table-cell { background-color: #fbfbfb; border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-row-mouse-batch-choose { background-color: rgba(161, 194, 250, 0.16); } .c7n-pro-table-row:hover > .c7n-pro-table-cell, .c7n-pro-table-row-hover > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row:nth-of-type(even):hover > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-hover:nth-of-type(even) > .c7n-pro-table-cell, .c7n-pro-table-row:hover + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-row-hover + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row:nth-of-type(even):hover + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-hover:nth-of-type(even) + .c7n-pro-table-expanded-row > .c7n-pro-table-cell { background-color: rgba(0, 0, 0, 0.04); } .c7n-pro-table-row-current > .c7n-pro-table-cell, .c7n-pro-table-row-current:hover > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-current:nth-of-type(even) > .c7n-pro-table-cell, .c7n-pro-table-row-current + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-row-current:hover + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-current:nth-of-type(even) + .c7n-pro-table-expanded-row > .c7n-pro-table-cell { background-color: rgba(140, 158, 255, 0.12); } .c7n-pro-table-row-current .c7n-pro-table-cell-inner-editable:not(.c7n-pro-table-cell-inner-disabled):not(.c7n-pro-table-cell-inner-required), .c7n-pro-table-row:hover .c7n-pro-table-cell-inner-editable:not(.c7n-pro-table-cell-inner-disabled):not(.c7n-pro-table-cell-inner-required) { background: unset; } .c7n-pro-table-row-selected.c7n-pro-table-row:hover > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-selected.c7n-pro-table-row:nth-of-type(even):hover > .c7n-pro-table-cell, .c7n-pro-table-row-selected.c7n-pro-table-row:hover + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-selected.c7n-pro-table-row:nth-of-type(even):hover + .c7n-pro-table-expanded-row > .c7n-pro-table-cell { background-color: rgba(140, 158, 255, 0.12); } .c7n-pro-table-row-selected > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-selected:nth-of-type(even) > .c7n-pro-table-cell, .c7n-pro-table-row-selected + .c7n-pro-table-expanded-row > .c7n-pro-table-cell, .c7n-pro-table-parity-row .c7n-pro-table-row-selected:nth-of-type(even) + .c7n-pro-table-expanded-row > .c7n-pro-table-cell { background-color: rgba(161, 194, 250, 0.16); } .c7n-pro-table-row.dragging-row > .c7n-pro-table-cell { background-color: rgba(0, 0, 0, 0.04); border-top: 0.01rem solid #e0e0e0; border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-row-drag-disabled > .c7n-pro-table-drag-column { color: rgba(0, 0, 0, 0.25); } .c7n-pro-table-row > th.c7n-pro-table-cell { font-weight: 700; } .c7n-pro-table-row > th.c7n-pro-table-cell[rowspan] { background-color: #fff !important; } .c7n-pro-table-cell-prefix + .c7n-pro-table-cell-inner:not(.c7n-pro-table-cell-inner-editable) { padding-left: 0; } .c7n-pro-table-cell-inner-editable { border-color: #d9d9d9; } .c7n-pro-table-cell .c7n-pro-table-cell-inner-required { background-color: #feffe6; border-color: #d9d9d9; } .c7n-pro-table-cell .c7n-pro-table-cell-inner-highlight { border-color: #47B881; } .c7n-pro-table-cell .c7n-pro-table-cell-inner-invalid { background-color: #fcebeb; } .c7n-pro-table-cell .c7n-pro-table-cell-inner-editable.c7n-pro-table-cell-inner-invalid { border-color: #d50000; } .c7n-pro-table-cell .c7n-pro-table-cell-inner-editable.c7n-pro-table-cell-inner-disabled { background-color: #f5f5f5; border-color: rgba(0, 0, 0, 0.54); cursor: not-allowed; } .c7n-pro-table-cell .c7n-pro-table-cell-search-header { padding: 0; } .c7n-pro-table-row-disabled > .c7n-pro-table-cell { color: rgba(0, 0, 0, 0.25) !important; background-color: #f5f5f5 !important; } .c7n-pro-table-row-disabled > .c7n-pro-table-cell .c7n-pro-btn { color: rgba(0, 0, 0, 0.25) !important; } .c7n-pro-table-row-group { display: table-row; } .c7n-pro-table-row-group-title { position: sticky; top: 0; z-index: 3; color: inherit; font-size: 0.12rem; line-height: 2; background-color: #f5f5f5; border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-row-group-title-content { position: sticky; left: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; float: left; padding-right: 0.1rem; padding-left: 0.1rem; font-weight: 500; } .c7n-pro-table-row-group-divider { margin-right: 0.05rem; margin-left: 0.05rem; } .c7n-pro-table-toolbar { padding-bottom: 0.1rem; overflow: hidden; } .c7n-pro-table-toolbar-button-group { display: inline-block; vertical-align: middle; } .c7n-pro-table-toolbar button span { font-weight: 500; } .c7n-pro-table-summary-group-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; margin: 0.08rem 0; } .c7n-pro-table-summary-group { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -ms-flex-wrap: wrap; flex-wrap: wrap; vertical-align: middle; background: #FFF6EA; border-radius: 0.02rem; } .c7n-pro-table-dropdown-menu-item { padding: 0 0.08rem !important; } .c7n-pro-table-dropdown-menu-item .c7n-pro-btn .c7n-ripple { background-color: transparent; } .c7n-pro-table-summary-button-more { width: 0.7rem; font-size: 0.12rem; line-height: 0.3rem; letter-spacing: 0; text-align: center; background: #FFF6EA; } .c7n-pro-table-summary-button-more a { color: #5A6677; } .c7n-pro-table-summary-button-more i { vertical-align: text-bottom; } .c7n-pro-table-summary-col { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -ms-flex-negative: 0; flex-shrink: 0; height: 0.3rem; padding: 0 0.16rem; line-height: 0.3rem; } .c7n-pro-table-summary-col div { font-size: 0.12rem; letter-spacing: 0; } .c7n-pro-table-summary-col-label { width: 0.72rem; overflow: hidden; color: #5A6677; white-space: nowrap; text-align: left; text-overflow: ellipsis; } .c7n-pro-table-summary-col-value { width: calc(100% - 0.72rem); overflow: hidden; color: #F7A835; white-space: nowrap; text-align: right; text-overflow: ellipsis; } .c7n-pro-table-summary-col-separate { display: inline-block; width: 0.01rem; height: 0.3rem; vertical-align: top; background-color: #fef6e9; } .c7n-pro-table-summary-col-separate div { display: inline-block; width: 0.01rem; height: 0.12rem; margin-top: 0.1rem; background: rgba(87, 102, 121, 0.4); } .c7n-pro-table-pagination { margin: 0.1rem 0 0 0; text-align: right; } .c7n-pro-table-pagination-with-selection-tips { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } .c7n-pro-table-selection-tips { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-align: center; -ms-flex-align: center; align-items: center; white-space: nowrap; text-align: left; } .c7n-pro-table-selection-tips .c7n-pro-table-switch { float: none; margin-left: 0.1rem; } .c7n-pro-table-selection-tips b { font-weight: 500; } .c7n-pro-table-switch { float: left; } .c7n-pro-table-col { -webkit-transition: width 0.3s; transition: width 0.3s; } .c7n-pro-table-sort-popup-footer { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; margin-top: 0.08rem; } .c7n-pro-table-sort-popup-content { min-width: 3.2rem; min-height: 0.8rem; } .c7n-pro-table-sort-popup-content .c7n-popover-inner-content { padding: 0.08rem; } .c7n-pro-table-filter-icon { font-weight: lighter; } .c7n-pro-table-filter-icon-active { color: #3f51b5; } .c7n-pro-table-sort-icon, .c7n-pro-table-filter-icon, .c7n-pro-table-help-icon { margin-right: 0.02rem; margin-left: 0.02rem; } .c7n-pro-table-help-icon { font-size: 0.18rem; display: inline-block; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; vertical-align: middle; background-image: none; font-family: 'icomoon' !important; speak: none; font-style: normal; font-variant: normal; text-transform: none; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-weight: inherit; } .c7n-pro-table-help-icon:before { line-height: 1; } .c7n-pro-table-help-icon:before { content: '\e8fd'; } .c7n-pro-table-help-icon:hover { color: #3f51b5; } .c7n-pro-table-header-expand-icon { display: inline-block; line-height: 1; } .c7n-pro-table-sort-icon { color: rgba(0, 0, 0, 0.45); font-weight: normal; opacity: 0; } .c7n-pro-table-sort-icon:hover { color: #3f51b5; } .c7n-pro-table-sort-icon-temp { color: inherit; opacity: 1; } .c7n-pro-table-sort-asc .c7n-pro-table-sort-icon, .c7n-pro-table-sort-desc .c7n-pro-table-sort-icon { color: #3f51b5; opacity: 1; } .c7n-pro-table-sort-asc-temp .c7n-pro-table-sort-icon::before { font-family: inherit !important; content: "\e5d8" !important; } .c7n-pro-table-sort-desc-temp .c7n-pro-table-sort-icon::before { font-family: inherit !important; content: "\e5d8" !important; } .c7n-pro-table-sort-desc .c7n-pro-table-sort-icon.icon-arrow_upward { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } .c7n-pro-table-column-resizing { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-pro-table-thead:not(.c7n-pro-table-column-resizing) .c7n-pro-table-cell-inner:hover .c7n-pro-table-sort-icon { opacity: 1; } .c7n-pro-table-expand-icon { border: 0.01rem solid transparent; cursor: pointer; -webkit-transition: -webkit-transform 0.3s; transition: -webkit-transform 0.3s; transition: transform 0.3s; transition: transform 0.3s, -webkit-transform 0.3s; } .c7n-pro-table-expand-icon:focus { color: #3f51b5; outline: none; -webkit-transform: scale(1.4); -ms-transform: scale(1.4); transform: scale(1.4); } .c7n-pro-table-expand-icon-expanded { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); } .c7n-pro-table-expand-icon-expanded:focus { -webkit-transform: rotate(90deg) scale(1.4); -ms-transform: rotate(90deg) scale(1.4); transform: rotate(90deg) scale(1.4); } .c7n-pro-table-expand-icon-spaced { visibility: hidden; } .c7n-pro-table-expand-icon + .c7n-pro-checkbox { margin-left: 0.1rem; } .c7n-pro-table-columns-chooser { width: 0.65rem; border-left: 0.01rem solid #e0e0e0; } .c7n-pro-table-columns-chooser-dropdown-menu { min-width: 1.8rem; } .c7n-pro-table-dropdown-menu { max-width: none; max-height: 2.5rem; margin-bottom: 0; padding: 0.08rem 0; overflow: auto; list-style: none; outline: none; padding: 0.08rem; } .c7n-pro-table-dropdown-menu-item-group { padding-top: 0.04rem; padding-bottom: 0.04rem; } .c7n-pro-table-dropdown-menu-item-group:not(:last-child) { border-bottom: 0.01rem solid #e0e0e0; } .c7n-pro-table-dropdown-menu-item-group-list { margin: 0; padding: 0; } .c7n-pro-table-dropdown-menu-item-group-list > .c7n-pro-table-dropdown-menu-item { padding-left: 0.2rem; } .c7n-pro-table-dropdown-menu-item-group-no-title > .c7n-pro-table-dropdown-menu-item { padding-left: 0.12rem; } .c7n-pro-table-dropdown-menu-item-group-title { height: 0.32rem; padding: 0 0.12rem; color: rgba(0, 0, 0, 0.45); font-size: 0.12rem; line-height: 0.32rem; } .c7n-pro-table-dropdown-menu-item { position: relative; display: block; height: auto; padding: 0.04rem 0.12rem; overflow: hidden; color: #000000; font-weight: normal; line-height: 0.2rem; letter-spacing: 0.01em; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; -webkit-transition: background 0.3s ease; transition: background 0.3s ease; } .c7n-pro-table-dropdown-menu-item-active { color: #000000; background-color: rgba(140, 158, 255, 0.12); } .c7n-pro-table-dropdown-menu-item-selected { color: #000000; font-weight: 400; background-color: rgba(0, 0, 0, 0.04); } .c7n-pro-table-dropdown-menu-item-disabled { color: rgba(0, 0, 0, 0.54); cursor: not-allowed; } .c7n-pro-table-dropdown-menu-item-disabled:hover { color: rgba(0, 0, 0, 0.54); background-color: #fff; cursor: not-allowed; } .c7n-pro-table-dropdown-menu-item:not(.c7n-pro-table-dropdown-menu-item-selected):not(.c7n-pro-table-dropdown-menu-item-disabled):hover { color: #000000; background-color: rgba(140, 158, 255, 0.12); } .c7n-pro-table-dropdown-menu-item:first-child { border-radius: 0.02rem 0.02rem 0 0; } .c7n-pro-table-dropdown-menu-item:last-child { border-radius: 0 0 0.02rem 0.02rem; } .c7n-pro-table-dropdown-menu-item-divider { height: 0.01rem; margin: 0.01rem 0; overflow: hidden; line-height: 0; background-color: #e8e8e8; } .c7n-pro-table-dropdown-menu-item .c7n-checkbox-wrapper { margin-right: 0.08rem; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .c7n-pro-table-dropdown-menu-item-more { text-align: center; } .c7n-pro-table-dropdown-menu .c7n-checkbox-checked .c7n-checkbox-inner, .c7n-pro-table-dropdown-menu .c7n-checkbox-indeterminate .c7n-checkbox-inner { background-color: #3f51b5; border-color: #3f51b5; } .c7n-pro-table-dropdown-menu .c7n-checkbox-checked.c7n-checkbox.c7n-checkbox-disabled .c7n-checkbox-inner, .c7n-pro-table-dropdown-menu .c7n-checkbox-indeterminate.c7n-checkbox.c7n-checkbox-disabled .c7n-checkbox-inner { background-color: #f5f5f5 !important; border-color: #e0e0e0 !important; } .c7n-pro-table-dropdown-menu .c7n-checkbox-checked.c7n-checkbox.c7n-checkbox-disabled .c7n-checkbox-inner::after, .c7n-pro-table-dropdown-menu .c7n-checkbox-indeterminate.c7n-checkbox.c7n-checkbox-disabled .c7n-checkbox-inner::after { border-color: rgba(0, 0, 0, 0.25); } .c7n-pro-table-cached-type { margin: 0 0.05rem; } .c7n-pro-table-cached-type-count { margin: 0 0.05rem; color: rgba(0, 0, 0, 0.45); } .c7n-pro-table-cached-group-check { margin: 0 0.07rem; } .c7n-pro-table-page-all-select { margin-right: -0.18rem; } .c7n-pro-table-combine-sort-trigger-button.c7n-pro-btn:not(:first-child) { margin-right: -0.08rem; margin-left: 0; } .c7n-pro-table-filter-search-divide ~ .c7n-pro-table-combine-sort-trigger-button.c7n-pro-btn { margin-right: 0.08rem; margin-left: 0; } .c7n-pro-table-combine-sort-trigger-button.c7n-pro-btn .icon { font-size: 0.16rem; } .c7n-pro-table-combine-sort-popover.c7n-popover { padding: 0; } .c7n-pro-table-combine-sort-popover .c7n-popover-arrow { display: none; } .c7n-pro-table-combine-sort-popover .c7n-popover-title { padding: 0.16rem 0.16rem 0.04rem !important; font-weight: 500 !important; font-size: 0.14rem !important; border: none; } .c7n-pro-table-combine-sort-popover .c7n-popover-inner-content { padding: 0.06rem 0.16rem 0.16rem !important; } .c7n-pro-table-combine-sort-content { width: 4.1rem; } .c7n-pro-table-combine-sort-list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .c7n-pro-table-combine-sort-list-container { max-height: 2.8rem; overflow-x: hidden; overflow-y: auto; } .c7n-pro-table-combine-sort-list-item { padding: 0.06rem 0; } .c7n-pro-table-combine-sort-list-item-dragging { background: #fff; -webkit-box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.12); box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.12); } .c7n-pro-table-combine-sort-list-item-drag:hover { cursor: move; } .c7n-pro-table-combine-sort-list-item .c7n-pro-table-combine-sort-list-item-index { display: inline-block; width: 0.23rem; margin: 0 0 0 0.04rem; line-height: 1; text-align: center; vertical-align: middle; } .c7n-pro-table-combine-sort-list-item .c7n-pro-table-combine-sort-list-item-index .c7n-tag { height: 0.16rem; margin: 0; padding: 0 0.04rem; line-height: 0.15rem; border: none; } .c7n-pro-table-combine-sort-list-item-sortName { width: 1.22rem; margin: 0 0 0 0.08rem; } .c7n-pro-table-combine-sort-list-item-sortOrder { margin: 0 0 0 0.24rem; } .c7n-pro-table-combine-sort-list-item-sortOrder .c7n-pro-radio-wrapper:not(:first-child) { margin: 0 0 0 0.24rem; } .c7n-pro-table-combine-sort-list-item-delete { float: right; } .c7n-pro-table-combine-sort-add-button { margin: 0.05rem 0; } .c7n-pro-table-combine-sort-footer { text-align: right; }