ttk-app-core
Version:
enterprise develop framework
968 lines (955 loc) • 25 kB
text/less
.app-balancesheet-formula-modal{
.ant-modal-body{
padding-bottom: 0px ;
}
}
.app-balancesheet-rpt{
width: 100%;
height: 100%;
// padding: 10px 0;
overflow: auto;
.ant-select-selection--single{
height: 30px;
}
.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 ;
}
.dayin,.daochu{
width: 30px;
height: 30px;
font-size: 28px;
border-radius: 5px;
line-height: 30px;
border: 1px solid #D9D9D9;
}
.daochu{
line-height: 28px ;
}
.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;
&-btn{
display: flex;
}
&-left, &-right {
display: flex;
flex-direction: row;
justify-content: flex-end;
overflow: hidden;
margin-right: 10px;
.btn {
margin-left: 8px;
outline: none;
}
}
&-right{
margin-right: 0px;
}
&-textContent {
// display: flex;
// flex-direction: column;
// justify-content: flex-end;
overflow: hidden;
text-align: right;
.shell {
// display: flex;
// flex-direction: row;
// justify-content: flex-end;
min-width: 300px;
// margin-right: 15px;
font-size: 12px;
height: 15px;
line-height: 15px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.title {
font-weight: bold;
margin-right: 3px;
align-self: flex-start ;
}
}
.text {
// display: flex;
// flex-direction: row;
// justify-content: flex-end;
// width: 375px;
margin-right: 15px;
font-size: 12px;
display: inline;
.content {
margin-right: 3px;
}
.iconRed {
color: red;
margin-left: 2px;
margin-right: 5px;
}
.iconGreen {
// color: red;
margin-left: 2px;
margin-right: 5px;
}
}
}
&-left {
justify-content: flex-start;
}
.refresh {
font-size: 20px;
padding: 0 5px;
}
}
&-headerDropDown,&-period {
width: 84px;
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{
width: 115px;
}
&-table-tbody.smallOrgTable{
background:#fff;
overflow-y: hidden ;
flex: 1;
border-right: 1px solid #d9d9d9;
td{
padding:0px 8px;
border-top:0;
border-bottom:0;
border-left:0;
// height: 37px ;
border-color:#e7e6e6;
}
tr:nth-child(odd){
background:#fff ;
}
// tr:nth-child(even){
// background:#f8f8f8 ;
// }
tr:nth-child(2){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(3){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(4){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(5){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(6){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(7){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(8){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(9){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(10){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(11){
td:nth-child(1){
text-indent: 3em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(12){
td:nth-child(1){
text-indent: 6em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(13){
td:nth-child(1){
text-indent: 6em;
// text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(14){
td:nth-child(1){
text-indent: 6em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(15){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(16){
td:nth-child(1){
text-align: center;
}
td:nth-child(5){
text-align: center;
}
}
tr:nth-child(17){
td:nth-child(1){
text-indent: 0em;
}
td:nth-child(5){
text-indent: 0em;
}
}
tr:nth-child(18){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(19){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(20){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(21){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(22){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-align: center;
}
}
tr:nth-child(23){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-align: center;
}
}
tr:nth-child(24){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-align: center;
// text-indent: 2em;
}
}
tr:nth-child(25){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-align: center;
// text-indent: 2em;
}
}
tr:nth-child(26){
td:nth-child(1){
text-indent: 2em;
}
}
tr:nth-child(27){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(28){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(29){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(30){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(31){
// background-color: #FEF6EB ;
td:nth-child(1){
text-align: center;
}
td:nth-child(5){
text-align: center;
}
}
tr:nth-child(32){
// background-color: #FEF6EB ;
td:nth-child(1){
text-align: center;
// text-indent: 0em;
}
td:nth-child(5){
text-align: center;
}
}
tr:nth-child(33){
// td:nth-child(1){
// text-align: center;
//
// }
td:nth-child(5){
text-align: center;
// text-indent: 2em;
}
}
tr:nth-child(34){
td:nth-child(1){
text-align: center;
// text-indent: 2em;
}
td:nth-child(5){
text-align: center;
// text-indent: 2em;
}
}
tr:hover{
// background: #D7FAFD;
}
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(6){
text-align: center;
}
tr>td:nth-child(7){
text-align: right;
}tr>td:nth-child(8){
text-align: right;
}
tr>td:nth-child(3), tr>td:nth-child(4), tr>td:nth-child(7), tr>td:nth-child(8){
div{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
&-table-tbody.orgTable{
background:#fff;
overflow-y: hidden ;
flex: 1;
border-right: 1px solid #d9d9d9;
td{
padding:0px 8px;
border-top:0;
// height: 37px ;
border-bottom:0;
border-left:0;
border-color:#e7e6e6;
}
tr:nth-child(odd){
background:#fff ;
}
// tr:nth-child(even){
// background:#f8f8f8 ;
// }
tr:nth-child(2){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(3){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(4){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(5){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(6){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(7){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(8){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(9){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(10){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(11){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(12){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(13){
td:nth-child(1){
text-indent: 1em;
// text-indent: 2em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(14){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
// text-indent: 2em;
}
}
tr:nth-child(15){
td:nth-child(1){
text-indent: 2em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(16){
td:nth-child(1){
text-indent: 0em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(17){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 0em;
}
}
tr:nth-child(18){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(19){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(20){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(21){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 5em;
}
}
tr:nth-child(22){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(23){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(24){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
// text-indent: 2em;
}
}
tr:nth-child(25){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
// text-indent: 2em;
}
}
tr:nth-child(26){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
// text-indent: 2em;
}
}
tr:nth-child(27){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(28){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 2em;
}
}
tr:nth-child(29){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 3em;
}
}
tr:nth-child(30){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 0em;
}
}
tr:nth-child(31){
// background-color: #FEF6EB ;
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(32){
// background-color: #FEF6EB ;
td:nth-child(1){
text-indent: 1em;
// text-indent: 0em;
}
td:nth-child(5){
text-indent: 1em;
}
}
tr:nth-child(33){
td:nth-child(1){
text-indent: 1em;
}
td:nth-child(5){
// text-align: center;
text-indent: 2em;
}
}
tr:nth-child(34){
td:nth-child(1){
text-indent: 2em;
// text-indent: 2em;
}
td:nth-child(5){
// text-align: center;
text-indent: 5em;
}
}
tr:nth-child(35){
// td:nth-child(1){
// text-indent: 2em;
// // text-indent: 2em;
// }
td:nth-child(5){
// text-align: center;
text-indent: 1em;
}
}
tr:nth-child(36){
// td:nth-child(1){
// text-indent: 2em;
// // text-indent: 2em;
// }
td:nth-child(5){
// text-align: center;
text-indent: 1em;
}
}
tr:nth-child(37){
// td:nth-child(1){
// text-indent: 2em;
// // text-indent: 2em;
// }
td:nth-child(5){
// text-align: center;
text-indent: 1em;
}
}
tr:nth-child(38){
// td:nth-child(1){
// text-indent: 2em;
// // text-indent: 2em;
// }
td:nth-child(5){
// text-align: center;
text-indent: 1em;
}
}
tr:nth-child(39){
// td:nth-child(1){
// text-indent: 2em;
// // text-indent: 2em;
// }
td:nth-child(5){
// text-align: center;
text-indent: 1em;
}
}
tr:nth-child(40){
// td:nth-child(1){
// text-indent: 2em;
// // text-indent: 2em;
// }
td:nth-child(5){
// text-align: center;
text-indent: 2em;
}
}
tr:nth-child(41){
td:nth-child(1){
text-align: center;
}
td:nth-child(5){
// text-align: center;
text-indent: 2em;
}
}
tr:hover{
// background: #D7FAFD;
}
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(6){
text-align: center;
}
tr>td:nth-child(7){
text-align: right;
}tr>td:nth-child(8){
text-align: right;
}
tr>td:nth-child(3), tr>td:nth-child(4), tr>td:nth-child(7), tr>td:nth-child(8){
div{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.ant-table-thead > tr > th {
// background-color: @primary-color;
// color: #fff;
}
}
.balance-modal-container{
.ant-modal-body{
padding: 0px;
padding-bottom: 12px;
}
.ant-form-item {
label{
display: inline;
font-size: 12px;
}
}
}