UNPKG

ttk-app-core

Version:
615 lines (612 loc) 15.1 kB
.app-profitstatement-rpt{ width: 100%; height: 100%; padding: 10px 0; .ant-select-selection--single{ height: 30px; overflow: hidden; } .mk-table .ant-table .ant-table-fixed tr td{ text-overflow: ellipsis; border-bottom: 1px solid #d9d9d9; } .shareIcon{ font-size: 19px; vertical-align: middle; margin-left: 0px !important; } .dayin,.daochu{ width: 30px; height: 30px; font-size: 28px; line-height: 30px; border-radius: 5px; border: 1px solid #D9D9D9; } .daochu{ line-height: 28px !important; } .reload{ width: 30px; height: 30px; font-size: 28px; border-radius: 5px; border: 1px solid #D9D9D9; cursor: pointer; color: #45ACF7; background: #fff; &:hover{ border-color: #45ACF7; } } //报表公式 start .asset-name-edit-cell { i { color:#fff; } i:before { color:#fff; } } td:hover { .asset-name-edit-cell { i { color:#5caae3; display: block; } i:before { color:#387bac; } i:hover:before { color:#387bac; } } } .cell-icon { font-style: normal; vertical-align: baseline; text-align: center; text-transform: none; line-height: 1; } .ant-table-row { .asset-name-edit-cell-a { // cursor: pointer; margin-right: 22px; position: relative; display: flex; & > span { display: inline-block; word-break: keep-all; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; max-width: 100%; } i { position: absolute; right: -26px; top: -2px; text-indent: 0; display: none; cursor: pointer; } } &:hover { .asset-name-edit-cell-a > span { color: #1eb5ad; text-decoration: underline; } .asset-name-edit-cell-a > i { display: block; color:#5caae3; &:before { color:#5caae3; } } } } .recalculation-btn { margin-right: 8px; } //报表公式 end &-headerContent { // height: 38px padding-top: 10px; background: #fff; border: 1px solid #d9d9d9; border-bottom: none; } &-header { display: flex; flex-direction: row; box-sizing:border-box; //justify-content: space-between; //overflow: hidden; height: 30px; margin-bottom: 9px; padding: 0 10px; &-left, &-right { display: flex; flex-direction: row; justify-content: flex-end; overflow: hidden; .btn { margin-left: 8px; outline: none; } } &-textContent { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; .text { display: flex; flex-direction: row; justify-content: flex-end; width: 475px; margin-right: 15px; font-size: 12px; .title { font-weight: bold; margin-right: 3px; } .content { margin-right: 3px; } .icon { color: red; margin-left: 2px; margin-right: 5px; } } } &-left { justify-content: flex-start; } .refresh { font-size: 20px; padding: 0 5px; } } &-headerDropDown,&-period { width: 95px; margin-right: 10px; // display: flex; // align-items: center; // justify-content: space-between .ant-select-selection__rendered{ margin-left: 8px; margin-right: 0px; .ant-select-selection-selected-value{ padding-right: 0px; } } .ant-select-dropdown-menu{ font-size: 12px; } .ant-select-selection-selected-value{ font-size: 12px; } } &-headerDropDown{ min-width: 115px; } &-table-tbody.smallOrgTable{ background:#fff; flex: 1; overflow-y: hidden !important; border-right: 1px solid #d9d9d9; td{ padding:0px 8px; // height: 37px !important; } tr:nth-child(odd){ background:#fff !important; } // tr:nth-child(even){ // background:#f8f8f8 !important; // } tr{ td:nth-child(1){ text-indent: 2em; } } tr:nth-child(1){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(2){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(4){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(21){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(30){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(32){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(5){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(6){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(7){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(8){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(9){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(10){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(11){ td:nth-child(1){ text-indent: 2em; } } tr:nth-child(12){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(13){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(14){ td:nth-child(1){ text-indent: 2em; } } tr:nth-child(15){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(16){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(17){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(18){ td:nth-child(1){ text-indent: 2em; } } tr:nth-child(19){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(20){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(22){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(23){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(24){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(25){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(25){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(26){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(27){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(28){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(29){ td:nth-child(1){ text-indent: 6em; } } tr:nth-child(31){ td:nth-child(1){ text-indent: 0em; } } tr:hover{ // background: #D7FAFD; } td{ padding:0px 8px; border-top:0; border-bottom:0; border-color:#e7e6e6; } tr>td:nth-child(2){ text-align: center; } tr>td:nth-child(3){ text-align: right; } tr>td:nth-child(4){ text-align: right; } } &-table-tbody.orgTable{ background:#fff; flex: 1; overflow-y: hidden !important; border-right: 1px solid #d9d9d9; td{ padding:0px 8px; // height: 37px !important; } tr:nth-child(odd){ background:#fff !important; } // tr:nth-child(even){ // background:#f8f8f8 !important; // } tr{ td:nth-child(1){ text-indent: 2em; } } tr:nth-child(1){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(2){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(3){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(4){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(5){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(6){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(7){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(9){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(8){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(10){ td:nth-child(1){ text-indent: 4em; } } tr:nth-child(11){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(12){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(13){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(14){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(15){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(16){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(17){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(18){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(19){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(20){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(21){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(22){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(23){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(24){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(25){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(26){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(27){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(28){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(29){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(30){ td:nth-child(1){ text-indent: 3em; } } tr:nth-child(31){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(32){ td:nth-child(1){ text-indent: 0em; } } tr:nth-child(33){ td:nth-child(1){ text-indent: 1em; } } tr:nth-child(34){ td:nth-child(1){ text-indent: 1em; } } tr:hover{ // background: #D7FAFD; } td{ padding:0px 8px; border-top:0; border-bottom:0; border-color:#e7e6e6; } tr>td:nth-child(2){ text-align: center; } tr>td:nth-child(3){ text-align: right; } tr>td:nth-child(4){ text-align: right; } tr>td:nth-child(5){ text-align: right; } } .ant-table-thead > tr > th { background-color: #eaeaea; // color: #fff; } }