ttk-app-core
Version:
enterprise develop framework
318 lines (308 loc) • 8.23 kB
text/less
@iconDayin: #45ACF7;
@iconDaochu: #00B38A;
@iconBorder: 1px solid #D9D9D9;
@hoverIconBorder: 1px solid #0093E2;
@iconActive: #0093E2;
@Color: #fff;
.app-proof-of-list{
width: 100%;
height: 100%;
padding: 10px;
box-sizing: border-box;
overflow: auto;
.mk-table .ant-table-tbody td{
// height: 37px !important;
}
table tr td[rowspan]{
background: #fff ;
}
table tr:hover td[rowspan]{
background: rgba(30, 181, 173, 0.07) ;
}
&-reload{
display: block;
line-height: 30px ;
// 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:last-child{
border-right: none;
}
th>span:first-child{
line-height: 35px ;
}
}
}
&-HelpCloseDatePicker{
width: 0;
height: 0;
position: fixed;
top: -1000px;
}
.app-proof-of-list-Body{
flex:1;
background: #fff;
border-right: 1px solid #d9d9d9;
table tr td: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 ;
}
.ant-table-fixed-header table tr td:last-child{
border-right: 1px solid #d9d9d9 ;
}
.ant-table .ant-table-thead{
tr{
th:last-child{
border-right: none;
}
}
}
.ant-table-placeholder{
border-right: none ;
border-left: none ;
}
.ant-table-fixed-header table tr th:last-child{
border-right: 1px solid #d9d9d9 ;
}
// .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;
// .app-proof-of-list-td-con{
// overflow: hidden;
// text-overflow:ellipsis;
// white-space: nowrap;
// }
// }
// }
// }
.app-proof-of-list-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;
}
.app-proof-of-list-columnset::before{
margin-right: 0;
}
}
.app-proof-of-list-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;
.app-proof-of-list-columnset{
position: absolute;
top: 7px;
left: 35px;
}
}
}
.Popover-app-proof-of-list{
// padding: 5px 0;
// .ant-popover-arrow{
// top: 2px !important;
// }
.ant-popover-inner-content{
padding: 0px;
}
top: 136px ;
.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 ;
text-align: left;
&:hover{
background: tint(@primary-color, 90%);
cursor: pointer;
}
}
.ant-menu-item-selected{
background: inherit;
color: inherit;
}
}
}
.mk-app-proof-of-list-modal-container{
.ant-modal-body{
padding: 0;
.mk-btn.ant-btn{
padding: 0 15px;
height: 32px;
font-size: 14px;
}
}
.mk-app-proof-of-list-sort{
padding: 10px 15px;
}
}