UNPKG

ttk-app-core

Version:
387 lines (373 loc) 9.99 kB
@iconDayin: #45ACF7; @iconDaochu: #00B38A; @iconBorder: 1px solid #D9D9D9; @hoverIconBorder: 1px solid #0093E2; @iconActive: #0093E2; @Color: #fff; .collect-result-modal{ .ant-modal-body{ padding: 0 !important; } } .ttk-scm-app-collect-result{ width: 100%; height: 100%; // display: flex; // padding: 10px; box-sizing: border-box; overflow: auto; .main{ padding: 12px; border-bottom: 1px solid #e8e8e8; } .mk-table .ant-table-tbody tr:nth-child(even) td { //偶数行 // background: transparent; // background: #f8f8f8; } .mk-table .ant-table-tbody tr.tr_normal:nth-child(even) td { // background: transparent; background: #f8f8f8; } .mk-table .ant-table-tbody td{ // height: 37px !important; } table tr td[rowspan]{ background: #fff !important; } table tr:hover td{ background: rgba(30, 181, 173, 0.07) !important; } table tr:hover td[rowspan]{ background: rgba(30, 181, 173, 0.07) !important; } &-reload{ display: block; line-height: 30px !important; // font-size: 20px; // width: 30px; // height: 30px; box-sizing: border-box; background: #FFFFFF; // color: @iconDayin; cursor: pointer; padding: 0; margin: 0; // &:hover{ // border-color: @iconDayin; // } &.ant-btn-clicked{ background: @iconActive; border: @hoverIconBorder; color: #fff; } } .ant-table-fixed{ // border-right: 1px solid #D9D9D9 !important; } .ant-table .ant-table-thead{ tr{ th[rowspan]:last-child{ border-right: none; } th>span:first-child{ line-height: 35px !important; } } } &-HelpCloseDatePicker{ width: 0; height: 0; position: fixed; top: -1000px; } .ttk-scm-app-collect-result-Body{ // flex:1; background: #fff; border-right: 1px solid #d9d9d9; height:276.5px; table tr td[rowspan]:last-child{ border-right: none ; } .ant-table-body-inner{ background: #eaeaea; overflow: auto !important; } table tr td.table_td_align_right:last-child{ // border-right: 1px solid #d9d9d9 !important; border-right:none; } .ant-table-fixed-header table tr td:last-child{ // border-right: 1px solid #d9d9d9 !important; } .ant-table .ant-table-thead{ tr{ th[rowspan]:last-child{ border-right: none; } } } .ant-table-placeholder{ border-right: none !important; border-left: none !important; } .ant-table-fixed-header table tr th:last-child{ border-right: 1px solid #d9d9d9 !important; } // .ant-table-fixed-right{ // right: -6px; // } // .ant-table-fixed-header .ant-table-fixed-right{ // right: -6px; // } // border-right: none; // .ant-table-tbody{ // tr{ // height: 30px !important; // box-sizing: border-box; // td { // height: 30px !important; // box-sizing: border-box; // .ttk-scm-app-collect-result-td-con{ // overflow: hidden; // text-overflow:ellipsis; // white-space: nowrap; // } // } // } // } .ttk-scm-app-collect-result-td-con{ width: 100%; display: block; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; a:hover{ text-decoration: underline; } } tr> td.table_td_align_left{ text-align: left; } tr> td.table_td_align_right{ text-align: right; } tr> td.table_td_align_center{ text-align: center; } .ant-table-header{ .ant-table-thead tr th{ // white-space:nowrap; // overflow:hidden; // text-overflow:ellipsis; } } .ant-table-fixed-right{ overflow: inherit; .ant-table-header{ background: #eaeaea; } } // .ant-table-body-outer .ant-table-fixed .ant-table-tbody tr{ // height: 30px !important; // box-sizing: border-box; // td { // height: 30px !important; // box-sizing: border-box; // } // } } .react-grid-item { .mk-card { width: 100%; height: 100%; display: flex; flex-direction: column; } .ant-card-body { padding: 0px; flex: 1; overflow: hidden; text-align: center; display: flex; flex-direction: column; //align-items: flex-start; } img { width: 100%; height: 100%; } } &-item { width: 100%; &-price { float: right; padding: 10px; color: red } &-title { float: left; padding: 10px; } } &-products { overflow: auto; } &-columnset::before{ font-size: 28px; font-style: normal; margin-right: 10px; float:right; } &-footer{ flex: auto; justify-content: right; overflow: hidden; align-items: right; padding-top: 10px; height: 40px; } .table_fixed_width{ // width: 120px !important; // border-right: none !important; text-align: center; width: 63px; span{ cursor: pointer; } .ttk-scm-app-collect-result-columnset::before{ margin-right: 0; } } .ttk-scm-app-collect-result-footer{ // justify-content: flex-start; // align-items: flex-end; // padding-top: 10px; // flex: none; } &-dayin { // font-size: 26px; // color: @iconDayin; display: block; // width: 30px; // height: 30px; text-align: center; box-sizing: border-box; background: #FFFFFF; // border: @iconBorder; // border-radius: 2px; margin-left: 8px; line-height: 30px; // cursor: pointer; } // &-dayin:hover{ // border-color: @iconDayin; // } &-daochu { display: block; text-align: center; box-sizing: border-box; background: #FFFFFF; margin-left: 8px; line-height: 28px; } .mk-title-otherBtn{ display: flex; } .ant-table-fixed .ant-table-thead tr .table_fixed_width, .ant-table-thead tr .table_fixed_width{ height: 36px; .ttk-scm-app-collect-result-columnset{ position: absolute; top: 7px; left: 35px; } } .selectRangeDate{ width:88px; margin-right:8px; margin-top:-1px; height:31px; font-size: 12px; .ant-select-selection--single{ height: 30px; } } .lanmuicon{ font-size: 23px; } .disabled{ cursor: not-allowed; color: #dedede; } table tr.tr_zuofei td{ background-color:#cccccc !important; } table tr.tr_zuofei:hover td{ background: rgba(30, 181, 173, 0.07) !important; } table tr.tr_heji td{ background-color: #fff6ea !important; } .ttk-scm-app-invoice-summary-headerContent{ padding: 0; border: none; .ttk-scm-app-invoice-summary-header{ padding-left: 0; padding-right: 0; } } .mk-nodata.small img{ width: 115px; height: 115px; } .ant-table-body{ overflow-x: hidden !important } } .Popover-ttk-scm-app-collect-result{ // padding: 5px 0; // .ant-popover-arrow{ // top: 2px !important; // } .ant-popover-inner-content{ padding: 0px; } top: 136px !important; .more_btn_container{ // width: 100px; height: auto; left: -35px; overflow: hidden; .more_btn_item{ width: 100%; height: 34px; text-align: center; line-height: 26px; font-size: 12px; line-height: 34px; margin-bottom: 0 !important; text-align: left; &:hover{ background: tint(@primary-color, 90%); cursor: pointer; } } .ant-menu-item-selected{ background: inherit; color: inherit; } } } .mk-ttk-scm-app-collect-result-modal-container{ .ant-modal-body{ padding: 0; .mk-btn.ant-btn{ padding: 0 15px; height: 32px; font-size: 14px; } } .mk-ttk-scm-app-collect-result-sort{ padding: 10px 15px; } }